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",
|
||||
"test": "jest",
|
||||
"postinstall": "husky install",
|
||||
"deploy": "zx devEnv/deploy.mjs",
|
||||
"build:api-docs": "zx devEnv/api-docs.mjs",
|
||||
"deploy": "zx scripts/deploy.mjs",
|
||||
"build:api-docs": "zx scripts/build-api-docs.mjs",
|
||||
"lint:all": "eslint . --ext ts,tsx --ignore-path=.gitignore --rulesdir ./devEnv/eslint/rules"
|
||||
},
|
||||
"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 {readFileSync, writeFileSync} from 'fs'
|
||||
import {keyBy} from 'lodash-es'
|
||||
|
||||
/**
|
||||
* This script publishes all packages to npm.
|
Loading…
Reference in a new issue