ember-codemod-remove-ember-css-modules 4.0.2 → 4.0.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/README.md +5 -5
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ Step 1. Quickly remove `ember-css-modules` syntax.<sup>1</sup>
|
|
|
31
31
|
|
|
32
32
|
```sh
|
|
33
33
|
cd <path/to/your/project>
|
|
34
|
-
|
|
34
|
+
pnpx ember-codemod-remove-ember-css-modules <arguments>
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
Manually remove the remaining instances of `local-class` attributes and `{{local-class}}` helpers.
|
|
@@ -51,8 +51,8 @@ Step 2. Update project configurations.<sup>2</sup>
|
|
|
51
51
|
You must pass `--type` to indicate what type of project you have.
|
|
52
52
|
|
|
53
53
|
```sh
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
pnpx ember-codemod-remove-ember-css-modules --type app
|
|
55
|
+
pnpx ember-codemod-remove-ember-css-modules --type v2-addon
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
|
|
@@ -63,7 +63,7 @@ npx ember-codemod-remove-ember-css-modules --type v2-addon
|
|
|
63
63
|
By default, an Embroider project has the flat component structure. Pass `--component-structure` to indicate otherwise.
|
|
64
64
|
|
|
65
65
|
```sh
|
|
66
|
-
|
|
66
|
+
pnpx ember-codemod-remove-ember-css-modules --component-structure nested
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
</details>
|
|
@@ -75,7 +75,7 @@ npx ember-codemod-remove-ember-css-modules --component-structure nested
|
|
|
75
75
|
Pass `--root` to run the codemod somewhere else (i.e. not in the current directory).
|
|
76
76
|
|
|
77
77
|
```sh
|
|
78
|
-
|
|
78
|
+
pnpx ember-codemod-remove-ember-css-modules --root <path/to/your/project>
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
</details>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-codemod-remove-ember-css-modules",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "Codemod to replace ember-css-modules with embroider-css-modules",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"codemod",
|
|
@@ -26,20 +26,20 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@codemod-utils/ast-javascript": "^3.0.1",
|
|
28
28
|
"@codemod-utils/ast-template": "^3.0.1",
|
|
29
|
-
"@codemod-utils/blueprints": "^3.0
|
|
29
|
+
"@codemod-utils/blueprints": "^3.1.0",
|
|
30
30
|
"@codemod-utils/ember": "^4.1.1",
|
|
31
31
|
"@codemod-utils/files": "^4.0.1",
|
|
32
|
-
"@codemod-utils/package-json": "^4.0.
|
|
32
|
+
"@codemod-utils/package-json": "^4.0.2",
|
|
33
33
|
"yargs": "^18.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@codemod-utils/tests": "^3.0.
|
|
36
|
+
"@codemod-utils/tests": "^3.0.2",
|
|
37
37
|
"@sondr3/minitest": "^0.1.2",
|
|
38
|
-
"@types/node": "^22.19.
|
|
38
|
+
"@types/node": "^22.19.17",
|
|
39
39
|
"@types/yargs": "^17.0.35",
|
|
40
40
|
"concurrently": "^9.2.1",
|
|
41
41
|
"eslint": "^9.39.4",
|
|
42
|
-
"prettier": "^3.8.
|
|
42
|
+
"prettier": "^3.8.3",
|
|
43
43
|
"typescript": "^5.9.3",
|
|
44
44
|
"@shared-configs/eslint-config-node": "0.0.0",
|
|
45
45
|
"@shared-configs/typescript": "0.0.0",
|