File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 55 "type" : " module" ,
66 "scripts" : {
77 "docs:dev" : " NODE_OPTIONS=--openssl-legacy-provider vitepress dev main" ,
8- "docs:build" : " NODE_OPTIONS=--openssl-legacy-provider vitepress build main" ,
8+ "docs:build" : " yarn lint:check-links && NODE_OPTIONS=--openssl-legacy-provider vitepress build main" ,
99 "docs:preview" : " NODE_OPTIONS=--openssl-legacy-provider vitepress preview main" ,
10- "docs:build-cf" : " DEBUG='vitepress:*' NODE_OPTIONS=--openssl-legacy-provider vitepress build main && cp _redirects dist/" ,
10+ "docs:build-cf" : " yarn lint:check-links && DEBUG='vitepress:*' NODE_OPTIONS=--openssl-legacy-provider vitepress build main && cp _redirects dist/" ,
1111 "test" : " ava" ,
1212 "lint-fix" : " yarn lint --fix" ,
1313 "lint" : " eslint 'snippets/**/*.js'" ,
14- "format" : " node scripts/markdown-js-snippets-linter.mjs 'main/**/*.md' --fix && prettier --write '**/*.md' --config .prettierrc.json" ,
15- "lint:format" : " node scripts/markdown-js-snippets-linter.mjs 'main/**/*.md' && prettier --check '**/*.md' --config .prettierrc.json" ,
14+ "format" : " yarn lint:inline-js-snippets --fix && prettier --write '**/*.md' --config .prettierrc.json" ,
15+ "lint:format" : " yarn lint:inline-js-snippets && prettier --check '**/*.md' --config .prettierrc.json" ,
16+ "lint:inline-js-snippets" : " node scripts/markdown-js-snippets-linter.mjs 'main/**/*.md'" ,
17+ "lint:check-links" : " node scripts/checkLinks.mjs" ,
1618 "build" : " exit 0"
1719 },
1820 "packageManager" :
" [email protected] " ,
You can’t perform that action at this time.
0 commit comments