Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: semantic-release/npm
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.0.8
Choose a base ref
...
head repository: semantic-release/npm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.0.9
Choose a head ref
  • 10 commits
  • 5 files changed
  • 4 contributors

Commits on Nov 17, 2020

  1. Copy the full SHA
    a2eec8d View commit details
  2. chore(deps): update dependency get-stream to v6 (#291)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Nov 17, 2020
    Copy the full SHA
    a0d14f5 View commit details

Commits on Nov 20, 2020

  1. Copy the full SHA
    bddf8bf View commit details
  2. chore(deps): update dependency xo to v0.35.0 (#293)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Nov 20, 2020
    Copy the full SHA
    5357bbe View commit details
  3. chore(deps): update dependency semantic-release to v17.2.4 (#292)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Nov 20, 2020
    Copy the full SHA
    796f849 View commit details

Commits on Nov 22, 2020

  1. chore(deps): update dependency semantic-release to v17.3.0 (#294)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Nov 22, 2020
    Copy the full SHA
    171bb68 View commit details

Commits on Nov 23, 2020

  1. chore(deps): lock file maintenance (#295)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Nov 23, 2020
    Copy the full SHA
    a6aaae9 View commit details

Commits on Nov 26, 2020

  1. Copy the full SHA
    631c078 View commit details

Commits on Nov 30, 2020

  1. chore(deps): lock file maintenance (#297)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Nov 30, 2020
    Copy the full SHA
    ac2d6b4 View commit details

Commits on Dec 3, 2020

  1. fix(deps): update dependency execa to v5 (#299)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Dec 3, 2020
    Copy the full SHA
    d4e5bb2 View commit details
Showing with 521 additions and 342 deletions.
  1. +8 −18 .github/workflows/test.yml
  2. +1 −1 README.md
  3. +2 −2 lib/get-pkg.js
  4. +506 −317 package-lock.json
  5. +4 −4 package.json
26 changes: 8 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: Test

on:
"on":
push:
branches:
- master

- renovate/**
pull_request:
types:
- opened
- synchronize

jobs:
test_matrix:
strategy:
@@ -20,31 +18,23 @@ jobs:
- 14
os:
- ubuntu-latest
# only ubuntu has the "docker" binary available
# - macos-latest
# - windows-latest

runs-on: ${{ matrix.os }}

runs-on: "${{ matrix.os }}"
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
- name: "Use Node.js ${{ matrix.node-version }}"
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
node-version: "${{ matrix.node-version }}"
- uses: bahmutov/npm-install@v1
- run: npm run test:ci

# separate job to set as required in branch protection,
# as the build names above change each time Node versions change
- run: "npm run test:ci"
test:
runs-on: ubuntu-latest
needs: test_matrix
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
- name: "Use Node.js ${{ matrix.node-version }}"
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
node-version: "${{ matrix.node-version }}"
- uses: bahmutov/npm-install@v1
- run: npm run lint
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -62,7 +62,7 @@ Use either `NPM_TOKEN` for token authentication or `NPM_USERNAME`, `NPM_PASSWORD
| `pkgRoot` | Directory path to publish. | `.` |
| `tarballDir` | Directory path in which to write the the package tarball. If `false` the tarball is not be kept on the file system. | `false` |

**Note**: The `pkgRoot` directory must contains a `package.json`. The version will be updated only in the `package.json` and `npm-shrinkwrap.json` within the `pkgRoot` directory.
**Note**: The `pkgRoot` directory must contain a `package.json`. The version will be updated only in the `package.json` and `npm-shrinkwrap.json` within the `pkgRoot` directory.

**Note**: If you use a [shareable configuration](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/shareable-configurations.md#shareable-configurations) that defines one of these options you can set it to `false` in your [**semantic-release** configuration](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#configuration) in order to use the default value.

4 changes: 2 additions & 2 deletions lib/get-pkg.js
Original file line number Diff line number Diff line change
@@ -15,8 +15,8 @@ module.exports = async ({pkgRoot}, {cwd}) => {
} catch (error) {
if (error.code === 'ENOENT') {
throw new AggregateError([getError('ENOPKG')]);
} else {
throw new AggregateError([error]);
}

throw new AggregateError([error]);
}
};
Loading