Skip to content

Commit

Permalink
chore: update release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
jrandolf committed Sep 28, 2022
1 parent b5c7ff8 commit 3b82d31
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
@@ -1,3 +1,3 @@
{
".": "18.0.5"
"puppeteer": "18.0.5"
}
7 changes: 1 addition & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Expand Up @@ -15,7 +15,8 @@
"test:chrome:headless-chrome": "npm run test -- --test-suite chrome-new-headless",
"test:chrome:headful": "npm run test -- --test-suite chrome-headful",
"prepublishOnly": "npm run build",
"prepare": "husky install",
"install": "lerna run install && npm run install:husky",
"install:husky": "husky install",
"lint": "run-s lint:prettier lint:eslint",
"lint:prettier": "prettier --check .",
"lint:eslint": "([ \"$CI\" = true ] && eslint --ext js --ext ts --quiet -f codeframe . || eslint --ext js --ext ts .)",
Expand All @@ -32,8 +33,6 @@
"build": "lerna run build",
"build:test": "npm run build && tsc -b test"
},
"author": "The Chromium Authors",
"license": "Apache-2.0",
"devDependencies": {
"@commitlint/cli": "17.1.2",
"@commitlint/config-conventional": "17.1.0",
Expand Down
5 changes: 4 additions & 1 deletion packages/puppeteer/package.json
Expand Up @@ -22,7 +22,10 @@
}
},
"types": "lib/types.d.ts",
"repository": "github:puppeteer/puppeteer",
"repository": {
"type": "git",
"url": "https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer"
},
"engines": {
"node": ">=14.1.0"
},
Expand Down
5 changes: 1 addition & 4 deletions release-please-config.json
@@ -1,8 +1,5 @@
{
"packages": {
".": {
"releaseType": "node",
"include-component-in-tag": false
}
"puppeteer": {}
}
}
1 change: 1 addition & 0 deletions scripts/test-install.sh
Expand Up @@ -10,6 +10,7 @@ set -e
## Puppeter tests

echo "Setting up Puppeteer tests..."
cd packages/puppeteer
ROOTDIR="$(pwd)"
npm pack
tarball="$(realpath puppeteer-*.tgz)"
Expand Down
1 change: 0 additions & 1 deletion test/src/injected.spec.ts
Expand Up @@ -15,7 +15,6 @@
*/

import expect from 'expect';
import '../../lib/cjs/puppeteer/generated/injected.js';
import {PUPPETEER_WORLD} from 'puppeteer/lib/cjs/puppeteer/common/IsolatedWorld.js';
import {
getTestState,
Expand Down
4 changes: 3 additions & 1 deletion test/src/mocha-utils.ts
Expand Up @@ -232,7 +232,9 @@ export const mochaHooks = {
state.isChrome = isChrome;
state.isHeadless = isHeadless;
state.headless = headless;
state.puppeteerPath = path.resolve(path.join(__dirname, '../..'));
state.puppeteerPath = path.resolve(
path.join(__dirname, '..', '..', 'packages', 'puppeteer')
);
},
],

Expand Down

0 comments on commit 3b82d31

Please sign in to comment.