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: npm/map-workspaces
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 626f59b597b001aa8e6649a8047897052172c408
Choose a base ref
...
head repository: npm/map-workspaces
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 82ccb0b96d5d37b085a45b9446988fc41f1122aa
Choose a head ref
  • 18 commits
  • 20 files changed
  • 4 contributors

Commits on Jan 13, 2022

  1. chore: template-oss@2.4.0

    wraithgar committed Jan 13, 2022
    Copy the full SHA
    5dfc980 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c618876 View commit details
  3. chore: remove docs file

    This was the old contributing.md, which is out of date
    wraithgar committed Jan 13, 2022
    Copy the full SHA
    b2fc188 View commit details

Commits on Feb 14, 2022

  1. Copy the full SHA
    2b2c64b View commit details
  2. deps: bump minimatch from 3.1.1 to 4.1.1

    Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.1.1 to 4.1.1.
    - [Release notes](https://github.com/isaacs/minimatch/releases)
    - [Commits](isaacs/minimatch@v3.1.1...v4.1.1)
    
    ---
    updated-dependencies:
    - dependency-name: minimatch
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and wraithgar committed Feb 14, 2022
    Copy the full SHA
    305629e View commit details
  3. chore: update tap requirement from ^15.0.10 to ^15.1.6

    Updates the requirements on [tap](https://github.com/tapjs/node-tap) to permit the latest version.
    - [Release notes](https://github.com/tapjs/node-tap/releases)
    - [Commits](tapjs/tapjs@v15.0.10...v15.1.6)
    
    ---
    updated-dependencies:
    - dependency-name: tap
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and wraithgar committed Feb 14, 2022
    Copy the full SHA
    ea50437 View commit details
  4. deps: update glob requirement from ^7.1.6 to ^7.2.0

    Updates the requirements on [glob](https://github.com/isaacs/node-glob) to permit the latest version.
    - [Release notes](https://github.com/isaacs/node-glob/releases)
    - [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
    - [Commits](isaacs/node-glob@v7.1.6...v7.2.0)
    
    ---
    updated-dependencies:
    - dependency-name: glob
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and wraithgar committed Feb 14, 2022
    Copy the full SHA
    588b229 View commit details
  5. deps: update read-package-json-fast requirement from ^2.0.1 to ^2.0.3

    Updates the requirements on [read-package-json-fast](https://github.com/npm/read-package-json-fast) to permit the latest version.
    - [Release notes](https://github.com/npm/read-package-json-fast/releases)
    - [Commits](npm/read-package-json-fast@v2.0.1...v2.0.3)
    
    ---
    updated-dependencies:
    - dependency-name: read-package-json-fast
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and wraithgar committed Feb 14, 2022
    Copy the full SHA
    0eeb67d View commit details
  6. chore: update eslint requirement from ^8.0.0 to ^8.9.0

    Updates the requirements on [eslint](https://github.com/eslint/eslint) to permit the latest version.
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
    - [Commits](eslint/eslint@v8.0.0...v8.9.0)
    
    ---
    updated-dependencies:
    - dependency-name: eslint
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and wraithgar committed Feb 14, 2022
    Copy the full SHA
    e441074 View commit details

Commits on Feb 17, 2022

  1. fix: normalize backslashes

    The next semver-major of minimatch does not allow backslashes.  We'll
    normalize it here so that change doesn't break anyone currently relying
    on that behavior.
    wraithgar committed Feb 17, 2022
    Copy the full SHA
    777e4d3 View commit details
  2. deps: bump minimatch from 4.2.1 to 5.0.0

    Bumps [minimatch](https://github.com/isaacs/minimatch) from 4.2.1 to 5.0.0.
    - [Release notes](https://github.com/isaacs/minimatch/releases)
    - [Commits](isaacs/minimatch@v4.2.1...v5.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: minimatch
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and wraithgar committed Feb 17, 2022
    Copy the full SHA
    2098531 View commit details
  3. chore: release 2.0.1

    github-actions[bot] authored and wraithgar committed Feb 17, 2022
    Copy the full SHA
    cc1a170 View commit details

Commits on Feb 24, 2022

  1. chore: update @npmcli/template-oss requirement from ^2.7.1 to ^2.8.1 (#…

    …27)
    
    * chore: update @npmcli/template-oss requirement from ^2.7.1 to ^2.8.1
    
    Updates the requirements on [@npmcli/template-oss](https://github.com/npm/template-oss) to permit the latest version.
    - [Release notes](https://github.com/npm/template-oss/releases)
    - [Changelog](https://github.com/npm/template-oss/blob/main/CHANGELOG.md)
    - [Commits](npm/template-oss@v2.7.1...v2.8.1)
    
    ---
    updated-dependencies:
    - dependency-name: "@npmcli/template-oss"
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * chore: postinstall for dependabot template-oss PR
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Gar <gar+gh@danger.computer>
    dependabot[bot] and wraithgar authored Feb 24, 2022
    Copy the full SHA
    1a56af5 View commit details

Commits on Feb 28, 2022

  1. chore: update eslint requirement from ^8.9.0 to ^8.10.0 (#29)

    Updates the requirements on [eslint](https://github.com/eslint/eslint) to permit the latest version.
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
    - [Commits](eslint/eslint@v8.9.0...v8.10.0)
    
    ---
    updated-dependencies:
    - dependency-name: eslint
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 28, 2022
    Copy the full SHA
    4cc52bc View commit details

Commits on Mar 2, 2022

  1. deps: update minimatch requirement from ^5.0.0 to ^5.0.1 (#28)

    Updates the requirements on [minimatch](https://github.com/isaacs/minimatch) to permit the latest version.
    - [Release notes](https://github.com/isaacs/minimatch/releases)
    - [Commits](isaacs/minimatch@v5.0.0...v5.0.1)
    
    ---
    updated-dependencies:
    - dependency-name: minimatch
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Mar 2, 2022
    Copy the full SHA
    5c4fd0d View commit details

Commits on Mar 3, 2022

  1. chore: update @npmcli/template-oss requirement from ^2.8.1 to ^2.9.2 (#…

    …31)
    
    * chore: update @npmcli/template-oss requirement from ^2.8.1 to ^2.9.2
    
    Updates the requirements on [@npmcli/template-oss](https://github.com/npm/template-oss) to permit the latest version.
    - [Release notes](https://github.com/npm/template-oss/releases)
    - [Changelog](https://github.com/npm/template-oss/blob/main/CHANGELOG.md)
    - [Commits](npm/template-oss@v2.8.1...v2.9.2)
    
    ---
    updated-dependencies:
    - dependency-name: "@npmcli/template-oss"
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * chore: postinstall for dependabot template-oss PR
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Gar <gar+gh@danger.computer>
    dependabot[bot] and wraithgar authored Mar 3, 2022
    Copy the full SHA
    e4e0262 View commit details

Commits on Mar 10, 2022

  1. Copy the full SHA
    ca0bf18 View commit details
  2. chore: release 2.0.2 (#30)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Mar 10, 2022
    Copy the full SHA
    82ccb0b View commit details
11 changes: 11 additions & 0 deletions .commitlintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// This file is automatically added by @npmcli/template-oss. Do not edit.

module.exports = {
extends: ['@commitlint/config-conventional'],
// If you change rules be sure to also update release-please.yml
rules: {
'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'chore', 'deps']],
'header-max-length': [2, 'always', 80],
'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']],
},
}
3 changes: 0 additions & 3 deletions .editorconfig

This file was deleted.

1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @npm/cli-team
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file is automatically added by @npmcli/template-oss. Do not edit.

version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
allow:
- dependency-type: direct
versioning-strategy: increase
commit-message:
prefix: deps
prefix-development: chore
labels:
- "Dependencies"
23 changes: 23 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This file is automatically added by @npmcli/template-oss. Do not edit.

name: Audit

on:
schedule:
# "At 01:00 on Monday" https://crontab.guru/#0_1_*_*_1
- cron: "0 1 * * 1"
workflow_dispatch:

jobs:
audit:
name: npm audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install deps
run: npm i --package-lock
- name: Audit
run: npm audit
30 changes: 19 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -8,6 +8,9 @@ on:
branches:
- main
- latest
schedule:
# "At 02:00 on Monday" https://crontab.guru/#0_2_*_*_1
- cron: "0 2 * * 1"

jobs:
lint:
@@ -17,27 +20,22 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: npm
- run: npm i --prefer-online -g npm@latest
- run: npm ci
- run: npm i
- run: npm run lint

test:
strategy:
fail-fast: false
matrix:
node-version: [12.13.0, 12.x, 14.15.0, 14.x, 16.x]
node-version: [12.13.0, 12.x, 14.15.0, 14.x, 16.13.0, 16.x]
platform:
- os: ubuntu-latest
shell: bash
- os: macos-latest
shell: bash
- os: windows-latest
shell: bash
- os: windows-latest
shell: cmd
- os: windows-latest
shell: powershell
runs-on: ${{ matrix.platform.os }}
defaults:
run:
@@ -47,8 +45,18 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm i --prefer-online -g npm@latest
- run: npm ci
# 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'))
run: |
curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz
tar xf npm-7.5.4.tgz
cd package
node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz
cd ..
rmdir /s /q package
- name: Update npm
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- run: npm -v
- run: npm i
- run: npm test --ignore-scripts
- run: npm ls -a
38 changes: 38 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This file is automatically added by @npmcli/template-oss. Do not edit.

name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
# "At 03:00 on Monday" https://crontab.guru/#0_3_*_*_1
- cron: "0 3 * * 1"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
35 changes: 35 additions & 0 deletions .github/workflows/post-dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This file is automatically added by @npmcli/template-oss. Do not edit.

name: "Post Dependabot Actions"
on: pull_request

# https://docs.github.com/en/rest/overview/permissions-required-for-github-apps
permissions:
contents: write

jobs:
Install:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.1.1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: npm install and commit
if: ${{contains(steps.metadata.outputs.dependency-names, '@npmcli/template-oss')}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --local user.email "ops+npm-cli@npmjs.com"
git config --local user.name "npm cli ops bot"
gh pr checkout ${{ github.event.pull_request.number }}
npm install
git add .
git commit -am "chore: postinstall for dependabot template-oss PR"
git push
27 changes: 27 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This file is automatically added by @npmcli/template-oss. Do not edit.

name: Pull Request Linting

on:
pull_request:
types: [opened, reopened, edited, synchronize]

jobs:
check:
name: Check PR Title or Commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install deps
run: |
npm i -D @commitlint/cli @commitlint/config-conventional
- name: Check commits OR PR title
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
npx commitlint -x @commitlint/config-conventional -V --from origin/main --to ${{ github.event.pull_request.head.sha }} || echo $PR_TITLE | npx commitlint -x @commitlint/config-conventional -V
24 changes: 24 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This file is automatically added by @npmcli/template-oss. Do not edit.

name: Release Please

on:
push:
branches:
- main

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v2
id: release
with:
release-type: node
# If you change changelog-types be sure to also update commitlintrc.js
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}]
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -4,15 +4,20 @@
/*

# keep these
!/.commitlintrc.js
!/.npmrc
!/.eslintrc*
!/.github
!**/.gitignore
!/package.json
!/package-lock.json
!/docs
!/bin
!/lib
!/map.js
!/tap-snapshots
!/test
!/scripts
!/README*
!/LICENSE*
!/SECURITY*
!/CHANGELOG*
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
;This file is automatically added by @npmcli/template-oss. Do not edit.

package-lock=false
28 changes: 27 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
# Changelog

### [2.0.2](https://www.github.com/npm/map-workspaces/compare/v2.0.1...v2.0.2) (2022-03-10)


### Bug Fixes

* evaluate all patterns before throwing EDUPLICATEWORKSPACE ([#32](https://www.github.com/npm/map-workspaces/issues/32)) ([ca0bf18](https://www.github.com/npm/map-workspaces/commit/ca0bf18d4852017c3befc3c908baf29e6e72a55f))


### Dependencies

* update minimatch requirement from ^5.0.0 to ^5.0.1 ([#28](https://www.github.com/npm/map-workspaces/issues/28)) ([5c4fd0d](https://www.github.com/npm/map-workspaces/commit/5c4fd0d28d19539fdb9df85bcafcc7122b3702b0))

### [2.0.1](https://www.github.com/npm/map-workspaces/compare/v2.0.0...v2.0.1) (2022-02-17)


### Bug Fixes

* normalize backslashes ([777e4d3](https://www.github.com/npm/map-workspaces/commit/777e4d3a8670b94dba91e4305ce2b846fc02b7d8))


### Dependencies

* bump minimatch from 3.1.1 to 4.1.1 ([305629e](https://www.github.com/npm/map-workspaces/commit/305629e32609451af7ce8b6464dde224ab5dcc7a))
* bump minimatch from 4.2.1 to 5.0.0 ([2098531](https://www.github.com/npm/map-workspaces/commit/2098531776a31172a3664097b769e83cb8dbe682))
* update glob requirement from ^7.1.6 to ^7.2.0 ([588b229](https://www.github.com/npm/map-workspaces/commit/588b22938dd514b806dea4f6cb76298c4d468b3a))
* update read-package-json-fast requirement from ^2.0.1 to ^2.0.3 ([0eeb67d](https://www.github.com/npm/map-workspaces/commit/0eeb67d2dff646553321957438d9b9d86202e8b7))

## 0.0.0-pre.0

- Initial pre-release.

68 changes: 0 additions & 68 deletions CONTRIBUTING.md

This file was deleted.

3 changes: 3 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<!-- This file is automatically added by @npmcli/template-oss. Do not edit. -->

Please send vulnerability reports through [hackerone](https://hackerone.com/github).
Loading