Skip to content

Commit

Permalink
Bump dev w/ packageDetect adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Dec 19, 2023
1 parent 22075f8 commit f00a944
Show file tree
Hide file tree
Showing 19 changed files with 43 additions and 71 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"test:wasm-crypto:rust": "cd packages/wasm-crypto && RUST_BACKTRACE=full cargo test --release -- --test-threads=1 --nocapture"
},
"devDependencies": {
"@polkadot/dev": "^0.78.1",
"@polkadot/dev": "^0.78.3",
"@polkadot/util": "^12.6.2",
"@types/node": "^20.10.5",
"fflate": "^0.8.1"
Expand Down
4 changes: 0 additions & 4 deletions packages/wasm-bridge/src/detectOther.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/wasm-bridge/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2019-2023 @polkadot/wasm-bridge authors & contributors
// SPDX-License-Identifier: Apache-2.0

import './detectPackage.js';
import './packageDetect.js';

export * from './bundle.js';
Original file line number Diff line number Diff line change
Expand Up @@ -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, []);
4 changes: 0 additions & 4 deletions packages/wasm-crypto-asmjs/src/detectOther.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/wasm-crypto-asmjs/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2019-2023 @polkadot/wasm-crypto-asmjs authors & contributors
// SPDX-License-Identifier: Apache-2.0

import './detectPackage.js';
import './packageDetect.js';

export * from './bundle.js';
Original file line number Diff line number Diff line change
Expand Up @@ -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, []);
11 changes: 0 additions & 11 deletions packages/wasm-crypto-init/src/detectPackage.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
// Copyright 2017-2023 @polkadot/wasm-crypto-init 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 { detectPackage } from '@polkadot/util';
import { packageInfo as bridgeInfo } from '@polkadot/wasm-bridge/packageInfo';
import { packageInfo as asmInfo } from '@polkadot/wasm-crypto-asmjs/packageInfo';
import { packageInfo as wasmInfo } from '@polkadot/wasm-crypto-wasm/packageInfo';

export default [bridgeInfo, asmInfo, wasmInfo];
import { packageInfo } from './packageInfo.js';

detectPackage(packageInfo, null, [asmInfo, bridgeInfo, wasmInfo]);
4 changes: 0 additions & 4 deletions packages/wasm-crypto-wasm/src/detectOther.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/wasm-crypto-wasm/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2019-2023 @polkadot/wasm-crypto-wasm authors & contributors
// SPDX-License-Identifier: Apache-2.0

import './detectPackage.js';
import './packageDetect.js';

export * from './bundle.js';
Original file line number Diff line number Diff line change
Expand Up @@ -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, []);
11 changes: 0 additions & 11 deletions packages/wasm-crypto/src/detectPackage.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/wasm-crypto/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2019-2023 @polkadot/wasm-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0

import './detectPackage.js';
import './packageDetect.js';

export * from './bundle.js';
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
// Copyright 2017-2023 @polkadot/wasm-crypto 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 { detectPackage } from '@polkadot/util';
import { packageInfo as bridgeInfo } from '@polkadot/wasm-bridge/packageInfo';
import { packageInfo as asmInfo } from '@polkadot/wasm-crypto-asmjs/packageInfo';
import { packageInfo as initInfo } from '@polkadot/wasm-crypto-init/packageInfo';
import { packageInfo as wasmInfo } from '@polkadot/wasm-crypto-wasm/packageInfo';
import { packageInfo as utilInfo } from '@polkadot/wasm-util/packageInfo';

export default [bridgeInfo, asmInfo, initInfo, wasmInfo, utilInfo];
import { packageInfo } from './packageInfo.js';

detectPackage(packageInfo, null, [asmInfo, bridgeInfo, initInfo, utilInfo, wasmInfo]);
6 changes: 0 additions & 6 deletions packages/wasm-util/src/detectOther.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/wasm-util/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2019-2023 @polkadot/wasm-util authors & contributors
// SPDX-License-Identifier: Apache-2.0

import './detectPackage.js';
import './packageDetect.js';

export * from './bundle.js';
Original file line number Diff line number Diff line change
Expand Up @@ -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, []);
30 changes: 15 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -364,34 +364,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"
Expand Down Expand Up @@ -456,7 +456,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

Expand Down Expand Up @@ -7381,7 +7381,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/util": "npm:^12.6.2"
"@types/node": "npm:^20.10.5"
fflate: "npm:^0.8.1"
Expand Down

0 comments on commit f00a944

Please sign in to comment.