Skip to content

Commit

Permalink
chore: revert tsx to ts-node
Browse files Browse the repository at this point in the history
  • Loading branch information
druhill committed Nov 28, 2024
1 parent 724a85a commit 62df030
Show file tree
Hide file tree
Showing 3 changed files with 982 additions and 2,000 deletions.
62 changes: 31 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/Sage/design-tokens"
},
"engines": {
"node": ">=16"
"node": ">=20"
},
"engineStrict": true,
"tags": [
Expand All @@ -22,55 +22,55 @@
"scripts": {
"test": "mocha",
"test:watch": "npm test -- --watch",
"build": "npx tsx ./scripts/build && npm run post-process-css",
"prebuild": "npx tsx ./scripts/prebuild",
"postbuild": "npx tsx ./scripts/postbuild",
"post-process-css": "npx tsx ./scripts/post-process-css",
"prepublishOnly": "npx tsx ./scripts/bump-main-package-version",
"build": "node --loader ts-node/esm --no-warnings=ExperimentalWarning ./scripts/build.ts && npm run post-process-css",
"prebuild": "node --loader ts-node/esm --no-warnings=ExperimentalWarning ./scripts/prebuild.ts",
"postbuild": "node --loader ts-node/esm --no-warnings=ExperimentalWarning ./scripts/postbuild.ts",
"post-process-css": "node --loader ts-node/esm --no-warnings=ExperimentalWarning ./scripts/post-process-css",
"prepublishOnly": "node --loader ts-node/esm --no-warnings=ExperimentalWarning ./scripts/bump-main-package-version.ts",
"stylelint:dist": "npx stylelint 'dist/**/*.{css,scss}' --report-needless-disables --report-descriptionless-disables --report-invalid-scope-disables"
},
"devDependencies": {
"@amanda-mitchell/semantic-release-npm-multiple": "^3.9.0",
"@amanda-mitchell/semantic-release-npm-multiple": "^3.11.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.2.5",
"@semantic-release/npm": "^11.0.2",
"@semantic-release/release-notes-generator": "^12.1.0",
"@tokens-studio/sd-transforms": "^1.2.5",
"@semantic-release/github": "^11.0.1",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^14.0.1",
"@tokens-studio/sd-transforms": "^1.2.8",
"@tsconfig/strictest": "^2.0.5",
"@types/chai": "^4.3.19",
"@types/chai": "^5.0.1",
"@types/fs-extra": "^11.0.4",
"@types/glob": "^8.1.0",
"@types/lodash": "^4.17.9",
"@types/mocha": "^10.0.8",
"@types/node-fetch": "^2.6.11",
"chai": "^5.1.1",
"dotenv": "^16.3.1",
"eslint": "^8.56.0",
"@types/lodash": "^4.17.13",
"@types/mocha": "^10.0.10",
"@types/node-fetch": "^2.6.12",
"chai": "^5.1.2",
"dotenv": "^16.4.5",
"eslint": "^9.15.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.1",
"eslint-plugin-promise": "^6.1.1",
"fantasticon": "^2.0.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.14.0",
"eslint-plugin-promise": "^7.2.1",
"fantasticon": "^3.0.0",
"figma-js": "^1.16.0",
"fs-extra": "^11.2.0",
"glob": "^11.0.0",
"less": "^4.2.0",
"less": "^4.2.1",
"lodash": "^4.17.21",
"mocha": "^10.7.3",
"node-fetch": "^2.7.0",
"nodemon": "^3.0.2",
"mocha": "^10.8.2",
"node-fetch": "^3.3.2",
"nodemon": "^3.1.7",
"prettier": "^3.4.1",
"scss": "^0.2.4",
"style-dictionary": "^4.1.2",
"stylelint": "^16.9.0",
"style-dictionary": "^4.2.0",
"stylelint": "^16.10.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-standard-scss": "^13.1.0",
"tinycolor2": "^1.6.0",
"ts-node": "^10.9.2",
"tsx": "^4.19.1",
"typescript": "^5.3.3"
"typescript": "^5.7.2"
},
"resolutions": {
"jackspeak": "2.1.1"
Expand Down
10 changes: 8 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@
"allowJs": true,
"declaration": true,
"emitDeclarationOnly": true,
"esModuleInterop": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"allowUnreachableCode": true,
"moduleResolution": "NodeNext",
"module": "ESNext",
"module": "NodeNext",
"target": "ESNext"
}
},
"ts-node": {
"experimentalSpecifierResolution": "node",
"transpileOnly": true,
"esm": true,
},
}
Loading

0 comments on commit 62df030

Please sign in to comment.