Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A0-4007: Replace ts-node with tsx to fix the "mts" files error #145

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"packages/*"
],
"scripts": {
"adapt-build-to-ff": "ts-node --esm scripts/adaptBuildToFf.mts",
"adapt-build-to-ff": "tsx scripts/adaptBuildToFf.mts",
"build": "yarn download-chains-metadata && polkadot-dev-build-ts && yarn build:zip",
"build-storybook": "storybook build",
"build:extra": "yarn build:i18n && yarn build:ui",
Expand All @@ -33,10 +33,10 @@
"build:zip:dst:firefox": "rm -rf ./extension-firefox.zip && cd packages/extension/build && zip -r -FS ../../../extension-firefox.zip .",
"build:zip:src": "rm -rf ./source-code.zip && zip -r -x '*build/*' -x '*node_modules*' -FS ./source-code.zip packages .editorconfig .eslintignore .eslintrc.js babel.config.cjs CHANGELOG.md CONTRIBUTING.md i18next-scanner.config.js jest.config.cjs LICENSE package.json README.md tsconfig.json tsconfig.base.json tsconfig.build.json rollup.config.mjs yarn.lock .yarnrc.yml .yarn/patches .yarn/plugins .yarn/releases scripts",
"clean": "polkadot-dev-clean-build",
"download-chains-metadata": "ts-node --esm scripts/downloadMetadata.mts",
"download-chains-metadata": "tsx scripts/downloadMetadata.mts",
"lint": "polkadot-dev-run-lint",
"postinstall": "polkadot-dev-yarn-only",
"set-signer-version": "ts-node --esm scripts/setSignerVersion.mts",
"set-signer-version": "tsx scripts/setSignerVersion.mts",
"start": "yarn watch",
"storybook": "storybook dev -p 6006",
"test": "EXTENSION_PREFIX='test' polkadot-dev-run-test --detectOpenHandles",
Expand Down Expand Up @@ -64,7 +64,7 @@
"i18next-scanner": "^4.1.0",
"sinon-chrome": "^3.0.1",
"storybook": "^7.0.12",
"ts-node": "^10.9.1"
"tsx": "^4.7.0"
},
"resolutions": {
"@polkadot/api": "^10.5.1",
Expand Down
Loading