ember.nvp 0.2.2 → 0.2.3
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 +7 -7
- package/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/packages/vite/README.md +6 -0
- package/packages/vite/package.json +2 -2
- package/src/bases/minimal-app/index.js +1 -0
- package/src/utils/npm.js +4 -0
package/.release-plan.json
CHANGED
|
@@ -2,30 +2,30 @@
|
|
|
2
2
|
"solution": {
|
|
3
3
|
"ember.nvp": {
|
|
4
4
|
"impact": "patch",
|
|
5
|
-
"oldVersion": "0.2.
|
|
6
|
-
"newVersion": "0.2.
|
|
5
|
+
"oldVersion": "0.2.2",
|
|
6
|
+
"newVersion": "0.2.3",
|
|
7
7
|
"tagName": "latest",
|
|
8
8
|
"constraints": [
|
|
9
9
|
{
|
|
10
10
|
"impact": "patch",
|
|
11
|
-
"reason": "Appears in changelog section :
|
|
11
|
+
"reason": "Appears in changelog section :bug: Bug Fix"
|
|
12
12
|
}
|
|
13
13
|
],
|
|
14
14
|
"pkgJSONPath": "./package.json"
|
|
15
15
|
},
|
|
16
16
|
"@nullvoxpopuli/ember-vite": {
|
|
17
17
|
"impact": "patch",
|
|
18
|
-
"oldVersion": "1.0.
|
|
19
|
-
"newVersion": "1.0.
|
|
18
|
+
"oldVersion": "1.0.1",
|
|
19
|
+
"newVersion": "1.0.2",
|
|
20
20
|
"tagName": "latest",
|
|
21
21
|
"constraints": [
|
|
22
22
|
{
|
|
23
23
|
"impact": "patch",
|
|
24
|
-
"reason": "Appears in changelog section :
|
|
24
|
+
"reason": "Appears in changelog section :bug: Bug Fix"
|
|
25
25
|
}
|
|
26
26
|
],
|
|
27
27
|
"pkgJSONPath": "./packages/vite/package.json"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
"description": "## Release (2026-06-
|
|
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"
|
|
31
31
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Release (2026-06-22)
|
|
4
|
+
|
|
5
|
+
* ember.nvp 0.2.3 (patch)
|
|
6
|
+
* @nullvoxpopuli/ember-vite 1.0.2 (patch)
|
|
7
|
+
|
|
8
|
+
#### :bug: Bug Fix
|
|
9
|
+
* `@nullvoxpopuli/ember-vite`, `ember.nvp`
|
|
10
|
+
* [#41](https://github.com/NullVoxPopuli/ember.nvp/pull/41) Fix version range usage ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
11
|
+
* `ember.nvp`
|
|
12
|
+
* [#40](https://github.com/NullVoxPopuli/ember.nvp/pull/40) Ensure imports exist ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
|
|
13
|
+
|
|
14
|
+
#### Committers: 1
|
|
15
|
+
- [@NullVoxPopuli](https://github.com/NullVoxPopuli)
|
|
16
|
+
|
|
3
17
|
## Release (2026-06-01)
|
|
4
18
|
|
|
5
19
|
* ember.nvp 0.2.2 (patch)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember.nvp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
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",
|
package/packages/vite/README.md
CHANGED
|
@@ -31,6 +31,12 @@ Then delete from your package.json: `@rollup/plugin-babel`, `@embroider/core`, `
|
|
|
31
31
|
> [!NOTE]
|
|
32
32
|
> babel related deps are still needed for linting, so don't delete those
|
|
33
33
|
|
|
34
|
+
## Requirements
|
|
35
|
+
|
|
36
|
+
- `type=module` in your ember app
|
|
37
|
+
- babel config must be named `babel.config.js`
|
|
38
|
+
- `@embroider/vite` is up to date~ish
|
|
39
|
+
|
|
34
40
|
## Configuration
|
|
35
41
|
|
|
36
42
|
The `ember()` plugin takes the following options:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nullvoxpopuli/ember-vite",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Meta plugin for ember projects focusing on speed.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"packageManager": "pnpm@10.28.0",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@babel/core": "^7.28.
|
|
21
|
+
"@babel/core": "^7.28.10",
|
|
22
22
|
"@embroider/core": "^4.4.2",
|
|
23
23
|
"@embroider/vite": "^1.5.0",
|
|
24
24
|
"@rollup/plugin-babel": "^7.1.0",
|
package/src/utils/npm.js
CHANGED
|
@@ -16,6 +16,7 @@ export async function getLatest(deps) {
|
|
|
16
16
|
let results = await Promise.all(
|
|
17
17
|
Object.entries(deps).map(async ([dep, range]) => {
|
|
18
18
|
let existing = CACHE[dep]?.[range];
|
|
19
|
+
|
|
19
20
|
if (existing) {
|
|
20
21
|
return [dep, existing];
|
|
21
22
|
}
|
|
@@ -37,6 +38,9 @@ export async function getLatest(deps) {
|
|
|
37
38
|
if (needsLocalLink && dep === "@nullvoxpopuli/ember-vite") {
|
|
38
39
|
version = "link:" + resolve(join(import.meta.dirname, "../../packages/vite"));
|
|
39
40
|
} else {
|
|
41
|
+
if (range == "workspace:*") {
|
|
42
|
+
range = "latest";
|
|
43
|
+
}
|
|
40
44
|
version = await latestVersion(dep, { version: range });
|
|
41
45
|
}
|
|
42
46
|
|