|
7 | 7 | ],
|
8 | 8 | "scripts": {
|
9 | 9 | "_build": "hugo --cleanDestinationDir -e dev -DFE",
|
10 |
| - "_check-links": "make check-links", |
| 10 | + "_check:links": "make check-links", |
11 | 11 | "_get:no": "echo SKIPPING get operation",
|
12 | 12 | "_get:submodule:non-lang": "npm run _get:submodule -- content-modules/opentelemetry-specification themes/docsy",
|
13 | 13 | "_get:submodule": "set -x && git submodule update --init ${DEPTH:- --depth 1}",
|
|
20 | 20 | "build:production": "hugo --cleanDestinationDir --minify",
|
21 | 21 | "build": "npm run _build",
|
22 | 22 | "cd:public": "cd public &&",
|
23 |
| - "check-links:all": "HTMLTEST_ARGS= npm run _check-links", |
24 |
| - "check-links": "npm run _check-links", |
| 23 | + "check": "npm run all -- check:*", |
| 24 | + "check:formatting": "npm run prettier:check-all", |
| 25 | + "check:links:all": "HTMLTEST_ARGS= npm run _check:links", |
| 26 | + "check:links": "npm run _check:links", |
25 | 27 | "clean": "make clean",
|
26 | 28 | "cp:spec": "./scripts/cp-spec-pages.sh",
|
27 | 29 | "get:submodule": "npm run _get:${GET:-submodule}",
|
28 | 30 | "make:public": "make public ls-public",
|
29 |
| - "postbuild:preview": "npm run _check-links", |
30 |
| - "postbuild:production": "npm run _check-links", |
31 |
| - "prebuild:preview": "npm run _prebuild", |
32 |
| - "prebuild:production": "npm run _prebuild", |
| 31 | + "postbuild:preview": "npm run _check:links", |
| 32 | + "postbuild:production": "npm run _check:links", |
| 33 | + "prebuild:preview": "run-s _prebuild check:formatting", |
| 34 | + "prebuild:production": "run-s _prebuild check:formatting", |
33 | 35 | "prebuild": "npm run _prebuild",
|
34 |
| - "precheck-links:all": "npm run build", |
35 |
| - "precheck-links": "npm run build", |
| 36 | + "precheck:links:all": "npm run build", |
| 37 | + "precheck:links": "npm run build", |
36 | 38 | "prepare": "run-s get:submodule _prepare:docsy",
|
37 | 39 | "preserve:hugo": "npm run _prebuild",
|
38 | 40 | "prettier:check-all": "npx prettier --check .",
|
|
42 | 44 | "schemas:update": "npm run update:submodule content-modules/opentelemetry-specification",
|
43 | 45 | "serve:hugo": "npm run _serve:hugo",
|
44 | 46 | "serve": "npm run _serve",
|
45 |
| - "test": "npm run check-links", |
| 47 | + "test": "npm run check:links", |
46 | 48 | "update:pkg:docsy-dep": "npm install --save-dev autoprefixer@latest postcss@latest postcss-cli@latest",
|
47 | 49 | "update:pkg:hugo": "npm install --save-dev --save-exact hugo-extended@latest",
|
48 | 50 | "update:pkg:hugo+": "npm run update:pkg:hugo && npm run update:pkg:docsy-dep",
|
|
53 | 55 | },
|
54 | 56 | "private": true,
|
55 | 57 | "prettier": {
|
56 |
| - "proseWrap": "always" |
| 58 | + "proseWrap": "always", |
| 59 | + "singleQuote": true |
57 | 60 | },
|
58 | 61 | "textlint": {
|
59 | 62 | "rules": {
|
|
0 commit comments