mirror of
https://github.com/pezkuwichain/pezkuwi-dev.git
synced 2026-04-21 21:28:01 +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:
+11
@@ -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
|
||||
|
||||
+1
-1
@@ -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');
|
||||
|
||||
+1
-1
@@ -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';
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"author": "Pezkuwi Team <team@pezkuwichain.io>",
|
||||
"author": "Pezkuwi Team <team@pezkuwichain.app>",
|
||||
"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"
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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": "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"
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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' };
|
||||
|
||||
@@ -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
|
||||
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.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';
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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/**'
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
+237
-15
@@ -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 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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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' };
|
||||
|
||||
@@ -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 [];
|
||||
|
||||
@@ -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 {};
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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' };
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev 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 authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export class Clazz {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/dev authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/**
|
||||
|
||||
@@ -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 */
|
||||
|
||||
+1
-1
@@ -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 */
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/dev authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev 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 authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/dev authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export type EchoString = string;
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -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';
|
||||
|
||||
@@ -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
|
||||
|
||||
+12
-12
@@ -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 ""
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user