-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update build to support NodeNext
- Loading branch information
1 parent
229a941
commit d3b4be3
Showing
194 changed files
with
999 additions
and
684 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,7 @@ zombienet/bin/* | |
# Binaries | ||
/bin/* | ||
!bin/README.md | ||
|
||
.tshy | ||
.tshy-build | ||
dist |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,30 @@ | |
"name": "@substrate/asset-transfer-api", | ||
"version": "0.4.4", | ||
"description": "", | ||
"main": "lib/index.js", | ||
"type": "module", | ||
"main": "./dist/commonjs/index.js", | ||
"types": "./dist/commonjs/index.d.ts", | ||
"module": "./dist/esm/index.js", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": { | ||
"@paritytech/source": "./src/index.ts", | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"require": { | ||
"types": "./dist/commonjs/index.d.ts", | ||
"default": "./dist/commonjs/index.js" | ||
} | ||
} | ||
}, | ||
"scripts": { | ||
"build": "substrate-exec-rimraf ./lib && substrate-exec-tsc", | ||
"build:scripts": "substrate-exec-rimraf scripts/build/ && substrate-exec-tsc --project scripts/tsconfig.json", | ||
"build:examples": "substrate-exec-rimraf examples/build/ && substrate-exec-tsc --project examples/tsconfig.json", | ||
"build:e2e": "substrate-exec-rimraf e2e-tests/build/ && substrate-exec-tsc --project e2e-tests/tsconfig.json", | ||
"clean": "rimraf dist .tshy .tshy-build", | ||
"build": "yarn run clean && tshy", | ||
"build:scripts": "rimraf scripts/build/ && tsc --project scripts/tsconfig.json", | ||
"build:examples": "rimraf examples/build/ && tsc --project examples/tsconfig.json", | ||
"build:e2e": "rimraf e2e-tests/build/ && tsc --project e2e-tests/tsconfig.json", | ||
"start": "node ./lib/index.js", | ||
"start:zombienet-post-script": "yarn build:scripts && node ./scripts/build/testNetworkSetup.js", | ||
"start:zombienet-foreign-assets-script": "yarn build:scripts && node ./scripts/build/testNetworkForeignAssets.js", | ||
|
@@ -39,15 +57,34 @@ | |
}, | ||
"homepage": "https://github.com/paritytech/asset-transfer-api#readme", | ||
"packageManager": "[email protected]", | ||
"tshy": { | ||
"project": "./tsconfig.build.json", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": "./src/index.ts" | ||
}, | ||
"sourceDialects": [ | ||
"@paritytech/source" | ||
], | ||
"exclude": [ | ||
"src/**/*.spec.ts", | ||
"src/**/*.test.ts", | ||
"src/testHelpers" | ||
] | ||
}, | ||
"devDependencies": { | ||
"@substrate/dev": "^0.7.1", | ||
"@total-typescript/tsconfig": "^1.0.4", | ||
"@types/cli-progress": "^3", | ||
"ansi-colors": "^4.1.3", | ||
"chalk": "4.1.2", | ||
"cli-progress": "^3.12.0", | ||
"rimraf": "^6.0.1", | ||
"tshy": "^3.0.2", | ||
"typedoc": "^0.26.10", | ||
"typedoc-plugin-missing-exports": "^3.0.0", | ||
"typedoc-theme-hierarchy": "^4.0.0" | ||
"typedoc-theme-hierarchy": "^4.0.0", | ||
"typescript": "^5.6.3" | ||
}, | ||
"dependencies": { | ||
"@polkadot/api": "14.1.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// Copyright 2023 Parity Technologies (UK) Ltd. | ||
|
||
export { transfer } from './transfer'; | ||
export { transferAll } from './transferAll'; | ||
export { transferKeepAlive } from './transferKeepAlive'; | ||
export { transfer } from './transfer.js'; | ||
export { transferAll } from './transferAll.js'; | ||
export { transferKeepAlive } from './transferKeepAlive.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// Copyright 2023 Parity Technologies (UK) Ltd. | ||
|
||
export { transfer } from './transfer'; | ||
export { transferAll } from './transferAll'; | ||
export { transferKeepAlive } from './transferKeepAlive'; | ||
export { transfer } from './transfer.js'; | ||
export { transferAll } from './transferAll.js'; | ||
export { transferKeepAlive } from './transferKeepAlive.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// Copyright 2023 Parity Technologies (UK) Ltd. | ||
|
||
export { transfer } from './transfer'; | ||
export { transferAll } from './transferAll'; | ||
export { transferKeepAlive } from './transferKeepAlive'; | ||
export { transfer } from './transfer.js'; | ||
export { transferAll } from './transferAll.js'; | ||
export { transferKeepAlive } from './transferKeepAlive.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.