|
23 | 23 | "_filename-error": "echo 'ERROR: the following files violate naming conventions; fix using: `npm run fix:filenames`'; echo; npm run -s _ls-bad-filenames; exit 1",
|
24 | 24 | "_fix:most": "npm run all -- $(npm -s run _list:fix:* | grep -Ev 'refcache|submodule')",
|
25 | 25 | "_get:no": "echo SKIPPING get operation",
|
26 |
| - "_get:submodule:non-lang": "npm run _get:submodule -- content-modules/opentelemetry-specification themes/docsy", |
27 | 26 | "_get:submodule": "set -x && git submodule update --init ${DEPTH:- --depth 999}",
|
28 | 27 | "_hugo": "hugo --cleanDestinationDir",
|
29 | 28 | "_install:dict": "npm install -D $(npm run -s _list:dict)",
|
|
32 | 31 | "_list:dict": "grep '^\\s*\"@cspell' package.json | awk -F: '{print $1}' | tr -d '\"'",
|
33 | 32 | "_list:fix:*": "npm run --loglevel=warn | grep -Ee '^\\s*fix:[^:]+$' | grep -v 'fix:all'",
|
34 | 33 | "_ls-bad-filenames": "find assets content static -name '*_*' ! -name '[_.]*'",
|
35 |
| - "_pin": "scripts/pin-submodules.pl", |
| 34 | + "_pin:submodule": "scripts/pin-submodules.pl", |
36 | 35 | "_prebuild": "npm run seq -- get:submodule cp:spec",
|
37 | 36 | "_prepare:docsy": "cd themes/docsy && npm install",
|
38 | 37 | "_prettier:any": "npx prettier --ignore-path ''",
|
|
71 | 70 | "fix:i18n": "npm run fix:i18n:new",
|
72 | 71 | "fix:markdown": "npm run check:markdown -- --fix",
|
73 | 72 | "fix:refcache": "npm run check:links",
|
74 |
| - "fix:submodules": "npm run update:submodule && npm run _pin", |
| 73 | + "fix:submodule": "npm run pin:submodule", |
75 | 74 | "fix:text": "npm run check:text -- --fix",
|
76 | 75 | "fix": "npm run fix:all",
|
77 | 76 | "format": "npm run _check:format -- --write && npm run _check:format:ja+zh -- --write",
|
|
81 | 80 | "make:public": "make public ls-public",
|
82 | 81 | "netlify-build:preview": "npm run seq -- build:preview diff:check",
|
83 | 82 | "netlify-build:production": "npm run seq -- build:production diff:check",
|
| 83 | + "pin:submodule": "npm run _pin:submodule -- $PIN_SKIP", |
| 84 | + "postfix:submodule": "git submodule", |
84 | 85 | "postget:submodule": "git submodule",
|
85 | 86 | "prebuild:preview": "npm run _prebuild",
|
86 | 87 | "prebuild:production": "npm run _prebuild",
|
87 | 88 | "prebuild": "npm run _prebuild",
|
88 | 89 | "precheck:links:internal": "npm run build && npm run update:htmltest-config",
|
89 | 90 | "precheck:links": "npm run build && npm run update:htmltest-config",
|
90 |
| - "prefix:submodules": "npm run update:submodule", |
| 91 | + "prefix:submodule": "npm run update:submodule", |
91 | 92 | "prepare": "npm run seq -- get:submodule _prepare:docsy",
|
92 | 93 | "preserve:hugo": "npm run _prebuild",
|
93 | 94 | "preserve:netlify": "npm run seq -- _prebuild _install:netlify-cli",
|
|
96 | 97 | "serve:hugo": "npm run _serve:hugo -- --renderToMemory",
|
97 | 98 | "serve:netlify": "npm run _serve:netlify",
|
98 | 99 | "serve": "npm run serve:hugo --",
|
99 |
| - "test-and-fix": "npm run seq -- fix:submodules _fix:most test", |
| 100 | + "test-and-fix": "npm run seq -- fix:submodule _fix:most test", |
100 | 101 | "test": "npm run check",
|
101 | 102 | "update:htmltest-config": "scripts/htmltest-config.sh",
|
102 | 103 | "update:pkg:hugo": "npm install --save-dev --save-exact hugo-extended@latest",
|
|
0 commit comments