From e6992ab4382cf101f971aeff51fc4d78af324d22 Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Wed, 18 Sep 2024 10:55:06 +0100 Subject: [PATCH 1/2] add a test to verify generators are still working --- tests/default.test.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/default.test.mjs b/tests/default.test.mjs index 85b9095..be3ce7d 100644 --- a/tests/default.test.mjs +++ b/tests/default.test.mjs @@ -136,6 +136,10 @@ describe('basic functionality', function () { it('successfully optimizes deps', function () { return project.execa('pnpm', ['vite', 'optimize', '--force']); }); + + it('can run generators', function () { + return project.execa('pnpm', ['ember', 'g', 'route', 'fancy']); + }); }); } }); From 475c07eb13a01f3087830048c968e4fac017f270 Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Wed, 18 Sep 2024 10:57:36 +0100 Subject: [PATCH 2/2] install missing babel plugins --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index cfadaaf..bf3ad08 100644 --- a/index.js +++ b/index.js @@ -124,6 +124,7 @@ module.exports = { 'vite', '@rollup/plugin-babel', 'decorator-transforms', + '@babel/plugin-transform-runtime', // Dependencies out of date from upstream // (or waiting for the release train to catch up)