ember-codemod-pod-to-octane 1.2.9 → 1.2.10
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 +6 -5
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -39,6 +39,7 @@ npx ember-codemod-pod-to-octane --type engine
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
<details>
|
|
42
|
+
|
|
42
43
|
<summary>Optional: Do a test run</summary>
|
|
43
44
|
|
|
44
45
|
Pass `--test` to preview how the codemod will move files.
|
|
@@ -51,6 +52,7 @@ npx ember-codemod-pod-to-octane --test
|
|
|
51
52
|
|
|
52
53
|
|
|
53
54
|
<details>
|
|
55
|
+
|
|
54
56
|
<summary>Optional: Specify the project root</summary>
|
|
55
57
|
|
|
56
58
|
Pass `--root` to run the codemod on a project somewhere else (i.e. not in the current directory).
|
|
@@ -70,6 +72,7 @@ npx ember-codemod-pod-to-octane --type app --root tests/dummy
|
|
|
70
72
|
|
|
71
73
|
|
|
72
74
|
<details>
|
|
75
|
+
|
|
73
76
|
<summary>Optional: Specify the pod path</summary>
|
|
74
77
|
|
|
75
78
|
Pass `--pod-path` if `podModulePrefix` has been set in `config/environment.js`. "Subtract" `modulePrefix` from `podModulePrefix` to get the pod path.
|
|
@@ -88,6 +91,7 @@ The codemod is designed to cover typical uses of an Ember app, addon, and engine
|
|
|
88
91
|
|
|
89
92
|
|
|
90
93
|
<details>
|
|
94
|
+
|
|
91
95
|
<summary>Apps</summary>
|
|
92
96
|
|
|
93
97
|
To account for a bug (found when Ember CLI is combined with Ember Data), the codemod doesn't consider unit tests for adapters, models, and serializers. You will need to manually move the test files.
|
|
@@ -96,6 +100,7 @@ To account for a bug (found when Ember CLI is combined with Ember Data), the cod
|
|
|
96
100
|
|
|
97
101
|
|
|
98
102
|
<details>
|
|
103
|
+
|
|
99
104
|
<summary>Addons</summary>
|
|
100
105
|
|
|
101
106
|
The codemod assumes that an addon is used to define components (not models or routes).
|
|
@@ -104,6 +109,7 @@ The codemod assumes that an addon is used to define components (not models or ro
|
|
|
104
109
|
|
|
105
110
|
|
|
106
111
|
<details>
|
|
112
|
+
|
|
107
113
|
<summary>Engines</summary>
|
|
108
114
|
|
|
109
115
|
The codemod assumes that an engine is used to define routes and route-specific components.
|
|
@@ -136,11 +142,6 @@ See the [Contributing](CONTRIBUTING.md) guide for details.
|
|
|
136
142
|
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. ⭐
|
|
137
143
|
|
|
138
144
|
|
|
139
|
-
## Credits
|
|
140
|
-
|
|
141
|
-
Thanks goes to FlashRecruit, Imago, and CLARK, who gave me the necessary Ember experience. Some code is based on [`ember-component-template-colocation-migrator`](https://github.com/ember-codemods/ember-component-template-colocation-migrator).
|
|
142
|
-
|
|
143
|
-
|
|
144
145
|
## License
|
|
145
146
|
|
|
146
147
|
This project is licensed under the [MIT License](LICENSE.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-codemod-pod-to-octane",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.10",
|
|
4
4
|
"description": "Codemod to un-pod Ember apps, addons, and engines",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"codemod",
|
|
@@ -28,27 +28,27 @@
|
|
|
28
28
|
"yargs": "^17.7.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@babel/core": "^7.22.
|
|
32
|
-
"@codemod-utils/tests": "^0.
|
|
31
|
+
"@babel/core": "^7.22.10",
|
|
32
|
+
"@codemod-utils/tests": "^0.3.0",
|
|
33
33
|
"@sondr3/minitest": "^0.1.1",
|
|
34
34
|
"@tsconfig/esm": "^1.0.4",
|
|
35
35
|
"@tsconfig/node16": "^16.1.0",
|
|
36
36
|
"@tsconfig/strictest": "^2.0.1",
|
|
37
|
-
"@types/node": "^16.
|
|
37
|
+
"@types/node": "^16.18.40",
|
|
38
38
|
"@types/yargs": "^17.0.24",
|
|
39
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
40
|
-
"@typescript-eslint/parser": "^6.
|
|
39
|
+
"@typescript-eslint/eslint-plugin": "^6.3.0",
|
|
40
|
+
"@typescript-eslint/parser": "^6.3.0",
|
|
41
41
|
"concurrently": "^8.2.0",
|
|
42
|
-
"eslint": "^8.
|
|
43
|
-
"eslint-config-prettier": "^
|
|
44
|
-
"eslint-import-resolver-typescript": "^3.
|
|
45
|
-
"eslint-plugin-import": "^2.
|
|
42
|
+
"eslint": "^8.47.0",
|
|
43
|
+
"eslint-config-prettier": "^9.0.0",
|
|
44
|
+
"eslint-import-resolver-typescript": "^3.6.0",
|
|
45
|
+
"eslint-plugin-import": "^2.28.0",
|
|
46
46
|
"eslint-plugin-n": "^16.0.1",
|
|
47
47
|
"eslint-plugin-prettier": "^5.0.0",
|
|
48
48
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
49
49
|
"eslint-plugin-typescript-sort-keys": "^2.3.0",
|
|
50
50
|
"lerna-changelog": "^2.2.0",
|
|
51
|
-
"prettier": "^3.0.
|
|
51
|
+
"prettier": "^3.0.1",
|
|
52
52
|
"typescript": "^5.1.6"
|
|
53
53
|
},
|
|
54
54
|
"engines": {
|