Skip to content

Commit

Permalink
disable tsimp usage for a tsc problem
Browse files Browse the repository at this point in the history
  • Loading branch information
ajvincent committed Jul 8, 2024
1 parent 9f37da0 commit 3e0a3a6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 216 deletions.
200 changes: 3 additions & 197 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 25 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,38 @@
"debug": [
"Debugging this code requires Node 18. Node 20 will fail to start running your code when using --inspect-brk and --import.",
"note to self: what about --inspect-wait, added in Node 20.15? No, that doesn't fix it."
],
"tsimp": [
"tsimp is currently showing tsc errors in stage_2_snapshot:jasmine, which bizarrely aren't breaking the build. Deal with this another day."
]
},
"engines": {
"node": ">=18.19"
},
"scripts": {
"build": "node --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"clean": "node --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./clean.ts",
"debug": "node --inspect-brk --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"build-old": "node --import ./register-hooks.js ./build.ts",
"build-stage-one": "TSMS_STAGE='one' node --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"build-stage-two": "TSMS_STAGE='two' node --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"build-stage-three": "TSMS_STAGE='three' node --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"debug-stage-one": "TSMS_STAGE='one' node --inspect-brk --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"debug-stage-two": "TSMS_STAGE='two' node --inspect-brk --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"debug-stage-three": "TSMS_STAGE='three' node --inspect-brk --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"build-stage-one-old": "TSMS_STAGE='one' node --import ./register-hooks.js ./build.ts",
"build-stage-two-old": "TSMS_STAGE='two' node --import ./register-hooks.js ./build.ts",
"build-stage-three-old": "TSMS_STAGE='three' node --import ./register-hooks.js ./build.ts",
"debug-stage-one-old": "TSMS_STAGE='one' node --inspect-brk --import ./register-hooks.js ./build.ts",
"debug-stage-two-old": "TSMS_STAGE='two' node --inspect-brk --import ./register-hooks.js ./build.ts",
"debug-stage-three-old": "TSMS_STAGE='three' node --inspect-brk --import ./register-hooks.js ./build.ts",
"build": "node --import ./register-hooks.js ./build.ts",
"clean": "node --import ./register-hooks.js ./clean.ts",
"debug": "node --inspect-brk ./register-hooks.js ./build.ts",
"build-stage-one": "TSMS_STAGE='one' node --import ./register-hooks.js ./build.ts",
"build-stage-two": "TSMS_STAGE='two' node --import ./register-hooks.js ./build.ts",
"build-stage-three": "TSMS_STAGE='three' node --import ./register-hooks.js ./build.ts",
"debug-stage-one": "TSMS_STAGE='one' node --inspect-brk --import ./register-hooks.js ./build.ts",
"debug-stage-two": "TSMS_STAGE='two' node --inspect-brk --import ./register-hooks.js ./build.ts",
"debug-stage-three": "TSMS_STAGE='three' node --inspect-brk --import ./register-hooks.js ./build.ts",
"use-cases": "TSMS_STAGE='use-cases' node ./register-hooks.js ./build.ts",
"debug-use-cases": "TSMS_STAGE='use-cases' node --inspect-brk ./register-hooks.js ./build.ts",
"build-tsimp": "node --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"clean-tsimp": "node --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./clean.ts",
"debug-tsimp": "node --inspect-brk --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"build-stage-one-tsimp": "TSMS_STAGE='one' node --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"build-stage-two-tsimp": "TSMS_STAGE='two' node --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"build-stage-three-tsimp": "TSMS_STAGE='three' node --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"debug-stage-one-tsimp": "TSMS_STAGE='one' node --inspect-brk --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"debug-stage-two-tsimp": "TSMS_STAGE='two' node --inspect-brk --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"debug-stage-three-tsimp": "TSMS_STAGE='three' node --inspect-brk --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"use-cases-tsimp": "TSMS_STAGE='use-cases' node --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"debug-use-cases-tsimp": "TSMS_STAGE='use-cases' node --inspect-brk --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"diff-stages": "diff -p -U 8 -N -r ./stage_2_snapshot/snapshot/source ./stage_3_integration/snapshot/source",
"use-cases": "TSMS_STAGE='use-cases' node --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"debug-use-cases": "TSMS_STAGE='use-cases' node --inspect-brk --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./build.ts",
"is-repo-clean": "node --import tsimp/import --import ./utilities/loader-hooks/subpath/registration.js ./utilities/source/assertRepoIsClean.ts"
},
"repository": {
Expand Down Expand Up @@ -77,7 +84,6 @@
"rollup": "^4.18.0",
"rollup-plugin-dts": "^6.1.1",
"ts-node": "^10.9.2",
"tsimp": "^2.0.11",
"tslib": "^2.6.3",
"type-fest": "^4.20.1",
"typescript": "^5.5.2",
Expand Down

0 comments on commit 3e0a3a6

Please sign in to comment.