Skip to content

Commit

Permalink
Drop ts-node
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Oct 18, 2023
1 parent 37aee47 commit 91eb8a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/smoke-test-node-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
node-version: latest
- run: yarn
- name: run chromatic via node
run: yarn ts-node ./scripts/run-via-node.ts
run: ./scripts/run-via-node.mjs
env:
LOG_LEVEL: debug
DEBUG: chromatic-cli
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@
"tmp-promise": "3.0.2",
"ts-dedent": "^1.0.0",
"ts-loader": "^9.2.5",
"ts-node": "^10.9.1",
"tsup": "^7.2.0",
"typescript": "^5.2.2",
"util-deprecate": "^1.0.2",
Expand Down
2 changes: 2 additions & 0 deletions scripts/run-via-node.ts → scripts/run-via-node.mjs
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env node

import process from 'process';
import { run } from '../dist/node';

Expand Down

0 comments on commit 91eb8a0

Please sign in to comment.