ember-codemod-pod-to-octane 1.2.5 → 1.2.7

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 +4 -4
  2. package/package.json +8 -9
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/path>
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/path>
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 <your/cloned/repo>
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/path>
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.5",
3
+ "version": "1.2.7",
4
4
  "description": "Codemod to un-pod Ember apps, addons, and engines",
5
5
  "keywords": [
6
6
  "codemod",
@@ -21,26 +21,25 @@
21
21
  "test": "tests"
22
22
  },
23
23
  "files": [
24
- "blueprints",
25
24
  "dist"
26
25
  ],
27
26
  "dependencies": {
28
- "@codemod-utils/files": "^0.4.1",
27
+ "@codemod-utils/files": "^0.5.0",
29
28
  "yargs": "^17.7.2"
30
29
  },
31
30
  "devDependencies": {
32
31
  "@babel/core": "^7.22.5",
33
- "@codemod-utils/tests": "^0.2.2",
32
+ "@codemod-utils/tests": "^0.2.3",
34
33
  "@sondr3/minitest": "^0.1.1",
35
34
  "@tsconfig/esm": "^1.0.3",
36
35
  "@tsconfig/node16": "^1.0.4",
37
36
  "@tsconfig/strictest": "^2.0.1",
38
37
  "@types/node": "^16.11.7",
39
38
  "@types/yargs": "^17.0.24",
40
- "@typescript-eslint/eslint-plugin": "^5.59.9",
41
- "@typescript-eslint/parser": "^5.59.9",
39
+ "@typescript-eslint/eslint-plugin": "^5.60.0",
40
+ "@typescript-eslint/parser": "^5.60.0",
42
41
  "concurrently": "^8.2.0",
43
- "eslint": "^8.42.0",
42
+ "eslint": "^8.43.0",
44
43
  "eslint-config-prettier": "^8.8.0",
45
44
  "eslint-import-resolver-typescript": "^3.5.5",
46
45
  "eslint-plugin-import": "^2.27.5",
@@ -66,13 +65,13 @@
66
65
  }
67
66
  },
68
67
  "scripts": {
69
- "build": "tsc --project tsconfig.build.json && chmod +x dist/bin/ember-codemod-pod-to-octane.js",
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": "tsc --build && mt dist-for-testing --quiet"
75
+ "test": "./build.sh --test && mt dist-for-testing --quiet"
77
76
  }
78
77
  }