Skip to content

Commit

Permalink
try extensionless package
Browse files Browse the repository at this point in the history
  • Loading branch information
mlake committed Dec 28, 2023
1 parent 59aa19a commit fbf45ce
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ test:
- chmod 755 ./dist/cli.js
- node -v
- npm --version
- export NODE_OPTIONS="--experimental-specifier-resolution=node --experimental-vm-modules"
- export NODE_OPTIONS="--import=extensionless/register --experimental-vm-modules"
- npm run test:ci

pages:
Expand Down
6 changes: 6 additions & 0 deletions package-lock.json

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

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
],
"scripts": {
"build": "npx tsc",
"atat": "node --experimental-specifier-resolution=node --no-warnings ./dist/cli.js",
"atat": "node --no-warnings ./dist/cli.js",
"prepublishOnly": "npm run build",
"release": "echo 'MAKE SURE YOU RUN ./deploy_master.sh first! and DO NOT PUBLISH FROM HERE!' && npx release-it",
"release-beta": "echo 'MAKE SURE to TAG your beta for github actions to deploy npm package!!' && npx release-it --preRelease=beta --config .release-it.beta-nopublish.json",
"prepare": "husky install",
"test": "rm -Rf ./user_data && node --experimental-specifier-resolution=node --experimental-vm-modules --trace-warnings node_modules/.bin/vitest run",
"test:ci": "rm -Rf ./user_data && node --experimental-specifier-resolution=node --experimental-vm-modules --trace-warnings node_modules/.bin/vitest run --coverage.enabled",
"test": "rm -Rf ./user_data && node --experimental-vm-modules --trace-warnings node_modules/.bin/vitest run",
"test:ci": "rm -Rf ./user_data && node --experimental-vm-modules --trace-warnings node_modules/.bin/vitest run --coverage.enabled",
"test:watch": "node_modules/.bin/vitest --watch"
},
"keywords": [
Expand All @@ -43,6 +43,7 @@
"commander": "^11.1.0",
"consola": "^3.2.3",
"dotenv": "^16.3.1",
"extensionless": "^1.9.6",
"fast-csv": "^4.3.6",
"kleur": "^4.1.5",
"lodash.get": "^4.4.2",
Expand Down

0 comments on commit fbf45ce

Please sign in to comment.