|
55 | 55 | "check:text": "npm run _check:text -- ",
|
56 | 56 | "check": "npm run seq -- $(npm run -s _list:check:*)",
|
57 | 57 | "clean": "make clean",
|
58 |
| - "code-excerpts": "rm -Rf tmp/excerpts/* && npm run seq -- code-excerpts:get code-excerpts:update-docs", |
59 | 58 | "code-excerpts:get": "cd tools && dart run build_runner build --delete-conflicting-outputs --output ../tmp/excerpts",
|
60 | 59 | "code-excerpts:update-docs": "cd tools && dart run code_excerpt_updater --fragment-dir-path ../tmp/excerpts --src-dir-path examples --yaml --write-in-place content",
|
| 60 | + "code-excerpts": "rm -Rf tmp/excerpts/* && npm run seq -- code-excerpts:get code-excerpts:update-docs", |
61 | 61 | "cp:spec": "scripts/content-modules/cp-pages.sh",
|
62 | 62 | "diff:check": "npm run _diff:check || (echo; echo 'WARNING: the files above have not been committed'; echo)",
|
63 | 63 | "diff:fail": "npm run _diff:check || (echo; echo 'ERROR: the files above have changed. Locally rerun `npm run test-and-fix` and commit changes'; echo; exit 1)",
|
64 | 64 | "fix:all": "npm run all -- $(npm -s run _list:fix:*)",
|
65 | 65 | "fix:dict": "find content/en layouts -name \"*.md\" -print0 | xargs -0 scripts/normalize-cspell-front-matter.pl",
|
66 | 66 | "fix:filenames": "npm run _rename-to-kebab-case",
|
67 | 67 | "fix:format": "npm run format",
|
| 68 | + "fix:htmltest-config": "scripts/htmltest-config.sh", |
68 | 69 | "fix:i18n:all": "scripts/check-i18n.sh -a -c HEAD",
|
69 | 70 | "fix:i18n:drifted": "scripts/check-i18n.sh -c HEAD",
|
70 | 71 | "fix:i18n:new": "scripts/check-i18n.sh -n -c HEAD",
|
|
87 | 88 | "prebuild:preview": "npm run _prebuild",
|
88 | 89 | "prebuild:production": "npm run _prebuild",
|
89 | 90 | "prebuild": "npm run _prebuild",
|
90 |
| - "precheck:links:internal": "npm run build && npm run update:htmltest-config", |
91 |
| - "precheck:links": "npm run build && npm run update:htmltest-config", |
| 91 | + "precheck:links:internal": "npm run build && npm run fix:htmltest-config", |
| 92 | + "precheck:links": "npm run build && npm run fix:htmltest-config", |
92 | 93 | "prefix:submodule": "npm run update:submodule",
|
93 | 94 | "prepare": "npm run seq -- get:submodule _prepare:docsy",
|
94 | 95 | "preserve:hugo": "npm run _prebuild",
|
|
100 | 101 | "serve": "npm run serve:hugo --",
|
101 | 102 | "test-and-fix": "npm run seq -- fix:submodule $(npm -s run _list:fix:for-test-and-fix) $(npm -s run _list:check:for-test-and-fix)",
|
102 | 103 | "test": "npm run check",
|
103 |
| - "update:htmltest-config": "scripts/htmltest-config.sh", |
104 | 104 | "update:pkg:hugo": "npm install --save-dev --save-exact hugo-extended@latest",
|
105 | 105 | "update:pkgs": "npx npm-check-updates -u",
|
106 | 106 | "update:submodule": "set -x && git submodule update --remote ${DEPTH:- --depth 999}"
|
|
0 commit comments