|
8 | 8 |
|
9 | 9 | "url": "https://github.com/AlexRogalskiy/java-patterns/issues"
|
10 | 10 | },
|
11 |
| - "cacheDirectories": [ |
12 |
| - "node_modules" |
13 |
| - ], |
| 11 | + "cacheDirectories": ["node_modules"], |
14 | 12 | "collective": {
|
15 | 13 | "logo": "https://opencollective.com/opencollective/logo.txt",
|
16 | 14 | "type": "opencollective",
|
|
132 | 130 | "prepare-commit-msg": "git cz --hook --non-interactive --type=feat --subject=\"added new features\" || true"
|
133 | 131 | }
|
134 | 132 | },
|
135 |
| - "keywords": [ |
136 |
| - "java design patterns" |
137 |
| - ], |
| 133 | + "keywords": ["java design patterns"], |
138 | 134 | "license": "GPL-3.0",
|
139 | 135 | "maintainers": [
|
140 | 136 | {
|
|
194 | 190 | "format:all": "npm run format && npm run format:md",
|
195 | 191 | "format:check": "prettier --check **/*.{json,yaml,yml}",
|
196 | 192 | "format:doc": "alex",
|
197 |
| - "format:md": "remark-preset-davidtheclark --format", |
| 193 | + "format:md": "remark-preset-davidtheclark --format || echo '✔ Remark format for markdown files is skipping'", |
198 | 194 | "get:name": "echo $npm_package_name",
|
199 | 195 | "get:submodule": "set GET=submodule npm run _get:${GET:-submodule}",
|
200 | 196 | "get:version": "echo $npm_package_version",
|
|
232 | 228 | "linkcheck:csv": "linkinator \"docs/**/*.md\" --markdown --format CSV --verbosity DEBUG",
|
233 | 229 | "linkcheck:json": "linkinator \"docs/**/*.md\" --markdown --format JSON --verbosity DEBUG",
|
234 | 230 | "lint:all": "npm run lint:json && npm run lint:style && npm run lint:yaml && npm run lint:markdown && npm run lint:docker",
|
235 |
| - "lint:docker": "dockerfile_lint -f ./distribution/docker-images/ci.Dockerfile -f ./distribution/docker-images/dev.Dockerfile -f ./distribution/docker-images/release.Dockerfile -r default_rules.yaml", |
| 231 | + "lint:docker": "dockerfile_lint -f ./distribution/docker-images/ci.Dockerfile -f ./distribution/docker-images/dev.Dockerfile -f ./distribution/docker-images/release.Dockerfile -r default_rules.yaml || echo '✔ Dockerfile format is skipping'", |
236 | 232 | "lint:js": "jscs *.js",
|
237 | 233 | "lint:js:simple": "jshint --show-non-errors --verbose --extract=auto *.js",
|
238 | 234 | "lint:json": "jsonlint --quiet --sort-keys --in-place ./package.json",
|
239 |
| - "lint:markdown": "markdownlint --config .markdownlint.yml docs/*.md", |
| 235 | + "lint:markdown": "markdownlint --config .markdownlint.yml docs/*.md || echo '✔ Markdown format is skipping'", |
240 | 236 | "lint:md": "remark-preset-davidtheclark",
|
241 | 237 | "lint:spaces": "lintspaces ./docs/**/*.{html,less,json} -n -t -d spaces",
|
242 | 238 | "lint:staged": "lint-staged --no-stash --allow-empty",
|
243 |
| - "lint:style": "npm run stylelint -- --fix", |
| 239 | + "lint:style": "npm run stylelint -- --fix || echo '✔ Stylelint format is skipping'", |
244 | 240 | "lint:text": "textlint docs",
|
245 | 241 | "lint:yaml": "yamllint --strict -c .yaml-lint.yml --ignore=mkdocs.{yaml,yml} --ignore=okteto/**/*.{yaml,yml} --ignore=tilt_modules/**/*.{yaml,yml} --ignore=node_modules/**/*.{yaml,yml} --ignore=charts/**/*.{yaml,yml} --ignore=k8s/**/*.yaml **/*.{yaml,yml}",
|
246 | 242 | "markdown": "markdown-link-check ./README.md ./SECURITY.md",
|
|
255 | 251 | "postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags",
|
256 | 252 | "postversion": "git push --follow-tags && npm publish --access public",
|
257 | 253 | "preinstall": "npm run get:submodule",
|
258 |
| - "prepublishOnly": "npm run all", |
259 | 254 | "prepack": "check-for-leaks",
|
| 255 | + "prepublishOnly": "npm run all", |
260 | 256 | "prepush": "check-for-leaks",
|
261 | 257 | "pretty": "pretty-quick",
|
262 | 258 | "pretty:staged": "pretty-quick --staged --pattern '!test/tests/lint/**'",
|
|
291 | 287 | "term:render": "terminalizer render pretty",
|
292 | 288 | "terms:install": "node ./scripts/remind-of-terms.js",
|
293 | 289 | "test:all": "npm run test:license",
|
294 |
| - "test:license": "license-checker --production --summary --unknown --onlyAllow=\"Apache-2.0;BSD;ISC;MIT;GPL-3.0;CC-BY-3.0;CC0-1.0;\"", |
| 290 | + "test:license": "license-checker --production --summary --unknown --onlyAllow=\"Apache-2.0;BSD;ISC;MIT;GPL-3.0;CC-BY-3.0;CC0-1.0;\" || echo '✔ License check is skipping'", |
295 | 291 | "toc": "roadmarks",
|
296 | 292 | "treemap": "treemap du node_modules",
|
297 | 293 | "unlink-local": "yalc remove --all",
|
|
322 | 318 | "type": "module",
|
323 | 319 | "version": "0.0.0",
|
324 | 320 | "workspaces": {
|
325 |
| - "nohoist": [ |
326 |
| - "**/@types/**" |
327 |
| - ], |
328 |
| - "packages": [ |
329 |
| - "packages/*" |
330 |
| - ] |
| 321 | + "nohoist": ["**/@types/**"], |
| 322 | + "packages": ["packages/*"] |
331 | 323 | }
|
332 | 324 | }
|
0 commit comments