diff --git a/lib/instrumentation/superagent/.github/workflows/ci-workflow.yml b/lib/instrumentation/superagent/.github/workflows/ci-workflow.yml index cf04c83260..b8a072075c 100644 --- a/lib/instrumentation/superagent/.github/workflows/ci-workflow.yml +++ b/lib/instrumentation/superagent/.github/workflows/ci-workflow.yml @@ -26,7 +26,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x, 16.x] + node-version: [12.x, 14.x, 16.x] steps: - uses: actions/checkout@v2 @@ -44,7 +44,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x, 16.x] + node-version: [12.x, 14.x, 16.x] steps: - uses: actions/checkout@v2 @@ -54,7 +54,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install Dependencies run: npm install - - name: Run Versioned Tests (npm v6 / Node 10-14) + - name: Run Versioned Tests (npm v6 / Node 12-14) if: ${{ matrix.node-version != '16.x' }} run: npm run versioned:npm6 - name: Run Versioned Tests (npm v7 / Node 16) diff --git a/lib/instrumentation/superagent/.npmignore b/lib/instrumentation/superagent/.npmignore deleted file mode 100644 index 128c09db5b..0000000000 --- a/lib/instrumentation/superagent/.npmignore +++ /dev/null @@ -1,7 +0,0 @@ -package-lock.json -newrelic_agent.log -**/node_modules/** -.eslint* -.nyc_output -.vscode -.github diff --git a/lib/instrumentation/superagent/package.json b/lib/instrumentation/superagent/package.json index 6e2631a6f3..ccf3bdff3e 100644 --- a/lib/instrumentation/superagent/package.json +++ b/lib/instrumentation/superagent/package.json @@ -22,7 +22,7 @@ "tap": "^15.0.9" }, "engines": { - "node": ">=10.0" + "node": ">=12.0" }, "peerDependencies": { "newrelic": ">=6.11.0" @@ -33,5 +33,11 @@ "repository": { "type": "git", "url": "git+https://github.com/newrelic/node-newrelic-superagent.git" - } + }, + "files": [ + "*.md", + "index.js", + "nr-hooks.js", + "lib/**" + ] } diff --git a/lib/instrumentation/superagent/tests/versioned/package.json b/lib/instrumentation/superagent/tests/versioned/package.json index 1c2cb8d220..1c7298ef01 100644 --- a/lib/instrumentation/superagent/tests/versioned/package.json +++ b/lib/instrumentation/superagent/tests/versioned/package.json @@ -4,7 +4,7 @@ "private": true, "tests": [{ "engines": { - "node": ">=10" + "node": ">=12" }, "dependencies": { "superagent": ">=2"