@zairakai/js-dev-tools 3.9.0 → 3.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -454,6 +454,41 @@ js:release:
454
454
  - release_notes.md
455
455
  expire_in: 1 year
456
456
 
457
+ # ================================
458
+ # DOCUMENTATION
459
+ # ================================
460
+ # The documentation site (GitLab Pages): every released version, each built from its own tag, and next, with a version
461
+ # selector. See docs/scripts/publish.sh in the project. It comes with the release: a tag is always a release of main, and
462
+ # nothing is published if the publication failed. The dependencies are the ones installed once by js:install.
463
+ # A project without docs/scripts/publish.sh has no site.
464
+ pages:
465
+ <<: [*base_job, *cache_node]
466
+ stage: release
467
+ image: ${NODE_IMAGE}
468
+ needs:
469
+ - job: js:install
470
+ - job: js:publish
471
+ variables:
472
+ GIT_DEPTH: 0
473
+ before_script:
474
+ - node --version
475
+ script:
476
+ - bash docs/scripts/publish.sh
477
+ # The next jobs of the runner must not find (and lint) the docs dependencies or what they generate.
478
+ after_script:
479
+ - rm -rf docs/node_modules docs/.vitepress/dist docs/.vitepress/cache
480
+ - git clean -fdXq docs || true
481
+ artifacts:
482
+ paths:
483
+ - public
484
+ expire_in: 1 week
485
+ rules:
486
+ - if: $UPDATE_DEPENDENCIES == "true"
487
+ when: never
488
+ - if: $CI_COMMIT_TAG =~ $VERSION_TAG_REGEX
489
+ exists:
490
+ - docs/scripts/publish.sh
491
+
457
492
  # ================================
458
493
  # AUTOMATIC UPDATES
459
494
  # ================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zairakai/js-dev-tools",
3
- "version": "3.9.0",
3
+ "version": "3.11.0",
4
4
  "description": "The unified and centralized development toolkit for JavaScript/TypeScript projects - ESLint, Prettier, Stylelint, Knip, Vitest, Git Hooks, and GitLab CI pipeline templates",
5
5
  "keywords": [
6
6
  "dev-tools",
@@ -88,7 +88,7 @@
88
88
  "validate": "make quality"
89
89
  },
90
90
  "dependencies": {
91
- "@stanislas-poisson/js-dev-tools": "~1.0.0",
91
+ "@stanislas-poisson/js-dev-tools": "^1.1.1",
92
92
  "eslint": "^10.13.0",
93
93
  "markdownlint-cli2": "^0.24.0",
94
94
  "prettier": "^3.9.10",