Skip to content

Commit aba6bfe

Browse files
authored
Merge pull request #141 from embroider-build/alpha
switch to alpha dependencies
2 parents 68bb7c5 + 88dfe4e commit aba6bfe

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed
+4-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
'use strict';
22

33
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
4-
const { maybeEmbroider } = require('@embroider/test-setup');
4+
const { compatBuild } = require('@embroider/compat');
55

6-
module.exports = function (defaults) {
6+
module.exports = async function (defaults) {
7+
const { buildOnce } = await import('@embroider/vite');
78
let app = new EmberApp(defaults, {});
89

9-
return maybeEmbroider(app);
10+
return compatBuild(app, buildOnce);
1011
};

index.js

+5-6
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,12 @@ module.exports = {
120120
'save-dev': true,
121121
verbose: false,
122122
packages: [
123-
'@embroider/core@unstable',
124-
'@embroider/vite@unstable',
125-
'@embroider/compat@unstable',
126-
'@embroider/test-setup@unstable',
127-
'@embroider/config-meta-loader@unstable',
123+
'@embroider/core@^4.0.0-alpha.0',
124+
'@embroider/vite@^1.0.0-alpha.0',
125+
'@embroider/compat@^4.0.0-alpha.0',
126+
'@embroider/config-meta-loader@^1.0.0-alpha.0',
128127
// once @embroider/vite is tested with v6 and has a wider peer dependency range, we should allow installing latest vite again
129-
'vite@^5.4.11',
128+
'vite@^6.0.0',
130129
'@rollup/plugin-babel',
131130
'decorator-transforms',
132131
'@babel/plugin-transform-runtime',

0 commit comments

Comments
 (0)