diff --git a/.cliff-jumperrc.json b/.cliff-jumperrc.json index e27b3ac..9944d6b 100644 --- a/.cliff-jumperrc.json +++ b/.cliff-jumperrc.json @@ -3,5 +3,6 @@ "name": "cli", "org": "nanoforge-dev", "packagePath": ".", + "tagTemplate": "{{new-version}}", "identifierBase": false } diff --git a/.github/actions/prepare/action.yml b/.github/actions/prepare/action.yml index 4a1c796..084602f 100644 --- a/.github/actions/prepare/action.yml +++ b/.github/actions/prepare/action.yml @@ -24,14 +24,10 @@ runs: package-manager-cache: false registry-url: https://registry.npmjs.org - - if: inputs.pnpm-install == 'true' && inputs.sub-dir == 'false' + - if: inputs.pnpm-install == 'true' name: Install dependencies uses: ./.github/actions/pnpm-install - - if: inputs.pnpm-install == 'true' && inputs.sub-dir == 'true' - name: Install dependencies in src sub directory - uses: ./src/.github/actions/pnpm-install - - if: inputs.build == 'true' name: Build packages shell: bash diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4313962..0f0ed43 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,28 +59,25 @@ jobs: if: github.repository_owner == 'NanoForge-dev' needs: [release] steps: - - name: Checkout src repository + - name: Checkout repository uses: actions/checkout@v6 with: fetch-depth: 0 fetch-tags: true - path: src - name: Checkout docs repository uses: actions/checkout@v6 with: fetch-depth: 0 fetch-tags: true - path: docs + path: docs-dist repository: nanoforge-dev/docs token: ${{ secrets.ACTIONS_KEY }} - name: Prepare - uses: ./src/.github/actions/prepare - with: - sub-dir: true + uses: ./.github/actions/prepare - name: Publish docs - uses: ./src/node_modules/@nanoforge-dev/actions/actions/synchronize-docs + uses: ./node_modules/@nanoforge-dev/actions/actions/synchronize-docs with: category: cli diff --git a/cliff.toml b/cliff.toml index 70907d7..9151523 100644 --- a/cliff.toml +++ b/cliff.toml @@ -69,7 +69,7 @@ commit_parsers = [ ] filter_commits = true protect_breaking_commits = true -tag_pattern = "@nanoforge-dev/cli@[0-9]*" +tag_pattern = "^[0-9]+" ignore_tags = "" topo_order = false sort_commits = "newest" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8e56eaa..5b41c58 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,8 +23,8 @@ catalogs: specifier: ^6.1.0 version: 6.1.0 '@nanoforge-dev/actions': - specifier: ^2.1.0 - version: 2.1.0 + specifier: ^2.1.1 + version: 2.1.1 husky: specifier: ^9.1.7 version: 9.1.7 @@ -190,7 +190,7 @@ importers: version: 6.1.0 '@nanoforge-dev/actions': specifier: catalog:ci - version: 2.1.0 + version: 2.1.1 '@nanoforge-dev/utils-eslint-config': specifier: catalog:lint version: 1.0.2(@types/eslint@9.6.1)(eslint@10.4.1(jiti@2.6.1))(prettier@3.8.3)(typescript@6.0.3) @@ -778,8 +778,8 @@ packages: '@jridgewell/trace-mapping@0.3.31': resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} - '@nanoforge-dev/actions@2.1.0': - resolution: {integrity: sha512-2lZoIjyjVLYSx1lxGZeVnAsituq/fzz74/Qy+ZedpgPOxqqdqtaPr5bmMiKsurHO2jbik981L+z7bv0b67UcLA==} + '@nanoforge-dev/actions@2.1.1': + resolution: {integrity: sha512-bE9XmFDZqvSZPsSVwAEc1jbws5ZXQ+51BM/wiLf3HmUQkF41eUgu3Q6ex+P29mhqLy5+U45gVZVKJ277fCV73g==} engines: {node: '25'} '@nanoforge-dev/editor@file:../editor': @@ -3365,7 +3365,7 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 - '@nanoforge-dev/actions@2.1.0': + '@nanoforge-dev/actions@2.1.1': dependencies: '@actions/core': 3.0.1 '@actions/github': 9.1.1 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 318a032..abbe97b 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -9,7 +9,7 @@ catalogs: '@commitlint/cli': ^21.0.2 '@commitlint/config-conventional': ^21.0.2 '@favware/cliff-jumper': ^6.1.0 - '@nanoforge-dev/actions': ^2.1.0 + '@nanoforge-dev/actions': ^2.1.1 husky: ^9.1.7 lint-staged: ^17.0.7 cli: @@ -48,4 +48,4 @@ catalogs: vitest: ^4.1.8 minimumReleaseAgeExclude: - - '@nanoforge-dev/actions@2.1.0' + - '@nanoforge-dev/actions@2.1.1'