Moved shell scripts to scripts/
This commit is contained in:
parent
14173fde0a
commit
e32a456966
3 changed files with 10 additions and 3 deletions
|
@ -13,8 +13,8 @@
|
||||||
"build:ts": "tsc --build ./devEnv/typecheck-all-projects/tsconfig.all.json",
|
"build:ts": "tsc --build ./devEnv/typecheck-all-projects/tsconfig.all.json",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"postinstall": "husky install",
|
"postinstall": "husky install",
|
||||||
"deploy": "zx devEnv/deploy.mjs",
|
"deploy": "zx scripts/deploy.mjs",
|
||||||
"build:api-docs": "zx devEnv/api-docs.mjs",
|
"build:api-docs": "zx scripts/build-api-docs.mjs",
|
||||||
"lint:all": "eslint . --ext ts,tsx --ignore-path=.gitignore --rulesdir ./devEnv/eslint/rules"
|
"lint:all": "eslint . --ext ts,tsx --ignore-path=.gitignore --rulesdir ./devEnv/eslint/rules"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
|
/**
|
||||||
|
* The deploy script. This must be called with zx from the repo's root.
|
||||||
|
* Example:
|
||||||
|
* ```
|
||||||
|
* $ cd /path/to/repo
|
||||||
|
* $ yarn run deploy 0.4.2
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
import path from 'path'
|
import path from 'path'
|
||||||
import {readFileSync, writeFileSync} from 'fs'
|
import {readFileSync, writeFileSync} from 'fs'
|
||||||
import {keyBy} from 'lodash-es'
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This script publishes all packages to npm.
|
* This script publishes all packages to npm.
|
Loading…
Reference in a new issue