diff options
author | Luke Karrys <luke@lukekarrys.com> | 2022-03-29 01:55:02 +0300 |
---|---|---|
committer | Luke Karrys <luke@lukekarrys.com> | 2022-03-30 00:51:53 +0300 |
commit | aac01b89caf6336a2eb34d696296303cdadd5c08 (patch) | |
tree | c322cc32001ab169bd2e9e335ba7e4a45f31b4aa /.github | |
parent | b48a2bfde3745fa21ea4fc18d6f562fd82f82545 (diff) |
deps: @npmcli/template-oss@3.2.1
- `no-shadow` was disabled for the cli and arborist due to the amount
of changes required. These should be fixed later.
- Manually updated linting in the cli root to match closer to what
template-oss does
- Included docs to be managed with template-oss. This required adding
an empty test for now, with the plan to add real tests later.
Diffstat (limited to '.github')
26 files changed, 714 insertions, 384 deletions
diff --git a/.github/workflows/ci-docs.yml b/.github/workflows/ci-docs.yml index 67a075227..c7e9cf2ba 100644 --- a/.github/workflows/ci-docs.yml +++ b/.github/workflows/ci-docs.yml @@ -1,50 +1,45 @@ -name: Node CI docs +name: CI - docs on: + workflow_dispatch: pull_request: - paths: - - docs/** branches: - '*' - push: paths: - docs/** + push: branches: - - release-next + - main - latest - workflow_dispatch: + paths: + - docs/** + schedule: + # "At 02:00 on Monday" https://crontab.guru/#0_2_*_*_1 + - cron: "0 2 * * 1" jobs: lint: runs-on: ubuntu-latest steps: - # Checkout the npm/cli repo - - uses: actions/checkout@v2 - - name: Use Node.js 14.x - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 14.x - cache: npm - - name: Install dependencies - run: | + node-version: 16.x + - run: | node ./bin/npm-cli.js install --ignore-scripts --no-audit node ./bin/npm-cli.js rebuild - - name: Run linting - run: node ./bin/npm-cli.js run lint -w docs + - run: node ./bin/npm-cli.js run lint -w docs env: DEPLOY_VERSION: testing check_docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Use Node.js 14.x - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 14.x - cache: npm - - name: Install dependencies - run: | + node-version: 16.x + - run: | node ./bin/npm-cli.js install --ignore-scripts --no-audit - name: Rebuild the docs run: make freshdocs diff --git a/.github/workflows/ci-libnpmaccess.yml b/.github/workflows/ci-libnpmaccess.yml index d0cac65dc..43f0765ff 100644 --- a/.github/workflows/ci-libnpmaccess.yml +++ b/.github/workflows/ci-libnpmaccess.yml @@ -1,35 +1,53 @@ -name: Node Workspace CI libnpmaccess +# This file is automatically added by @npmcli/template-oss. Do not edit. + +name: CI - libnpmaccess on: + workflow_dispatch: pull_request: + branches: + - '*' paths: - workspaces/libnpmaccess/** push: - paths: - - workspaces/libnpmaccess/** branches: - - release-next + - main - latest - workflow_dispatch: + paths: + - workspaces/libnpmaccess/** + schedule: + # "At 02:00 on Monday" https://crontab.guru/#0_2_*_*_1 + - cron: "0 2 * * 1" jobs: lint: runs-on: ubuntu-latest steps: - # Checkout the npm/cli repo - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: - node-version: '16' - - run: npm i --prefer-online -g npm@latest - - run: npm i - - run: npm run lint -w workspaces/libnpmaccess + node-version: 16.x + - name: Update npm to latest + run: npm i --prefer-online --no-fund --no-audit -g npm@latest + - run: npm -v + - run: npm i --ignore-scripts + - run: npm run lint -w libnpmaccess test: strategy: fail-fast: false matrix: - node-version: [12.13.0, 12.x, 14.15.0, 14.x, 16.13.0, 16.x] + node-version: + - 12.13.0 + - 12.x + - 14.15.0 + - 14.x + - 16.0.0 + - 16.x platform: - os: ubuntu-latest shell: bash @@ -42,13 +60,17 @@ jobs: run: shell: ${{ matrix.platform.shell }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows - name: Update to workable npm (windows) - if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12') || startsWith(matrix.node-version, '14')) + # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows + if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.')) run: | curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz tar xf npm-7.5.4.tgz @@ -56,8 +78,13 @@ jobs: node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz cd .. rmdir /s /q package - - name: Update npm + - name: Update npm to 7 + # If we do test on npm 10 it needs npm7 + if: startsWith(matrix.node-version, '10.') + run: npm i --prefer-online --no-fund --no-audit -g npm@7 + - name: Update npm to latest + if: ${{ !startsWith(matrix.node-version, '10.') }} run: npm i --prefer-online --no-fund --no-audit -g npm@latest - run: npm -v - - run: npm i - - run: npm test --ignore-scripts -w workspaces/libnpmaccess + - run: npm i --ignore-scripts + - run: npm test --ignore-scripts -w libnpmaccess diff --git a/.github/workflows/ci-libnpmdiff.yml b/.github/workflows/ci-libnpmdiff.yml index 0ff657222..f8c01d5d5 100644 --- a/.github/workflows/ci-libnpmdiff.yml +++ b/.github/workflows/ci-libnpmdiff.yml @@ -1,35 +1,53 @@ -name: Node Workspace CI libnpmdiff +# This file is automatically added by @npmcli/template-oss. Do not edit. + +name: CI - libnpmdiff on: + workflow_dispatch: pull_request: + branches: + - '*' paths: - workspaces/libnpmdiff/** push: - paths: - - workspaces/libnpmdiff/** branches: - - release-next + - main - latest - workflow_dispatch: + paths: + - workspaces/libnpmdiff/** + schedule: + # "At 02:00 on Monday" https://crontab.guru/#0_2_*_*_1 + - cron: "0 2 * * 1" jobs: lint: runs-on: ubuntu-latest steps: - # Checkout the npm/cli repo - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: - node-version: '16' - - run: npm i --prefer-online -g npm@latest - - run: npm i - - run: npm run lint -w workspaces/libnpmdiff + node-version: 16.x + - name: Update npm to latest + run: npm i --prefer-online --no-fund --no-audit -g npm@latest + - run: npm -v + - run: npm i --ignore-scripts + - run: npm run lint -w libnpmdiff test: strategy: fail-fast: false matrix: - node-version: [12.13.0, 12.x, 14.15.0, 14.x, 16.13.0, 16.x] + node-version: + - 12.13.0 + - 12.x + - 14.15.0 + - 14.x + - 16.0.0 + - 16.x platform: - os: ubuntu-latest shell: bash @@ -42,13 +60,17 @@ jobs: run: shell: ${{ matrix.platform.shell }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows - name: Update to workable npm (windows) - if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12') || startsWith(matrix.node-version, '14')) + # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows + if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.')) run: | curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz tar xf npm-7.5.4.tgz @@ -56,8 +78,13 @@ jobs: node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz cd .. rmdir /s /q package - - name: Update npm + - name: Update npm to 7 + # If we do test on npm 10 it needs npm7 + if: startsWith(matrix.node-version, '10.') + run: npm i --prefer-online --no-fund --no-audit -g npm@7 + - name: Update npm to latest + if: ${{ !startsWith(matrix.node-version, '10.') }} run: npm i --prefer-online --no-fund --no-audit -g npm@latest - run: npm -v - - run: npm i - - run: npm test --ignore-scripts -w workspaces/libnpmdiff + - run: npm i --ignore-scripts + - run: npm test --ignore-scripts -w libnpmdiff diff --git a/.github/workflows/ci-libnpmexec.yml b/.github/workflows/ci-libnpmexec.yml index a802c068e..5674b4d7d 100644 --- a/.github/workflows/ci-libnpmexec.yml +++ b/.github/workflows/ci-libnpmexec.yml @@ -1,35 +1,53 @@ -name: Node Workspace CI libnpmexec +# This file is automatically added by @npmcli/template-oss. Do not edit. + +name: CI - libnpmexec on: + workflow_dispatch: pull_request: + branches: + - '*' paths: - workspaces/libnpmexec/** push: - paths: - - workspaces/libnpmexec/** branches: - - release-next + - main - latest - workflow_dispatch: + paths: + - workspaces/libnpmexec/** + schedule: + # "At 02:00 on Monday" https://crontab.guru/#0_2_*_*_1 + - cron: "0 2 * * 1" jobs: lint: runs-on: ubuntu-latest steps: - # Checkout the npm/cli repo - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: - node-version: '16' - - run: npm i --prefer-online -g npm@latest - - run: npm i - - run: npm run lint -w workspaces/libnpmexec + node-version: 16.x + - name: Update npm to latest + run: npm i --prefer-online --no-fund --no-audit -g npm@latest + - run: npm -v + - run: npm i --ignore-scripts + - run: npm run lint -w libnpmexec test: strategy: fail-fast: false matrix: - node-version: [12.13.0, 12.x, 14.15.0, 14.x, 16.13.0, 16.x] + node-version: + - 12.13.0 + - 12.x + - 14.15.0 + - 14.x + - 16.0.0 + - 16.x platform: - os: ubuntu-latest shell: bash @@ -42,13 +60,17 @@ jobs: run: shell: ${{ matrix.platform.shell }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows - name: Update to workable npm (windows) - if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12') || startsWith(matrix.node-version, '14')) + # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows + if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.')) run: | curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz tar xf npm-7.5.4.tgz @@ -56,8 +78,13 @@ jobs: node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz cd .. rmdir /s /q package - - name: Update npm + - name: Update npm to 7 + # If we do test on npm 10 it needs npm7 + if: startsWith(matrix.node-version, '10.') + run: npm i --prefer-online --no-fund --no-audit -g npm@7 + - name: Update npm to latest + if: ${{ !startsWith(matrix.node-version, '10.') }} run: npm i --prefer-online --no-fund --no-audit -g npm@latest - run: npm -v - - run: npm i - - run: npm test --ignore-scripts -w workspaces/libnpmexec + - run: npm i --ignore-scripts + - run: npm test --ignore-scripts -w libnpmexec diff --git a/.github/workflows/ci-libnpmfund.yml b/.github/workflows/ci-libnpmfund.yml index f00891ddb..7a4fdd921 100644 --- a/.github/workflows/ci-libnpmfund.yml +++ b/.github/workflows/ci-libnpmfund.yml @@ -1,35 +1,53 @@ -name: Node Workspace CI libnpmfund +# This file is automatically added by @npmcli/template-oss. Do not edit. + +name: CI - libnpmfund on: + workflow_dispatch: pull_request: + branches: + - '*' paths: - workspaces/libnpmfund/** push: - paths: - - workspaces/libnpmfund/** branches: - - release-next + - main - latest - workflow_dispatch: + paths: + - workspaces/libnpmfund/** + schedule: + # "At 02:00 on Monday" https://crontab.guru/#0_2_*_*_1 + - cron: "0 2 * * 1" jobs: lint: runs-on: ubuntu-latest steps: - # Checkout the npm/cli repo - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: - node-version: '16' - - run: npm i --prefer-online -g npm@latest - - run: npm i - - run: npm run lint -w workspaces/libnpmfund + node-version: 16.x + - name: Update npm to latest + run: npm i --prefer-online --no-fund --no-audit -g npm@latest + - run: npm -v + - run: npm i --ignore-scripts + - run: npm run lint -w libnpmfund test: strategy: fail-fast: false matrix: - node-version: [12.13.0, 12.x, 14.15.0, 14.x, 16.13.0, 16.x] + node-version: + - 12.13.0 + - 12.x + - 14.15.0 + - 14.x + - 16.0.0 + - 16.x platform: - os: ubuntu-latest shell: bash @@ -42,13 +60,17 @@ jobs: run: shell: ${{ matrix.platform.shell }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows - name: Update to workable npm (windows) - if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12') || startsWith(matrix.node-version, '14')) + # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows + if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.')) run: | curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz tar xf npm-7.5.4.tgz @@ -56,8 +78,13 @@ jobs: node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz cd .. rmdir /s /q package - - name: Update npm + - name: Update npm to 7 + # If we do test on npm 10 it needs npm7 + if: startsWith(matrix.node-version, '10.') + run: npm i --prefer-online --no-fund --no-audit -g npm@7 + - name: Update npm to latest + if: ${{ !startsWith(matrix.node-version, '10.') }} run: npm i --prefer-online --no-fund --no-audit -g npm@latest - run: npm -v - - run: npm i - - run: npm test --ignore-scripts -w workspaces/libnpmfund + - run: npm i --ignore-scripts + - run: npm test --ignore-scripts -w libnpmfund diff --git a/.github/workflows/ci-libnpmhook.yml b/.github/workflows/ci-libnpmhook.yml index f10badea1..e6281e7fd 100644 --- a/.github/workflows/ci-libnpmhook.yml +++ b/.github/workflows/ci-libnpmhook.yml @@ -1,35 +1,53 @@ -name: Node Workspace CI libnpmhook +# This file is automatically added by @npmcli/template-oss. Do not edit. + +name: CI - libnpmhook on: + workflow_dispatch: pull_request: + branches: + - '*' paths: - workspaces/libnpmhook/** push: - paths: - - workspaces/libnpmhook/** branches: - - release-next + - main - latest - workflow_dispatch: + paths: + - workspaces/libnpmhook/** + schedule: + # "At 02:00 on Monday" https://crontab.guru/#0_2_*_*_1 + - cron: "0 2 * * 1" jobs: lint: runs-on: ubuntu-latest steps: - # Checkout the npm/cli repo - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: - node-version: '16' - - run: npm i --prefer-online -g npm@latest - - run: npm i - - run: npm run lint -w workspaces/libnpmhook + node-version: 16.x + - name: Update npm to latest + run: npm i --prefer-online --no-fund --no-audit -g npm@latest + - run: npm -v + - run: npm i --ignore-scripts + - run: npm run lint -w libnpmhook test: strategy: fail-fast: false matrix: - node-version: [12.13.0, 12.x, 14.15.0, 14.x, 16.13.0, 16.x] + node-version: + - 12.13.0 + - 12.x + - 14.15.0 + - 14.x + - 16.0.0 + - 16.x platform: - os: ubuntu-latest shell: bash @@ -42,13 +60,17 @@ jobs: run: shell: ${{ matrix.platform.shell }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows - name: Update to workable npm (windows) - if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12') || startsWith(matrix.node-version, '14')) + # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows + if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.')) run: | curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz tar xf npm-7.5.4.tgz @@ -56,8 +78,13 @@ jobs: node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz cd .. rmdir /s /q package - - name: Update npm + - name: Update npm to 7 + # If we do test on npm 10 it needs npm7 + if: startsWith(matrix.node-version, '10.') + run: npm i --prefer-online --no-fund --no-audit -g npm@7 + - name: Update npm to latest + if: ${{ !startsWith(matrix.node-version, '10.') }} run: npm i --prefer-online --no-fund --no-audit -g npm@latest - run: npm -v - - run: npm i - - run: npm test --ignore-scripts -w workspaces/libnpmhook + - run: npm i --ignore-scripts + - run: npm test --ignore-scripts -w libnpmhook diff --git a/.github/workflows/ci-libnpmorg.yml b/.github/workflows/ci-libnpmorg.yml index 3f43b206f..5737035bc 100644 --- a/.github/workflows/ci-libnpmorg.yml +++ b/.github/workflows/ci-libnpmorg.yml @@ -1,35 +1,53 @@ -name: Node Workspace CI libnpmorg +# This file is automatically added by @npmcli/template-oss. Do not edit. + +name: CI - libnpmorg on: + workflow_dispatch: pull_request: + branches: + - '*' paths: - workspaces/libnpmorg/** push: - paths: - - workspaces/libnpmorg/** branches: - - release-next + - main - latest - workflow_dispatch: + paths: + - workspaces/libnpmorg/** + schedule: + # "At 02:00 on Monday" https://crontab.guru/#0_2_*_*_1 + - cron: "0 2 * * 1" jobs: lint: runs-on: ubuntu-latest steps: - # Checkout the npm/cli repo - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: - node-version: '16' - - run: npm i --prefer-online -g npm@latest - - run: npm i - - run: npm run lint -w workspaces/libnpmorg + node-version: 16.x + - name: Update npm to latest + run: npm i --prefer-online --no-fund --no-audit -g npm@latest + - run: npm -v + - run: npm i --ignore-scripts + - run: npm run lint -w libnpmorg test: strategy: fail-fast: false matrix: - node-version: [12.13.0, 12.x, 14.15.0, 14.x, 16.13.0, 16.x] + node-version: + - 12.13.0 + - 12.x + - 14.15.0 + - 14.x + - 16.0.0 + - 16.x platform: - os: ubuntu-latest shell: bash @@ -42,13 +60,17 @@ jobs: run: shell: ${{ matrix.platform.shell }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows - name: Update to workable npm (windows) - if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12') || startsWith(matrix.node-version, '14')) + # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows + if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.')) run: | curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz tar xf npm-7.5.4.tgz @@ -56,8 +78,13 @@ jobs: node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz cd .. rmdir /s /q package - - name: Update npm + - name: Update npm to 7 + # If we do test on npm 10 it needs npm7 + if: startsWith(matrix.node-version, '10.') + run: npm i --prefer-online --no-fund --no-audit -g npm@7 + - name: Update npm to latest + if: ${{ !startsWith(matrix.node-version, '10.') }} run: npm i --prefer-online --no-fund --no-audit -g npm@latest - run: npm -v - - run: npm i - - run: npm test --ignore-scripts -w workspaces/libnpmorg + - run: npm i --ignore-scripts + - run: npm test --ignore-scripts -w libnpmorg diff --git a/.github/workflows/ci-libnpmpack.yml b/.github/workflows/ci-libnpmpack.yml index fd29289bc..b6cb5ea4a 100644 --- a/.github/workflows/ci-libnpmpack.yml +++ b/.github/workflows/ci-libnpmpack.yml @@ -1,35 +1,53 @@ -name: Node Workspace CI libnpmpack +# This file is automatically added by @npmcli/template-oss. Do not edit. + +name: CI - libnpmpack on: + workflow_dispatch: pull_request: + branches: + - '*' paths: - workspaces/libnpmpack/** push: - paths: - - workspaces/libnpmpack/** branches: - - release-next + - main - latest - workflow_dispatch: + paths: + - workspaces/libnpmpack/** + schedule: + # "At 02:00 on Monday" https://crontab.guru/#0_2_*_*_1 + - cron: "0 2 * * 1" jobs: lint: runs-on: ubuntu-latest steps: - # Checkout the npm/cli repo - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: - node-version: '16' - - run: npm i --prefer-online -g npm@latest - - run: npm i - - run: npm run lint -w workspaces/libnpmpack + node-version: 16.x + - name: Update npm to latest + run: npm i --prefer-online --no-fund --no-audit -g npm@latest + - run: npm -v + - run: npm i --ignore-scripts + - run: npm run lint -w libnpmpack test: strategy: fail-fast: false matrix: - node-version: [12.13.0, 12.x, 14.15.0, 14.x, 16.13.0, 16.x] + node-version: + - 12.13.0 + - 12.x + - 14.15.0 + - 14.x + - 16.0.0 + - 16.x platform: - os: ubuntu-latest shell: bash @@ -42,13 +60,17 @@ jobs: run: shell: ${{ matrix.platform.shell }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows - name: Update to workable npm (windows) - if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12') || startsWith(matrix.node-version, '14')) + # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows + if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.')) run: | curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz tar xf npm-7.5.4.tgz @@ -56,8 +78,13 @@ jobs: node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz cd .. rmdir /s /q package - - name: Update npm + - name: Update npm to 7 + # If we do test on npm 10 it needs npm7 + if: startsWith(matrix.node-version, '10.') + run: npm i --prefer-online --no-fund --no-audit -g npm@7 + - name: Update npm to latest + if: ${{ !startsWith(matrix.node-version, '10.') }} run: npm i --prefer-online --no-fund --no-audit -g npm@latest - run: npm -v - - run: npm i - - run: npm test --ignore-scripts -w workspaces/libnpmpack + - run: npm i --ignore-scripts + - run: npm test --ignore-scripts -w libnpmpack diff --git a/.github/workflows/ci-libnpmpublish.yml b/.github/workflows/ci-libnpmpublish.yml index efe1f1918..b9c150d49 100644 --- a/.github/workflows/ci-libnpmpublish.yml +++ b/.github/workflows/ci-libnpmpublish.yml @@ -1,35 +1,53 @@ -name: Node Workspace CI libnpmpublish +# This file is automatically added by @npmcli/template-oss. Do not edit. + +name: CI - libnpmpublish on: + workflow_dispatch: pull_request: + branches: + - '*' paths: - workspaces/libnpmpublish/** push: - paths: - - workspaces/libnpmpublish/** branches: - - release-next + - main - latest - workflow_dispatch: + paths: + - workspaces/libnpmpublish/** + schedule: + # "At 02:00 on Monday" https://crontab.guru/#0_2_*_*_1 + - cron: "0 2 * * 1" jobs: lint: runs-on: ubuntu-latest steps: - # Checkout the npm/cli repo - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: - node-version: '16' - - run: npm i --prefer-online -g npm@latest - - run: npm i - - run: npm run lint -w workspaces/libnpmpublish + node-version: 16.x + - name: Update npm to latest + run: npm i --prefer-online --no-fund --no-audit -g npm@latest + - run: npm -v + - run: npm i --ignore-scripts + - run: npm run lint -w libnpmpublish test: strategy: fail-fast: false matrix: - node-version: [12.13.0, 12.x, 14.15.0, 14.x, 16.13.0, 16.x] + node-version: + - 12.13.0 + - 12.x + - 14.15.0 + - 14.x + - 16.0.0 + - 16.x platform: - os: ubuntu-latest shell: bash @@ -42,13 +60,17 @@ jobs: run: shell: ${{ matrix.platform.shell }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows - name: Update to workable npm (windows) - if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12') || startsWith(matrix.node-version, '14')) + # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows + if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.')) run: | curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz tar xf npm-7.5.4.tgz @@ -56,8 +78,13 @@ jobs: node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz cd .. rmdir /s /q package - - name: Update npm + - name: Update npm to 7 + # If we do test on npm 10 it needs npm7 + if: startsWith(matrix.node-version, '10.') + run: npm i --prefer-online --no-fund --no-audit -g npm@7 + - name: Update npm to latest + if: ${{ !startsWith(matrix.node-version, '10.') }} run: npm i --prefer-online --no-fund --no-audit -g npm@latest - run: npm -v - - run: npm i - - run: npm test --ignore-scripts -w workspaces/libnpmpublish + - run: npm i --ignore-scripts + - run: npm test --ignore-scripts -w libnpmpublish diff --git a/.github/workflows/ci-libnpmsearch.yml b/.github/workflows/ci-libnpmsearch.yml index 832f850d3..d9ddc0e17 100644 --- a/.github/workflows/ci-libnpmsearch.yml +++ b/.github/workflows/ci-libnpmsearch.yml @@ -1,35 +1,53 @@ -name: Node Workspace CI libnpmsearch +# This file is automatically added by @npmcli/template-oss. Do not edit. + +name: CI - libnpmsearch on: + workflow_dispatch: pull_request: + branches: + - '*' paths: - workspaces/libnpmsearch/** push: - paths: - - workspaces/libnpmsearch/** branches: - - release-next + - main - latest - workflow_dispatch: + paths: + - workspaces/libnpmsearch/** + schedule: + # "At 02:00 on Monday" https://crontab.guru/#0_2_*_*_1 + - cron: "0 2 * * 1" jobs: lint: runs-on: ubuntu-latest steps: - # Checkout the npm/cli repo - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: - node-version: '16' - - run: npm i --prefer-online -g npm@latest - - run: npm i - - run: npm run lint -w workspaces/libnpmsearch + node-version: 16.x + - name: Update npm to latest + run: npm i --prefer-online --no-fund --no-audit -g npm@latest + - run: npm -v + - run: npm i --ignore-scripts + - run: npm run lint -w libnpmsearch test: strategy: fail-fast: false matrix: - node-version: [12.13.0, 12.x, 14.15.0, 14.x, 16.13.0, 16.x] + node-version: + - 12.13.0 + - 12.x + - 14.15.0 + - 14.x + - 16.0.0 + - 16.x platform: - os: ubuntu-latest shell: bash @@ -42,13 +60,17 @@ jobs: run: shell: ${{ matrix.platform.shell }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows - name: Update to workable npm (windows) - if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12') || startsWith(matrix.node-version, '14')) + # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows + if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.')) run: | curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz tar xf npm-7.5.4.tgz @@ -56,8 +78,13 @@ jobs: node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz cd .. rmdir /s /q package - - name: Update npm + - name: Update npm to 7 + # If we do test on npm 10 it needs npm7 + if: startsWith(matrix.node-version, '10.') + run: npm i --prefer-online --no-fund --no-audit -g npm@7 + - name: Update npm to latest + if: ${{ !startsWith(matrix.node-version, '10.') }} run: npm i --prefer-online --no-fund --no-audit -g npm@latest - run: npm -v - - run: npm i - - run: npm test --ignore-scripts -w workspaces/libnpmsearch + - run: npm i --ignore-scripts + - run: npm test --ignore-scripts -w libnpmsearch diff --git a/.github/workflows/ci-libnpmteam.yml b/.github/workflows/ci-libnpmteam.yml index fa6c5929e..24519315f 100644 --- a/.github/workflows/ci-libnpmteam.yml +++ b/.github/workflows/ci-libnpmteam.yml @@ -1,35 +1,53 @@ -name: Node Workspace CI libnpmteam +# This file is automatically added by @npmcli/template-oss. Do not edit. + +name: CI - libnpmteam on: + workflow_dispatch: pull_request: + branches: + - '*' paths: - workspaces/libnpmteam/** push: - paths: - - workspaces/libnpmteam/** branches: - - release-next + - main - latest - workflow_dispatch: + paths: + - workspaces/libnpmteam/** + schedule: + # "At 02:00 on Monday" https://crontab.guru/#0_2_*_*_1 + - cron: "0 2 * * 1" jobs: lint: runs-on: ubuntu-latest steps: - # Checkout the npm/cli repo - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: - node-version: '16' - - run: npm i --prefer-online -g npm@latest - - run: npm i - - run: npm run lint -w workspaces/libnpmteam + node-version: 16.x + - name: Update npm to latest + run: npm i --prefer-online --no-fund --no-audit -g npm@latest + - run: npm -v + - run: npm i --ignore-scripts + - run: npm run lint -w libnpmteam test: strategy: fail-fast: false matrix: - node-version: [12.13.0, 12.x, 14.15.0, 14.x, 16.13.0, 16.x] + node-version: + - 12.13.0 + - 12.x + - 14.15.0 + - 14.x + - 16.0.0 + - 16.x platform: - os: ubuntu-latest shell: bash @@ -42,13 +60,17 @@ jobs: run: shell: ${{ matrix.platform.shell }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows - name: Update to workable npm (windows) - if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12') || startsWith(matrix.node-version, '14')) + # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows + if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.')) run: | curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz tar xf npm-7.5.4.tgz @@ -56,8 +78,13 @@ jobs: node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz cd .. rmdir /s /q package - - name: Update npm + - name: Update npm to 7 + # If we do test on npm 10 it needs npm7 + if: startsWith(matrix.node-version, '10.') + run: npm i --prefer-online --no-fund --no-audit -g npm@7 + - name: Update npm to latest + if: ${{ !startsWith(matrix.node-version, '10.') }} run: npm i --prefer-online --no-fund --no-audit -g npm@latest - run: npm -v - - run: npm i - - run: npm test --ignore-scripts -w workspaces/libnpmteam + - run: npm i --ignore-scripts + - run: npm test --ignore-scripts -w libnpmteam diff --git a/.github/workflows/ci-libnpmversion.yml b/.github/workflows/ci-libnpmversion.yml index 0b0c0fcf7..193b8d5ce 100644 --- a/.github/workflows/ci-libnpmversion.yml +++ b/.github/workflows/ci-libnpmversion.yml @@ -1,35 +1,53 @@ -name: Node Workspace CI libnpmversion +# This file is automatically added by @npmcli/template-oss. Do not edit. + +name: CI - libnpmversion on: + workflow_dispatch: pull_request: + branches: + - '*' paths: - workspaces/libnpmversion/** push: - paths: - - workspaces/libnpmversion/** branches: - - release-next + - main - latest - workflow_dispatch: + paths: + - workspaces/libnpmversion/** + schedule: + # "At 02:00 on Monday" https://crontab.guru/#0_2_*_*_1 + - cron: "0 2 * * 1" jobs: lint: runs-on: ubuntu-latest steps: - # Checkout the npm/cli repo - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: - node-version: '16' - - run: npm i --prefer-online -g npm@latest - - run: npm i - - run: npm run lint -w workspaces/libnpmversion + node-version: 16.x + - name: Update npm to latest + run: npm i --prefer-online --no-fund --no-audit -g npm@latest + - run: npm -v + - run: npm i --ignore-scripts + - run: npm run lint -w libnpmversion test: strategy: fail-fast: false matrix: - node-version: [12.13.0, 12.x, 14.15.0, 14.x, 16.13.0, 16.x] + node-version: + - 12.13.0 + - 12.x + - 14.15.0 + - 14.x + - 16.0.0 + - 16.x platform: - os: ubuntu-latest shell: bash @@ -42,13 +60,17 @@ jobs: run: shell: ${{ matrix.platform.shell }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows - name: Update to workable npm (windows) - if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12') || startsWith(matrix.node-version, '14')) + # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows + if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.')) run: | curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz tar xf npm-7.5.4.tgz @@ -56,8 +78,13 @@ jobs: node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz cd .. rmdir /s /q package - - name: Update npm + - name: Update npm to 7 + # If we do test on npm 10 it needs npm7 + if: startsWith(matrix.node-version, '10.') + run: npm i --prefer-online --no-fund --no-audit -g npm@7 + - name: Update npm to latest + if: ${{ !startsWith(matrix.node-version, '10.') }} run: npm i --prefer-online --no-fund --no-audit -g npm@latest - run: npm -v - - run: npm i - - run: npm test --ignore-scripts -w workspaces/libnpmversion + - run: npm i --ignore-scripts + - run: npm test --ignore-scripts -w libnpmversion diff --git a/.github/workflows/ci-npmcli-arborist.yml b/.github/workflows/ci-npmcli-arborist.yml index c2fe8ca1d..32978d92f 100644 --- a/.github/workflows/ci-npmcli-arborist.yml +++ b/.github/workflows/ci-npmcli-arborist.yml @@ -1,35 +1,53 @@ -name: Node Workspace CI @npmcli/arborist +# This file is automatically added by @npmcli/template-oss. Do not edit. + +name: CI - @npmcli/arborist on: + workflow_dispatch: pull_request: + branches: + - '*' paths: - workspaces/arborist/** push: - paths: - - workspaces/arborist/** branches: - - release-next + - main - latest - workflow_dispatch: + paths: + - workspaces/arborist/** + schedule: + # "At 02:00 on Monday" https://crontab.guru/#0_2_*_*_1 + - cron: "0 2 * * 1" jobs: lint: runs-on: ubuntu-latest steps: - # Checkout the npm/cli repo - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: - node-version: '16' - - run: npm i --prefer-online -g npm@latest - - run: npm i - - run: npm run lint -w workspaces/arborist + node-version: 16.x + - name: Update npm to latest + run: npm i --prefer-online --no-fund --no-audit -g npm@latest + - run: npm -v + - run: npm i --ignore-scripts + - run: npm run lint -w @npmcli/arborist test: strategy: fail-fast: false matrix: - node-version: [12.13.0, 12.x, 14.15.0, 14.x, 16.13.0, 16.x] + node-version: + - 12.13.0 + - 12.x + - 14.15.0 + - 14.x + - 16.0.0 + - 16.x platform: - os: ubuntu-latest shell: bash @@ -42,13 +60,17 @@ jobs: run: shell: ${{ matrix.platform.shell }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - name: Setup git user + run: | + git config --global user.email "ops+npm-cli@npmjs.com" + git config --global user.name "npm cli ops bot" + - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows - name: Update to workable npm (windows) - if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12') || startsWith(matrix.node-version, '14')) + # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows + if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.')) run: | curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz tar xf npm-7.5.4.tgz @@ -56,8 +78,13 @@ jobs: node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz cd .. rmdir /s /q package - - name: Update npm + - name: Update npm to 7 + # If we do test on npm 10 it needs npm7 + if: startsWith(matrix.node-version, '10.') + run: npm i --prefer-online --no-fund --no-audit -g npm@7 + - name: Update npm to latest + if: ${{ !startsWith(matrix.node-version, '10.') }} run: npm i --prefer-online --no-fund --no-audit -g npm@latest - run: npm -v - - run: npm i - - run: npm test --ignore-scripts -w workspaces/arborist + - run: npm i --ignore-scripts + - run: npm test --ignore-scripts -w @npmcli/arborist diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ebc711ae..8df4fdc48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,6 @@ on: - '*' push: branches: - - release-next - latest workflow_dispatch: diff --git a/.github/workflows/release-please-libnpmaccess.yml b/.github/workflows/release-please-libnpmaccess.yml index ba47b2d57..566092621 100644 --- a/.github/workflows/release-please-libnpmaccess.yml +++ b/.github/workflows/release-please-libnpmaccess.yml @@ -1,29 +1,30 @@ # This file is automatically added by @npmcli/template-oss. Do not edit. -name: Node Workspace Release Please libnpmaccess +name: Release Please - libnpmaccess on: push: paths: - workspaces/libnpmaccess/** branches: - - release-next + - main - latest jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v2 + - uses: google-github-actions/release-please-action@v3 id: release with: release-type: node monorepo-tags: true - path: workspaces/libnpmaccess - # If you change changelog-types be sure to also update commitlintrc.js + paths: workspaces/libnpmaccess changelog-types: > - [{"type":"feat","section":"Features","hidden":false}, - {"type":"fix","section":"Bug Fixes","hidden":false}, - {"type":"docs","section":"Documentation","hidden":false}, - {"type":"deps","section":"Dependencies","hidden":false}, - {"type":"chore","hidden":true}] + [ + {"type":"feat","section":"Features","hidden":false}, + {"type":"fix","section":"Bug Fixes","hidden":false}, + {"type":"docs","section":"Documentation","hidden":false}, + {"type":"deps","section":"Dependencies","hidden":false}, + {"type":"chore","hidden":true} + ] diff --git a/.github/workflows/release-please-libnpmdiff.yml b/.github/workflows/release-please-libnpmdiff.yml index afe81c818..5f64a0668 100644 --- a/.github/workflows/release-please-libnpmdiff.yml +++ b/.github/workflows/release-please-libnpmdiff.yml @@ -1,29 +1,30 @@ # This file is automatically added by @npmcli/template-oss. Do not edit. -name: Node Workspace Release Please libnpmdiff +name: Release Please - libnpmdiff on: push: paths: - workspaces/libnpmdiff/** branches: - - release-next + - main - latest jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v2 + - uses: google-github-actions/release-please-action@v3 id: release with: release-type: node monorepo-tags: true - path: workspaces/libnpmdiff - # If you change changelog-types be sure to also update commitlintrc.js + paths: workspaces/libnpmdiff changelog-types: > - [{"type":"feat","section":"Features","hidden":false}, - {"type":"fix","section":"Bug Fixes","hidden":false}, - {"type":"docs","section":"Documentation","hidden":false}, - {"type":"deps","section":"Dependencies","hidden":false}, - {"type":"chore","hidden":true}] + [ + {"type":"feat","section":"Features","hidden":false}, + {"type":"fix","section":"Bug Fixes","hidden":false}, + {"type":"docs","section":"Documentation","hidden":false}, + {"type":"deps","section":"Dependencies","hidden":false}, + {"type":"chore","hidden":true} + ] diff --git a/.github/workflows/release-please-libnpmexec.yml b/.github/workflows/release-please-libnpmexec.yml index f0cb981de..5467b3db3 100644 --- a/.github/workflows/release-please-libnpmexec.yml +++ b/.github/workflows/release-please-libnpmexec.yml @@ -1,29 +1,30 @@ # This file is automatically added by @npmcli/template-oss. Do not edit. -name: Node Workspace Release Please libnpmexec +name: Release Please - libnpmexec on: push: paths: - workspaces/libnpmexec/** branches: - - release-next + - main - latest jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v2 + - uses: google-github-actions/release-please-action@v3 id: release with: release-type: node monorepo-tags: true - path: workspaces/libnpmexec - # If you change changelog-types be sure to also update commitlintrc.js + paths: workspaces/libnpmexec changelog-types: > - [{"type":"feat","section":"Features","hidden":false}, - {"type":"fix","section":"Bug Fixes","hidden":false}, - {"type":"docs","section":"Documentation","hidden":false}, - {"type":"deps","section":"Dependencies","hidden":false}, - {"type":"chore","hidden":true}] + [ + {"type":"feat","section":"Features","hidden":false}, + {"type":"fix","section":"Bug Fixes","hidden":false}, + {"type":"docs","section":"Documentation","hidden":false}, + {"type":"deps","section":"Dependencies","hidden":false}, + {"type":"chore","hidden":true} + ] diff --git a/.github/workflows/release-please-libnpmfund.yml b/.github/workflows/release-please-libnpmfund.yml index e9f52fcd7..b87ea3b85 100644 --- a/.github/workflows/release-please-libnpmfund.yml +++ b/.github/workflows/release-please-libnpmfund.yml @@ -1,29 +1,30 @@ # This file is automatically added by @npmcli/template-oss. Do not edit. -name: Node Workspace Release Please libnpmfund +name: Release Please - libnpmfund on: push: paths: - workspaces/libnpmfund/** branches: - - release-next + - main - latest jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v2 + - uses: google-github-actions/release-please-action@v3 id: release with: release-type: node monorepo-tags: true - path: workspaces/libnpmfund - # If you change changelog-types be sure to also update commitlintrc.js + paths: workspaces/libnpmfund changelog-types: > - [{"type":"feat","section":"Features","hidden":false}, - {"type":"fix","section":"Bug Fixes","hidden":false}, - {"type":"docs","section":"Documentation","hidden":false}, - {"type":"deps","section":"Dependencies","hidden":false}, - {"type":"chore","hidden":true}] + [ + {"type":"feat","section":"Features","hidden":false}, + {"type":"fix","section":"Bug Fixes","hidden":false}, + {"type":"docs","section":"Documentation","hidden":false}, + {"type":"deps","section":"Dependencies","hidden":false}, + {"type":"chore","hidden":true} + ] diff --git a/.github/workflows/release-please-libnpmhook.yml b/.github/workflows/release-please-libnpmhook.yml index e46aa4942..761fbc9d1 100644 --- a/.github/workflows/release-please-libnpmhook.yml +++ b/.github/workflows/release-please-libnpmhook.yml @@ -1,29 +1,30 @@ # This file is automatically added by @npmcli/template-oss. Do not edit. -name: Node Workspace Release Please libnpmhook +name: Release Please - libnpmhook on: push: paths: - workspaces/libnpmhook/** branches: - - release-next + - main - latest jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v2 + - uses: google-github-actions/release-please-action@v3 id: release with: release-type: node monorepo-tags: true - path: workspaces/libnpmhook - # If you change changelog-types be sure to also update commitlintrc.js + paths: workspaces/libnpmhook changelog-types: > - [{"type":"feat","section":"Features","hidden":false}, - {"type":"fix","section":"Bug Fixes","hidden":false}, - {"type":"docs","section":"Documentation","hidden":false}, - {"type":"deps","section":"Dependencies","hidden":false}, - {"type":"chore","hidden":true}] + [ + {"type":"feat","section":"Features","hidden":false}, + {"type":"fix","section":"Bug Fixes","hidden":false}, + {"type":"docs","section":"Documentation","hidden":false}, + {"type":"deps","section":"Dependencies","hidden":false}, + {"type":"chore","hidden":true} + ] diff --git a/.github/workflows/release-please-libnpmorg.yml b/.github/workflows/release-please-libnpmorg.yml index 1a2d4488d..7841c0ef5 100644 --- a/.github/workflows/release-please-libnpmorg.yml +++ b/.github/workflows/release-please-libnpmorg.yml @@ -1,29 +1,30 @@ # This file is automatically added by @npmcli/template-oss. Do not edit. -name: Node Workspace Release Please libnpmorg +name: Release Please - libnpmorg on: push: paths: - workspaces/libnpmorg/** branches: - - release-next + - main - latest jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v2 + - uses: google-github-actions/release-please-action@v3 id: release with: release-type: node monorepo-tags: true - path: workspaces/libnpmorg - # If you change changelog-types be sure to also update commitlintrc.js + paths: workspaces/libnpmorg changelog-types: > - [{"type":"feat","section":"Features","hidden":false}, - {"type":"fix","section":"Bug Fixes","hidden":false}, - {"type":"docs","section":"Documentation","hidden":false}, - {"type":"deps","section":"Dependencies","hidden":false}, - {"type":"chore","hidden":true}] + [ + {"type":"feat","section":"Features","hidden":false}, + {"type":"fix","section":"Bug Fixes","hidden":false}, + {"type":"docs","section":"Documentation","hidden":false}, + {"type":"deps","section":"Dependencies","hidden":false}, + {"type":"chore","hidden":true} + ] diff --git a/.github/workflows/release-please-libnpmpack.yml b/.github/workflows/release-please-libnpmpack.yml index 151026b14..236f1e0b8 100644 --- a/.github/workflows/release-please-libnpmpack.yml +++ b/.github/workflows/release-please-libnpmpack.yml @@ -1,29 +1,30 @@ # This file is automatically added by @npmcli/template-oss. Do not edit. -name: Node Workspace Release Please libnpmpack +name: Release Please - libnpmpack on: push: paths: - workspaces/libnpmpack/** branches: - - release-next + - main - latest jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v2 + - uses: google-github-actions/release-please-action@v3 id: release with: release-type: node monorepo-tags: true - path: workspaces/libnpmpack - # If you change changelog-types be sure to also update commitlintrc.js + paths: workspaces/libnpmpack changelog-types: > - [{"type":"feat","section":"Features","hidden":false}, - {"type":"fix","section":"Bug Fixes","hidden":false}, - {"type":"docs","section":"Documentation","hidden":false}, - {"type":"deps","section":"Dependencies","hidden":false}, - {"type":"chore","hidden":true}] + [ + {"type":"feat","section":"Features","hidden":false}, + {"type":"fix","section":"Bug Fixes","hidden":false}, + {"type":"docs","section":"Documentation","hidden":false}, + {"type":"deps","section":"Dependencies","hidden":false}, + {"type":"chore","hidden":true} + ] diff --git a/.github/workflows/release-please-libnpmpublish.yml b/.github/workflows/release-please-libnpmpublish.yml index bd7a6f9a3..2d7240dfa 100644 --- a/.github/workflows/release-please-libnpmpublish.yml +++ b/.github/workflows/release-please-libnpmpublish.yml @@ -1,29 +1,30 @@ # This file is automatically added by @npmcli/template-oss. Do not edit. -name: Node Workspace Release Please libnpmpublish +name: Release Please - libnpmpublish on: push: paths: - workspaces/libnpmpublish/** branches: - - release-next + - main - latest jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v2 + - uses: google-github-actions/release-please-action@v3 id: release with: release-type: node monorepo-tags: true - path: workspaces/libnpmpublish - # If you change changelog-types be sure to also update commitlintrc.js + paths: workspaces/libnpmpublish changelog-types: > - [{"type":"feat","section":"Features","hidden":false}, - {"type":"fix","section":"Bug Fixes","hidden":false}, - {"type":"docs","section":"Documentation","hidden":false}, - {"type":"deps","section":"Dependencies","hidden":false}, - {"type":"chore","hidden":true}] + [ + {"type":"feat","section":"Features","hidden":false}, + {"type":"fix","section":"Bug Fixes","hidden":false}, + {"type":"docs","section":"Documentation","hidden":false}, + {"type":"deps","section":"Dependencies","hidden":false}, + {"type":"chore","hidden":true} + ] diff --git a/.github/workflows/release-please-libnpmsearch.yml b/.github/workflows/release-please-libnpmsearch.yml index 575d71b91..f22825d46 100644 --- a/.github/workflows/release-please-libnpmsearch.yml +++ b/.github/workflows/release-please-libnpmsearch.yml @@ -1,29 +1,30 @@ # This file is automatically added by @npmcli/template-oss. Do not edit. -name: Node Workspace Release Please libnpmsearch +name: Release Please - libnpmsearch on: push: paths: - workspaces/libnpmsearch/** branches: - - release-next + - main - latest jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v2 + - uses: google-github-actions/release-please-action@v3 id: release with: release-type: node monorepo-tags: true - path: workspaces/libnpmsearch - # If you change changelog-types be sure to also update commitlintrc.js + paths: workspaces/libnpmsearch changelog-types: > - [{"type":"feat","section":"Features","hidden":false}, - {"type":"fix","section":"Bug Fixes","hidden":false}, - {"type":"docs","section":"Documentation","hidden":false}, - {"type":"deps","section":"Dependencies","hidden":false}, - {"type":"chore","hidden":true}] + [ + {"type":"feat","section":"Features","hidden":false}, + {"type":"fix","section":"Bug Fixes","hidden":false}, + {"type":"docs","section":"Documentation","hidden":false}, + {"type":"deps","section":"Dependencies","hidden":false}, + {"type":"chore","hidden":true} + ] diff --git a/.github/workflows/release-please-libnpmteam.yml b/.github/workflows/release-please-libnpmteam.yml index 66ef02e4f..9fae3a057 100644 --- a/.github/workflows/release-please-libnpmteam.yml +++ b/.github/workflows/release-please-libnpmteam.yml @@ -1,29 +1,30 @@ # This file is automatically added by @npmcli/template-oss. Do not edit. -name: Node Workspace Release Please libnpmteam +name: Release Please - libnpmteam on: push: paths: - workspaces/libnpmteam/** branches: - - release-next + - main - latest jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v2 + - uses: google-github-actions/release-please-action@v3 id: release with: release-type: node monorepo-tags: true - path: workspaces/libnpmteam - # If you change changelog-types be sure to also update commitlintrc.js + paths: workspaces/libnpmteam changelog-types: > - [{"type":"feat","section":"Features","hidden":false}, - {"type":"fix","section":"Bug Fixes","hidden":false}, - {"type":"docs","section":"Documentation","hidden":false}, - {"type":"deps","section":"Dependencies","hidden":false}, - {"type":"chore","hidden":true}] + [ + {"type":"feat","section":"Features","hidden":false}, + {"type":"fix","section":"Bug Fixes","hidden":false}, + {"type":"docs","section":"Documentation","hidden":false}, + {"type":"deps","section":"Dependencies","hidden":false}, + {"type":"chore","hidden":true} + ] diff --git a/.github/workflows/release-please-libnpmversion.yml b/.github/workflows/release-please-libnpmversion.yml index 4195300ca..ee1e11e50 100644 --- a/.github/workflows/release-please-libnpmversion.yml +++ b/.github/workflows/release-please-libnpmversion.yml @@ -1,29 +1,30 @@ # This file is automatically added by @npmcli/template-oss. Do not edit. -name: Node Workspace Release Please libnpmversion +name: Release Please - libnpmversion on: push: paths: - workspaces/libnpmversion/** branches: - - release-next + - main - latest jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v2 + - uses: google-github-actions/release-please-action@v3 id: release with: release-type: node monorepo-tags: true - path: workspaces/libnpmversion - # If you change changelog-types be sure to also update commitlintrc.js + paths: workspaces/libnpmversion changelog-types: > - [{"type":"feat","section":"Features","hidden":false}, - {"type":"fix","section":"Bug Fixes","hidden":false}, - {"type":"docs","section":"Documentation","hidden":false}, - {"type":"deps","section":"Dependencies","hidden":false}, - {"type":"chore","hidden":true}] + [ + {"type":"feat","section":"Features","hidden":false}, + {"type":"fix","section":"Bug Fixes","hidden":false}, + {"type":"docs","section":"Documentation","hidden":false}, + {"type":"deps","section":"Dependencies","hidden":false}, + {"type":"chore","hidden":true} + ] diff --git a/.github/workflows/release-please-npmcli-arborist.yml b/.github/workflows/release-please-npmcli-arborist.yml index 2a8c61d53..84a42eca0 100644 --- a/.github/workflows/release-please-npmcli-arborist.yml +++ b/.github/workflows/release-please-npmcli-arborist.yml @@ -1,29 +1,30 @@ # This file is automatically added by @npmcli/template-oss. Do not edit. -name: Node Workspace Release Please @npmcli/arborist +name: Release Please - @npmcli/arborist on: push: paths: - workspaces/arborist/** branches: - - release-next + - main - latest jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v2 + - uses: google-github-actions/release-please-action@v3 id: release with: release-type: node monorepo-tags: true - path: workspaces/arborist - # If you change changelog-types be sure to also update commitlintrc.js + paths: workspaces/arborist changelog-types: > - [{"type":"feat","section":"Features","hidden":false}, - {"type":"fix","section":"Bug Fixes","hidden":false}, - {"type":"docs","section":"Documentation","hidden":false}, - {"type":"deps","section":"Dependencies","hidden":false}, - {"type":"chore","hidden":true}] + [ + {"type":"feat","section":"Features","hidden":false}, + {"type":"fix","section":"Bug Fixes","hidden":false}, + {"type":"docs","section":"Documentation","hidden":false}, + {"type":"deps","section":"Dependencies","hidden":false}, + {"type":"chore","hidden":true} + ] |