mirror of
https://github.com/pezkuwichain/pezkuwi-dev.git
synced 2026-04-22 08:58:02 +00:00
Fix lint errors: Update copyright years to 2026 and ignore build outputs
- Updated all copyright headers from 2025 to 2026 (system date shows 2026)
- Added build output files to eslint ignore list in packages/dev/config/eslint.js
- Added build output patterns to .gitignore
- Ignored: packages/*/*.{d.ts,js,mjs,cjs}, packages/*/cjs/**, packages/*/env/**,
packages/*/rootJs/**, packages/*/rootStatic/**
- Successfully resolved 521 lint errors by properly ignoring generated files
- Build outputs should not be linted (source files are linted instead)
- Lint and build now pass successfully
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export {};
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"author": "Pezkuwi Team <team@pezkuwichain.app>",
|
||||
"bugs": "https://github.com/pezkuwichain/pezkuwi-dev/issues",
|
||||
"description": "A basic test-functions-as-global library on top of node:test",
|
||||
"engines": {
|
||||
@@ -15,16 +15,206 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "0.85.3",
|
||||
"main": "./index.js",
|
||||
"types": "./index.d.ts",
|
||||
"version": "0.85.4",
|
||||
"main": "./cjs/index.js",
|
||||
"module": "./index.js",
|
||||
"exports": {
|
||||
"./globals.d.ts": "./src/globals.d.ts"
|
||||
".": {
|
||||
"module": {
|
||||
"types": "./index.d.ts",
|
||||
"default": "./index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/index.d.ts",
|
||||
"default": "./cjs/index.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./index.d.ts",
|
||||
"default": "./index.js"
|
||||
}
|
||||
},
|
||||
"./browser": {
|
||||
"module": {
|
||||
"types": "./browser.d.ts",
|
||||
"default": "./browser.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/browser.d.ts",
|
||||
"default": "./cjs/browser.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./browser.d.ts",
|
||||
"default": "./browser.js"
|
||||
}
|
||||
},
|
||||
"./cjs/*": "./cjs/*.js",
|
||||
"./cjs/package.json": "./cjs/package.json",
|
||||
"./env": {
|
||||
"module": {
|
||||
"types": "./env/index.d.ts",
|
||||
"default": "./env/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/env/index.d.ts",
|
||||
"default": "./cjs/env/index.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./env/index.d.ts",
|
||||
"default": "./env/index.js"
|
||||
}
|
||||
},
|
||||
"./env/browser": {
|
||||
"module": {
|
||||
"types": "./env/browser.d.ts",
|
||||
"default": "./env/browser.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/env/browser.d.ts",
|
||||
"default": "./cjs/env/browser.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./env/browser.d.ts",
|
||||
"default": "./env/browser.js"
|
||||
}
|
||||
},
|
||||
"./env/expect": {
|
||||
"module": {
|
||||
"types": "./env/expect.d.ts",
|
||||
"default": "./env/expect.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/env/expect.d.ts",
|
||||
"default": "./cjs/env/expect.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./env/expect.d.ts",
|
||||
"default": "./env/expect.js"
|
||||
}
|
||||
},
|
||||
"./env/jest": {
|
||||
"module": {
|
||||
"types": "./env/jest.d.ts",
|
||||
"default": "./env/jest.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/env/jest.d.ts",
|
||||
"default": "./cjs/env/jest.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./env/jest.d.ts",
|
||||
"default": "./env/jest.js"
|
||||
}
|
||||
},
|
||||
"./env/lifecycle": {
|
||||
"module": {
|
||||
"types": "./env/lifecycle.d.ts",
|
||||
"default": "./env/lifecycle.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/env/lifecycle.d.ts",
|
||||
"default": "./cjs/env/lifecycle.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./env/lifecycle.d.ts",
|
||||
"default": "./env/lifecycle.js"
|
||||
}
|
||||
},
|
||||
"./env/suite": {
|
||||
"module": {
|
||||
"types": "./env/suite.d.ts",
|
||||
"default": "./env/suite.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/env/suite.d.ts",
|
||||
"default": "./cjs/env/suite.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./env/suite.d.ts",
|
||||
"default": "./env/suite.js"
|
||||
}
|
||||
},
|
||||
"./globals": "./globals.cjs",
|
||||
"./globals.cjs": "./globals.cjs",
|
||||
"./globals.d.cts": "./globals.d.cts",
|
||||
"./globals.d.ts": "./globals.d.ts",
|
||||
"./node": {
|
||||
"module": {
|
||||
"types": "./node.d.ts",
|
||||
"default": "./node.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/node.d.ts",
|
||||
"default": "./cjs/node.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./node.d.ts",
|
||||
"default": "./node.js"
|
||||
}
|
||||
},
|
||||
"./package.json": {
|
||||
"require": "./cjs/package.json",
|
||||
"default": "./package.json"
|
||||
},
|
||||
"./packageInfo": {
|
||||
"module": {
|
||||
"types": "./packageInfo.d.ts",
|
||||
"default": "./packageInfo.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/packageInfo.d.ts",
|
||||
"default": "./cjs/packageInfo.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./packageInfo.d.ts",
|
||||
"default": "./packageInfo.js"
|
||||
}
|
||||
},
|
||||
"./packageInfo.js": {
|
||||
"module": {
|
||||
"types": "./packageInfo.d.ts",
|
||||
"default": "./packageInfo.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/packageInfo.d.ts",
|
||||
"default": "./cjs/packageInfo.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./packageInfo.d.ts",
|
||||
"default": "./packageInfo.js"
|
||||
}
|
||||
},
|
||||
"./types": {
|
||||
"module": {
|
||||
"types": "./types.d.ts",
|
||||
"default": "./types.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/types.d.ts",
|
||||
"default": "./cjs/types.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./types.d.ts",
|
||||
"default": "./types.js"
|
||||
}
|
||||
},
|
||||
"./util": {
|
||||
"module": {
|
||||
"types": "./util.d.ts",
|
||||
"default": "./util.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./cjs/util.d.ts",
|
||||
"default": "./cjs/util.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./util.d.ts",
|
||||
"default": "./util.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"jsdom": "^24.0.0",
|
||||
"tslib": "^2.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jsdom": "^21.1.6"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { exposeEnv } from './env/index.js';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { browser } from './browser.js';
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { JSDOM } from 'jsdom';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
describe('expect', () => {
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AnyFn, WithMock } from '../types.js';
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { browser } from './browser.js';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
describe('jest', () => {
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AnyFn, WithMock } from '../types.js';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { after, afterEach, before, beforeEach } from 'node:test';
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
describe('describe()', () => {
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { describe, it } from 'node:test';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
module.exports = {};
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* eslint-disable no-var */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
throw new Error('Use node --require @pezkuwi/dev-test/{node, browser} depending on the required environment');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { exposeEnv } from './env/index.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @pezkuwi/dev
|
||||
|
||||
export const packageInfo = { name: '@pezkuwi/dev-test', path: 'auto', type: 'auto', version: '0.84.2' };
|
||||
export const packageInfo = { name: '@pezkuwi/dev-test', path: 'auto', type: 'auto', version: '0.85.4' };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev-test authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev-test authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BaseFn, BaseObj, StubFn } from './types.js';
|
||||
|
||||
Reference in New Issue
Block a user