Skip to content

Commit b267695

Browse files
authoredMay 23, 2024··
chore: Removed package-lock.json (#2208)
1 parent fcb285a commit b267695

13 files changed

+20
-17307
lines changed
 

‎.github/workflows/ci-workflow.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
with:
5959
node-version: ${{ matrix.node-version }}
6060
- name: Install Dependencies
61-
run: npm ci
61+
run: npm install
6262
- name: Run Linting
6363
run: npm run lint
6464
- name: Inspect Lockfile
@@ -84,7 +84,7 @@ jobs:
8484
with:
8585
node-version: ${{ matrix.node-version }}
8686
- name: Install Dependencies
87-
run: npm ci
87+
run: npm install
8888
- name: Run CI Script Unit Tests
8989
run: npm run unit:scripts
9090

@@ -108,7 +108,7 @@ jobs:
108108
with:
109109
node-version: ${{ matrix.node-version }}
110110
- name: Install Dependencies
111-
run: npm ci
111+
run: npm install
112112
- name: Run Unit Tests
113113
run: npm run unit
114114
- name: Archive Unit Test Coverage
@@ -140,7 +140,7 @@ jobs:
140140
with:
141141
node-version: ${{ matrix.node-version }}
142142
- name: Install Dependencies
143-
run: npm ci
143+
run: npm install
144144
- name: Run Docker Services
145145
run: npm run services
146146
- name: Run Integration Tests
@@ -178,7 +178,7 @@ jobs:
178178
with:
179179
node-version: ${{ matrix.node-version }}
180180
- name: Install Dependencies
181-
run: npm ci
181+
run: npm install
182182
- name: Run Docker Services
183183
run: npm run services
184184
- name: Run Versioned Tests
@@ -229,7 +229,7 @@ jobs:
229229
with:
230230
node-version: ${{ matrix.node-version }}
231231
- name: Install Dependencies
232-
run: npm ci
232+
run: npm install
233233
- name: Run Versioned Tests
234234
run: TEST_CHILD_TIMEOUT=600000 npm run versioned:external
235235
env:

‎.github/workflows/notify-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
node-version: lts/*
1717
- name: Install Dependencies
18-
run: npm ci
18+
run: npm install
1919
- name: Check for PRs not yet released
2020
run: node ./bin/pending-prs.js --repos $NR_REPOS --ignore-labels $IGNORE_LABELS
2121
env:

‎.github/workflows/post-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
node-version: ${{ matrix.node-version }}
3030
- name: Install Dependencies
31-
run: npm ci
31+
run: npm install
3232
- name: Setup GitHub Credentials
3333
run: |
3434
git config user.name $GITHUB_ACTOR

‎.github/workflows/prep-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
default: NEWS.md
1616
changelog_json:
1717
description: Whether or not it should generate a changelog.json (should only be for node-newrelic)
18-
type: boolean
18+
type: boolean
1919
required: false
2020

2121
jobs:
@@ -41,7 +41,7 @@ jobs:
4141
node-version: ${{ matrix.node-version }}
4242
# Only need to install deps in agent-repo because of the bin scripts
4343
- name: Install Dependencies
44-
run: npm ci --prefix agent-repo
44+
run: npm install --prefix agent-repo
4545
- name: Setup GitHub Credentials
4646
run: |
4747
git config user.name $GITHUB_ACTOR

‎.github/workflows/publish-branch.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
node-version: ${{ matrix.node-version }}
2020
registry-url: 'https://registry.npmjs.org'
2121
- name: Install Dependencies
22-
run: npm ci
22+
run: npm install
2323
- run: npm publish
2424
env:
2525
NODE_AUTH_TOKEN: ${{ secrets.NODE_AGENT_NPM_TOKEN }}

‎.github/workflows/release-creation.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ jobs:
4545
- name: Install Dependencies
4646
run: |
4747
# Install deps in caller repo
48-
npm ci
48+
npm install
4949
# Install deps in agent repo
50-
npm ci --prefix agent-repo
50+
npm install --prefix agent-repo
5151
- name: Setup GitHub Credentials
5252
run: |
5353
git config user.name $GITHUB_ACTOR

‎.github/workflows/smoke-test-workflow.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
node-version: ${{ matrix.node-version }}
2727
- name: Install Dependencies
28-
run: npm ci
28+
run: npm install
2929
- name: Run Smoke Tests
3030
run: npm run smoke
3131
env:

‎.github/workflows/update-snyk-prs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
permissions:
1212
pull-requests: write
1313
runs-on: ubuntu-latest
14-
if: ${{ github.event.sender.login == 'snyk-bot' }}
14+
if: ${{ github.event.sender.login == 'snyk-bot' }}
1515
steps:
1616
- uses: actions/checkout@v3
1717
- name: Use Node.js LTS
1818
uses: actions/setup-node@v3
1919
with:
2020
node-version: lts/*
2121
- name: Install Dependencies
22-
run: npm ci
22+
run: npm install
2323
- name: Update Snyk PR Title
2424
run: node ./bin/update-snyk-pr.js'
2525
env:

‎.github/workflows/versioned-coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
node-version: ${{ matrix.node-version }}
2929
- name: Install Dependencies
30-
run: npm ci
30+
run: npm install
3131
- name: Run Docker Services
3232
run: npm run services
3333
- name: Run Legacy Context Versioned Tests

‎.github/workflows/versioned-security-agent.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
with:
8383
node-version: ${{ matrix.node-version }}
8484
- name: Install Dependencies
85-
run: npm ci
85+
run: npm install
8686
- name: Install Version ${{ inputs.version }} of security agent
8787
if: ${{ inputs.version }}
8888
run: npm install @newrelic/security-agent@${{ inputs.version }}

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
package-lock.json
12
node_modules
23
newrelic_agent.log
34
.coverage_data

‎.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

‎package-lock.json

-17,289
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.