|
25 | 25 | "_get:submodule:non-lang": "npm run _get:submodule -- content-modules/opentelemetry-specification themes/docsy",
|
26 | 26 | "_get:submodule": "set -x && git submodule update --init ${DEPTH:- --depth 1}",
|
27 | 27 | "_hugo": "hugo --cleanDestinationDir",
|
| 28 | + "_install:dict": "npm install -D $(npm run -s _list:dict)", |
| 29 | + "_install:netlify-cli": "npm list netlify-cli || npm install -O netlify-cli", |
28 | 30 | "_list:check:*": "npm run --loglevel=warn | grep -Ee '^\\s*check:[^:]+$'",
|
29 | 31 | "_list:dict": "grep '^\\s*\"@cspell' package.json | awk -F: '{print $1}' | tr -d '\"'",
|
30 | 32 | "_list:fix:*": "npm run --loglevel=warn | grep -Ee '^\\s*fix:[^:]+$' | grep -v 'fix:all'",
|
|
73 | 75 | "fix": "npm run fix:all",
|
74 | 76 | "format": "npm run _check:format -- --write && npm run _check:format:ja+zh -- --write",
|
75 | 77 | "get:submodule": "npm run _get:${GET:-submodule}",
|
76 |
| - "install:dict": "bash -c 'for pkg in \"$(npm run -s _list:dict)\"; do npm list $pkg || npm install $pkg; done'", |
77 |
| - "install:netlify-cli": "npm list netlify-cli || npm install netlify-cli", |
78 | 78 | "log:check:links": "npm run check:links | tee tmp/build-log.txt",
|
79 | 79 | "make:public": "make public ls-public",
|
80 | 80 | "netlify-build:preview": "npm run seq -- build:preview diff:check",
|
|
92 | 92 | "prenetlify-build:production": "echo 'IgnoreTagAttribute: rel' >> .htmltest.yml",
|
93 | 93 | "prepare": "npm run seq -- get:submodule _prepare:docsy",
|
94 | 94 | "preserve:hugo": "npm run _prebuild",
|
95 |
| - "preserve:netlify": "npm run seq -- _prebuild install:netlify-cli", |
| 95 | + "preserve:netlify": "npm run seq -- _prebuild _install:netlify-cli", |
96 | 96 | "schemas:update": "npm run update:submodule content-modules/opentelemetry-specification",
|
97 | 97 | "seq": "bash -c 'for cmd in \"$@\"; do npm run $cmd || exit 1; done' - ",
|
98 | 98 | "serve:hugo": "npm run _serve:hugo -- --renderToMemory",
|
|
0 commit comments