-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update readme old references, remove kickstart tasks, simplify…
… initialization
- Loading branch information
1 parent
c82f82d
commit 1a400fb
Showing
3 changed files
with
18 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ jobs: | |
- name: Setup node.js environment | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18.19.0' | ||
node-version: '20.9.0' | ||
- name: Setup MySQL server | ||
uses: mirromutth/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -38,19 +38,17 @@ | |
}, | ||
"scripts": { | ||
"init": "npm-run-all -s init:*", | ||
"init:env": "cp ./src/env/template.env ./src/env/development.env && cp ./src/env/template.env ./src/env/test.env && cp ./src/env/template.env ./src/env/staging.env && cp ./src/env/template.env ./src/env/production.env && rm -rf ./src/env/template.env", | ||
"init:repository": "rm -rf ./.git && git init && git add . --all && git commit -m \"First commit\"", | ||
"init:install": "npm i [email protected] -g && npm i [email protected] -g && npm i rsgen -g && npm i ", | ||
"init:copy": "mkdir -p ./dist/env && cp ./src/env/template.env ./dist/env/development.env && cp ./src/env/template.env ./dist/env/test.env && cp ./src/env/template.env ./dist/env/staging.env && cp ./src/env/template.env ./dist/env/production.env", | ||
"init:compile": "tsc", | ||
"init:version": "rm -rf ./.git && git init && git add . --all && git commit -m \"First commit\"", | ||
"ci:test": "nyc --reporter=lcov --report-dir=./reports/coverage npm-run-all -s test:*", | ||
"doc": "apidoc -i src/ -o docs/apidoc/", | ||
"kickstart": "npm i [email protected] -g && npm i [email protected] -g && npm i rsgen -g && npm i && mkdir -p ./dist/env", | ||
"kickstart:dev": "npm run kickstart && npm run init && cp ./src/env/development.env ./dist/env/development.env && cp ./src/env/test.env ./dist/env/test.env && tsc", | ||
"kickstart:staging": "npm run kickstart && cp ./src/env/staging.env ./dist/env/staging.env && tsc", | ||
"kickstart:production": "npm run kickstart && cp ./src/env/production.env ./dist/env/production.env && tsc", | ||
"kickstart:test": "npm run kickstart && cp ./src/env/test.env ./dist/env/test.env && tsc", | ||
"start": "nodemon", | ||
"test": "nyc --reporter=html --report-dir=./reports/nyc-coverage npm-run-all -s test:*", | ||
"test:unit": "./node_modules/.bin/mocha ./test/units/00-application.unit.test.js --exit --reporter spec --timeout 10000 --env test", | ||
"test:e2e": "typeorm schema:drop && typeorm schema:sync && ./node_modules/.bin/mocha ./test/e2e/00-api.e2e.test.js --exit --reporter spec --timeout 10000 --env test", | ||
"version": "npm run todo && git add package.json && git add README.md && auto-changelog -p && git add CHANGELOG.md && git commit -m \"Update changelog\" --no-verify" | ||
"version": "git add package.json && git add README.md && auto-changelog -p && git add CHANGELOG.md && git commit -m \"Update changelog\" --no-verify" | ||
}, | ||
"_moduleAliases": { | ||
"@core": "dist/api/core", | ||
|