mirror of
https://github.com/pezkuwichain/pezkuwi-extension.git
synced 2026-10-22 03:36:19 +00:00
pr-any.yml ran lint, test and build with continue-on-error: true, so every PR showed success while main had 41 lint errors and 19 of 61 tests failing. The flag is removed and the failures are fixed: - TypeScript 5.5.4 -> 5.9. @pezkuwi/util and friends ship declarations with Uint8Array<ArrayBufferLike>, which 5.5 cannot read, so every such value was typed `any` here (the 16 wrapBytes errors). The pin dates from a styled-components declaration problem that went away with the move back to styled-components 5; build and lint pass on 5.9. - State.ts: the stored security log is parsed through a function that returns an empty log for anything that is not a JSON array, instead of letting `any` flow on; fire-and-forget logging uses .catch(console.error) like the rest of the codebase; object keys sorted. - buildHierarchy.spec.ts: a rename had replaced the genesis hashes with 0x..01 / 0x..02, which resolve to no network name, so sorting by network had nothing to sort on. The test now takes two real entries from chains.ts by name. - scripts/*.cjs is in the lint project (it failed to parse); header and key order fixed in postbuild-cleanup.cjs. - temp_ff_validate/ (43 build files) and pezkuwi-chrome-0.62.22.zip were committed by accident in f5495f7; removed and ignored. 16 of the 19 failing tests are not fixed here: they fail because @pezkuwi/wasm-crypto 7.5.18 stubs ed25519, secp256k1 and sr25519 derivation. With the 7.5.19 build from pezkuwi-wasm#2 installed locally, lint is clean and all 61 tests pass. Until 7.5.19 is published and picked up here, those 16 stay red on this PR, which is the point.
94 lines
4.9 KiB
JSON
94 lines
4.9 KiB
JSON
{
|
|
"author": "Kurdistan Tech Institute <dev@pezkuwichain.io> & PezkuwiChain Team <team@pezkuwichain.io>",
|
|
"bugs": "https://github.com/pezkuwichain/pezkuwi-extension/issues",
|
|
"engines": {
|
|
"node": ">=18.14"
|
|
},
|
|
"homepage": "https://github.com/pezkuwichain/pezkuwi-extension#readme",
|
|
"license": "Apache-2.0",
|
|
"packageManager": "yarn@4.12.0",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/pezkuwichain/pezkuwi-extension.git"
|
|
},
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"version": "0.62.24",
|
|
"versions": {
|
|
"git": "0.62.6",
|
|
"npm": "0.62.6"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "yarn build:chrome && yarn build:ff",
|
|
"build:before": "yarn build:i18n",
|
|
"build:chrome": "cp ./packages/extension/manifest_chrome.json ./packages/extension/manifest.json && pezkuwi-dev-build-ts && node scripts/postbuild-cleanup.cjs && yarn build:zip:chrome && yarn build:rollup",
|
|
"build:ff": "cp ./packages/extension/manifest_firefox.json ./packages/extension/manifest.json && pezkuwi-dev-build-ts && node scripts/postbuild-cleanup.cjs && yarn build:zip:ff && yarn build:rollup",
|
|
"build:i18n": "i18next-scanner --config i18next-scanner.config.cjs",
|
|
"build:release": "pezkuwi-ci-ghact-build",
|
|
"build:rollup": "pezkuwi-exec-rollup --config",
|
|
"build:zip": "yarn build:zip:chrome && yarn build:zip:ff",
|
|
"build:zip:chrome": "cp ./packages/extension/manifest_chrome.json ./packages/extension/manifest.json && cp ./packages/extension/manifest_chrome.json ./packages/extension/build/manifest.json && yarn build:zip:dst:chrome && yarn build:zip:src:chrome",
|
|
"build:zip:dst:chrome": "rm -rf ./master-chrome-build.zip && cd packages/extension/build && zip -r -FS ../../../master-chrome-build.zip .",
|
|
"build:zip:dst:ff": "rm -rf ./master-ff-build.zip && cd packages/extension/build && zip -r -FS ../../../master-ff-build.zip .",
|
|
"build:zip:ff": "cp ./packages/extension/manifest_firefox.json ./packages/extension/manifest.json && cp ./packages/extension/manifest_firefox.json ./packages/extension/build/manifest.json && yarn build:zip:dst:ff && yarn build:zip:src:ff",
|
|
"build:zip:src:chrome": "rm -rf ./master-chrome-src.zip && zip -r -x '*build/*' -x '*node_modules*' -FS ./master-chrome-src.zip packages .editorconfig eslint.config.js rollup.config.js CHANGELOG.md CONTRIBUTING.md i18next-scanner.config.cjs LICENSE package.json README.md tsconfig.json yarn.lock .yarnrc.yml tsconfig.base.json tsconfig.build.json tsconfig.eslint.json tsconfig.webpack.json",
|
|
"build:zip:src:ff": "rm -rf ./master-ff-src.zip && zip -r -x '*build/*' -x '*node_modules*' -FS ./master-ff-src.zip packages .editorconfig eslint.config.js rollup.config.js CHANGELOG.md CONTRIBUTING.md i18next-scanner.config.cjs LICENSE package.json README.md tsconfig.json yarn.lock .yarnrc.yml tsconfig.base.json tsconfig.build.json tsconfig.eslint.json tsconfig.webpack.json",
|
|
"clean": "pezkuwi-dev-clean-build",
|
|
"diff": "rm -rf ff-diff && sh ./scripts/diff.sh",
|
|
"lint": "pezkuwi-dev-run-lint",
|
|
"lint:extension": "npx web-ext lint --source-dir ./packages/extension/build",
|
|
"pezkuwi-exec-webpack": "pezkuwi-exec-webpack",
|
|
"postinstall": "echo ok",
|
|
"test": "EXTENSION_PREFIX='test' pezkuwi-dev-run-test --loader ./packages/extension-mocks/src/loader-empty.js --env browser ^:.spec.tsx",
|
|
"test:one": "EXTENSION_PREFIX='test' pezkuwi-dev-run-test --env browser"
|
|
},
|
|
"devDependencies": {
|
|
"@pezkuwi/dev": "^0.85.7",
|
|
"@types/node": "^20.10.5",
|
|
"eslint-scope": "^5.1.1",
|
|
"i18next-scanner": "^4.4.0",
|
|
"rollup": "^4.55.1",
|
|
"sinon-chrome": "^3.0.1",
|
|
"webpack": "^5.90.0",
|
|
"webpack-cli": "^5.1.4"
|
|
},
|
|
"resolutions": {
|
|
"@pezkuwi/api": "^16.5.36",
|
|
"@pezkuwi/api-augment": "^16.5.36",
|
|
"@pezkuwi/api-base": "^16.5.36",
|
|
"@pezkuwi/api-derive": "^16.5.36",
|
|
"@pezkuwi/hw-ledger-transports": "^14.0.25",
|
|
"@pezkuwi/keyring": "^14.0.25",
|
|
"@pezkuwi/networks": "^14.0.25",
|
|
"@pezkuwi/rpc-augment": "^16.5.36",
|
|
"@pezkuwi/rpc-core": "^16.5.36",
|
|
"@pezkuwi/rpc-provider": "^16.5.36",
|
|
"@pezkuwi/types": "^16.5.36",
|
|
"@pezkuwi/types-augment": "^16.5.36",
|
|
"@pezkuwi/types-codec": "^16.5.36",
|
|
"@pezkuwi/types-create": "^16.5.36",
|
|
"@pezkuwi/types-known": "^16.5.36",
|
|
"@pezkuwi/types-support": "^16.5.36",
|
|
"@pezkuwi/ui-keyring": "^3.17.1",
|
|
"@pezkuwi/ui-shared": "^3.17.1",
|
|
"@pezkuwi/util": "^14.0.25",
|
|
"@pezkuwi/util-crypto": "^14.0.25",
|
|
"@pezkuwi/wasm-crypto": "^7.5.18",
|
|
"@pezkuwi/x-bigint": "^14.0.25",
|
|
"@pezkuwi/x-fetch": "^14.0.25",
|
|
"@pezkuwi/x-global": "^14.0.25",
|
|
"@pezkuwi/x-randomvalues": "^14.0.25",
|
|
"@pezkuwi/x-textdecoder": "^14.0.25",
|
|
"@pezkuwi/x-textencoder": "^14.0.25",
|
|
"@pezkuwi/x-ws": "^14.0.25",
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"safe-buffer": "^5.2.1",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|