ember-codemod-pod-to-octane 1.2.5 → 1.2.6
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 +4 -4
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ _Codemod to un-pod Ember apps, addons, and engines_
|
|
|
16
16
|
Step 1. Quickly return to [default Octane](https://cli.emberjs.com/release/advanced-use/project-layouts/#classiclayout).<sup>1</sup>
|
|
17
17
|
|
|
18
18
|
```sh
|
|
19
|
-
cd <your/project
|
|
19
|
+
cd <path/to/your/project>
|
|
20
20
|
npx ember-codemod-pod-to-octane <arguments>
|
|
21
21
|
```
|
|
22
22
|
|
|
@@ -56,7 +56,7 @@ npx ember-codemod-pod-to-octane --test
|
|
|
56
56
|
Pass `--root` to run the codemod on a project somewhere else (i.e. not in the current directory).
|
|
57
57
|
|
|
58
58
|
```sh
|
|
59
|
-
npx ember-codemod-pod-to-octane --root=<your/project
|
|
59
|
+
npx ember-codemod-pod-to-octane --root=<path/to/your/project>
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
Note, you can use `--root` to un-pod the demo app of an Ember addon.
|
|
@@ -114,13 +114,13 @@ The codemod assumes that an engine is used to define routes and route-specific c
|
|
|
114
114
|
To better meet your needs, consider cloning the repo and running the codemod locally.
|
|
115
115
|
|
|
116
116
|
```sh
|
|
117
|
-
cd <
|
|
117
|
+
cd <path/to/cloned/repo>
|
|
118
118
|
|
|
119
119
|
# Compile TypeScript
|
|
120
120
|
pnpm build
|
|
121
121
|
|
|
122
122
|
# Run codemod
|
|
123
|
-
./dist/bin/ember-codemod-pod-to-octane.js --root=<your/project
|
|
123
|
+
./dist/bin/ember-codemod-pod-to-octane.js --root=<path/to/your/project>
|
|
124
124
|
```
|
|
125
125
|
|
|
126
126
|
|
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.6",
|
|
4
4
|
"description": "Codemod to un-pod Ember apps, addons, and engines",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"codemod",
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
"test": "tests"
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
|
-
"blueprints",
|
|
25
24
|
"dist"
|
|
26
25
|
],
|
|
27
26
|
"dependencies": {
|
|
@@ -66,13 +65,13 @@
|
|
|
66
65
|
}
|
|
67
66
|
},
|
|
68
67
|
"scripts": {
|
|
69
|
-
"build": "
|
|
68
|
+
"build": "./build.sh --production",
|
|
70
69
|
"changelog": "lerna-changelog",
|
|
71
70
|
"lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
|
|
72
71
|
"lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"",
|
|
73
72
|
"lint:js": "eslint . --cache",
|
|
74
73
|
"lint:js:fix": "eslint . --fix",
|
|
75
74
|
"lint:types": "tsc --noEmit",
|
|
76
|
-
"test": "
|
|
75
|
+
"test": "./build.sh --test && mt dist-for-testing --quiet"
|
|
77
76
|
}
|
|
78
77
|
}
|