ember-codemod-pod-to-octane 4.1.3 → 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.
Files changed (2) hide show
  1. package/README.md +8 -10
  2. package/package.json +11 -11
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
- npx ember-codemod-pod-to-octane <arguments>
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
- npx ember-codemod-pod-to-octane --type app
53
+ pnpx ember-codemod-pod-to-octane --type app
54
54
 
55
55
  # For v1 addons (including engines)
56
- npx ember-codemod-pod-to-octane --type v1-addon
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
- npx ember-codemod-pod-to-octane --test
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
- npx ember-codemod-pod-to-octane --root <path/to/your/project>
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
- npx ember-codemod-pod-to-octane --type app --root tests/dummy
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
- npx ember-codemod-pod-to-octane --pod-path pods
101
+ pnpx ember-codemod-pod-to-octane --pod-path pods
102
102
  ```
103
103
 
104
104
  </details>
@@ -161,15 +161,13 @@ pnpm build
161
161
 
162
162
  ## Compatibility
163
163
 
164
- - Node.js v20 or above
164
+ - Node.js v22 or above
165
165
 
166
166
 
167
167
  ## Contributing
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": "4.1.3",
3
+ "version": "5.0.1",
4
4
  "description": "Codemod to un-pod Ember apps, addons, and engines",
5
5
  "keywords": [
6
6
  "codemod",
@@ -21,27 +21,27 @@
21
21
  "dist"
22
22
  ],
23
23
  "dependencies": {
24
- "@codemod-utils/files": "^3.2.4",
24
+ "@codemod-utils/files": "^4.0.0",
25
25
  "yargs": "^18.0.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@changesets/cli": "^2.29.8",
29
- "@codemod-utils/tests": "^2.2.3",
30
- "@ijlee2-frontend-configs/changesets": "^1.0.2",
31
- "@ijlee2-frontend-configs/eslint-config-node": "^2.4.0",
32
- "@ijlee2-frontend-configs/prettier": "^2.4.0",
28
+ "@changesets/cli": "^2.30.0",
29
+ "@codemod-utils/tests": "^3.0.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
- "@tsconfig/node20": "^20.1.8",
34
+ "@tsconfig/node22": "^22.0.5",
35
35
  "@tsconfig/strictest": "^2.0.8",
36
- "@types/node": "^20.19.30",
36
+ "@types/node": "^22.19.15",
37
37
  "@types/yargs": "^17.0.35",
38
38
  "concurrently": "^9.2.1",
39
- "eslint": "^9.39.2",
39
+ "eslint": "^9.39.4",
40
40
  "prettier": "^3.8.1",
41
41
  "typescript": "^5.9.3"
42
42
  },
43
43
  "engines": {
44
- "node": "20.* || >= 22"
44
+ "node": "22.* || >= 24"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "sh build.sh --production",