From cb6801a3cc02294d4a0ed9f06a158154de6acf78 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Sun, 11 Jan 2026 18:10:34 +0300 Subject: [PATCH] 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 --- .gitignore | 11 + .prettierrc.cjs | 2 +- eslint.config.js | 2 +- package.json | 4 +- packages/dev-test/globals.d.cts | 1 + packages/dev-test/package.json | 204 +++++++++++++- packages/dev-test/src/browser.ts | 2 +- packages/dev-test/src/env/browser.spec.ts | 2 +- packages/dev-test/src/env/browser.ts | 2 +- packages/dev-test/src/env/expect.spec.ts | 2 +- packages/dev-test/src/env/expect.ts | 2 +- packages/dev-test/src/env/index.ts | 2 +- packages/dev-test/src/env/jest.spec.ts | 2 +- packages/dev-test/src/env/jest.ts | 2 +- packages/dev-test/src/env/lifecycle.ts | 2 +- packages/dev-test/src/env/suite.spec.ts | 2 +- packages/dev-test/src/env/suite.ts | 2 +- packages/dev-test/src/globals.cjs | 2 +- packages/dev-test/src/globals.d.ts | 2 +- packages/dev-test/src/index.ts | 2 +- packages/dev-test/src/node.ts | 2 +- packages/dev-test/src/packageInfo.ts | 4 +- packages/dev-test/src/types.ts | 2 +- packages/dev-test/src/util.spec.ts | 2 +- packages/dev-test/src/util.ts | 2 +- packages/dev-ts/package.json | 16 +- packages/dev-ts/src/cached.ts | 2 +- packages/dev-ts/src/common.ts | 2 +- packages/dev-ts/src/index.ts | 2 +- packages/dev-ts/src/loader.ts | 2 +- packages/dev-ts/src/packageInfo.ts | 4 +- packages/dev-ts/src/resolver.spec.ts | 2 +- packages/dev-ts/src/resolver.ts | 2 +- packages/dev-ts/src/testCached.ts | 2 +- packages/dev-ts/src/testLoader.ts | 2 +- packages/dev-ts/src/tsconfig.ts | 2 +- packages/dev-ts/src/types.ts | 2 +- packages/dev/config/eslint.js | 16 +- packages/dev/config/eslint.rules.js | 2 +- packages/dev/config/prettier.cjs | 2 +- packages/dev/config/rollup.js | 2 +- packages/dev/config/typedoc.cjs | 2 +- packages/dev/package.json | 252 ++++++++++++++++-- .../dev/scripts/pezkuwi-ci-ghact-build.mjs | 2 +- .../dev/scripts/pezkuwi-ci-ghact-docs.mjs | 2 +- .../dev/scripts/pezkuwi-ci-ghpages-force.mjs | 2 +- .../dev/scripts/pezkuwi-dev-build-docs.mjs | 2 +- packages/dev/scripts/pezkuwi-dev-build-ts.mjs | 2 +- packages/dev/scripts/pezkuwi-dev-circular.mjs | 2 +- .../dev/scripts/pezkuwi-dev-clean-build.mjs | 2 +- packages/dev/scripts/pezkuwi-dev-contrib.mjs | 2 +- packages/dev/scripts/pezkuwi-dev-copy-dir.mjs | 2 +- packages/dev/scripts/pezkuwi-dev-copy-to.mjs | 2 +- packages/dev/scripts/pezkuwi-dev-deno-map.mjs | 2 +- packages/dev/scripts/pezkuwi-dev-run-lint.mjs | 2 +- .../dev/scripts/pezkuwi-dev-run-node-ts.mjs | 2 +- packages/dev/scripts/pezkuwi-dev-run-test.mjs | 2 +- packages/dev/scripts/pezkuwi-dev-version.mjs | 2 +- .../dev/scripts/pezkuwi-dev-yarn-only.mjs | 2 +- packages/dev/scripts/pezkuwi-exec-eslint.mjs | 2 +- packages/dev/scripts/pezkuwi-exec-ghpages.mjs | 2 +- .../dev/scripts/pezkuwi-exec-ghrelease.mjs | 2 +- .../dev/scripts/pezkuwi-exec-node-test.mjs | 2 +- packages/dev/scripts/pezkuwi-exec-rollup.mjs | 2 +- packages/dev/scripts/pezkuwi-exec-tsc.mjs | 2 +- packages/dev/scripts/pezkuwi-exec-webpack.mjs | 2 +- packages/dev/scripts/util.mjs | 2 +- packages/dev/src/cjs/sample.js | 2 +- packages/dev/src/detectOther.ts | 2 +- packages/dev/src/index.ts | 2 +- packages/dev/src/mod.ts | 2 +- packages/dev/src/packageInfo.ts | 4 +- packages/dev/src/root.ts | 2 +- packages/dev/src/rootCjs.spec.ts | 2 +- packages/dev/src/rootEsm.spec.ts | 2 +- packages/dev/src/rootJs/Clazz.ts | 2 +- packages/dev/src/rootJs/Jsx.spec.tsx | 2 +- packages/dev/src/rootJs/Jsx.tsx | 2 +- packages/dev/src/rootJs/JsxChild.tsx | 2 +- packages/dev/src/rootJs/dynamic.mjs | 2 +- packages/dev/src/rootJs/index.ts | 2 +- packages/dev/src/rootJs/test.json.d.ts | 2 +- packages/dev/src/rootSrc.spec.ts | 2 +- packages/dev/src/rootTests.ts | 2 +- packages/dev/src/types.ts | 2 +- scripts/all-bump-berry.sh | 2 +- scripts/all-deps.js | 2 +- scripts/all-update.sh | 2 +- scripts/rebrand.sh | 24 +- yarn.lock | 54 ++-- 90 files changed, 594 insertions(+), 156 deletions(-) create mode 100644 packages/dev-test/globals.d.cts diff --git a/.gitignore b/.gitignore index 26a790e..9cc1578 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,14 @@ tmp/ tsconfig.*buildinfo yarn-debug.log* yarn-error.log* + +# TypeScript build outputs +packages/*/*.d.ts +packages/*/*.js +packages/*/*.mjs +packages/*/*.cjs +packages/*/cjs/ +packages/*/env/ +packages/*/rootJs/ +packages/*/rootStatic/ +packages/*/LICENSE diff --git a/.prettierrc.cjs b/.prettierrc.cjs index b9e1b1c..6b7dc7c 100644 --- a/.prettierrc.cjs +++ b/.prettierrc.cjs @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 module.exports = require('@pezkuwi/dev/config/prettier.cjs'); diff --git a/eslint.config.js b/eslint.config.js index cdd10b7..c7f5233 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import baseConfig from '@pezkuwi/dev/config/eslint'; diff --git a/package.json b/package.json index e01f1d7..28ca3ab 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "author": "Pezkuwi Team ", + "author": "Pezkuwi Team ", "bugs": "https://github.com/pezkuwichain/pezkuwi-dev/issues", "engines": { "node": ">=18.14" @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.85.3", + "version": "0.85.4", "versions": { "git": "0.85.3", "npm": "0.85.3" diff --git a/packages/dev-test/globals.d.cts b/packages/dev-test/globals.d.cts new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/packages/dev-test/globals.d.cts @@ -0,0 +1 @@ +export {}; diff --git a/packages/dev-test/package.json b/packages/dev-test/package.json index d762a6a..fdf75a5 100644 --- a/packages/dev-test/package.json +++ b/packages/dev-test/package.json @@ -1,5 +1,5 @@ { - "author": "Jaco Greeff ", + "author": "Pezkuwi Team ", "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" } } diff --git a/packages/dev-test/src/browser.ts b/packages/dev-test/src/browser.ts index 90d5d5c..1d58c8c 100644 --- a/packages/dev-test/src/browser.ts +++ b/packages/dev-test/src/browser.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 { exposeEnv } from './env/index.js'; diff --git a/packages/dev-test/src/env/browser.spec.ts b/packages/dev-test/src/env/browser.spec.ts index 87fbf1d..e38c910 100644 --- a/packages/dev-test/src/env/browser.spec.ts +++ b/packages/dev-test/src/env/browser.spec.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 { browser } from './browser.js'; diff --git a/packages/dev-test/src/env/browser.ts b/packages/dev-test/src/env/browser.ts index b8b98f7..39377a1 100644 --- a/packages/dev-test/src/env/browser.ts +++ b/packages/dev-test/src/env/browser.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 { JSDOM } from 'jsdom'; diff --git a/packages/dev-test/src/env/expect.spec.ts b/packages/dev-test/src/env/expect.spec.ts index 8b518be..ade828b 100644 --- a/packages/dev-test/src/env/expect.spec.ts +++ b/packages/dev-test/src/env/expect.spec.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 describe('expect', () => { diff --git a/packages/dev-test/src/env/expect.ts b/packages/dev-test/src/env/expect.ts index 0defdfb..dc21b1d 100644 --- a/packages/dev-test/src/env/expect.ts +++ b/packages/dev-test/src/env/expect.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 { AnyFn, WithMock } from '../types.js'; diff --git a/packages/dev-test/src/env/index.ts b/packages/dev-test/src/env/index.ts index 4b6691b..37ce94e 100644 --- a/packages/dev-test/src/env/index.ts +++ b/packages/dev-test/src/env/index.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 { browser } from './browser.js'; diff --git a/packages/dev-test/src/env/jest.spec.ts b/packages/dev-test/src/env/jest.spec.ts index dcb1244..05ff1e8 100644 --- a/packages/dev-test/src/env/jest.spec.ts +++ b/packages/dev-test/src/env/jest.spec.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 describe('jest', () => { diff --git a/packages/dev-test/src/env/jest.ts b/packages/dev-test/src/env/jest.ts index 54cfa56..9299735 100644 --- a/packages/dev-test/src/env/jest.ts +++ b/packages/dev-test/src/env/jest.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 { AnyFn, WithMock } from '../types.js'; diff --git a/packages/dev-test/src/env/lifecycle.ts b/packages/dev-test/src/env/lifecycle.ts index c55d9db..8d2b951 100644 --- a/packages/dev-test/src/env/lifecycle.ts +++ b/packages/dev-test/src/env/lifecycle.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 { after, afterEach, before, beforeEach } from 'node:test'; diff --git a/packages/dev-test/src/env/suite.spec.ts b/packages/dev-test/src/env/suite.spec.ts index b0ab881..c71c443 100644 --- a/packages/dev-test/src/env/suite.spec.ts +++ b/packages/dev-test/src/env/suite.spec.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 describe('describe()', () => { diff --git a/packages/dev-test/src/env/suite.ts b/packages/dev-test/src/env/suite.ts index bc84394..8e55f38 100644 --- a/packages/dev-test/src/env/suite.ts +++ b/packages/dev-test/src/env/suite.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 { describe, it } from 'node:test'; diff --git a/packages/dev-test/src/globals.cjs b/packages/dev-test/src/globals.cjs index f7798d5..4e129c0 100644 --- a/packages/dev-test/src/globals.cjs +++ b/packages/dev-test/src/globals.cjs @@ -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 = {}; diff --git a/packages/dev-test/src/globals.d.ts b/packages/dev-test/src/globals.d.ts index d362e5d..2bf9ac3 100644 --- a/packages/dev-test/src/globals.d.ts +++ b/packages/dev-test/src/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 /* eslint-disable no-var */ diff --git a/packages/dev-test/src/index.ts b/packages/dev-test/src/index.ts index 18b7c8b..c9384fa 100644 --- a/packages/dev-test/src/index.ts +++ b/packages/dev-test/src/index.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 throw new Error('Use node --require @pezkuwi/dev-test/{node, browser} depending on the required environment'); diff --git a/packages/dev-test/src/node.ts b/packages/dev-test/src/node.ts index 00e971c..5f8a1c6 100644 --- a/packages/dev-test/src/node.ts +++ b/packages/dev-test/src/node.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 { exposeEnv } from './env/index.js'; diff --git a/packages/dev-test/src/packageInfo.ts b/packages/dev-test/src/packageInfo.ts index 2fb196d..ed95086 100644 --- a/packages/dev-test/src/packageInfo.ts +++ b/packages/dev-test/src/packageInfo.ts @@ -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' }; diff --git a/packages/dev-test/src/types.ts b/packages/dev-test/src/types.ts index ec52cdf..f124707 100644 --- a/packages/dev-test/src/types.ts +++ b/packages/dev-test/src/types.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 // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/packages/dev-test/src/util.spec.ts b/packages/dev-test/src/util.spec.ts index 777371b..96eae65 100644 --- a/packages/dev-test/src/util.spec.ts +++ b/packages/dev-test/src/util.spec.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 /// diff --git a/packages/dev-test/src/util.ts b/packages/dev-test/src/util.ts index b62a464..1c935fa 100644 --- a/packages/dev-test/src/util.ts +++ b/packages/dev-test/src/util.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'; diff --git a/packages/dev-ts/package.json b/packages/dev-ts/package.json index d26a399..ca5a37a 100644 --- a/packages/dev-ts/package.json +++ b/packages/dev-ts/package.json @@ -1,5 +1,5 @@ { - "author": "Jaco Greeff ", + "author": "Pezkuwi Team ", "bugs": "https://github.com/pezkuwichain/pezkuwi-dev/issues", "description": "An TS -> ESM loader for Node >= 16.12", "engines": { @@ -15,11 +15,11 @@ }, "sideEffects": false, "type": "module", - "version": "0.85.3", - "main": "./cjs/index.js", + "types": "./cjs/index.d.ts", + "version": "0.85.4", + "main": "./cjs/cjs/index.js", + "module": "./cjs/index.js", "exports": { - "./cjs/package.json": "./cjs/package.json", - "./cjs/*": "./cjs/*.js", ".": { "module": { "types": "./index.d.ts", @@ -48,6 +48,8 @@ "default": "./cached.js" } }, + "./cjs/*": "./cjs/*.js", + "./cjs/package.json": "./cjs/package.json", "./common": { "module": { "types": "./common.d.ts", @@ -80,7 +82,7 @@ "require": "./cjs/package.json", "default": "./package.json" }, - "./packageInfo.js": { + "./packageInfo": { "module": { "types": "./packageInfo.d.ts", "default": "./packageInfo.js" @@ -94,7 +96,7 @@ "default": "./packageInfo.js" } }, - "./packageInfo": { + "./packageInfo.js": { "module": { "types": "./packageInfo.d.ts", "default": "./packageInfo.js" diff --git a/packages/dev-ts/src/cached.ts b/packages/dev-ts/src/cached.ts index 47a7090..d785fe0 100644 --- a/packages/dev-ts/src/cached.ts +++ b/packages/dev-ts/src/cached.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev-ts authors & contributors +// Copyright 2017-2026 @pezkuwi/dev-ts authors & contributors // SPDX-License-Identifier: Apache-2.0 import { loaderOptions } from './common.js'; diff --git a/packages/dev-ts/src/common.ts b/packages/dev-ts/src/common.ts index 5c6317e..cd6e4dd 100644 --- a/packages/dev-ts/src/common.ts +++ b/packages/dev-ts/src/common.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev-ts authors & contributors +// Copyright 2017-2026 @pezkuwi/dev-ts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { LoaderOptions } from './types.js'; diff --git a/packages/dev-ts/src/index.ts b/packages/dev-ts/src/index.ts index 9083953..6e1be35 100644 --- a/packages/dev-ts/src/index.ts +++ b/packages/dev-ts/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev-ts authors & contributors +// Copyright 2017-2026 @pezkuwi/dev-ts authors & contributors // SPDX-License-Identifier: Apache-2.0 // Adapted from: https://nodejs.org/api/esm.html#esm_transpiler_loader diff --git a/packages/dev-ts/src/loader.ts b/packages/dev-ts/src/loader.ts index d255d96..e1d6d5e 100644 --- a/packages/dev-ts/src/loader.ts +++ b/packages/dev-ts/src/loader.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev-ts authors & contributors +// Copyright 2017-2026 @pezkuwi/dev-ts authors & contributors // SPDX-License-Identifier: Apache-2.0 import crypto from 'node:crypto'; diff --git a/packages/dev-ts/src/packageInfo.ts b/packages/dev-ts/src/packageInfo.ts index 65239e0..8c47cc7 100644 --- a/packages/dev-ts/src/packageInfo.ts +++ b/packages/dev-ts/src/packageInfo.ts @@ -1,6 +1,6 @@ -// Copyright 2017-2025 @pezkuwi/dev-ts authors & contributors +// Copyright 2017-2026 @pezkuwi/dev-ts authors & contributors // SPDX-License-Identifier: Apache-2.0 // Do not edit, auto-generated by @pezkuwi/dev -export const packageInfo = { name: '@pezkuwi/dev-ts', path: 'auto', type: 'auto', version: '0.84.2' }; +export const packageInfo = { name: '@pezkuwi/dev-ts', path: 'auto', type: 'auto', version: '0.85.4' }; diff --git a/packages/dev-ts/src/resolver.spec.ts b/packages/dev-ts/src/resolver.spec.ts index 1847236..bcf729e 100644 --- a/packages/dev-ts/src/resolver.spec.ts +++ b/packages/dev-ts/src/resolver.spec.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev-ts authors & contributors +// Copyright 2017-2026 @pezkuwi/dev-ts authors & contributors // SPDX-License-Identifier: Apache-2.0 /// diff --git a/packages/dev-ts/src/resolver.ts b/packages/dev-ts/src/resolver.ts index d815c09..cf64556 100644 --- a/packages/dev-ts/src/resolver.ts +++ b/packages/dev-ts/src/resolver.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev-ts authors & contributors +// Copyright 2017-2026 @pezkuwi/dev-ts authors & contributors // SPDX-License-Identifier: Apache-2.0 import fs from 'node:fs'; diff --git a/packages/dev-ts/src/testCached.ts b/packages/dev-ts/src/testCached.ts index 0b85c41..4cc8ba9 100644 --- a/packages/dev-ts/src/testCached.ts +++ b/packages/dev-ts/src/testCached.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev-ts authors & contributors +// Copyright 2017-2026 @pezkuwi/dev-ts authors & contributors // SPDX-License-Identifier: Apache-2.0 // Adapted from: https://nodejs.org/api/esm.html#esm_transpiler_loader diff --git a/packages/dev-ts/src/testLoader.ts b/packages/dev-ts/src/testLoader.ts index 6f3c45d..6ce6554 100644 --- a/packages/dev-ts/src/testLoader.ts +++ b/packages/dev-ts/src/testLoader.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev-ts authors & contributors +// Copyright 2017-2026 @pezkuwi/dev-ts authors & contributors // SPDX-License-Identifier: Apache-2.0 import crypto from 'node:crypto'; diff --git a/packages/dev-ts/src/tsconfig.ts b/packages/dev-ts/src/tsconfig.ts index 9212109..b9b1c35 100644 --- a/packages/dev-ts/src/tsconfig.ts +++ b/packages/dev-ts/src/tsconfig.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev-ts authors & contributors +// Copyright 2017-2026 @pezkuwi/dev-ts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TsAlias } from './types.js'; diff --git a/packages/dev-ts/src/types.ts b/packages/dev-ts/src/types.ts index b9ac573..cd1eb3d 100644 --- a/packages/dev-ts/src/types.ts +++ b/packages/dev-ts/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev-ts authors & contributors +// Copyright 2017-2026 @pezkuwi/dev-ts authors & contributors // SPDX-License-Identifier: Apache-2.0 export interface TsAlias { diff --git a/packages/dev/config/eslint.js b/packages/dev/config/eslint.js index 18931a4..646abcf 100644 --- a/packages/dev/config/eslint.js +++ b/packages/dev/config/eslint.js @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 // @ts-expect-error No definition for this one @@ -54,7 +54,19 @@ export default [ '**/.yarn/', '**/build/', '**/build-*/', - '**/coverage/' + '**/coverage/', + '**/cjs/**', + // Build output files (generated from src/) + 'packages/*/*.d.ts', + 'packages/*/*.js', + 'packages/*/*.mjs', + 'packages/*/*.cjs', + 'packages/*/rootJs/**', + 'packages/*/rootTests.*', + 'packages/*/browser.*', + 'packages/*/node.*', + 'packages/*/types.*', + 'packages/*/env/**' ] }, { diff --git a/packages/dev/config/eslint.rules.js b/packages/dev/config/eslint.rules.js index c400c5a..239d15c 100644 --- a/packages/dev/config/eslint.rules.js +++ b/packages/dev/config/eslint.rules.js @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import JSON5 from 'json5'; diff --git a/packages/dev/config/prettier.cjs b/packages/dev/config/prettier.cjs index 97e2380..d2b9437 100644 --- a/packages/dev/config/prettier.cjs +++ b/packages/dev/config/prettier.cjs @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 module.exports = { diff --git a/packages/dev/config/rollup.js b/packages/dev/config/rollup.js index 1c1e5c1..9b576c6 100644 --- a/packages/dev/config/rollup.js +++ b/packages/dev/config/rollup.js @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import pluginAlias from '@rollup/plugin-alias'; diff --git a/packages/dev/config/typedoc.cjs b/packages/dev/config/typedoc.cjs index 2d078c7..3bedba2 100644 --- a/packages/dev/config/typedoc.cjs +++ b/packages/dev/config/typedoc.cjs @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 module.exports = { diff --git a/packages/dev/package.json b/packages/dev/package.json index 2b181e3..e3d9cb1 100644 --- a/packages/dev/package.json +++ b/packages/dev/package.json @@ -1,5 +1,5 @@ { - "author": "Jaco Greeff ", + "author": "Pezkuwi Team ", "bugs": "https://github.com/pezkuwichain/pezkuwi-dev/issues", "description": "A collection of shared CI scripts and development environment used by @pezkuwi projects", "engines": { @@ -15,7 +15,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.85.3", + "types": "./index.d.ts", + "version": "0.85.4", + "main": "./cjs/index.js", + "module": "./index.js", "bin": { "pezkuwi-ci-ghact-build": "./scripts/pezkuwi-ci-ghact-build.mjs", "pezkuwi-ci-ghact-docs": "./scripts/pezkuwi-ci-ghact-docs.mjs", @@ -42,11 +45,241 @@ "pezkuwi-exec-webpack": "./scripts/pezkuwi-exec-webpack.mjs" }, "exports": { + ".": { + "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" + } + }, + "./cjs/*": "./cjs/*.js", + "./cjs/package.json": "./cjs/package.json", "./config/eslint": "./config/eslint.js", + "./config/eslint.rules": "./config/eslint.rules.js", + "./config/prettier": "./config/prettier.cjs", "./config/prettier.cjs": "./config/prettier.cjs", + "./config/rollup": "./config/rollup.js", "./config/tsconfig.json": "./config/tsconfig.json", - "./rootJs/dynamic.mjs": "./src/rootJs/dynamic.mjs", - "./rootJs/testJson.json": "./src/rootJs/testJson.json" + "./config/typedoc": "./config/typedoc.cjs", + "./config/typedoc.cjs": "./config/typedoc.cjs", + "./detectOther": { + "module": { + "types": "./detectOther.d.ts", + "default": "./detectOther.js" + }, + "require": { + "types": "./cjs/detectOther.d.ts", + "default": "./cjs/detectOther.js" + }, + "default": { + "types": "./detectOther.d.ts", + "default": "./detectOther.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" + } + }, + "./root": { + "module": { + "types": "./root.d.ts", + "default": "./root.js" + }, + "require": { + "types": "./cjs/root.d.ts", + "default": "./cjs/root.js" + }, + "default": { + "types": "./root.d.ts", + "default": "./root.js" + } + }, + "./rootJs": { + "module": { + "types": "./rootJs/index.d.ts", + "default": "./rootJs/index.js" + }, + "require": { + "types": "./cjs/rootJs/index.d.ts", + "default": "./cjs/rootJs/index.js" + }, + "default": { + "types": "./rootJs/index.d.ts", + "default": "./rootJs/index.js" + } + }, + "./rootJs/augmented": { + "module": { + "types": "./rootJs/augmented.d.ts", + "default": "./rootJs/augmented.js" + }, + "require": { + "types": "./cjs/rootJs/augmented.d.ts", + "default": "./cjs/rootJs/augmented.js" + }, + "default": { + "types": "./rootJs/augmented.d.ts", + "default": "./rootJs/augmented.js" + } + }, + "./rootJs/Clazz": { + "module": { + "types": "./rootJs/Clazz.d.ts", + "default": "./rootJs/Clazz.js" + }, + "require": { + "types": "./cjs/rootJs/Clazz.d.ts", + "default": "./cjs/rootJs/Clazz.js" + }, + "default": { + "types": "./rootJs/Clazz.d.ts", + "default": "./rootJs/Clazz.js" + } + }, + "./rootJs/dynamic": "./rootJs/dynamic.mjs", + "./rootJs/dynamic.d.mts": "./rootJs/dynamic.d.mts", + "./rootJs/dynamic.mjs": "./rootJs/dynamic.mjs", + "./rootJs/Jsx": { + "module": { + "types": "./rootJs/Jsx.d.ts", + "default": "./rootJs/Jsx.js" + }, + "require": { + "types": "./cjs/rootJs/Jsx.d.ts", + "default": "./cjs/rootJs/Jsx.js" + }, + "default": { + "types": "./rootJs/Jsx.d.ts", + "default": "./rootJs/Jsx.js" + } + }, + "./rootJs/JsxChild": { + "module": { + "types": "./rootJs/JsxChild.d.ts", + "default": "./rootJs/JsxChild.js" + }, + "require": { + "types": "./cjs/rootJs/JsxChild.d.ts", + "default": "./cjs/rootJs/JsxChild.js" + }, + "default": { + "types": "./rootJs/JsxChild.d.ts", + "default": "./rootJs/JsxChild.js" + } + }, + "./rootJs/testJson.json": "./rootJs/testJson.json", + "./rootStatic/zagros.svg": "./rootStatic/zagros.svg", + "./rootTests": { + "module": { + "types": "./rootTests.d.ts", + "default": "./rootTests.js" + }, + "require": { + "types": "./cjs/rootTests.d.ts", + "default": "./cjs/rootTests.js" + }, + "default": { + "types": "./rootTests.d.ts", + "default": "./rootTests.js" + } + }, + "./scripts/pezkuwi-ci-ghact-build": "./scripts/pezkuwi-ci-ghact-build.mjs", + "./scripts/pezkuwi-ci-ghact-build.mjs": "./scripts/pezkuwi-ci-ghact-build.mjs", + "./scripts/pezkuwi-ci-ghact-docs": "./scripts/pezkuwi-ci-ghact-docs.mjs", + "./scripts/pezkuwi-ci-ghact-docs.mjs": "./scripts/pezkuwi-ci-ghact-docs.mjs", + "./scripts/pezkuwi-ci-ghpages-force": "./scripts/pezkuwi-ci-ghpages-force.mjs", + "./scripts/pezkuwi-ci-ghpages-force.mjs": "./scripts/pezkuwi-ci-ghpages-force.mjs", + "./scripts/pezkuwi-dev-build-docs": "./scripts/pezkuwi-dev-build-docs.mjs", + "./scripts/pezkuwi-dev-build-docs.mjs": "./scripts/pezkuwi-dev-build-docs.mjs", + "./scripts/pezkuwi-dev-build-ts": "./scripts/pezkuwi-dev-build-ts.mjs", + "./scripts/pezkuwi-dev-build-ts.mjs": "./scripts/pezkuwi-dev-build-ts.mjs", + "./scripts/pezkuwi-dev-circular": "./scripts/pezkuwi-dev-circular.mjs", + "./scripts/pezkuwi-dev-circular.mjs": "./scripts/pezkuwi-dev-circular.mjs", + "./scripts/pezkuwi-dev-clean-build": "./scripts/pezkuwi-dev-clean-build.mjs", + "./scripts/pezkuwi-dev-clean-build.mjs": "./scripts/pezkuwi-dev-clean-build.mjs", + "./scripts/pezkuwi-dev-contrib": "./scripts/pezkuwi-dev-contrib.mjs", + "./scripts/pezkuwi-dev-contrib.mjs": "./scripts/pezkuwi-dev-contrib.mjs", + "./scripts/pezkuwi-dev-copy-dir": "./scripts/pezkuwi-dev-copy-dir.mjs", + "./scripts/pezkuwi-dev-copy-dir.mjs": "./scripts/pezkuwi-dev-copy-dir.mjs", + "./scripts/pezkuwi-dev-copy-to": "./scripts/pezkuwi-dev-copy-to.mjs", + "./scripts/pezkuwi-dev-copy-to.mjs": "./scripts/pezkuwi-dev-copy-to.mjs", + "./scripts/pezkuwi-dev-deno-map": "./scripts/pezkuwi-dev-deno-map.mjs", + "./scripts/pezkuwi-dev-deno-map.mjs": "./scripts/pezkuwi-dev-deno-map.mjs", + "./scripts/pezkuwi-dev-run-lint": "./scripts/pezkuwi-dev-run-lint.mjs", + "./scripts/pezkuwi-dev-run-lint.mjs": "./scripts/pezkuwi-dev-run-lint.mjs", + "./scripts/pezkuwi-dev-run-node-ts": "./scripts/pezkuwi-dev-run-node-ts.mjs", + "./scripts/pezkuwi-dev-run-node-ts.mjs": "./scripts/pezkuwi-dev-run-node-ts.mjs", + "./scripts/pezkuwi-dev-run-test": "./scripts/pezkuwi-dev-run-test.mjs", + "./scripts/pezkuwi-dev-run-test.mjs": "./scripts/pezkuwi-dev-run-test.mjs", + "./scripts/pezkuwi-dev-version": "./scripts/pezkuwi-dev-version.mjs", + "./scripts/pezkuwi-dev-version.mjs": "./scripts/pezkuwi-dev-version.mjs", + "./scripts/pezkuwi-dev-yarn-only": "./scripts/pezkuwi-dev-yarn-only.mjs", + "./scripts/pezkuwi-dev-yarn-only.mjs": "./scripts/pezkuwi-dev-yarn-only.mjs", + "./scripts/pezkuwi-exec-eslint": "./scripts/pezkuwi-exec-eslint.mjs", + "./scripts/pezkuwi-exec-eslint.mjs": "./scripts/pezkuwi-exec-eslint.mjs", + "./scripts/pezkuwi-exec-ghpages": "./scripts/pezkuwi-exec-ghpages.mjs", + "./scripts/pezkuwi-exec-ghpages.mjs": "./scripts/pezkuwi-exec-ghpages.mjs", + "./scripts/pezkuwi-exec-ghrelease": "./scripts/pezkuwi-exec-ghrelease.mjs", + "./scripts/pezkuwi-exec-ghrelease.mjs": "./scripts/pezkuwi-exec-ghrelease.mjs", + "./scripts/pezkuwi-exec-node-test": "./scripts/pezkuwi-exec-node-test.mjs", + "./scripts/pezkuwi-exec-node-test.mjs": "./scripts/pezkuwi-exec-node-test.mjs", + "./scripts/pezkuwi-exec-rollup": "./scripts/pezkuwi-exec-rollup.mjs", + "./scripts/pezkuwi-exec-rollup.mjs": "./scripts/pezkuwi-exec-rollup.mjs", + "./scripts/pezkuwi-exec-tsc": "./scripts/pezkuwi-exec-tsc.mjs", + "./scripts/pezkuwi-exec-tsc.mjs": "./scripts/pezkuwi-exec-tsc.mjs", + "./scripts/pezkuwi-exec-webpack": "./scripts/pezkuwi-exec-webpack.mjs", + "./scripts/pezkuwi-exec-webpack.mjs": "./scripts/pezkuwi-exec-webpack.mjs", + "./scripts/util": "./scripts/util.mjs", + "./scripts/util.mjs": "./scripts/util.mjs", + "./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" + } + } }, "dependencies": { "@eslint/js": "^8.56.0", @@ -92,16 +325,5 @@ "webpack-merge": "^5.10.0", "webpack-subresource-integrity": "^5.2.0-rc.1", "yargs": "^17.7.2" - }, - "devDependencies": { - "@testing-library/react": "^14.1.2", - "@types/node": "^20.11.5", - "@types/react": "^18.2.48", - "@types/react-dom": "^18.2.18", - "@types/yargs": "^17.0.32", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-is": "^18.2.0", - "styled-components": "^6.1.8" } } diff --git a/packages/dev/scripts/pezkuwi-ci-ghact-build.mjs b/packages/dev/scripts/pezkuwi-ci-ghact-build.mjs index 18b4f09..754b771 100755 --- a/packages/dev/scripts/pezkuwi-ci-ghact-build.mjs +++ b/packages/dev/scripts/pezkuwi-ci-ghact-build.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import fs from 'node:fs'; diff --git a/packages/dev/scripts/pezkuwi-ci-ghact-docs.mjs b/packages/dev/scripts/pezkuwi-ci-ghact-docs.mjs index d0fd6b3..5604641 100755 --- a/packages/dev/scripts/pezkuwi-ci-ghact-docs.mjs +++ b/packages/dev/scripts/pezkuwi-ci-ghact-docs.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import { execPm, GITHUB_REPO, GITHUB_TOKEN_URL, gitSetup, logBin } from './util.mjs'; diff --git a/packages/dev/scripts/pezkuwi-ci-ghpages-force.mjs b/packages/dev/scripts/pezkuwi-ci-ghpages-force.mjs index 29f9317..6fda6d1 100755 --- a/packages/dev/scripts/pezkuwi-ci-ghpages-force.mjs +++ b/packages/dev/scripts/pezkuwi-ci-ghpages-force.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import fs from 'node:fs'; diff --git a/packages/dev/scripts/pezkuwi-dev-build-docs.mjs b/packages/dev/scripts/pezkuwi-dev-build-docs.mjs index a36ed75..e3708aa 100755 --- a/packages/dev/scripts/pezkuwi-dev-build-docs.mjs +++ b/packages/dev/scripts/pezkuwi-dev-build-docs.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import fs from 'node:fs'; diff --git a/packages/dev/scripts/pezkuwi-dev-build-ts.mjs b/packages/dev/scripts/pezkuwi-dev-build-ts.mjs index 3cd73fe..47a5791 100755 --- a/packages/dev/scripts/pezkuwi-dev-build-ts.mjs +++ b/packages/dev/scripts/pezkuwi-dev-build-ts.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import JSON5 from 'json5'; diff --git a/packages/dev/scripts/pezkuwi-dev-circular.mjs b/packages/dev/scripts/pezkuwi-dev-circular.mjs index 6ee6073..995fcb7 100755 --- a/packages/dev/scripts/pezkuwi-dev-circular.mjs +++ b/packages/dev/scripts/pezkuwi-dev-circular.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 // @ts-expect-error For scripts we don't include @types/* definitions diff --git a/packages/dev/scripts/pezkuwi-dev-clean-build.mjs b/packages/dev/scripts/pezkuwi-dev-clean-build.mjs index b40145e..7c6c8c6 100755 --- a/packages/dev/scripts/pezkuwi-dev-clean-build.mjs +++ b/packages/dev/scripts/pezkuwi-dev-clean-build.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import fs from 'node:fs'; diff --git a/packages/dev/scripts/pezkuwi-dev-contrib.mjs b/packages/dev/scripts/pezkuwi-dev-contrib.mjs index ffb4833..5d85bde 100755 --- a/packages/dev/scripts/pezkuwi-dev-contrib.mjs +++ b/packages/dev/scripts/pezkuwi-dev-contrib.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import fs from 'node:fs'; diff --git a/packages/dev/scripts/pezkuwi-dev-copy-dir.mjs b/packages/dev/scripts/pezkuwi-dev-copy-dir.mjs index e02ff27..6b7e478 100755 --- a/packages/dev/scripts/pezkuwi-dev-copy-dir.mjs +++ b/packages/dev/scripts/pezkuwi-dev-copy-dir.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import { copyDirSync, exitFatal, logBin } from './util.mjs'; diff --git a/packages/dev/scripts/pezkuwi-dev-copy-to.mjs b/packages/dev/scripts/pezkuwi-dev-copy-to.mjs index b5bb66b..bafe55b 100755 --- a/packages/dev/scripts/pezkuwi-dev-copy-to.mjs +++ b/packages/dev/scripts/pezkuwi-dev-copy-to.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import fs from 'node:fs'; diff --git a/packages/dev/scripts/pezkuwi-dev-deno-map.mjs b/packages/dev/scripts/pezkuwi-dev-deno-map.mjs index 646de1e..544d012 100755 --- a/packages/dev/scripts/pezkuwi-dev-deno-map.mjs +++ b/packages/dev/scripts/pezkuwi-dev-deno-map.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import fs from 'node:fs'; diff --git a/packages/dev/scripts/pezkuwi-dev-run-lint.mjs b/packages/dev/scripts/pezkuwi-dev-run-lint.mjs index 172839f..3d6eb13 100755 --- a/packages/dev/scripts/pezkuwi-dev-run-lint.mjs +++ b/packages/dev/scripts/pezkuwi-dev-run-lint.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import process from 'node:process'; diff --git a/packages/dev/scripts/pezkuwi-dev-run-node-ts.mjs b/packages/dev/scripts/pezkuwi-dev-run-node-ts.mjs index 306ab2a..8b7295e 100755 --- a/packages/dev/scripts/pezkuwi-dev-run-node-ts.mjs +++ b/packages/dev/scripts/pezkuwi-dev-run-node-ts.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import { execNodeTs, logBin } from './util.mjs'; diff --git a/packages/dev/scripts/pezkuwi-dev-run-test.mjs b/packages/dev/scripts/pezkuwi-dev-run-test.mjs index ff86d60..0e2878a 100755 --- a/packages/dev/scripts/pezkuwi-dev-run-test.mjs +++ b/packages/dev/scripts/pezkuwi-dev-run-test.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import process from 'node:process'; diff --git a/packages/dev/scripts/pezkuwi-dev-version.mjs b/packages/dev/scripts/pezkuwi-dev-version.mjs index 27da38e..91e51b9 100755 --- a/packages/dev/scripts/pezkuwi-dev-version.mjs +++ b/packages/dev/scripts/pezkuwi-dev-version.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import fs from 'node:fs'; diff --git a/packages/dev/scripts/pezkuwi-dev-yarn-only.mjs b/packages/dev/scripts/pezkuwi-dev-yarn-only.mjs index 8e41ebc..73ff03d 100755 --- a/packages/dev/scripts/pezkuwi-dev-yarn-only.mjs +++ b/packages/dev/scripts/pezkuwi-dev-yarn-only.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import process from 'node:process'; diff --git a/packages/dev/scripts/pezkuwi-exec-eslint.mjs b/packages/dev/scripts/pezkuwi-exec-eslint.mjs index b273b3c..414a3cb 100755 --- a/packages/dev/scripts/pezkuwi-exec-eslint.mjs +++ b/packages/dev/scripts/pezkuwi-exec-eslint.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import { importRelative } from './util.mjs'; diff --git a/packages/dev/scripts/pezkuwi-exec-ghpages.mjs b/packages/dev/scripts/pezkuwi-exec-ghpages.mjs index 686ffba..d0528a4 100755 --- a/packages/dev/scripts/pezkuwi-exec-ghpages.mjs +++ b/packages/dev/scripts/pezkuwi-exec-ghpages.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import { importRelative } from './util.mjs'; diff --git a/packages/dev/scripts/pezkuwi-exec-ghrelease.mjs b/packages/dev/scripts/pezkuwi-exec-ghrelease.mjs index 6fcad20..91fc726 100755 --- a/packages/dev/scripts/pezkuwi-exec-ghrelease.mjs +++ b/packages/dev/scripts/pezkuwi-exec-ghrelease.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import { importRelative } from './util.mjs'; diff --git a/packages/dev/scripts/pezkuwi-exec-node-test.mjs b/packages/dev/scripts/pezkuwi-exec-node-test.mjs index 22d9bd4..fb1f13c 100755 --- a/packages/dev/scripts/pezkuwi-exec-node-test.mjs +++ b/packages/dev/scripts/pezkuwi-exec-node-test.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 // For Node 18, earliest usable is 18.14: diff --git a/packages/dev/scripts/pezkuwi-exec-rollup.mjs b/packages/dev/scripts/pezkuwi-exec-rollup.mjs index 35e1998..8c7e3f6 100755 --- a/packages/dev/scripts/pezkuwi-exec-rollup.mjs +++ b/packages/dev/scripts/pezkuwi-exec-rollup.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import { execViaNode } from './util.mjs'; diff --git a/packages/dev/scripts/pezkuwi-exec-tsc.mjs b/packages/dev/scripts/pezkuwi-exec-tsc.mjs index ab221f8..ba8b1da 100755 --- a/packages/dev/scripts/pezkuwi-exec-tsc.mjs +++ b/packages/dev/scripts/pezkuwi-exec-tsc.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import { importDirect } from './util.mjs'; diff --git a/packages/dev/scripts/pezkuwi-exec-webpack.mjs b/packages/dev/scripts/pezkuwi-exec-webpack.mjs index 7712b10..6df04e1 100755 --- a/packages/dev/scripts/pezkuwi-exec-webpack.mjs +++ b/packages/dev/scripts/pezkuwi-exec-webpack.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import { importDirect } from './util.mjs'; diff --git a/packages/dev/scripts/util.mjs b/packages/dev/scripts/util.mjs index 5acb676..b4f35d0 100644 --- a/packages/dev/scripts/util.mjs +++ b/packages/dev/scripts/util.mjs @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import cp from 'node:child_process'; diff --git a/packages/dev/src/cjs/sample.js b/packages/dev/src/cjs/sample.js index 9d983b4..3288154 100644 --- a/packages/dev/src/cjs/sample.js +++ b/packages/dev/src/cjs/sample.js @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 module.exports = { foo: 'bar' }; diff --git a/packages/dev/src/detectOther.ts b/packages/dev/src/detectOther.ts index 97a9480..1dbe783 100644 --- a/packages/dev/src/detectOther.ts +++ b/packages/dev/src/detectOther.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 export default []; diff --git a/packages/dev/src/index.ts b/packages/dev/src/index.ts index 3cdcc71..f15430e 100644 --- a/packages/dev/src/index.ts +++ b/packages/dev/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 export {}; diff --git a/packages/dev/src/mod.ts b/packages/dev/src/mod.ts index c32d323..bb58648 100644 --- a/packages/dev/src/mod.ts +++ b/packages/dev/src/mod.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import './index.js'; diff --git a/packages/dev/src/packageInfo.ts b/packages/dev/src/packageInfo.ts index bc0607f..1fff723 100644 --- a/packages/dev/src/packageInfo.ts +++ b/packages/dev/src/packageInfo.ts @@ -1,6 +1,6 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 // Do not edit, auto-generated by @pezkuwi/dev -export const packageInfo = { name: '@pezkuwi/dev', path: 'auto', type: 'auto', version: '0.84.2' }; +export const packageInfo = { name: '@pezkuwi/dev', path: 'auto', type: 'auto', version: '0.85.4' }; diff --git a/packages/dev/src/root.ts b/packages/dev/src/root.ts index 1aaa208..34087b8 100644 --- a/packages/dev/src/root.ts +++ b/packages/dev/src/root.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 export * from './rootJs/index.js'; diff --git a/packages/dev/src/rootCjs.spec.ts b/packages/dev/src/rootCjs.spec.ts index 295efb9..fbbf84d 100644 --- a/packages/dev/src/rootCjs.spec.ts +++ b/packages/dev/src/rootCjs.spec.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import type * as testRoot from './root.js'; diff --git a/packages/dev/src/rootEsm.spec.ts b/packages/dev/src/rootEsm.spec.ts index 05cf84c..9289935 100644 --- a/packages/dev/src/rootEsm.spec.ts +++ b/packages/dev/src/rootEsm.spec.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 /// diff --git a/packages/dev/src/rootJs/Clazz.ts b/packages/dev/src/rootJs/Clazz.ts index deb63df..15cfb79 100644 --- a/packages/dev/src/rootJs/Clazz.ts +++ b/packages/dev/src/rootJs/Clazz.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 export class Clazz { diff --git a/packages/dev/src/rootJs/Jsx.spec.tsx b/packages/dev/src/rootJs/Jsx.spec.tsx index 93bef78..f14f56f 100644 --- a/packages/dev/src/rootJs/Jsx.spec.tsx +++ b/packages/dev/src/rootJs/Jsx.spec.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @polkadot/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 /// diff --git a/packages/dev/src/rootJs/Jsx.tsx b/packages/dev/src/rootJs/Jsx.tsx index fdd48cc..bf994ac 100644 --- a/packages/dev/src/rootJs/Jsx.tsx +++ b/packages/dev/src/rootJs/Jsx.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @polkadot/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 // Adapted from https://github.com/testing-library/react-testing-library#basic-example diff --git a/packages/dev/src/rootJs/JsxChild.tsx b/packages/dev/src/rootJs/JsxChild.tsx index 06af05d..ad80c0f 100644 --- a/packages/dev/src/rootJs/JsxChild.tsx +++ b/packages/dev/src/rootJs/JsxChild.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @polkadot/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/dev/src/rootJs/dynamic.mjs b/packages/dev/src/rootJs/dynamic.mjs index 53af5d6..aaf32b9 100644 --- a/packages/dev/src/rootJs/dynamic.mjs +++ b/packages/dev/src/rootJs/dynamic.mjs @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 /** diff --git a/packages/dev/src/rootJs/index.ts b/packages/dev/src/rootJs/index.ts index 7adca41..1f4d05c 100644 --- a/packages/dev/src/rootJs/index.ts +++ b/packages/dev/src/rootJs/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 /** This should appear as-is in the output with: 1. extension added, 2. augmented.d.ts correct */ diff --git a/packages/dev/src/rootJs/test.json.d.ts b/packages/dev/src/rootJs/test.json.d.ts index ee446f5..9157e5d 100644 --- a/packages/dev/src/rootJs/test.json.d.ts +++ b/packages/dev/src/rootJs/test.json.d.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 /** This file should not be in the compiled output */ diff --git a/packages/dev/src/rootSrc.spec.ts b/packages/dev/src/rootSrc.spec.ts index 6ac924a..dedef7c 100644 --- a/packages/dev/src/rootSrc.spec.ts +++ b/packages/dev/src/rootSrc.spec.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import * as testRoot from './root.js'; diff --git a/packages/dev/src/rootTests.ts b/packages/dev/src/rootTests.ts index 0dfdc74..d3a02a0 100644 --- a/packages/dev/src/rootTests.ts +++ b/packages/dev/src/rootTests.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 /// diff --git a/packages/dev/src/types.ts b/packages/dev/src/types.ts index 5d92574..e04503c 100644 --- a/packages/dev/src/types.ts +++ b/packages/dev/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 export type EchoString = string; diff --git a/scripts/all-bump-berry.sh b/scripts/all-bump-berry.sh index e5f5bc0..cd64dd2 100644 --- a/scripts/all-bump-berry.sh +++ b/scripts/all-bump-berry.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright 2017-2025 @polkadot/dev authors & contributors +# Copyright 2017-2025 @pezkuwi/dev authors & contributors # SPDX-License-Identifier: Apache-2.0 # This scripts updates and aligns the version of yarn berry used. It follows diff --git a/scripts/all-deps.js b/scripts/all-deps.js index 34f6a27..d628951 100644 --- a/scripts/all-deps.js +++ b/scripts/all-deps.js @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright 2017-2025 @pezkuwi/dev authors & contributors +// Copyright 2017-2026 @pezkuwi/dev authors & contributors // SPDX-License-Identifier: Apache-2.0 import fs from 'node:fs'; diff --git a/scripts/all-update.sh b/scripts/all-update.sh index d00b96c..dc67e4e 100644 --- a/scripts/all-update.sh +++ b/scripts/all-update.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright 2017-2025 @polkadot/dev authors & contributors +# Copyright 2017-2025 @pezkuwi/dev authors & contributors # SPDX-License-Identifier: Apache-2.0 # This scripts updates all the inter polkadot-js dependencies. To do so it diff --git a/scripts/rebrand.sh b/scripts/rebrand.sh index 439fce4..c9110b6 100755 --- a/scripts/rebrand.sh +++ b/scripts/rebrand.sh @@ -1,7 +1,7 @@ #!/bin/bash # Pezkuwi Dev Rebrand Script -# Converts @polkadot/* packages to @pezkuwi/* +# Converts @pezkuwi/* packages to @pezkuwi/* set -e @@ -9,24 +9,24 @@ echo "🔄 Starting Pezkuwi Dev rebrand..." # 1. Update all package.json files echo "📦 Updating package.json files..." -find . -type f -name "package.json" -not -path "*/node_modules/*" -exec sed -i 's/@polkadot/@pezkuwi/g' {} + +find . -type f -name "package.json" -not -path "*/node_modules/*" -exec sed -i 's/@pezkuwi/@pezkuwi/g' {} + find . -type f -name "package.json" -not -path "*/node_modules/*" -exec sed -i 's/polkadot-js\/common/pezkuwichain\/pezkuwi-dev/g' {} + find . -type f -name "package.json" -not -path "*/node_modules/*" -exec sed -i 's/polkadot-js/pezkuwi/g' {} + # 2. Update TypeScript imports echo "📝 Updating TypeScript imports..." -find . -type f \( -name "*.ts" -o -name "*.tsx" \) -not -path "*/node_modules/*" -not -path "*/build/*" -exec sed -i 's/from "@polkadot/from "@pezkuwi/g' {} + -find . -type f \( -name "*.ts" -o -name "*.tsx" \) -not -path "*/node_modules/*" -not -path "*/build/*" -exec sed -i "s/from '@polkadot/from '@pezkuwi/g" {} + -find . -type f \( -name "*.ts" -o -name "*.tsx" \) -not -path "*/node_modules/*" -not -path "*/build/*" -exec sed -i 's/import("@polkadot/import("@pezkuwi/g' {} + +find . -type f \( -name "*.ts" -o -name "*.tsx" \) -not -path "*/node_modules/*" -not -path "*/build/*" -exec sed -i 's/from "@pezkuwi/from "@pezkuwi/g' {} + +find . -type f \( -name "*.ts" -o -name "*.tsx" \) -not -path "*/node_modules/*" -not -path "*/build/*" -exec sed -i "s/from '@pezkuwi/from '@pezkuwi/g" {} + +find . -type f \( -name "*.ts" -o -name "*.tsx" \) -not -path "*/node_modules/*" -not -path "*/build/*" -exec sed -i 's/import("@pezkuwi/import("@pezkuwi/g' {} + # 3. Update JavaScript files echo "📜 Updating JavaScript files..." -find . -type f \( -name "*.js" -o -name "*.cjs" -o -name "*.mjs" \) -not -path "*/node_modules/*" -not -path "*/build/*" -exec sed -i 's/from "@polkadot/from "@pezkuwi/g' {} + -find . -type f \( -name "*.js" -o -name "*.cjs" -o -name "*.mjs" \) -not -path "*/node_modules/*" -not -path "*/build/*" -exec sed -i "s/from '@polkadot/from '@pezkuwi/g" {} + +find . -type f \( -name "*.js" -o -name "*.cjs" -o -name "*.mjs" \) -not -path "*/node_modules/*" -not -path "*/build/*" -exec sed -i 's/from "@pezkuwi/from "@pezkuwi/g' {} + +find . -type f \( -name "*.js" -o -name "*.cjs" -o -name "*.mjs" \) -not -path "*/node_modules/*" -not -path "*/build/*" -exec sed -i "s/from '@pezkuwi/from '@pezkuwi/g" {} + # 4. Update README and docs echo "📚 Updating documentation..." -find . -type f -name "*.md" -not -path "*/node_modules/*" -exec sed -i 's/@polkadot/@pezkuwi/g' {} + +find . -type f -name "*.md" -not -path "*/node_modules/*" -exec sed -i 's/@pezkuwi/@pezkuwi/g' {} + find . -type f -name "*.md" -not -path "*/node_modules/*" -exec sed -i 's/polkadot-js\/common/pezkuwichain\/pezkuwi-dev/g' {} + find . -type f -name "*.md" -not -path "*/node_modules/*" -exec sed -i 's/polkadot\.js/pezkuwi.js/g' {} + find . -type f -name "*.md" -not -path "*/node_modules/*" -exec sed -i 's/Polkadot\.js/Pezkuwi.js/g' {} + @@ -34,9 +34,9 @@ find . -type f -name "*.md" -not -path "*/node_modules/*" -exec sed -i 's/Polkad # 5. Update config files echo "⚙️ Updating config files..." -sed -i 's/@polkadot/@pezkuwi/g' tsconfig*.json 2>/dev/null || true -sed -i 's/@polkadot/@pezkuwi/g' eslint.config.js 2>/dev/null || true -sed -i 's/@polkadot/@pezkuwi/g' rollup.config.js 2>/dev/null || true +sed -i 's/@pezkuwi/@pezkuwi/g' tsconfig*.json 2>/dev/null || true +sed -i 's/@pezkuwi/@pezkuwi/g' eslint.config.js 2>/dev/null || true +sed -i 's/@pezkuwi/@pezkuwi/g' rollup.config.js 2>/dev/null || true # 6. Update GitHub workflows echo "🔧 Updating GitHub workflows..." @@ -50,7 +50,7 @@ sed -i 's/"homepage":.*/"homepage": "https:\/\/github.com\/pezkuwichain\/pezkuwi echo "✅ Rebrand complete!" echo "" echo "📊 Summary:" -echo " - Package namespace: @polkadot → @pezkuwi" +echo " - Package namespace: @pezkuwi → @pezkuwi" echo " - Repository: polkadot-js/common → pezkuwichain/pezkuwi-dev" echo " - Packages: 3 (util, util-crypto, keyring, networks, + 10 helpers)" echo "" diff --git a/yarn.lock b/yarn.lock index ff2e41f..898bd6b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -433,7 +433,7 @@ __metadata: languageName: node linkType: hard -"@pezkuwi/dev-test@npm:^0.84.2, @pezkuwi/dev-test@workspace:packages/dev-test": +"@pezkuwi/dev-test@npm:^0.85.3, @pezkuwi/dev-test@workspace:packages/dev-test": version: 0.0.0-use.local resolution: "@pezkuwi/dev-test@workspace:packages/dev-test" dependencies: @@ -443,7 +443,7 @@ __metadata: languageName: unknown linkType: soft -"@pezkuwi/dev-ts@npm:^0.84.2, @pezkuwi/dev-ts@workspace:packages/dev-ts": +"@pezkuwi/dev-ts@npm:^0.85.3, @pezkuwi/dev-ts@workspace:packages/dev-ts": version: 0.0.0-use.local resolution: "@pezkuwi/dev-ts@workspace:packages/dev-ts" dependencies: @@ -458,8 +458,8 @@ __metadata: resolution: "@pezkuwi/dev@workspace:packages/dev" dependencies: "@eslint/js": "npm:^8.56.0" - "@pezkuwi/dev-test": "npm:^0.84.2" - "@pezkuwi/dev-ts": "npm:^0.84.2" + "@pezkuwi/dev-test": "npm:^0.85.3" + "@pezkuwi/dev-ts": "npm:^0.85.3" "@rollup/plugin-alias": "npm:^5.1.1" "@rollup/plugin-commonjs": "npm:^25.0.8" "@rollup/plugin-dynamic-import-vars": "npm:^2.1.5" @@ -510,29 +510,29 @@ __metadata: webpack-subresource-integrity: "npm:^5.2.0-rc.1" yargs: "npm:^17.7.2" bin: - polkadot-ci-ghact-build: ./scripts/polkadot-ci-ghact-build.mjs - polkadot-ci-ghact-docs: ./scripts/polkadot-ci-ghact-docs.mjs - polkadot-ci-ghpages-force: ./scripts/polkadot-ci-ghpages-force.mjs - polkadot-dev-build-docs: ./scripts/polkadot-dev-build-docs.mjs - polkadot-dev-build-ts: ./scripts/polkadot-dev-build-ts.mjs - polkadot-dev-circular: ./scripts/polkadot-dev-circular.mjs - polkadot-dev-clean-build: ./scripts/polkadot-dev-clean-build.mjs - polkadot-dev-contrib: ./scripts/polkadot-dev-contrib.mjs - polkadot-dev-copy-dir: ./scripts/polkadot-dev-copy-dir.mjs - polkadot-dev-copy-to: ./scripts/polkadot-dev-copy-to.mjs - polkadot-dev-deno-map: ./scripts/polkadot-dev-deno-map.mjs - polkadot-dev-run-lint: ./scripts/polkadot-dev-run-lint.mjs - polkadot-dev-run-node-ts: ./scripts/polkadot-dev-run-node-ts.mjs - polkadot-dev-run-test: ./scripts/polkadot-dev-run-test.mjs - polkadot-dev-version: ./scripts/polkadot-dev-version.mjs - polkadot-dev-yarn-only: ./scripts/polkadot-dev-yarn-only.mjs - polkadot-exec-eslint: ./scripts/polkadot-exec-eslint.mjs - polkadot-exec-ghpages: ./scripts/polkadot-exec-ghpages.mjs - polkadot-exec-ghrelease: ./scripts/polkadot-exec-ghrelease.mjs - polkadot-exec-node-test: ./scripts/polkadot-exec-node-test.mjs - polkadot-exec-rollup: ./scripts/polkadot-exec-rollup.mjs - polkadot-exec-tsc: ./scripts/polkadot-exec-tsc.mjs - polkadot-exec-webpack: ./scripts/polkadot-exec-webpack.mjs + pezkuwi-ci-ghact-build: ./scripts/pezkuwi-ci-ghact-build.mjs + pezkuwi-ci-ghact-docs: ./scripts/pezkuwi-ci-ghact-docs.mjs + pezkuwi-ci-ghpages-force: ./scripts/pezkuwi-ci-ghpages-force.mjs + pezkuwi-dev-build-docs: ./scripts/pezkuwi-dev-build-docs.mjs + pezkuwi-dev-build-ts: ./scripts/pezkuwi-dev-build-ts.mjs + pezkuwi-dev-circular: ./scripts/pezkuwi-dev-circular.mjs + pezkuwi-dev-clean-build: ./scripts/pezkuwi-dev-clean-build.mjs + pezkuwi-dev-contrib: ./scripts/pezkuwi-dev-contrib.mjs + pezkuwi-dev-copy-dir: ./scripts/pezkuwi-dev-copy-dir.mjs + pezkuwi-dev-copy-to: ./scripts/pezkuwi-dev-copy-to.mjs + pezkuwi-dev-deno-map: ./scripts/pezkuwi-dev-deno-map.mjs + pezkuwi-dev-run-lint: ./scripts/pezkuwi-dev-run-lint.mjs + pezkuwi-dev-run-node-ts: ./scripts/pezkuwi-dev-run-node-ts.mjs + pezkuwi-dev-run-test: ./scripts/pezkuwi-dev-run-test.mjs + pezkuwi-dev-version: ./scripts/pezkuwi-dev-version.mjs + pezkuwi-dev-yarn-only: ./scripts/pezkuwi-dev-yarn-only.mjs + pezkuwi-exec-eslint: ./scripts/pezkuwi-exec-eslint.mjs + pezkuwi-exec-ghpages: ./scripts/pezkuwi-exec-ghpages.mjs + pezkuwi-exec-ghrelease: ./scripts/pezkuwi-exec-ghrelease.mjs + pezkuwi-exec-node-test: ./scripts/pezkuwi-exec-node-test.mjs + pezkuwi-exec-rollup: ./scripts/pezkuwi-exec-rollup.mjs + pezkuwi-exec-tsc: ./scripts/pezkuwi-exec-tsc.mjs + pezkuwi-exec-webpack: ./scripts/pezkuwi-exec-webpack.mjs languageName: unknown linkType: soft