ember-cli 6.8.0-beta.4 → 6.8.0-beta.5

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 CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  ## Release (2025-10-13)
4
4
 
5
+ * ember-cli 6.8.0-beta.5 (patch)
6
+
7
+ #### :bug: Bug Fix
8
+ * `ember-cli`
9
+ * [#10846](https://github.com/ember-cli/ember-cli/pull/10846) [beta bugfix] allow build --watch only in EMBROIDER_PREBUILD ([@mansona](https://github.com/mansona))
10
+
11
+ #### Committers: 1
12
+ - Chris Manson ([@mansona](https://github.com/mansona))
13
+
14
+ ## Release (2025-10-13)
15
+
5
16
  * ember-cli 6.8.0-beta.4 (minor)
6
17
  * @ember-tooling/classic-build-addon-blueprint 6.8.0-beta.2 (minor)
7
18
  * @ember-tooling/classic-build-app-blueprint 6.8.0-beta.2 (minor)
@@ -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-beta.4-beta-dc65908a47"
6
+ "version": "6.8.0-beta.5-beta-741d36a928"
7
7
  },
8
8
  "files": {
9
9
  "lib/broccoli/default-packager.js": {
@@ -31,11 +31,16 @@ module.exports = Command.extend({
31
31
  if (!this.isViteProject) {
32
32
  this.description = 'Builds your app and places it into the output path (dist/ by default).';
33
33
  this.availableOptions = this.availableOptions.concat(ClassicOptions);
34
+ } else if (process.env.EMBROIDER_PREBUILD) {
35
+ // having the --watch option available surpresses a warning that you get in Vite prebuild
36
+ this.availableOptions = this.availableOptions.concat(ClassicOptions[0]);
34
37
  }
35
38
  },
36
39
 
37
40
  async run(commandOptions) {
38
- if (this.isViteProject) {
41
+ if (this.isViteProject && !process.env.EMBROIDER_PREBUILD) {
42
+ // --watch is used during Embroider prebuild but should never be used directly so we only throw in this case if
43
+ // EMBROIDER_PREBUILD has been set
39
44
  if (commandOptions.watch) {
40
45
  return Promise.reject(
41
46
  new SilentError(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-cli",
3
- "version": "6.8.0-beta.4",
3
+ "version": "6.8.0-beta.5",
4
4
  "description": "Command line tool for developing ambitious ember.js apps",
5
5
  "keywords": [
6
6
  "app",
@@ -120,8 +120,8 @@
120
120
  "yam": "^1.0.0",
121
121
  "@ember-tooling/blueprint-blueprint": "0.1.0",
122
122
  "@ember-tooling/blueprint-model": "0.3.0",
123
- "@ember-tooling/classic-build-app-blueprint": "6.8.0-beta.2",
124
- "@ember-tooling/classic-build-addon-blueprint": "6.8.0-beta.2"
123
+ "@ember-tooling/classic-build-addon-blueprint": "6.8.0-beta.2",
124
+ "@ember-tooling/classic-build-app-blueprint": "6.8.0-beta.2"
125
125
  },
126
126
  "devDependencies": {
127
127
  "broccoli-plugin": "^4.0.3",
@@ -60,7 +60,7 @@
60
60
  "broccoli-asset-rev": "^3.0.0",
61
61
  "concurrently": "^9.2.1",
62
62
  "ember-auto-import": "^2.10.0",
63
- "ember-cli": "~6.8.0-beta.4",
63
+ "ember-cli": "~6.8.0-beta.5",
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",