Skip to content

Commit

Permalink
fix: swap out ts-node for tsimp (#873)
Browse files Browse the repository at this point in the history
fix: swap out ts-node for tsimp
  • Loading branch information
kanadgupta authored Apr 2, 2024
1 parent b4dab0a commit 429fcf9
Show file tree
Hide file tree
Showing 4 changed files with 142 additions and 2 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ packages/**/dist/

# api
packages/api/.api/
packages/api/.tsimp/
packages/api/example.js

# httpsnippet-client-api
Expand Down
137 changes: 137 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions packages/api/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.api/
.tsimp/
coverage/
dist/
node_modules/
Expand Down
5 changes: 3 additions & 2 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"attw": "attw --pack --format table-flipped",
"build": "tsc",
"build:legacy-handler": "tsc legacy-require-handler.cjs --checkJs --declaration --emitDeclarationOnly",
"build:versioned-files": "NODE_OPTIONS=--no-warnings node --loader ts-node/esm bin/buildVersionedFiles.ts",
"debug:bin": "NODE_OPTIONS=--no-warnings node --loader ts-node/esm src/bin.ts",
"build:versioned-files": "node --loader=tsimp/loader bin/buildVersionedFiles.ts",
"debug:bin": "node --loader=tsimp/loader src/bin.ts",
"lint:types": "tsc --noEmit",
"prebuild": "rm -rf dist/ && npm run build:versioned-files",
"postbuild": "npm run build:legacy-handler",
Expand Down Expand Up @@ -86,6 +86,7 @@
"fetch-mock": "^9.11.0",
"oas-normalize": "^11.0.1",
"openapi-types": "^12.1.3",
"tsimp": "^2.0.11",
"tsup": "^8.0.1",
"type-fest": "^4.9.0",
"typescript": "^5.2.2",
Expand Down

0 comments on commit 429fcf9

Please sign in to comment.