From 556e2ec7163fe84df94666bec5d7e2553ca6cb7e Mon Sep 17 00:00:00 2001 From: Daniel Bankhead Date: Fri, 9 Aug 2024 13:59:38 -0700 Subject: [PATCH 1/2] test: Remove webpack max size requirement --- system-test/test.kitchen.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system-test/test.kitchen.ts b/system-test/test.kitchen.ts index 8e1e89f6..e818ef26 100644 --- a/system-test/test.kitchen.ts +++ b/system-test/test.kitchen.ts @@ -63,8 +63,8 @@ describe('pack and install', () => { // we expect npm install is executed in the before hook await execa('npx', ['webpack'], {cwd: `${stagingDir}/`, stdio: 'inherit'}); const bundle = path.join(stagingDir, 'dist', 'bundle.min.js'); - const stat = fs.statSync(bundle); - assert(stat.size < 512 * 1024); + // ensure it is a non-empty bundle + assert(fs.statSync(bundle).size); }); /** From 5f98027e11a1114c52876734db1d436ef3ad7bb4 Mon Sep 17 00:00:00 2001 From: Daniel Bankhead Date: Fri, 9 Aug 2024 14:15:55 -0700 Subject: [PATCH 2/2] chore: pin `cheerio` of `@compodoc/compodoc` --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index d6be2da4..c5124376 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "assert-rejects": "^1.0.0", "c8": "^8.0.0", "chai": "^4.2.0", + "cheerio": "1.0.0-rc.12", "codecov": "^3.0.2", "execa": "^5.0.0", "gts": "^5.0.0",