ember-codemod-pod-to-octane 5.0.0 → 5.0.1
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/README.md +7 -9
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ Step 1. Quickly return to [default Octane](https://cli.emberjs.com/release/advan
|
|
|
17
17
|
|
|
18
18
|
```sh
|
|
19
19
|
cd <path/to/your/project>
|
|
20
|
-
|
|
20
|
+
pnpx ember-codemod-pod-to-octane <arguments>
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
> [!NOTE]
|
|
@@ -50,10 +50,10 @@ You must pass `--type` to indicate what type of project you have.
|
|
|
50
50
|
|
|
51
51
|
```sh
|
|
52
52
|
# For classic apps
|
|
53
|
-
|
|
53
|
+
pnpx ember-codemod-pod-to-octane --type app
|
|
54
54
|
|
|
55
55
|
# For v1 addons (including engines)
|
|
56
|
-
|
|
56
|
+
pnpx ember-codemod-pod-to-octane --type v1-addon
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
|
|
@@ -64,7 +64,7 @@ npx ember-codemod-pod-to-octane --type v1-addon
|
|
|
64
64
|
Pass `--test` to preview how the codemod will move files.
|
|
65
65
|
|
|
66
66
|
```sh
|
|
67
|
-
|
|
67
|
+
pnpx ember-codemod-pod-to-octane --test
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
</details>
|
|
@@ -77,14 +77,14 @@ npx ember-codemod-pod-to-octane --test
|
|
|
77
77
|
Pass `--root` to run the codemod on a project somewhere else (i.e. not in the current directory).
|
|
78
78
|
|
|
79
79
|
```sh
|
|
80
|
-
|
|
80
|
+
pnpx ember-codemod-pod-to-octane --root <path/to/your/project>
|
|
81
81
|
```
|
|
82
82
|
|
|
83
83
|
Note, you can use `--root` to un-pod the demo app of an Ember addon.
|
|
84
84
|
|
|
85
85
|
```sh
|
|
86
86
|
# If the current directory is the addon root
|
|
87
|
-
|
|
87
|
+
pnpx ember-codemod-pod-to-octane --type app --root tests/dummy
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
</details>
|
|
@@ -98,7 +98,7 @@ Pass `--pod-path` if `podModulePrefix` has been set in `config/environment.js`.
|
|
|
98
98
|
|
|
99
99
|
```sh
|
|
100
100
|
# If modulePrefix is 'my-app' and podModulePrefix is 'my-app/pods'
|
|
101
|
-
|
|
101
|
+
pnpx ember-codemod-pod-to-octane --pod-path pods
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
</details>
|
|
@@ -168,8 +168,6 @@ pnpm build
|
|
|
168
168
|
|
|
169
169
|
See the [Contributing](CONTRIBUTING.md) guide for details.
|
|
170
170
|
|
|
171
|
-
If you have an open-sourced app or addon that I can use as a reference, reach out to me on [Discord](https://discord.gg/emberjs) at `ijlee2`. Please star this project so that I can gauge its importance to you and the Ember community. ⭐
|
|
172
|
-
|
|
173
171
|
|
|
174
172
|
## License
|
|
175
173
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-codemod-pod-to-octane",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Codemod to un-pod Ember apps, addons, and engines",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"codemod",
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
"yargs": "^18.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@changesets/cli": "^2.
|
|
28
|
+
"@changesets/cli": "^2.30.0",
|
|
29
29
|
"@codemod-utils/tests": "^3.0.0",
|
|
30
|
-
"@ijlee2-frontend-configs/changesets": "^2.
|
|
31
|
-
"@ijlee2-frontend-configs/eslint-config-node": "^3.
|
|
32
|
-
"@ijlee2-frontend-configs/prettier": "^3.0.
|
|
30
|
+
"@ijlee2-frontend-configs/changesets": "^2.1.0",
|
|
31
|
+
"@ijlee2-frontend-configs/eslint-config-node": "^3.1.0",
|
|
32
|
+
"@ijlee2-frontend-configs/prettier": "^3.0.1",
|
|
33
33
|
"@sondr3/minitest": "^0.1.2",
|
|
34
34
|
"@tsconfig/node22": "^22.0.5",
|
|
35
35
|
"@tsconfig/strictest": "^2.0.8",
|
|
36
|
-
"@types/node": "^22.19.
|
|
36
|
+
"@types/node": "^22.19.15",
|
|
37
37
|
"@types/yargs": "^17.0.35",
|
|
38
38
|
"concurrently": "^9.2.1",
|
|
39
|
-
"eslint": "^9.39.
|
|
39
|
+
"eslint": "^9.39.4",
|
|
40
40
|
"prettier": "^3.8.1",
|
|
41
41
|
"typescript": "^5.9.3"
|
|
42
42
|
},
|