ember-cli 6.8.0-alpha.1 → 6.8.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/RELEASE.md +42 -14
- package/docs/build/data.json +1 -1
- package/lib/commands/init.js +36 -3
- package/lib/commands/new.js +19 -1
- package/lib/debug/deprecations.js +19 -0
- package/package.json +6 -6
- package/packages/addon-blueprint/index.js +1 -1
- package/packages/addon-blueprint/package.json +1 -1
- package/packages/app-blueprint/files/_js_eslint.config.mjs +3 -0
- package/packages/app-blueprint/files/_ts_eslint.config.mjs +6 -1
- package/packages/app-blueprint/files/config/ember-cli-update.json +1 -3
- package/packages/app-blueprint/files/package.json +1 -1
- package/packages/app-blueprint/index.js +1 -1
- package/packages/app-blueprint/package.json +1 -1
- package/packages/blueprint-model/package.json +1 -1
- package/packages/blueprint-model/utilities/experiments.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# ember-cli Changelog
|
|
2
2
|
|
|
3
|
+
## Release (2025-09-05)
|
|
4
|
+
|
|
5
|
+
* @ember-tooling/classic-build-addon-blueprint 6.8.0-alpha.3 (patch)
|
|
6
|
+
* @ember-tooling/classic-build-app-blueprint 6.8.0-alpha.3 (patch)
|
|
7
|
+
* @ember-tooling/blueprint-model 0.1.0 (minor)
|
|
8
|
+
* ember-cli 6.8.0-alpha.3 (patch)
|
|
9
|
+
|
|
10
|
+
#### :rocket: Enhancement
|
|
11
|
+
* `@ember-tooling/blueprint-model`
|
|
12
|
+
* [#10781](https://github.com/ember-cli/ember-cli/pull/10781) Add new `VITE` experiment to generate app with new Vite blueprint ([@pichfl](https://github.com/pichfl))
|
|
13
|
+
|
|
14
|
+
#### Committers: 1
|
|
15
|
+
- Florian Pichler ([@pichfl](https://github.com/pichfl))
|
|
16
|
+
|
|
17
|
+
## Release (2025-09-01)
|
|
18
|
+
|
|
19
|
+
* @ember-tooling/classic-build-addon-blueprint 6.8.0-alpha.2 (minor)
|
|
20
|
+
* @ember-tooling/classic-build-app-blueprint 6.8.0-alpha.2 (minor)
|
|
21
|
+
* ember-cli 6.8.0-alpha.2 (patch)
|
|
22
|
+
|
|
23
|
+
#### :rocket: Enhancement
|
|
24
|
+
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`
|
|
25
|
+
* [#10791](https://github.com/ember-cli/ember-cli/pull/10791) update the format of the ember-cli-update.json ([@mansona](https://github.com/mansona))
|
|
26
|
+
* Other
|
|
27
|
+
* [#10785](https://github.com/ember-cli/ember-cli/pull/10785) Depracate passing filenames and globs to `init` ([@pichfl](https://github.com/pichfl))
|
|
28
|
+
* [#10776](https://github.com/ember-cli/ember-cli/pull/10776) Add deprecation warning for the `--embroider` argument ([@pichfl](https://github.com/pichfl))
|
|
29
|
+
|
|
30
|
+
#### :bug: Bug Fix
|
|
31
|
+
* Other
|
|
32
|
+
* [#10782](https://github.com/ember-cli/ember-cli/pull/10782) update heimdall-fs-monitor ([@mansona](https://github.com/mansona))
|
|
33
|
+
* `@ember-tooling/classic-build-app-blueprint`
|
|
34
|
+
* [#10707](https://github.com/ember-cli/ember-cli/pull/10707) Enabled recommended configs from eslint-plugin-n and eslint-plugin-qunit ([@ijlee2](https://github.com/ijlee2))
|
|
35
|
+
|
|
36
|
+
#### :house: Internal
|
|
37
|
+
* [#10790](https://github.com/ember-cli/ember-cli/pull/10790) Reorganize tests for `new` and `addon` commands ([@pichfl](https://github.com/pichfl))
|
|
38
|
+
* [#10783](https://github.com/ember-cli/ember-cli/pull/10783) remove unused changelog script ([@mansona](https://github.com/mansona))
|
|
39
|
+
* [#10764](https://github.com/ember-cli/ember-cli/pull/10764) fix double CI run on release-plan PR ([@mansona](https://github.com/mansona))
|
|
40
|
+
* [#10750](https://github.com/ember-cli/ember-cli/pull/10750) Add more notes to the Release.md ([@mansona](https://github.com/mansona))
|
|
41
|
+
|
|
42
|
+
#### Committers: 3
|
|
43
|
+
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
44
|
+
- Florian Pichler ([@pichfl](https://github.com/pichfl))
|
|
45
|
+
- Isaac Lee ([@ijlee2](https://github.com/ijlee2))
|
|
46
|
+
|
|
3
47
|
## Release (2025-08-02)
|
|
4
48
|
|
|
5
49
|
* @ember-tooling/classic-build-addon-blueprint 6.8.0-alpha.1 (minor)
|
package/RELEASE.md
CHANGED
|
@@ -16,12 +16,19 @@ During the release week each of the versions are effectively "promoted" i.e. the
|
|
|
16
16
|
|
|
17
17
|
The release process during release week should look like this:
|
|
18
18
|
|
|
19
|
+
- Merge any outstanding `Prepare Alpha Release` branches
|
|
19
20
|
- Do an intial stable release from the `release` branch
|
|
20
21
|
- Merge `release` into `beta`
|
|
21
22
|
- Do a `beta` release
|
|
22
23
|
- Merge `beta` into `master`
|
|
23
24
|
- Do an `alpha` release
|
|
24
25
|
|
|
26
|
+
### Merge any outstanding `Prepare Alpha Release` branches
|
|
27
|
+
|
|
28
|
+
This makes sure that you are starting from a "clean slate" before doing any other releases. This will make each of the following steps easier to follow.
|
|
29
|
+
|
|
30
|
+
You can use [this saved search](https://github.com/ember-cli/ember-cli/pulls?q=is%3Apr+is%3Aopen+Prepare) to find any outstanding `Prepare Release` branches.
|
|
31
|
+
|
|
25
32
|
|
|
26
33
|
### Initial Stable Release from the `release` branch
|
|
27
34
|
|
|
@@ -31,17 +38,21 @@ The release process during release week should look like this:
|
|
|
31
38
|
- Merge `origin/beta` into the release branch
|
|
32
39
|
- `git merge origin/beta --no-ff`
|
|
33
40
|
- **make sure to not update the .release-plan file** this should only ever be changed by the release-plan github scripts
|
|
41
|
+
- **make sure to not update the .github/workflows/plan-release.yml file** this should still plan a stable release
|
|
42
|
+
- **make sure to not update the .github/workflows/publish.yml file** this should still publish a stable release
|
|
43
|
+
- **make sure to not update the CHANGELOG.md file** so as not to include the beta or alpha changelogs in the next release
|
|
34
44
|
- make sure to not update the version in the package.json during this step, this will be release-plan's job
|
|
45
|
+
- make sure to not add the `release-plan` config section to the package.json during this step. We are releasing a real release so we don't want to configure release-plan to do a pre-release.
|
|
35
46
|
- Update blueprint dependencies to latest
|
|
36
47
|
|
|
37
|
-
```
|
|
38
|
-
node ./dev/update-blueprint-dependencies.js --ember-source=latest --ember-data=latest
|
|
39
|
-
```
|
|
48
|
+
```
|
|
49
|
+
node ./dev/update-blueprint-dependencies.js --ember-source=latest --ember-data=latest
|
|
50
|
+
```
|
|
40
51
|
|
|
41
52
|
- commit this update `git commit -am "update blueprint dependencies to latest"`
|
|
42
|
-
- push and open a PR targeting `release`
|
|
53
|
+
- push and open a PR targeting `release` with a PR title like `Update all dependencies for 6.4 release`
|
|
43
54
|
- mark this PR as an `enhancement` if it is a minor release
|
|
44
|
-
- check that everything is ok
|
|
55
|
+
- check that everything is ok (i.e. that CI has run correctly and that you have the changes you expect)
|
|
45
56
|
- merge branch
|
|
46
57
|
- check that the `Prepare Release` PR has been correctly opened by `release-plan`
|
|
47
58
|
- Merge the `Prepare Release` branch when you are ready to release
|
|
@@ -53,17 +64,27 @@ node ./dev/update-blueprint-dependencies.js --ember-source=latest --ember-data=l
|
|
|
53
64
|
- create a new branch to merge `release` into `beta` e.g. `git checkout --no-track -b merge-release origin/beta`
|
|
54
65
|
- merge release into this new branch e.g. `git merge origin/release --no-ff`
|
|
55
66
|
- **make sure to not update the .release-plan file** this should only ever be changed by the release-plan github scripts
|
|
67
|
+
- **make sure to not update any .github/workflows/plan-release.yml file** this should still plan a beta release
|
|
68
|
+
- **make sure to not update any .github/workflows/publish.yml file** this should still publish a beta release
|
|
69
|
+
- make sure to not update the version in the package.json during this step, that step comes later
|
|
70
|
+
- make sure to not remove the `release-plan` config section to the `package.json`, `packages/addon-blueprint/package.json`, or `packages/app-blueprint/package.json`, during this step.
|
|
56
71
|
- merge master into this new branch too e.g. `git merge origin/master --no-ff`
|
|
57
72
|
- **make sure to not update the .release-plan file** this should only ever be changed by the release-plan github scripts
|
|
73
|
+
- **make sure to not update the CHANGELOG.md file** in this step. It should match the changelog on `origin/release` at this stage.
|
|
58
74
|
- update the alpha version in package.json to be a beta i.e. if the incoming merge is `"version": "6.6.0-alpha.3",` update it to `"version": "6.6.0-beta.0",`
|
|
75
|
+
- update the alpha version in `packages/addon-blueprint/package.json` to be a beta
|
|
76
|
+
- update the alpha version in `packages/app-blueprint/package.json` to be a beta
|
|
77
|
+
- make sure not to update the `release-plan` config in `package.json`, `packages/addon-blueprint/package.json`, or `packages/app-blueprint/package.json`
|
|
78
|
+
- update the `ember-cli` reference in `packages/app-blueprint/files/package.json` to be the same as the version you just put in the top level package.json
|
|
59
79
|
- Update blueprint dependencies to beta
|
|
60
80
|
|
|
61
|
-
```
|
|
62
|
-
node ./dev/update-blueprint-dependencies.js --ember-source=beta --ember-data=beta
|
|
63
|
-
```
|
|
81
|
+
```
|
|
82
|
+
node ./dev/update-blueprint-dependencies.js --ember-source=beta --ember-data=beta
|
|
83
|
+
```
|
|
64
84
|
|
|
65
85
|
- commit this update `git commit -am "update blueprint dependencies to beta"`
|
|
66
|
-
-
|
|
86
|
+
- **TODO**: document how to update @ember/app-blueprint dependency
|
|
87
|
+
- push and open a PR targeting `beta` with a PR title like `Prepare 6.5-beta`
|
|
67
88
|
- mark this PR as an `enchancement` if the next beta is a minor release
|
|
68
89
|
- check that everything is ok i.e. CI passes
|
|
69
90
|
- merge the `merge-release` branch into `beta` in GitHub
|
|
@@ -79,17 +100,24 @@ node ./dev/update-blueprint-dependencies.js --ember-source=beta --ember-data=bet
|
|
|
79
100
|
- create a new branch to merge `beta` into `master` e.g. `git checkout --no-track -b merge-beta origin/master`
|
|
80
101
|
- merge beta into this new branch e.g. `git merge origin/beta --no-ff`
|
|
81
102
|
- **make sure to not update the .release-plan file** this should only ever be changed by the release-plan github scripts
|
|
82
|
-
-
|
|
103
|
+
- make sure to not update the `release-plan` config section to the `package.json`, `packages/addon-blueprint/package.json`, or `packages/app-blueprint/package.json`, during this step.
|
|
104
|
+
- **make sure to not update any .github/workflows/plan-release.yml file** this should still plan a beta release
|
|
105
|
+
- **make sure to not update any .github/workflows/publish.yml file** this should still publish a beta release
|
|
106
|
+
- **make sure to not update the CHANGELOG.md file** in this step.
|
|
107
|
+
- manually update the version in package.json to be the next alpha.
|
|
83
108
|
- e.g. if the current alpha is `"version": "6.6.0-alpha.3",` update it to be `"version": "6.7.0-alpha.0",`
|
|
109
|
+
- manually update the alpha version in `packages/addon-blueprint/package.json` to be the same alpha
|
|
110
|
+
- manually update the alpha version in `packages/app-blueprint/package.json` to be the same alpha
|
|
84
111
|
- commit this change to the version in package.json: `git commit -am "update to the next alpha version"`
|
|
85
112
|
- Update blueprint dependencies to alpha
|
|
86
113
|
|
|
87
|
-
```
|
|
88
|
-
node ./dev/update-blueprint-dependencies.js --ember-source=alpha --ember-data=canary
|
|
89
|
-
```
|
|
114
|
+
```
|
|
115
|
+
node ./dev/update-blueprint-dependencies.js --ember-source=alpha --ember-data=canary
|
|
116
|
+
```
|
|
90
117
|
|
|
91
118
|
- commit this update `git commit -am "update blueprint dependencies to alpha"`
|
|
92
|
-
-
|
|
119
|
+
- **TODO**: document how to update @ember/app-blueprint dependency
|
|
120
|
+
- push and open a PR targeting `master` with a PR title like `Prepare 6.6-alpha`
|
|
93
121
|
- mark this PR as an `enchancement` if the next alpha is a minor release
|
|
94
122
|
- check that everything is ok i.e. CI passes
|
|
95
123
|
- merge the `merge-beta` branch into `master` in GitHub
|
package/docs/build/data.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"logo": "https://ember-cli.com/assets/images/ember-cli-logo-small-dark.png",
|
|
4
4
|
"name": "ember-cli",
|
|
5
5
|
"description": "Command line tool for developing ambitious ember.js apps",
|
|
6
|
-
"version": "6.8.0-alpha.
|
|
6
|
+
"version": "6.8.0-alpha.3-master-5b57bf781a"
|
|
7
7
|
},
|
|
8
8
|
"files": {
|
|
9
9
|
"lib/broccoli/default-packager.js": {
|
package/lib/commands/init.js
CHANGED
|
@@ -10,6 +10,9 @@ const normalizeBlueprint = require('../utilities/normalize-blueprint-option');
|
|
|
10
10
|
const mergeBlueprintOptions = require('../utilities/merge-blueprint-options');
|
|
11
11
|
const { isPnpmProject, isYarnProject } = require('../utilities/package-managers');
|
|
12
12
|
const getLangArg = require('../../lib/utilities/get-lang-arg');
|
|
13
|
+
const { deprecate, DEPRECATIONS } = require('../debug');
|
|
14
|
+
|
|
15
|
+
const { isExperimentEnabled } = require('@ember-tooling/blueprint-model/utilities/experiments');
|
|
13
16
|
|
|
14
17
|
module.exports = Command.extend({
|
|
15
18
|
name: 'init',
|
|
@@ -39,7 +42,12 @@ module.exports = Command.extend({
|
|
|
39
42
|
type: String,
|
|
40
43
|
description: 'Sets the base human language of the application via index.html',
|
|
41
44
|
},
|
|
42
|
-
{
|
|
45
|
+
{
|
|
46
|
+
name: 'embroider',
|
|
47
|
+
type: Boolean,
|
|
48
|
+
default: false,
|
|
49
|
+
description: 'Deprecated: Enables the build system to use Embroider',
|
|
50
|
+
},
|
|
43
51
|
{
|
|
44
52
|
name: 'ci-provider',
|
|
45
53
|
type: ['github', 'none'],
|
|
@@ -74,6 +82,12 @@ module.exports = Command.extend({
|
|
|
74
82
|
beforeRun: mergeBlueprintOptions,
|
|
75
83
|
|
|
76
84
|
async run(commandOptions, rawArgs) {
|
|
85
|
+
deprecate(
|
|
86
|
+
"Don't use `--embroider` option. Use `-b @ember/app-blueprint` instead.",
|
|
87
|
+
!commandOptions.embroider,
|
|
88
|
+
DEPRECATIONS.EMBROIDER.options
|
|
89
|
+
);
|
|
90
|
+
|
|
77
91
|
if (commandOptions.dryRun) {
|
|
78
92
|
commandOptions.skipNpm = true;
|
|
79
93
|
}
|
|
@@ -104,15 +118,28 @@ module.exports = Command.extend({
|
|
|
104
118
|
}
|
|
105
119
|
|
|
106
120
|
let blueprintOpts = clone(commandOptions);
|
|
121
|
+
let blueprint = normalizeBlueprint(blueprintOpts.blueprint || this._defaultBlueprint());
|
|
122
|
+
|
|
123
|
+
if (isExperimentEnabled('VITE') && blueprint === 'app') {
|
|
124
|
+
blueprint = '@ember/app-blueprint';
|
|
125
|
+
}
|
|
107
126
|
|
|
108
127
|
merge(blueprintOpts, {
|
|
109
128
|
rawName: packageName,
|
|
110
|
-
targetFiles: rawArgs ||
|
|
129
|
+
targetFiles: rawArgs || [],
|
|
111
130
|
rawArgs: rawArgs.toString(),
|
|
112
|
-
blueprint
|
|
131
|
+
blueprint,
|
|
113
132
|
ciProvider,
|
|
114
133
|
});
|
|
115
134
|
|
|
135
|
+
let { targetFiles } = blueprintOpts;
|
|
136
|
+
|
|
137
|
+
deprecate(
|
|
138
|
+
`Do not pass file names or globs to \`init\`. Passed: "${targetFiles.join(' ')}"`,
|
|
139
|
+
targetFiles.length === 0,
|
|
140
|
+
DEPRECATIONS.INIT_TARGET_FILES.options
|
|
141
|
+
);
|
|
142
|
+
|
|
116
143
|
if (!isValidProjectName(packageName)) {
|
|
117
144
|
return Promise.reject(new SilentError(`We currently do not support a name of \`${packageName}\`.`));
|
|
118
145
|
}
|
|
@@ -142,5 +169,11 @@ module.exports = Command.extend({
|
|
|
142
169
|
this.ui.writeLine(` ${chalk.gray('$')} ${chalk.cyan(`${commandOptions.packageManager ?? 'npm'} start`)}`);
|
|
143
170
|
this.ui.writeLine('');
|
|
144
171
|
this.ui.writeLine('Happy coding!');
|
|
172
|
+
|
|
173
|
+
deprecate(
|
|
174
|
+
"Don't use `--embroider` option. Use `-b @ember/app-blueprint` instead.",
|
|
175
|
+
!commandOptions.embroider,
|
|
176
|
+
DEPRECATIONS.EMBROIDER.options
|
|
177
|
+
);
|
|
145
178
|
},
|
|
146
179
|
});
|
package/lib/commands/new.js
CHANGED
|
@@ -7,6 +7,7 @@ const SilentError = require('silent-error');
|
|
|
7
7
|
const isValidProjectName = require('../utilities/valid-project-name');
|
|
8
8
|
const normalizeBlueprint = require('../utilities/normalize-blueprint-option');
|
|
9
9
|
const mergeBlueprintOptions = require('../utilities/merge-blueprint-options');
|
|
10
|
+
const { deprecate, DEPRECATIONS } = require('../debug');
|
|
10
11
|
|
|
11
12
|
module.exports = Command.extend({
|
|
12
13
|
name: 'new',
|
|
@@ -37,7 +38,12 @@ module.exports = Command.extend({
|
|
|
37
38
|
description: 'Sets the base human language of the application via index.html',
|
|
38
39
|
},
|
|
39
40
|
{ name: 'lint-fix', type: Boolean, default: true },
|
|
40
|
-
{
|
|
41
|
+
{
|
|
42
|
+
name: 'embroider',
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: false,
|
|
45
|
+
description: 'Deprecated: Enables the build system to use Embroider',
|
|
46
|
+
},
|
|
41
47
|
{
|
|
42
48
|
name: 'ci-provider',
|
|
43
49
|
type: ['github', 'none'],
|
|
@@ -70,6 +76,12 @@ module.exports = Command.extend({
|
|
|
70
76
|
beforeRun: mergeBlueprintOptions,
|
|
71
77
|
|
|
72
78
|
async run(commandOptions, rawArgs) {
|
|
79
|
+
deprecate(
|
|
80
|
+
"Don't use `--embroider` option. Use `-b @ember/app-blueprint` instead.",
|
|
81
|
+
!commandOptions.embroider,
|
|
82
|
+
DEPRECATIONS.EMBROIDER.options
|
|
83
|
+
);
|
|
84
|
+
|
|
73
85
|
let projectName = rawArgs[0],
|
|
74
86
|
message;
|
|
75
87
|
|
|
@@ -141,6 +153,12 @@ module.exports = Command.extend({
|
|
|
141
153
|
|
|
142
154
|
initCommand.project.root = process.cwd();
|
|
143
155
|
|
|
156
|
+
deprecate(
|
|
157
|
+
"Don't use `--embroider` option. Use `-b @ember/app-blueprint` instead.",
|
|
158
|
+
!commandOptions.embroider,
|
|
159
|
+
DEPRECATIONS.EMBROIDER.options
|
|
160
|
+
);
|
|
161
|
+
|
|
144
162
|
return await initCommand.run(commandOptions, rawArgs);
|
|
145
163
|
},
|
|
146
164
|
});
|
|
@@ -23,6 +23,25 @@ const DEPRECATIONS = {
|
|
|
23
23
|
types: ['app-prefix', 'app-suffix', 'tests-prefix', 'tests-suffix', 'vendor-prefix', 'vendor-suffix'],
|
|
24
24
|
},
|
|
25
25
|
}),
|
|
26
|
+
EMBROIDER: deprecation({
|
|
27
|
+
for: 'ember-cli',
|
|
28
|
+
id: 'ember-cli.dont-use-embroider-option',
|
|
29
|
+
since: {
|
|
30
|
+
available: '6.8.0',
|
|
31
|
+
},
|
|
32
|
+
until: '7.0.0',
|
|
33
|
+
url: 'https://deprecations.emberjs.com/id/dont-use-embroider-option',
|
|
34
|
+
}),
|
|
35
|
+
|
|
36
|
+
INIT_TARGET_FILES: deprecation({
|
|
37
|
+
for: 'ember-cli',
|
|
38
|
+
id: 'ember-cli.init-target-files',
|
|
39
|
+
since: {
|
|
40
|
+
available: '6.8.0',
|
|
41
|
+
},
|
|
42
|
+
until: '7.0.0',
|
|
43
|
+
url: 'https://deprecations.emberjs.com/id/init-no-file-names',
|
|
44
|
+
}),
|
|
26
45
|
};
|
|
27
46
|
|
|
28
47
|
module.exports = DEPRECATIONS;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-cli",
|
|
3
|
-
"version": "6.8.0-alpha.
|
|
3
|
+
"version": "6.8.0-alpha.3",
|
|
4
4
|
"description": "Command line tool for developing ambitious ember.js apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"publishTag": "alpha"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
+
"@ember/app-blueprint": "^6.8.0-beta.1",
|
|
38
39
|
"@pnpm/find-workspace-dir": "^1000.1.0",
|
|
39
40
|
"babel-remove-types": "^1.0.1",
|
|
40
41
|
"broccoli": "^3.5.2",
|
|
@@ -79,7 +80,7 @@
|
|
|
79
80
|
"git-repo-info": "^2.1.1",
|
|
80
81
|
"glob": "^8.1.0",
|
|
81
82
|
"heimdalljs": "^0.2.6",
|
|
82
|
-
"heimdalljs-fs-monitor": "^1.1.
|
|
83
|
+
"heimdalljs-fs-monitor": "^1.1.2",
|
|
83
84
|
"heimdalljs-graph": "^1.0.0",
|
|
84
85
|
"heimdalljs-logger": "^0.1.10",
|
|
85
86
|
"http-proxy": "^1.18.1",
|
|
@@ -117,13 +118,12 @@
|
|
|
117
118
|
"watch-detector": "^1.0.2",
|
|
118
119
|
"workerpool": "^9.2.0",
|
|
119
120
|
"yam": "^1.0.0",
|
|
121
|
+
"@ember-tooling/blueprint-model": "0.1.0",
|
|
120
122
|
"@ember-tooling/blueprint-blueprint": "0.0.2",
|
|
121
|
-
"@ember-tooling/classic-build-
|
|
122
|
-
"@ember-tooling/blueprint
|
|
123
|
-
"@ember-tooling/classic-build-addon-blueprint": "6.8.0-alpha.1"
|
|
123
|
+
"@ember-tooling/classic-build-addon-blueprint": "6.8.0-alpha.3",
|
|
124
|
+
"@ember-tooling/classic-build-app-blueprint": "6.8.0-alpha.3"
|
|
124
125
|
},
|
|
125
126
|
"devDependencies": {
|
|
126
|
-
"@octokit/rest": "^19.0.7",
|
|
127
127
|
"broccoli-plugin": "^4.0.3",
|
|
128
128
|
"broccoli-test-helper": "^2.0.0",
|
|
129
129
|
"chai": "^4.3.7",
|
|
@@ -243,7 +243,7 @@ module.exports = {
|
|
|
243
243
|
npm: options.packageManager !== 'yarn' && options.packageManager !== 'pnpm',
|
|
244
244
|
invokeScriptPrefix,
|
|
245
245
|
welcome: options.welcome,
|
|
246
|
-
blueprint: 'addon',
|
|
246
|
+
blueprint: '@ember-tooling/classic-build-addon-blueprint',
|
|
247
247
|
blueprintOptions,
|
|
248
248
|
embroider: false,
|
|
249
249
|
lang: options.lang,
|
|
@@ -69,6 +69,7 @@ export default [
|
|
|
69
69
|
},
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
+
...qunit.configs.recommended,
|
|
72
73
|
files: ['tests/**/*-test.{js,gjs}'],
|
|
73
74
|
plugins: {
|
|
74
75
|
qunit,
|
|
@@ -78,6 +79,7 @@ export default [
|
|
|
78
79
|
* CJS node files
|
|
79
80
|
*/
|
|
80
81
|
{
|
|
82
|
+
...n.configs['flat/recommended-script'],
|
|
81
83
|
files: [
|
|
82
84
|
'**/*.cjs',
|
|
83
85
|
'config/**/*.js',
|
|
@@ -106,6 +108,7 @@ export default [
|
|
|
106
108
|
* ESM node files
|
|
107
109
|
*/
|
|
108
110
|
{
|
|
111
|
+
...n.configs['flat/recommended-module'],
|
|
109
112
|
files: ['**/*.mjs'],
|
|
110
113
|
plugins: {
|
|
111
114
|
n,
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
* npx eslint --inspect-config
|
|
13
13
|
*
|
|
14
14
|
*/
|
|
15
|
+
import { fileURLToPath } from 'node:url';
|
|
16
|
+
import { dirname } from 'node:path';
|
|
15
17
|
import globals from 'globals';
|
|
16
18
|
import js from '@eslint/js';
|
|
17
19
|
|
|
@@ -42,7 +44,7 @@ const parserOptions = {
|
|
|
42
44
|
},
|
|
43
45
|
ts: {
|
|
44
46
|
projectService: true,
|
|
45
|
-
tsconfigRootDir: import.meta.
|
|
47
|
+
tsconfigRootDir: dirname(fileURLToPath(import.meta.url)),
|
|
46
48
|
},
|
|
47
49
|
},
|
|
48
50
|
};
|
|
@@ -92,6 +94,7 @@ export default ts.config(
|
|
|
92
94
|
extends: [...ts.configs.recommendedTypeChecked, ember.configs.gts],
|
|
93
95
|
},
|
|
94
96
|
{
|
|
97
|
+
...qunit.configs.recommended,
|
|
95
98
|
files: ['tests/**/*-test.{js,gjs,ts,gts}'],
|
|
96
99
|
plugins: {
|
|
97
100
|
qunit,
|
|
@@ -101,6 +104,7 @@ export default ts.config(
|
|
|
101
104
|
* CJS node files
|
|
102
105
|
*/
|
|
103
106
|
{
|
|
107
|
+
...n.configs['flat/recommended-script'],
|
|
104
108
|
files: [
|
|
105
109
|
'**/*.cjs',
|
|
106
110
|
'config/**/*.js',
|
|
@@ -129,6 +133,7 @@ export default ts.config(
|
|
|
129
133
|
* ESM node files
|
|
130
134
|
*/
|
|
131
135
|
{
|
|
136
|
+
...n.configs['flat/recommended-module'],
|
|
132
137
|
files: ['**/*.mjs'],
|
|
133
138
|
plugins: {
|
|
134
139
|
n,
|
|
@@ -2,13 +2,11 @@
|
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"packages": [
|
|
4
4
|
{
|
|
5
|
-
"name": "
|
|
5
|
+
"name": "<%= blueprint %>",
|
|
6
6
|
"version": "<%= blueprintVersion %>",
|
|
7
7
|
"blueprints": [
|
|
8
8
|
{
|
|
9
9
|
"name": "<%= blueprint %>",
|
|
10
|
-
"outputRepo": "https://github.com/ember-cli/ember-<%= blueprint === 'app' ? 'new' : 'addon' %>-output",
|
|
11
|
-
"codemodsSource": "ember-<%= blueprint %>-codemods-manifest@1",
|
|
12
10
|
"isBaseBlueprint": true,
|
|
13
11
|
"options": [<%= blueprintOptions %>]
|
|
14
12
|
}
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"broccoli-asset-rev": "^3.0.0",
|
|
61
61
|
"concurrently": "^9.2.0",
|
|
62
62
|
"ember-auto-import": "^2.10.0",
|
|
63
|
-
"ember-cli": "~6.8.0-alpha.
|
|
63
|
+
"ember-cli": "~6.8.0-alpha.3",
|
|
64
64
|
"ember-cli-app-version": "^7.0.0",
|
|
65
65
|
"ember-cli-babel": "^8.2.0",
|
|
66
66
|
"ember-cli-clean-css": "^3.0.0",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const chalk = require('chalk');
|
|
4
|
-
const availableExperiments = Object.freeze(['EMBROIDER', 'CLASSIC']);
|
|
4
|
+
const availableExperiments = Object.freeze(['EMBROIDER', 'CLASSIC', 'VITE']);
|
|
5
5
|
|
|
6
6
|
const deprecatedExperiments = Object.freeze([]);
|
|
7
7
|
const enabledExperiments = Object.freeze([]);
|