@ember/app-blueprint 6.8.0-beta.4 → 6.8.0-beta.6

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.
@@ -23,7 +23,14 @@ jobs:
23
23
 
24
24
  test:
25
25
  name: Test
26
- runs-on: ubuntu-latest
26
+ runs-on: ${{ matrix.os }}
27
+ strategy:
28
+ fail-fast: false
29
+ matrix:
30
+ os:
31
+ - ubuntu-latest
32
+ - windows-latest
33
+
27
34
  steps:
28
35
  - uses: actions/checkout@v4
29
36
  - uses: pnpm/action-setup@v4
@@ -31,5 +38,10 @@ jobs:
31
38
  with:
32
39
  node-version: 18
33
40
  cache: pnpm
41
+ - name: Set TEMP to D:/Temp on windows
42
+ if: ${{matrix.os}} == windows-latest
43
+ run: |
44
+ mkdir "D:\\Temp"
45
+ echo "TEMP=D:\\Temp" >> $env:GITHUB_ENV
34
46
  - run: pnpm install --frozen-lockfile
35
47
  - run: pnpm test
@@ -1,18 +1,26 @@
1
1
  {
2
2
  "solution": {
3
3
  "@ember/app-blueprint": {
4
- "impact": "patch",
5
- "oldVersion": "6.8.0-beta.3",
6
- "newVersion": "6.8.0-beta.4",
4
+ "impact": "minor",
5
+ "oldVersion": "6.8.0-beta.5",
6
+ "newVersion": "6.8.0-beta.6",
7
7
  "tagName": "beta",
8
8
  "constraints": [
9
+ {
10
+ "impact": "minor",
11
+ "reason": "Appears in changelog section :rocket: Enhancement"
12
+ },
13
+ {
14
+ "impact": "patch",
15
+ "reason": "Appears in changelog section :memo: Documentation"
16
+ },
9
17
  {
10
18
  "impact": "patch",
11
- "reason": "Appears in changelog section :bug: Bug Fix"
19
+ "reason": "Appears in changelog section :house: Internal"
12
20
  }
13
21
  ],
14
22
  "pkgJSONPath": "./package.json"
15
23
  }
16
24
  },
17
- "description": "## Release (2025-10-06)\n\n* @ember/app-blueprint 6.8.0-beta.4 (patch)\n\n#### :bug: Bug Fix\n* `@ember/app-blueprint`\n * [#88](https://github.com/ember-cli/ember-app-blueprint/pull/88) [bugfix beta] fix the use of ember test in the new blueprint ([@mansona](https://github.com/mansona))\n\n#### Committers: 1\n- Chris Manson ([@mansona](https://github.com/mansona))\n"
25
+ "description": "## Release (2025-10-10)\n\n* @ember/app-blueprint 6.8.0-beta.6 (minor)\n\n#### :rocket: Enhancement\n* `@ember/app-blueprint`\n * [#95](https://github.com/ember-cli/ember-app-blueprint/pull/95) [Beta] add services directory ([@NullVoxPopuli](https://github.com/NullVoxPopuli))\n\n#### :memo: Documentation\n* `@ember/app-blueprint`\n * [#97](https://github.com/ember-cli/ember-app-blueprint/pull/97) [documentation beta] update readme for Vite ([@mansona](https://github.com/mansona))\n\n#### :house: Internal\n* `@ember/app-blueprint`\n * [#93](https://github.com/ember-cli/ember-app-blueprint/pull/93) Add Windows tests ([@NullVoxPopuli](https://github.com/NullVoxPopuli))\n\n#### Committers: 2\n- Chris Manson ([@mansona](https://github.com/mansona))\n- [@NullVoxPopuli](https://github.com/NullVoxPopuli)\n"
18
26
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # Changelog
2
2
 
3
+ ## Release (2025-10-10)
4
+
5
+ * @ember/app-blueprint 6.8.0-beta.6 (minor)
6
+
7
+ #### :rocket: Enhancement
8
+ * `@ember/app-blueprint`
9
+ * [#95](https://github.com/ember-cli/ember-app-blueprint/pull/95) [Beta] add services directory ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
10
+
11
+ #### :memo: Documentation
12
+ * `@ember/app-blueprint`
13
+ * [#97](https://github.com/ember-cli/ember-app-blueprint/pull/97) [documentation beta] update readme for Vite ([@mansona](https://github.com/mansona))
14
+
15
+ #### :house: Internal
16
+ * `@ember/app-blueprint`
17
+ * [#93](https://github.com/ember-cli/ember-app-blueprint/pull/93) Add Windows tests ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
18
+
19
+ #### Committers: 2
20
+ - Chris Manson ([@mansona](https://github.com/mansona))
21
+ - [@NullVoxPopuli](https://github.com/NullVoxPopuli)
22
+
23
+ ## Release (2025-10-06)
24
+
25
+ * @ember/app-blueprint 6.8.0-beta.5 (minor)
26
+
27
+ #### :rocket: Enhancement
28
+ * `@ember/app-blueprint`
29
+ * [#91](https://github.com/ember-cli/ember-app-blueprint/pull/91) [bugfix beta] add legacy inspector support ([@mansona](https://github.com/mansona))
30
+
31
+ #### Committers: 1
32
+ - Chris Manson ([@mansona](https://github.com/mansona))
33
+
3
34
  ## Release (2025-10-06)
4
35
 
5
36
  * @ember/app-blueprint 6.8.0-beta.4 (patch)
package/files/README.md CHANGED
@@ -11,7 +11,6 @@ You will need the following things properly installed on your computer.
11
11
  - [Node.js](https://nodejs.org/)<% if (pnpm) { %>
12
12
  - [pnpm](https://pnpm.io/)<% } else if (yarn) { %>
13
13
  - [Yarn](https://yarnpkg.com/)<% } else { %> (with npm)<% } %>
14
- - [Ember CLI](https://cli.emberjs.com/release/)
15
14
  - [Google Chrome](https://google.com/chrome/)
16
15
 
17
16
  ## Installation
@@ -28,12 +27,11 @@ You will need the following things properly installed on your computer.
28
27
 
29
28
  ### Code Generators
30
29
 
31
- Make use of the many generators for code, try `ember help generate` for more details
30
+ Make use of the many generators for code, try `<%= execBinPrefix %> ember help generate` for more details
32
31
 
33
32
  ### Running Tests
34
33
 
35
34
  - `<%= invokeScriptPrefix %> test`
36
- - `<%= invokeScriptPrefix %> test <% if (npm) { %>-- <% } %>--server`
37
35
 
38
36
  ### Linting
39
37
 
@@ -42,7 +40,7 @@ Make use of the many generators for code, try `ember help generate` for more det
42
40
 
43
41
  ### Building
44
42
 
45
- - `<%= execBinPrefix %> ember build` (development)
43
+ - `<%= execBinPrefix %> vite build --mode development` (development)
46
44
  - `<%= invokeScriptPrefix %> build` (production)
47
45
 
48
46
  ### Deploying
@@ -52,7 +50,7 @@ Specify what it takes to deploy your app.
52
50
  ## Further Reading / Useful Links
53
51
 
54
52
  - [ember.js](https://emberjs.com/)
55
- - [ember-cli](https://cli.emberjs.com/release/)
53
+ - [Vite](https://vite.dev)
56
54
  - Development Browser Extensions
57
55
  - [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
58
56
  - [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)
package/files/app/app.ts CHANGED
@@ -4,6 +4,7 @@ import Resolver from 'ember-resolver';
4
4
  import loadInitializers from 'ember-load-initializers';
5
5
  import config from '<%= modulePrefix %>/config/environment';
6
6
  import { importSync, isDevelopingApp, macroCondition } from '@embroider/macros';
7
+ import setupInspector from '@embroider/legacy-inspector-support/ember-source-4.12';
7
8
 
8
9
  if (macroCondition(isDevelopingApp())) {
9
10
  importSync('./deprecation-workflow');
@@ -13,6 +14,7 @@ export default class App extends Application {
13
14
  modulePrefix = config.modulePrefix;
14
15
  podModulePrefix = config.podModulePrefix;
15
16
  Resolver = Resolver.withModules(compatModules);
17
+ inspector = setupInspector(this);
16
18
  }
17
19
 
18
20
  loadInitializers(App, config.modulePrefix, compatModules);
File without changes
@@ -56,6 +56,7 @@
56
56
  "@embroider/compat": "^4.1.3",
57
57
  "@embroider/router": "^3.0.3",
58
58
  "@embroider/config-meta-loader": "^1.0.0",
59
+ "@embroider/legacy-inspector-support": "^0.1.2",
59
60
  "@eslint/js": "^9.34.0",
60
61
  "@glimmer/component": "^2.0.0<% if (typescript) { %>",
61
62
  "@glint/core": "^1.5.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember/app-blueprint",
3
- "version": "6.8.0-beta.4",
3
+ "version": "6.8.0-beta.6",
4
4
  "description": "Blueprint for next generation of Ember apps",
5
5
  "keywords": [
6
6
  "ember-blueprint"
@@ -41,7 +41,7 @@
41
41
  "release-plan": "^0.16.0",
42
42
  "strip-ansi": "^7.1.0",
43
43
  "tmp-promise": "^3.0.3",
44
- "vitest": "^3.1.2"
44
+ "vitest": "^3.2.4"
45
45
  },
46
46
  "scripts": {
47
47
  "lint": "concurrently 'pnpm:lint:*(!fix)'",
@@ -14,7 +14,13 @@ describe('linting & formatting', function () {
14
14
  app = await generateApp({ flags: ['--pnpm'], skipNpm: false });
15
15
  });
16
16
 
17
- it('yields output without errors', async function () {
17
+ it('yields output without errors', async function (context) {
18
+ // Lint errors on windows machines - probably because of line-endings.
19
+ // TODO fix the config so that a newly generated app doens't fail lint on windows
20
+ if (process.platform === 'win32') {
21
+ context.skip();
22
+ }
23
+
18
24
  let { exitCode } = await app.execa('pnpm', ['lint']);
19
25
 
20
26
  expect(exitCode).to.equal(0);
@@ -35,7 +41,13 @@ describe('linting & formatting', function () {
35
41
  });
36
42
  });
37
43
 
38
- it('yields output without errors', async function () {
44
+ it('yields output without errors', async function (context) {
45
+ // Lint errors on windows machines - probably because of line-endings.
46
+ // TODO fix the config so that a newly generated app doens't fail lint on windows
47
+ if (process.platform === 'win32') {
48
+ context.skip();
49
+ }
50
+
39
51
  let { exitCode } = await app.execa('pnpm', ['lint']);
40
52
 
41
53
  expect(exitCode).to.equal(0);
package/vitest.config.ts CHANGED
@@ -3,8 +3,11 @@ import { defineConfig } from 'vitest/config';
3
3
  const ONE_SECOND = 1_000;
4
4
 
5
5
  export default defineConfig({
6
+ /**
7
+ * add a 3x factor for windows tests... because windows 😭
8
+ */
6
9
  test: {
7
- testTimeout: 240 * ONE_SECOND,
8
- hookTimeout: 240 * ONE_SECOND,
10
+ testTimeout: 240 * ONE_SECOND * (process.platform === 'win32' ? 3 : 1),
11
+ hookTimeout: 240 * ONE_SECOND * (process.platform === 'win32' ? 3 : 1),
9
12
  },
10
13
  });