diff --git a/package.json b/package.json index 46fa2cce..b251f8dc 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "test:one": "polkadot-dev-run-test --env browser" }, "devDependencies": { - "@polkadot/dev": "^0.78.1", + "@polkadot/dev": "^0.78.3", "@polkadot/x-bundle": "^12.6.2", "@types/node": "^20.10.5", "react": "^18.2.0", diff --git a/packages/react-identicon/package.json b/packages/react-identicon/package.json index 0ba71928..ef55eb76 100644 --- a/packages/react-identicon/package.json +++ b/packages/react-identicon/package.json @@ -14,8 +14,8 @@ "url": "https://github.com/polkadot-js/ui.git" }, "sideEffects": [ - "./detectPackage.js", - "./detectPackage.cjs" + "./packageDetect.js", + "./packageDetect.cjs" ], "type": "module", "version": "3.6.5-1-x", diff --git a/packages/react-identicon/src/detectPackage.ts b/packages/react-identicon/src/detectPackage.ts deleted file mode 100644 index fe79db36..00000000 --- a/packages/react-identicon/src/detectPackage.ts +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2017-2023 @polkadot/react-identicon authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -// Do not edit, auto-generated by @polkadot/dev - -import { detectPackage } from '@polkadot/util'; - -import others from './detectOther.js'; -import { packageInfo } from './packageInfo.js'; - -detectPackage(packageInfo, null, others); diff --git a/packages/react-identicon/src/index.ts b/packages/react-identicon/src/index.ts index 7e81f556..980c27d3 100644 --- a/packages/react-identicon/src/index.ts +++ b/packages/react-identicon/src/index.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/react-identicon authors & contributors // SPDX-License-Identifier: Apache-2.0 -import './detectPackage.js'; +import './packageDetect.js'; import { Identicon } from './bundle.js'; diff --git a/packages/react-identicon/src/detectOther.ts b/packages/react-identicon/src/packageDetect.ts similarity index 50% rename from packages/react-identicon/src/detectOther.ts rename to packages/react-identicon/src/packageDetect.ts index 7f0d05af..a25513f5 100644 --- a/packages/react-identicon/src/detectOther.ts +++ b/packages/react-identicon/src/packageDetect.ts @@ -1,7 +1,13 @@ // Copyright 2017-2023 @polkadot/react-identicon authors & contributors // SPDX-License-Identifier: Apache-2.0 +// Do not edit, auto-generated by @polkadot/dev +// (packageInfo imports will be kept as-is, user-editable) + import { packageInfo as settingsInfo } from '@polkadot/ui-settings/packageInfo'; import { packageInfo as sharedInfo } from '@polkadot/ui-shared/packageInfo'; +import { detectPackage } from '@polkadot/util'; -export default [settingsInfo, sharedInfo]; +import { packageInfo } from './packageInfo.js'; + +detectPackage(packageInfo, null, [settingsInfo, sharedInfo]); diff --git a/packages/react-qr/package.json b/packages/react-qr/package.json index 61bcfa54..d762dec6 100644 --- a/packages/react-qr/package.json +++ b/packages/react-qr/package.json @@ -14,8 +14,8 @@ "url": "https://github.com/polkadot-js/ui.git" }, "sideEffects": [ - "./detectPackage.js", - "./detectPackage.cjs" + "./packageDetect.js", + "./packageDetect.cjs" ], "type": "module", "version": "3.6.5-1-x", diff --git a/packages/react-qr/src/detectOther.ts b/packages/react-qr/src/detectOther.ts deleted file mode 100644 index 22e9ec93..00000000 --- a/packages/react-qr/src/detectOther.ts +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2017-2023 @polkadot/react-qr authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -// Empty template, auto-generated by @polkadot/dev - -export default []; diff --git a/packages/react-qr/src/index.ts b/packages/react-qr/src/index.ts index cb58cb15..da0b95c3 100644 --- a/packages/react-qr/src/index.ts +++ b/packages/react-qr/src/index.ts @@ -1,6 +1,6 @@ // Copyright 2017-2023 @polkadot/react-qr authors & contributors // SPDX-License-Identifier: Apache-2.0 -import './detectPackage.js'; +import './packageDetect.js'; export * from './bundle.js'; diff --git a/packages/react-qr/src/detectPackage.ts b/packages/react-qr/src/packageDetect.ts similarity index 72% rename from packages/react-qr/src/detectPackage.ts rename to packages/react-qr/src/packageDetect.ts index 8e746280..a55c41db 100644 --- a/packages/react-qr/src/detectPackage.ts +++ b/packages/react-qr/src/packageDetect.ts @@ -2,10 +2,10 @@ // SPDX-License-Identifier: Apache-2.0 // Do not edit, auto-generated by @polkadot/dev +// (packageInfo imports will be kept as-is, user-editable) import { detectPackage } from '@polkadot/util'; -import others from './detectOther.js'; import { packageInfo } from './packageInfo.js'; -detectPackage(packageInfo, null, others); +detectPackage(packageInfo, null, []); diff --git a/packages/reactnative-identicon/package.json b/packages/reactnative-identicon/package.json index d9ec257b..2a879643 100644 --- a/packages/reactnative-identicon/package.json +++ b/packages/reactnative-identicon/package.json @@ -14,8 +14,8 @@ "url": "https://github.com/polkadot-js/ui.git" }, "sideEffects": [ - "./detectPackage.js", - "./detectPackage.cjs" + "./packageDetect.js", + "./packageDetect.cjs" ], "type": "module", "version": "3.6.5-1-x", diff --git a/packages/reactnative-identicon/src/detectOther.ts b/packages/reactnative-identicon/src/detectOther.ts deleted file mode 100644 index f7d57b65..00000000 --- a/packages/reactnative-identicon/src/detectOther.ts +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2017-2023 @polkadot/reactnative-identicon authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import { packageInfo as sharedInfo } from '@polkadot/ui-shared/packageInfo'; - -export default [sharedInfo]; diff --git a/packages/reactnative-identicon/src/index.ts b/packages/reactnative-identicon/src/index.ts index e8de2e37..8fe555ab 100644 --- a/packages/reactnative-identicon/src/index.ts +++ b/packages/reactnative-identicon/src/index.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/reactnative-identicon authors & contributors // SPDX-License-Identifier: Apache-2.0 -import './detectPackage.js'; +import './packageDetect.js'; import Identicon from './Identicon.js'; diff --git a/packages/reactnative-identicon/src/detectPackage.ts b/packages/reactnative-identicon/src/packageDetect.ts similarity index 59% rename from packages/reactnative-identicon/src/detectPackage.ts rename to packages/reactnative-identicon/src/packageDetect.ts index 07c97b8b..2a879c6c 100644 --- a/packages/reactnative-identicon/src/detectPackage.ts +++ b/packages/reactnative-identicon/src/packageDetect.ts @@ -2,10 +2,11 @@ // SPDX-License-Identifier: Apache-2.0 // Do not edit, auto-generated by @polkadot/dev +// (packageInfo imports will be kept as-is, user-editable) +import { packageInfo as sharedInfo } from '@polkadot/ui-shared/packageInfo'; import { detectPackage } from '@polkadot/util'; -import others from './detectOther.js'; import { packageInfo } from './packageInfo.js'; -detectPackage(packageInfo, null, others); +detectPackage(packageInfo, null, [sharedInfo]); diff --git a/packages/ui-keyring/package.json b/packages/ui-keyring/package.json index 242222a2..b81c933d 100644 --- a/packages/ui-keyring/package.json +++ b/packages/ui-keyring/package.json @@ -13,8 +13,8 @@ "url": "https://github.com/polkadot-js/ui.git" }, "sideEffects": [ - "./detectPackage.js", - "./detectPackage.cjs" + "./packageDetect.js", + "./packageDetect.cjs" ], "type": "module", "version": "3.6.5-1-x", diff --git a/packages/ui-keyring/src/detectOther.ts b/packages/ui-keyring/src/detectOther.ts deleted file mode 100644 index fe798022..00000000 --- a/packages/ui-keyring/src/detectOther.ts +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2017-2023 @polkadot/ui-keyring authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import { packageInfo as settingsInfo } from '@polkadot/ui-settings/packageInfo'; - -export default [settingsInfo]; diff --git a/packages/ui-keyring/src/index.ts b/packages/ui-keyring/src/index.ts index 97801668..6fa40644 100644 --- a/packages/ui-keyring/src/index.ts +++ b/packages/ui-keyring/src/index.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/ui-keyring authors & contributors // SPDX-License-Identifier: Apache-2.0 -import './detectPackage.js'; +import './packageDetect.js'; import { keyring } from './bundle.js'; diff --git a/packages/ui-keyring/src/detectPackage.ts b/packages/ui-keyring/src/packageDetect.ts similarity index 57% rename from packages/ui-keyring/src/detectPackage.ts rename to packages/ui-keyring/src/packageDetect.ts index 0de2f249..2a3e4b0a 100644 --- a/packages/ui-keyring/src/detectPackage.ts +++ b/packages/ui-keyring/src/packageDetect.ts @@ -2,10 +2,11 @@ // SPDX-License-Identifier: Apache-2.0 // Do not edit, auto-generated by @polkadot/dev +// (packageInfo imports will be kept as-is, user-editable) +import { packageInfo as settingsInfo } from '@polkadot/ui-settings/packageInfo'; import { detectPackage } from '@polkadot/util'; -import others from './detectOther.js'; import { packageInfo } from './packageInfo.js'; -detectPackage(packageInfo, null, others); +detectPackage(packageInfo, null, [settingsInfo]); diff --git a/packages/ui-settings/package.json b/packages/ui-settings/package.json index b048e7cc..e0a0eb2c 100644 --- a/packages/ui-settings/package.json +++ b/packages/ui-settings/package.json @@ -14,8 +14,8 @@ "url": "https://github.com/polkadot-js/ui.git" }, "sideEffects": [ - "./detectPackage.js", - "./detectPackage.cjs" + "./packageDetect.js", + "./packageDetect.cjs" ], "type": "module", "version": "3.6.5-1-x", diff --git a/packages/ui-settings/src/detectOther.ts b/packages/ui-settings/src/detectOther.ts deleted file mode 100644 index 373d0c84..00000000 --- a/packages/ui-settings/src/detectOther.ts +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2017-2023 @polkadot/ui-settings authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -// Empty template, auto-generated by @polkadot/dev - -export default []; diff --git a/packages/ui-settings/src/detectPackage.ts b/packages/ui-settings/src/packageDetect.ts similarity index 72% rename from packages/ui-settings/src/detectPackage.ts rename to packages/ui-settings/src/packageDetect.ts index b1fbf445..ca965e15 100644 --- a/packages/ui-settings/src/detectPackage.ts +++ b/packages/ui-settings/src/packageDetect.ts @@ -2,10 +2,10 @@ // SPDX-License-Identifier: Apache-2.0 // Do not edit, auto-generated by @polkadot/dev +// (packageInfo imports will be kept as-is, user-editable) import { detectPackage } from '@polkadot/util'; -import others from './detectOther.js'; import { packageInfo } from './packageInfo.js'; -detectPackage(packageInfo, null, others); +detectPackage(packageInfo, null, []); diff --git a/packages/ui-shared/package.json b/packages/ui-shared/package.json index aaf95a8e..18074afe 100644 --- a/packages/ui-shared/package.json +++ b/packages/ui-shared/package.json @@ -14,8 +14,8 @@ "url": "https://github.com/polkadot-js/ui.git" }, "sideEffects": [ - "./detectPackage.js", - "./detectPackage.cjs" + "./packageDetect.js", + "./packageDetect.cjs" ], "type": "module", "version": "3.6.5-1-x", diff --git a/packages/ui-shared/src/detectOther.ts b/packages/ui-shared/src/detectOther.ts deleted file mode 100644 index cc91c4e0..00000000 --- a/packages/ui-shared/src/detectOther.ts +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2017-2023 @polkadot/ui-shared authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -// Empty template, auto-generated by @polkadot/dev - -export default []; diff --git a/packages/ui-shared/src/index.ts b/packages/ui-shared/src/index.ts index 102d0928..1e53dd9c 100644 --- a/packages/ui-shared/src/index.ts +++ b/packages/ui-shared/src/index.ts @@ -1,6 +1,6 @@ // Copyright 2018-2023 @polkadot/ui-shared authors & contributors // SPDX-License-Identifier: Apache-2.0 -import './detectPackage.js'; +import './packageDetect.js'; export * from './bundle.js'; diff --git a/packages/ui-shared/src/detectPackage.ts b/packages/ui-shared/src/packageDetect.ts similarity index 72% rename from packages/ui-shared/src/detectPackage.ts rename to packages/ui-shared/src/packageDetect.ts index ca517ad9..74466fd6 100644 --- a/packages/ui-shared/src/detectPackage.ts +++ b/packages/ui-shared/src/packageDetect.ts @@ -2,10 +2,10 @@ // SPDX-License-Identifier: Apache-2.0 // Do not edit, auto-generated by @polkadot/dev +// (packageInfo imports will be kept as-is, user-editable) import { detectPackage } from '@polkadot/util'; -import others from './detectOther.js'; import { packageInfo } from './packageInfo.js'; -detectPackage(packageInfo, null, others); +detectPackage(packageInfo, null, []); diff --git a/packages/vue-identicon/package.json b/packages/vue-identicon/package.json index 4b4ddccf..c1f60d77 100644 --- a/packages/vue-identicon/package.json +++ b/packages/vue-identicon/package.json @@ -14,8 +14,8 @@ "url": "https://github.com/polkadot-js/ui.git" }, "sideEffects": [ - "./detectPackage.js", - "./detectPackage.cjs" + "./packageDetect.js", + "./packageDetect.cjs" ], "type": "module", "version": "3.6.5-1-x", diff --git a/packages/vue-identicon/src/detectOther.ts b/packages/vue-identicon/src/detectOther.ts deleted file mode 100644 index e2df5971..00000000 --- a/packages/vue-identicon/src/detectOther.ts +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2017-2023 @polkadot/vue-identicon authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import { packageInfo as sharedInfo } from '@polkadot/ui-shared/packageInfo'; - -export default [sharedInfo]; diff --git a/packages/vue-identicon/src/index.ts b/packages/vue-identicon/src/index.ts index 2086f90c..e5c9ee43 100644 --- a/packages/vue-identicon/src/index.ts +++ b/packages/vue-identicon/src/index.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/vue-identicon authors & contributors // SPDX-License-Identifier: Apache-2.0 -import './detectPackage.js'; +import './packageDetect.js'; import { Identicon } from './bundle.js'; diff --git a/packages/vue-identicon/src/detectPackage.ts b/packages/vue-identicon/src/packageDetect.ts similarity index 58% rename from packages/vue-identicon/src/detectPackage.ts rename to packages/vue-identicon/src/packageDetect.ts index c4c5017f..6718d566 100644 --- a/packages/vue-identicon/src/detectPackage.ts +++ b/packages/vue-identicon/src/packageDetect.ts @@ -2,10 +2,11 @@ // SPDX-License-Identifier: Apache-2.0 // Do not edit, auto-generated by @polkadot/dev +// (packageInfo imports will be kept as-is, user-editable) +import { packageInfo as sharedInfo } from '@polkadot/ui-shared/packageInfo'; import { detectPackage } from '@polkadot/util'; -import others from './detectOther.js'; import { packageInfo } from './packageInfo.js'; -detectPackage(packageInfo, null, others); +detectPackage(packageInfo, null, [sharedInfo]); diff --git a/yarn.lock b/yarn.lock index aff2a502..a913d36e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1500,34 +1500,34 @@ __metadata: languageName: node linkType: hard -"@polkadot/dev-test@npm:^0.78.1": - version: 0.78.1 - resolution: "@polkadot/dev-test@npm:0.78.1" +"@polkadot/dev-test@npm:^0.78.3": + version: 0.78.3 + resolution: "@polkadot/dev-test@npm:0.78.3" dependencies: jsdom: "npm:^23.0.1" tslib: "npm:^2.6.2" - checksum: 5ead8120872943af282f53f7c319787f87961dad324280de136447bc07c85b59c31657da0ff8699d0dd26fd2dd8e0bba3a87ae0097473e1eeb97f20a52ef564e + checksum: 8ea03f6bcb1216f309627ad97eac75509e0fd1907b693bbf28f87a435606aba445268d4232bb21891182af946d11f5d5011717a30227ab7a02ededf01d8c223e languageName: node linkType: hard -"@polkadot/dev-ts@npm:^0.78.1": - version: 0.78.1 - resolution: "@polkadot/dev-ts@npm:0.78.1" +"@polkadot/dev-ts@npm:^0.78.3": + version: 0.78.3 + resolution: "@polkadot/dev-ts@npm:0.78.3" dependencies: json5: "npm:^2.2.3" tslib: "npm:^2.6.2" typescript: "npm:^5.3.3" - checksum: 1b965ac9d842e049b732240a52f714791416a405341901545e1b5069211deec5940267a61e35d868ad693fe503b06db093f869b6b42a3dad0d40848820a6dd79 + checksum: f99a4fd13808ef4dc7bca8582353b361fbbcfae0aacc964ba0e2706acf92bbf0cd9694dedb169e6fba0280c71d7d5b50a9e0315c47bb3a95be0343fa5da33432 languageName: node linkType: hard -"@polkadot/dev@npm:^0.78.1": - version: 0.78.1 - resolution: "@polkadot/dev@npm:0.78.1" +"@polkadot/dev@npm:^0.78.3": + version: 0.78.3 + resolution: "@polkadot/dev@npm:0.78.3" dependencies: "@eslint/js": "npm:^8.56.0" - "@polkadot/dev-test": "npm:^0.78.1" - "@polkadot/dev-ts": "npm:^0.78.1" + "@polkadot/dev-test": "npm:^0.78.3" + "@polkadot/dev-ts": "npm:^0.78.3" "@rollup/plugin-alias": "npm:^5.1.0" "@rollup/plugin-commonjs": "npm:^25.0.7" "@rollup/plugin-dynamic-import-vars": "npm:^2.1.2" @@ -1592,7 +1592,7 @@ __metadata: polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs - checksum: 95c9c4e94fb62ca8041a73283d16165cfc09da8fa4beb3051af45141f6f0d0c51373f2ce8c84eace0939119c128525df39df94a32a8d6b66e32a2fe6a9c659f6 + checksum: 0c4a0330f3505e3c0bd75686a6b1f9220a58ac21b458ef05bdbc7e83fbd0c5d7107d8c518d542eb05108d000b5aca46c6a1380e258018ddba5912cc7479b3de3 languageName: node linkType: hard @@ -11049,7 +11049,7 @@ __metadata: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@polkadot/dev": "npm:^0.78.1" + "@polkadot/dev": "npm:^0.78.3" "@polkadot/x-bundle": "npm:^12.6.2" "@types/node": "npm:^20.10.5" react: "npm:^18.2.0"