From 89723c241ab3c408e7b404b93c22a70cbb9eea75 Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Wed, 6 Nov 2024 19:20:35 -0700 Subject: [PATCH] Use perennial-alias puppeteer, see https://github.com/phetsims/perennial/issues/372 --- js/phet-io/generatePhetioMacroAPI.ts | 2 +- js/scripts/hook-pre-commit-task.ts | 2 +- package.json | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/js/phet-io/generatePhetioMacroAPI.ts b/js/phet-io/generatePhetioMacroAPI.ts index 9de308af..b2696610 100644 --- a/js/phet-io/generatePhetioMacroAPI.ts +++ b/js/phet-io/generatePhetioMacroAPI.ts @@ -9,7 +9,7 @@ */ import assert from 'assert'; -import puppeteer from 'puppeteer'; +import puppeteer from '../../../perennial-alias/js/npm-dependencies/puppeteer.js'; import withServer from '../../../perennial-alias/js/common/withServer.js'; import _ from '../../../perennial-alias/js/npm-dependencies/lodash.js'; import showCommandLineProgress from '../common/showCommandLineProgress.js'; diff --git a/js/scripts/hook-pre-commit-task.ts b/js/scripts/hook-pre-commit-task.ts index 4fba6e39..fd68560b 100644 --- a/js/scripts/hook-pre-commit-task.ts +++ b/js/scripts/hook-pre-commit-task.ts @@ -8,7 +8,7 @@ */ import fs from 'fs'; -import puppeteer from 'puppeteer'; +import puppeteer from '../../../perennial-alias/js/npm-dependencies/puppeteer.js'; import CacheLayer from '../../../chipper/js/common/CacheLayer'; import Transpiler from '../../../chipper/js/common/Transpiler'; import reportMedia from '../../../chipper/js/grunt/reportMedia.js'; diff --git a/package.json b/package.json index 8719f95c..1ab9131f 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,6 @@ "node-html-encoder": "~0.0.2", "pako": "~2.0.4", "pngjs": "~6.0.0", - "puppeteer": "~19.2.2", "qunit": "~2.20.0", "svgo": "~3.2.0", "taffydb": "~2.7.3",