ember.nvp 0.2.4 → 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.
- package/.release-plan.json +3 -3
- package/CHANGELOG.md +11 -0
- package/package.json +1 -1
- package/src/layers/git/files/gitignore +1 -0
- package/src/layers/git/index.js +6 -2
package/.release-plan.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"solution": {
|
|
3
3
|
"ember.nvp": {
|
|
4
4
|
"impact": "patch",
|
|
5
|
-
"oldVersion": "0.2.
|
|
6
|
-
"newVersion": "0.2.
|
|
5
|
+
"oldVersion": "0.2.4",
|
|
6
|
+
"newVersion": "0.2.5",
|
|
7
7
|
"tagName": "latest",
|
|
8
8
|
"constraints": [
|
|
9
9
|
{
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"oldVersion": "1.0.2"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
"description": "## Release (2026-06-22)\n\n* ember.nvp 0.2.
|
|
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"
|
|
21
21
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
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
|
+
|
|
5
16
|
* ember.nvp 0.2.4 (patch)
|
|
6
17
|
|
|
7
18
|
#### :bug: Bug Fix
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember.nvp",
|
|
3
|
-
"version": "0.2.
|
|
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",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
node_modules
|
package/src/layers/git/index.js
CHANGED
|
@@ -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
|
-
|
|
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
|
|