Skip to content

Commit d726504

Browse files
committed
Bring in all libnpm modules + arborist as workspaces (#4166)
Added libnpm workspaces and arborist
1 parent d8aac84 commit d726504

File tree

5,041 files changed

+5234796
-3118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,041 files changed

+5234796
-3118
lines changed

.github/workflows/ci-libnpmaccess.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: Node Workspace CI libnpmaccess
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- workspaces/libnpmaccess/**
7+
branches:
8+
- '*'
9+
push:
10+
paths:
11+
- workspaces/libnpmaccess/**
12+
branches:
13+
- release-next
14+
- latest
15+
workflow_dispatch:
16+
17+
jobs:
18+
lint:
19+
runs-on: ubuntu-latest
20+
steps:
21+
# Checkout the npm/cli repo
22+
- uses: actions/checkout@v2
23+
- name: Use Node.js 16.x
24+
uses: actions/setup-node@v2
25+
with:
26+
node-version: 16.x
27+
cache: npm
28+
- name: Install dependencies
29+
run: |
30+
node ./bin/npm-cli.js install --ignore-scripts --no-audit
31+
node ./bin/npm-cli.js rebuild
32+
- name: Run linting
33+
run: node ./bin/npm-cli.js run posttest -w libnpmdiff
34+
env:
35+
DEPLOY_VERSION: testing
36+
37+
test:
38+
strategy:
39+
fail-fast: false
40+
matrix:
41+
node-version: ['12.13.0', 12.x, '14.15.0', 14.x, '16.0.0', 16.x]
42+
platform:
43+
- os: ubuntu-latest
44+
shell: bash
45+
- os: macos-latest
46+
shell: bash
47+
- os: windows-latest
48+
shell: bash
49+
- os: windows-latest
50+
shell: powershell
51+
52+
runs-on: ${{ matrix.platform.os }}
53+
defaults:
54+
run:
55+
shell: ${{ matrix.platform.shell }}
56+
57+
steps:
58+
# Checkout the npm/cli repo
59+
- uses: actions/checkout@v2
60+
61+
# Installs the specific version of Node.js
62+
- name: Use Node.js ${{ matrix.node-version }}
63+
uses: actions/setup-node@v2
64+
with:
65+
node-version: ${{ matrix.node-version }}
66+
cache: npm
67+
68+
# Run the installer script
69+
- name: Install dependencies
70+
run: |
71+
node ./bin/npm-cli.js install --ignore-scripts --no-audit
72+
node ./bin/npm-cli.js rebuild
73+
74+
# Run the tests, but not if we're just gonna do coveralls later anyway
75+
- name: Run Tap tests
76+
run: node ./bin/npm-cli.js run -w libnpmdiff --ignore-scripts test -- -t600 -Rbase -c

.github/workflows/ci-libnpmdiff.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Node CI libnpmdiff
1+
name: Node Workspace CI libnpmdiff
22

33
on:
44
pull_request:
@@ -20,10 +20,10 @@ jobs:
2020
steps:
2121
# Checkout the npm/cli repo
2222
- uses: actions/checkout@v2
23-
- name: Use Node.js 14.x
23+
- name: Use Node.js 16.x
2424
uses: actions/setup-node@v2
2525
with:
26-
node-version: 14.x
26+
node-version: 16.x
2727
cache: npm
2828
- name: Install dependencies
2929
run: |

.github/workflows/ci-libnpmexec.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: Node Workspace CI libnpmexec
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- workspaces/libnpmexec/**
7+
branches:
8+
- '*'
9+
push:
10+
paths:
11+
- workspaces/libnpmexec/**
12+
branches:
13+
- release-next
14+
- latest
15+
workflow_dispatch:
16+
17+
jobs:
18+
lint:
19+
runs-on: ubuntu-latest
20+
steps:
21+
# Checkout the npm/cli repo
22+
- uses: actions/checkout@v2
23+
- name: Use Node.js 16.x
24+
uses: actions/setup-node@v2
25+
with:
26+
node-version: 16.x
27+
cache: npm
28+
- name: Install dependencies
29+
run: |
30+
node ./bin/npm-cli.js install --ignore-scripts --no-audit
31+
node ./bin/npm-cli.js rebuild
32+
- name: Run linting
33+
run: node ./bin/npm-cli.js run posttest -w libnpmdiff
34+
env:
35+
DEPLOY_VERSION: testing
36+
37+
test:
38+
strategy:
39+
fail-fast: false
40+
matrix:
41+
node-version: ['12.13.0', 12.x, '14.15.0', 14.x, '16.0.0', 16.x]
42+
platform:
43+
- os: ubuntu-latest
44+
shell: bash
45+
- os: macos-latest
46+
shell: bash
47+
- os: windows-latest
48+
shell: bash
49+
- os: windows-latest
50+
shell: powershell
51+
52+
runs-on: ${{ matrix.platform.os }}
53+
defaults:
54+
run:
55+
shell: ${{ matrix.platform.shell }}
56+
57+
steps:
58+
# Checkout the npm/cli repo
59+
- uses: actions/checkout@v2
60+
61+
# Installs the specific version of Node.js
62+
- name: Use Node.js ${{ matrix.node-version }}
63+
uses: actions/setup-node@v2
64+
with:
65+
node-version: ${{ matrix.node-version }}
66+
cache: npm
67+
68+
# Run the installer script
69+
- name: Install dependencies
70+
run: |
71+
node ./bin/npm-cli.js install --ignore-scripts --no-audit
72+
node ./bin/npm-cli.js rebuild
73+
74+
# Run the tests, but not if we're just gonna do coveralls later anyway
75+
- name: Run Tap tests
76+
run: node ./bin/npm-cli.js run -w libnpmdiff --ignore-scripts test -- -t600 -Rbase -c

.github/workflows/ci-libnpmfund.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: Node Workspace CI libnpmfund
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- workspaces/libnpmfund/**
7+
branches:
8+
- '*'
9+
push:
10+
paths:
11+
- workspaces/libnpmfund/**
12+
branches:
13+
- release-next
14+
- latest
15+
workflow_dispatch:
16+
17+
jobs:
18+
lint:
19+
runs-on: ubuntu-latest
20+
steps:
21+
# Checkout the npm/cli repo
22+
- uses: actions/checkout@v2
23+
- name: Use Node.js 16.x
24+
uses: actions/setup-node@v2
25+
with:
26+
node-version: 16.x
27+
cache: npm
28+
- name: Install dependencies
29+
run: |
30+
node ./bin/npm-cli.js install --ignore-scripts --no-audit
31+
node ./bin/npm-cli.js rebuild
32+
- name: Run linting
33+
run: node ./bin/npm-cli.js run posttest -w libnpmdiff
34+
env:
35+
DEPLOY_VERSION: testing
36+
37+
test:
38+
strategy:
39+
fail-fast: false
40+
matrix:
41+
node-version: ['12.13.0', 12.x, '14.15.0', 14.x, '16.0.0', 16.x]
42+
platform:
43+
- os: ubuntu-latest
44+
shell: bash
45+
- os: macos-latest
46+
shell: bash
47+
- os: windows-latest
48+
shell: bash
49+
- os: windows-latest
50+
shell: powershell
51+
52+
runs-on: ${{ matrix.platform.os }}
53+
defaults:
54+
run:
55+
shell: ${{ matrix.platform.shell }}
56+
57+
steps:
58+
# Checkout the npm/cli repo
59+
- uses: actions/checkout@v2
60+
61+
# Installs the specific version of Node.js
62+
- name: Use Node.js ${{ matrix.node-version }}
63+
uses: actions/setup-node@v2
64+
with:
65+
node-version: ${{ matrix.node-version }}
66+
cache: npm
67+
68+
# Run the installer script
69+
- name: Install dependencies
70+
run: |
71+
node ./bin/npm-cli.js install --ignore-scripts --no-audit
72+
node ./bin/npm-cli.js rebuild
73+
74+
# Run the tests, but not if we're just gonna do coveralls later anyway
75+
- name: Run Tap tests
76+
run: node ./bin/npm-cli.js run -w libnpmdiff --ignore-scripts test -- -t600 -Rbase -c

.github/workflows/ci-libnpmhook.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: Node Workspace CI libnpmhook
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- workspaces/libnpmhook/**
7+
branches:
8+
- '*'
9+
push:
10+
paths:
11+
- workspaces/libnpmhook/**
12+
branches:
13+
- release-next
14+
- latest
15+
workflow_dispatch:
16+
17+
jobs:
18+
lint:
19+
runs-on: ubuntu-latest
20+
steps:
21+
# Checkout the npm/cli repo
22+
- uses: actions/checkout@v2
23+
- name: Use Node.js 16.x
24+
uses: actions/setup-node@v2
25+
with:
26+
node-version: 16.x
27+
cache: npm
28+
- name: Install dependencies
29+
run: |
30+
node ./bin/npm-cli.js install --ignore-scripts --no-audit
31+
node ./bin/npm-cli.js rebuild
32+
- name: Run linting
33+
run: node ./bin/npm-cli.js run posttest -w libnpmdiff
34+
env:
35+
DEPLOY_VERSION: testing
36+
37+
test:
38+
strategy:
39+
fail-fast: false
40+
matrix:
41+
node-version: ['12.13.0', 12.x, '14.15.0', 14.x, '16.0.0', 16.x]
42+
platform:
43+
- os: ubuntu-latest
44+
shell: bash
45+
- os: macos-latest
46+
shell: bash
47+
- os: windows-latest
48+
shell: bash
49+
- os: windows-latest
50+
shell: powershell
51+
52+
runs-on: ${{ matrix.platform.os }}
53+
defaults:
54+
run:
55+
shell: ${{ matrix.platform.shell }}
56+
57+
steps:
58+
# Checkout the npm/cli repo
59+
- uses: actions/checkout@v2
60+
61+
# Installs the specific version of Node.js
62+
- name: Use Node.js ${{ matrix.node-version }}
63+
uses: actions/setup-node@v2
64+
with:
65+
node-version: ${{ matrix.node-version }}
66+
cache: npm
67+
68+
# Run the installer script
69+
- name: Install dependencies
70+
run: |
71+
node ./bin/npm-cli.js install --ignore-scripts --no-audit
72+
node ./bin/npm-cli.js rebuild
73+
74+
# Run the tests, but not if we're just gonna do coveralls later anyway
75+
- name: Run Tap tests
76+
run: node ./bin/npm-cli.js run -w libnpmdiff --ignore-scripts test -- -t600 -Rbase -c

0 commit comments

Comments
 (0)