generated from AthennaIO/Template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from AthennaIO/develop
Move node cli to a shell script file and better error handling of build script file
- Loading branch information
Showing
7 changed files
with
96 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
# Node.js executable with all arguments required to run the application. | ||
node="node --loader ts-node/esm --experimental-import-meta-resolve --no-warnings" | ||
|
||
$node $@ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@athenna/common", | ||
"version": "3.4.1", | ||
"version": "3.4.2", | ||
"description": "The Athenna common helpers to use in any Node.js ESM project.", | ||
"license": "MIT", | ||
"author": "João Lenon <[email protected]>", | ||
|
@@ -17,11 +17,10 @@ | |
"standalone" | ||
], | ||
"scripts": { | ||
"node": "cross-env NODE_OPTIONS=\"--experimental-import-meta-resolve\" ts-node", | ||
"build": "npm run node --silent -- bin/build.ts", | ||
"build": "sh node bin/build.ts", | ||
"lint:fix": "eslint \"{src,tests}/**/*.ts\" --fix", | ||
"test": "npm run --silent lint:fix && npm run node --silent -- bin/test.ts", | ||
"test:debug": "cross-env DEBUG=api:* npm run node --silent -- bin/test.ts --inspect", | ||
"test": "npm run --silent lint:fix && sh node bin/test.ts", | ||
"test:debug": "cross-env DEBUG=api:* sh node --inspect bin/test.ts", | ||
"test:coverage": "c8 npm run --silent test" | ||
}, | ||
"files": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters