ember-cli 6.8.0-alpha.2 → 6.8.0-alpha.4
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 +31 -0
- package/RELEASE.md +11 -9
- package/docs/build/data.json +1 -1
- package/lib/commands/init.js +8 -1
- package/package.json +6 -5
- package/packages/addon-blueprint/package.json +4 -1
- package/packages/app-blueprint/files/app/app.ts +2 -1
- package/packages/app-blueprint/files/package.json +1 -1
- package/packages/app-blueprint/package.json +4 -1
- package/packages/blueprint-blueprint/package.json +5 -2
- package/packages/blueprint-model/package.json +1 -1
- package/packages/blueprint-model/utilities/experiments.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# ember-cli Changelog
|
|
2
2
|
|
|
3
|
+
## Release (2025-09-09)
|
|
4
|
+
|
|
5
|
+
* @ember-tooling/classic-build-addon-blueprint 6.8.0-alpha.4 (patch)
|
|
6
|
+
* @ember-tooling/classic-build-app-blueprint 6.8.0-alpha.4 (patch)
|
|
7
|
+
* @ember-tooling/blueprint-blueprint 0.0.3 (patch)
|
|
8
|
+
* ember-cli 6.8.0-alpha.4 (patch)
|
|
9
|
+
|
|
10
|
+
#### :bug: Bug Fix
|
|
11
|
+
* `@ember-tooling/classic-build-addon-blueprint`, `@ember-tooling/classic-build-app-blueprint`, `@ember-tooling/blueprint-blueprint`
|
|
12
|
+
* [#10803](https://github.com/ember-cli/ember-cli/pull/10803) Add "ember-blueprint" to keywords in `package.json` for the classic blueprints ([@pichfl](https://github.com/pichfl))
|
|
13
|
+
* `@ember-tooling/classic-build-app-blueprint`
|
|
14
|
+
* [#10798](https://github.com/ember-cli/ember-cli/pull/10798) Add import from ember-data breakage/deprecation ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
15
|
+
|
|
16
|
+
#### Committers: 2
|
|
17
|
+
- Florian Pichler ([@pichfl](https://github.com/pichfl))
|
|
18
|
+
- [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
19
|
+
|
|
20
|
+
## Release (2025-09-05)
|
|
21
|
+
|
|
22
|
+
* @ember-tooling/classic-build-addon-blueprint 6.8.0-alpha.3 (patch)
|
|
23
|
+
* @ember-tooling/classic-build-app-blueprint 6.8.0-alpha.3 (patch)
|
|
24
|
+
* @ember-tooling/blueprint-model 0.1.0 (minor)
|
|
25
|
+
* ember-cli 6.8.0-alpha.3 (patch)
|
|
26
|
+
|
|
27
|
+
#### :rocket: Enhancement
|
|
28
|
+
* `@ember-tooling/blueprint-model`
|
|
29
|
+
* [#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))
|
|
30
|
+
|
|
31
|
+
#### Committers: 1
|
|
32
|
+
- Florian Pichler ([@pichfl](https://github.com/pichfl))
|
|
33
|
+
|
|
3
34
|
## Release (2025-09-01)
|
|
4
35
|
|
|
5
36
|
* @ember-tooling/classic-build-addon-blueprint 6.8.0-alpha.2 (minor)
|
package/RELEASE.md
CHANGED
|
@@ -45,9 +45,9 @@ You can use [this saved search](https://github.com/ember-cli/ember-cli/pulls?q=i
|
|
|
45
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.
|
|
46
46
|
- Update blueprint dependencies to latest
|
|
47
47
|
|
|
48
|
-
```
|
|
49
|
-
node ./dev/update-blueprint-dependencies.js --ember-source=latest --ember-data=latest
|
|
50
|
-
```
|
|
48
|
+
```
|
|
49
|
+
node ./dev/update-blueprint-dependencies.js --ember-source=latest --ember-data=latest
|
|
50
|
+
```
|
|
51
51
|
|
|
52
52
|
- commit this update `git commit -am "update blueprint dependencies to latest"`
|
|
53
53
|
- push and open a PR targeting `release` with a PR title like `Update all dependencies for 6.4 release`
|
|
@@ -78,11 +78,12 @@ node ./dev/update-blueprint-dependencies.js --ember-source=latest --ember-data=l
|
|
|
78
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
|
|
79
79
|
- Update blueprint dependencies to beta
|
|
80
80
|
|
|
81
|
-
```
|
|
82
|
-
node ./dev/update-blueprint-dependencies.js --ember-source=beta --ember-data=beta
|
|
83
|
-
```
|
|
81
|
+
```
|
|
82
|
+
node ./dev/update-blueprint-dependencies.js --ember-source=beta --ember-data=beta
|
|
83
|
+
```
|
|
84
84
|
|
|
85
85
|
- commit this update `git commit -am "update blueprint dependencies to beta"`
|
|
86
|
+
- **TODO**: document how to update @ember/app-blueprint dependency
|
|
86
87
|
- push and open a PR targeting `beta` with a PR title like `Prepare 6.5-beta`
|
|
87
88
|
- mark this PR as an `enchancement` if the next beta is a minor release
|
|
88
89
|
- check that everything is ok i.e. CI passes
|
|
@@ -110,11 +111,12 @@ node ./dev/update-blueprint-dependencies.js --ember-source=beta --ember-data=bet
|
|
|
110
111
|
- commit this change to the version in package.json: `git commit -am "update to the next alpha version"`
|
|
111
112
|
- Update blueprint dependencies to alpha
|
|
112
113
|
|
|
113
|
-
```
|
|
114
|
-
node ./dev/update-blueprint-dependencies.js --ember-source=alpha --ember-data=canary
|
|
115
|
-
```
|
|
114
|
+
```
|
|
115
|
+
node ./dev/update-blueprint-dependencies.js --ember-source=alpha --ember-data=canary
|
|
116
|
+
```
|
|
116
117
|
|
|
117
118
|
- commit this update `git commit -am "update blueprint dependencies to alpha"`
|
|
119
|
+
- **TODO**: document how to update @ember/app-blueprint dependency
|
|
118
120
|
- push and open a PR targeting `master` with a PR title like `Prepare 6.6-alpha`
|
|
119
121
|
- mark this PR as an `enchancement` if the next alpha is a minor release
|
|
120
122
|
- check that everything is ok i.e. CI passes
|
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.4-master-049d6da2cb"
|
|
7
7
|
},
|
|
8
8
|
"files": {
|
|
9
9
|
"lib/broccoli/default-packager.js": {
|
package/lib/commands/init.js
CHANGED
|
@@ -12,6 +12,8 @@ const { isPnpmProject, isYarnProject } = require('../utilities/package-managers'
|
|
|
12
12
|
const getLangArg = require('../../lib/utilities/get-lang-arg');
|
|
13
13
|
const { deprecate, DEPRECATIONS } = require('../debug');
|
|
14
14
|
|
|
15
|
+
const { isExperimentEnabled } = require('@ember-tooling/blueprint-model/utilities/experiments');
|
|
16
|
+
|
|
15
17
|
module.exports = Command.extend({
|
|
16
18
|
name: 'init',
|
|
17
19
|
description: 'Reinitializes a new ember-cli project in the current folder.',
|
|
@@ -116,12 +118,17 @@ module.exports = Command.extend({
|
|
|
116
118
|
}
|
|
117
119
|
|
|
118
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
|
+
}
|
|
119
126
|
|
|
120
127
|
merge(blueprintOpts, {
|
|
121
128
|
rawName: packageName,
|
|
122
129
|
targetFiles: rawArgs || [],
|
|
123
130
|
rawArgs: rawArgs.toString(),
|
|
124
|
-
blueprint
|
|
131
|
+
blueprint,
|
|
125
132
|
ciProvider,
|
|
126
133
|
});
|
|
127
134
|
|
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.4",
|
|
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",
|
|
@@ -117,10 +118,10 @@
|
|
|
117
118
|
"watch-detector": "^1.0.2",
|
|
118
119
|
"workerpool": "^9.2.0",
|
|
119
120
|
"yam": "^1.0.0",
|
|
120
|
-
"@ember-tooling/blueprint-blueprint": "0.0.
|
|
121
|
-
"@ember-tooling/blueprint
|
|
122
|
-
"@ember-tooling/
|
|
123
|
-
"@ember-tooling/classic-build-app-blueprint": "6.8.0-alpha.
|
|
121
|
+
"@ember-tooling/blueprint-blueprint": "0.0.3",
|
|
122
|
+
"@ember-tooling/classic-build-addon-blueprint": "6.8.0-alpha.4",
|
|
123
|
+
"@ember-tooling/blueprint-model": "0.1.0",
|
|
124
|
+
"@ember-tooling/classic-build-app-blueprint": "6.8.0-alpha.4"
|
|
124
125
|
},
|
|
125
126
|
"devDependencies": {
|
|
126
127
|
"broccoli-plugin": "^4.0.3",
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-tooling/classic-build-addon-blueprint",
|
|
3
|
-
"version": "6.8.0-alpha.
|
|
3
|
+
"version": "6.8.0-alpha.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/ember-cli/ember-cli.git",
|
|
7
7
|
"directory": "packages/addon-blueprint"
|
|
8
8
|
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"ember-blueprint"
|
|
11
|
+
],
|
|
9
12
|
"dependencies": {
|
|
10
13
|
"@ember-tooling/blueprint-model": "workspace:*",
|
|
11
14
|
"chalk": "^4.1.2",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
<% if (emberData) { %>import '@warp-drive/ember/install';
|
|
2
|
+
<% } %>import Application from '@ember/application';
|
|
2
3
|
import Resolver from 'ember-resolver';
|
|
3
4
|
import loadInitializers from 'ember-load-initializers';
|
|
4
5
|
import config from '<%= modulePrefix %>/config/environment';
|
|
@@ -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.4",
|
|
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,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-tooling/classic-build-app-blueprint",
|
|
3
|
-
"version": "6.8.0-alpha.
|
|
3
|
+
"version": "6.8.0-alpha.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/ember-cli/ember-cli.git",
|
|
7
7
|
"directory": "packages/app-blueprint"
|
|
8
8
|
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"ember-blueprint"
|
|
11
|
+
],
|
|
9
12
|
"dependencies": {
|
|
10
13
|
"@ember-tooling/blueprint-model": "workspace:*",
|
|
11
14
|
"chalk": "^4.1.2",
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-tooling/blueprint-blueprint",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/ember-cli/ember-cli.git",
|
|
7
7
|
"directory": "packages/blueprint-blueprint"
|
|
8
|
-
}
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"ember-blueprint"
|
|
11
|
+
]
|
|
9
12
|
}
|
|
@@ -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([]);
|