From 6e87444471553942cc93b3c85f58633c7a1baa15 Mon Sep 17 00:00:00 2001 From: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com> Date: Fri, 5 Jan 2024 06:39:16 +0100 Subject: [PATCH] chore: remove `file:` deps (#11630) --- package-lock.json | 9 +-------- package.json | 13 ++++++++++--- test/package.json | 5 +---- tools/mocha-runner/package.json | 1 - 4 files changed, 12 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 615df570da5..faf37ef1e92 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,8 +18,6 @@ "devDependencies": { "@actions/core": "1.10.1", "@microsoft/api-extractor": "7.39.1", - "@pptr/testserver": "file:packages/testserver", - "@puppeteer/docgen": "file:tools/docgen", "@types/mocha": "10.0.6", "@types/node": "20.8.4", "@types/semver": "7.5.6", @@ -45,7 +43,6 @@ "mocha": "10.2.0", "npm-run-all": "4.1.5", "prettier": "3.1.1", - "puppeteer": "file:packages/puppeteer", "semver": "7.5.4", "sinon": "17.0.1", "source-map-support": "0.5.21", @@ -11162,13 +11159,10 @@ "name": "@puppeteer-test/test", "version": "latest", "dependencies": { - "@pptr/testserver": "file:../packages/testserver", "diff": "5.1.0", "jpeg-js": "0.4.4", "pixelmatch": "5.3.0", - "pngjs": "7.0.0", - "puppeteer": "file:../packages/puppeteer", - "puppeteer-core": "file:../packages/puppeteer-core" + "pngjs": "7.0.0" }, "devDependencies": { "@types/diff": "5.0.9", @@ -11248,7 +11242,6 @@ "dependencies": { "c8": "9.0.0", "glob": "10.3.10", - "puppeteer-core": "file:../../packages/puppeteer-core", "zod": "3.22.4" }, "bin": { diff --git a/package.json b/package.json index ce55d6f1a78..5145c777658 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ }, "scripts": { "build": "wireit", + "build:tools": "wireit", "check": "npm run check --workspaces --if-present && run-p check:*", "check:pinned-deps": "tsx tools/ensure-pinned-deps", "clean": "npm run clean --workspaces --if-present", @@ -51,6 +52,15 @@ "./test/installation:build" ] }, + "build:tools": { + "dependencies": [ + "./tools/docgen:build", + "./tools/doctest:build", + "./tools/mocha-runner:build", + "./tools/eslint:build", + "./packages/testserver:build" + ] + }, "docs": { "command": "hereby docs", "dependencies": [ @@ -123,8 +133,6 @@ "devDependencies": { "@actions/core": "1.10.1", "@microsoft/api-extractor": "7.39.1", - "@pptr/testserver": "file:packages/testserver", - "@puppeteer/docgen": "file:tools/docgen", "@types/mocha": "10.0.6", "@types/node": "20.8.4", "@types/semver": "7.5.6", @@ -150,7 +158,6 @@ "mocha": "10.2.0", "npm-run-all": "4.1.5", "prettier": "3.1.1", - "puppeteer": "file:packages/puppeteer", "semver": "7.5.4", "sinon": "17.0.1", "source-map-support": "0.5.21", diff --git a/test/package.json b/test/package.json index 81534e07fc5..6470297572e 100644 --- a/test/package.json +++ b/test/package.json @@ -24,13 +24,10 @@ } }, "dependencies": { - "@pptr/testserver": "file:../packages/testserver", "diff": "5.1.0", "jpeg-js": "0.4.4", "pixelmatch": "5.3.0", - "pngjs": "7.0.0", - "puppeteer-core": "file:../packages/puppeteer-core", - "puppeteer": "file:../packages/puppeteer" + "pngjs": "7.0.0" }, "devDependencies": { "@types/diff": "5.0.9", diff --git a/tools/mocha-runner/package.json b/tools/mocha-runner/package.json index 36d9549c041..c68394d01e2 100644 --- a/tools/mocha-runner/package.json +++ b/tools/mocha-runner/package.json @@ -36,7 +36,6 @@ "dependencies": { "c8": "9.0.0", "glob": "10.3.10", - "puppeteer-core": "file:../../packages/puppeteer-core", "zod": "3.22.4" } }