|
5 | 5 | ],
|
6 | 6 | "scripts": {
|
7 | 7 | "__check:links": "make --keep-going check-links",
|
8 |
| - "_build": "hugo --cleanDestinationDir -e dev -DFE --baseURL \"${DEPLOY_PRIME_URL:-http://localhost}\"", |
| 8 | + "_build": "npm run _hugo -- -e dev -DFE --baseURL \"${DEPLOY_PRIME_URL:-http://localhost}\"", |
9 | 9 | "_check:format:any": "npx prettier --check --ignore-path ''",
|
10 | 10 | "_check:format": "npx prettier --check .",
|
11 | 11 | "_check:links--md": "npx markdown-link-check --config .markdown-link-check.json *.md",
|
|
20 | 20 | "_get:no": "echo SKIPPING get operation",
|
21 | 21 | "_get:submodule:non-lang": "npm run _get:submodule -- content-modules/opentelemetry-specification themes/docsy",
|
22 | 22 | "_get:submodule": "set -x && git submodule update --init ${DEPTH:- --depth 1}",
|
| 23 | + "_hugo": "hugo --cleanDestinationDir", |
23 | 24 | "_list:check:*": "npm run --loglevel=warn | grep -Ee '^\\s*check:[^:]+$'",
|
24 | 25 | "_list:fix:*": "npm run --loglevel=warn | grep -Ee '^\\s*fix:[^:]+$' | grep -v 'fix:all'",
|
25 | 26 | "_ls-bad-filenames": "find assets content static -name '*_*' ! -name '_*'",
|
|
32 | 33 | "_sync": "./scripts/sync-submodules.pl",
|
33 | 34 | "all": "bash -c 'x=0; for c in \"$@\"; do npm run $c || x=$((x+1)); done; ((!x)) || (echo \"ERROR: some scripts failed!\" && exit 1)' -",
|
34 | 35 | "build:preview": "set -x && npm run _build -- --minify",
|
35 |
| - "build:production": "hugo --cleanDestinationDir --minify", |
| 36 | + "build:production": "npm run _hugo --minify", |
36 | 37 | "build": "npm run _build",
|
37 | 38 | "cd:public": "cd public &&",
|
38 | 39 | "check:filenames": "test -z \"$(npm run -s _ls-bad-filenames)\" || npm run -s _filename-error",
|
|
0 commit comments