ember.nvp 0.2.3 → 0.2.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.
@@ -2,8 +2,8 @@
2
2
  "solution": {
3
3
  "ember.nvp": {
4
4
  "impact": "patch",
5
- "oldVersion": "0.2.2",
6
- "newVersion": "0.2.3",
5
+ "oldVersion": "0.2.4",
6
+ "newVersion": "0.2.5",
7
7
  "tagName": "latest",
8
8
  "constraints": [
9
9
  {
@@ -14,18 +14,8 @@
14
14
  "pkgJSONPath": "./package.json"
15
15
  },
16
16
  "@nullvoxpopuli/ember-vite": {
17
- "impact": "patch",
18
- "oldVersion": "1.0.1",
19
- "newVersion": "1.0.2",
20
- "tagName": "latest",
21
- "constraints": [
22
- {
23
- "impact": "patch",
24
- "reason": "Appears in changelog section :bug: Bug Fix"
25
- }
26
- ],
27
- "pkgJSONPath": "./packages/vite/package.json"
17
+ "oldVersion": "1.0.2"
28
18
  }
29
19
  },
30
- "description": "## Release (2026-06-22)\n\n* ember.nvp 0.2.3 (patch)\n* @nullvoxpopuli/ember-vite 1.0.2 (patch)\n\n#### :bug: Bug Fix\n* `@nullvoxpopuli/ember-vite`, `ember.nvp`\n * [#41](https://github.com/NullVoxPopuli/ember.nvp/pull/41) Fix version range usage ([@NullVoxPopuli](https://github.com/NullVoxPopuli))\n* `ember.nvp`\n * [#40](https://github.com/NullVoxPopuli/ember.nvp/pull/40) Ensure imports exist ([@NullVoxPopuli](https://github.com/NullVoxPopuli))\n\n#### Committers: 1\n- [@NullVoxPopuli](https://github.com/NullVoxPopuli)\n"
20
+ "description": "## Release (2026-06-22)\n\n* ember.nvp 0.2.5 (patch)\n\n#### :bug: Bug Fix\n* `ember.nvp`\n * [#44](https://github.com/NullVoxPopuli/ember.nvp/pull/44) Fix new git ([@NullVoxPopuli](https://github.com/NullVoxPopuli))\n\n#### Committers: 1\n- [@NullVoxPopuli](https://github.com/NullVoxPopuli)\n"
31
21
  }
package/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  ## Release (2026-06-22)
4
4
 
5
+ * ember.nvp 0.2.5 (patch)
6
+
7
+ #### :bug: Bug Fix
8
+ * `ember.nvp`
9
+ * [#44](https://github.com/NullVoxPopuli/ember.nvp/pull/44) Fix new git ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
10
+
11
+ #### Committers: 1
12
+ - [@NullVoxPopuli](https://github.com/NullVoxPopuli)
13
+
14
+ ## Release (2026-06-22)
15
+
16
+ * ember.nvp 0.2.4 (patch)
17
+
18
+ #### :bug: Bug Fix
19
+ * `ember.nvp`
20
+ * [#42](https://github.com/NullVoxPopuli/ember.nvp/pull/42) fix falsey depndencies ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
21
+
22
+ #### Committers: 1
23
+ - [@NullVoxPopuli](https://github.com/NullVoxPopuli)
24
+
25
+ ## Release (2026-06-22)
26
+
5
27
  * ember.nvp 0.2.3 (patch)
6
28
  * @nullvoxpopuli/ember-vite 1.0.2 (patch)
7
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember.nvp",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "ember project generator, alternative to the official blueprints, but more modern -- hopefully one day to upstream back in to ember-cli / official blueprints",
5
5
  "repository": {
6
6
  "type": "git",
@@ -106,7 +106,11 @@ async function upgradeDependencies(project) {
106
106
  let existing = await packageJson.read(project.directory);
107
107
 
108
108
  await packageJson.modify(async (json) => {
109
- Object.assign(json.dependencies, await getLatest(existing.dependencies));
110
- Object.assign(json.devDependencies, await getLatest(existing.devDependencies));
109
+ if (json.dependencies) {
110
+ Object.assign(json.dependencies, await getLatest(existing.dependencies));
111
+ }
112
+ if (json.devDependencies) {
113
+ Object.assign(json.devDependencies, await getLatest(existing.devDependencies));
114
+ }
111
115
  }, project.directory);
112
116
  }
@@ -0,0 +1 @@
1
+ node_modules
@@ -1,7 +1,7 @@
1
- import { files } from "ember-apply";
2
1
  import { hasGit, initGit, isInGit } from "#utils/git.js";
3
2
  import { formatLabel } from "#utils/cli.js";
4
3
  import { join } from "node:path";
4
+ import { cp } from "node:fs/promises";
5
5
 
6
6
  export default {
7
7
  label: formatLabel("git init"),
@@ -24,8 +24,12 @@ export default {
24
24
 
25
25
  let initOk = initGit(project.directory);
26
26
  if (initOk) {
27
- await files.applyFolder(join(import.meta.dirname, "files"), project.directory);
27
+ let gitIgnorePath = join(import.meta.dirname, "files/gitignore");
28
+ let targetPath = join(project.directory, ".gitignore");
29
+
30
+ await cp(gitIgnorePath, targetPath, { force: true });
28
31
  }
32
+
29
33
  return initOk;
30
34
  },
31
35