ember-codemod-v1-to-v2 0.7.3 → 0.7.4
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 +1 -1
- package/dist/src/utils/blueprints/get-version.js +4 -4
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -125,7 +125,7 @@ If you have an open-sourced addon (v1 or v2) that I can use as a reference, reac
|
|
|
125
125
|
|
|
126
126
|
## Credits
|
|
127
127
|
|
|
128
|
-
The codemod steps were based on [Migrating an Ember addon to the next-gen v2 format](https://www.kaliber5.de/de/blog/v2-addon_en) and [Guide: Porting an Addon to v2](https://github.com/embroider-build/embroider/blob/
|
|
128
|
+
The codemod steps were based on [Migrating an Ember addon to the next-gen v2 format](https://www.kaliber5.de/de/blog/v2-addon_en) and [Guide: Porting an Addon to v2](https://github.com/embroider-build/embroider/blob/v3.1.1-core/docs/porting-addons-to-v2.md). The blueprints were derived from [`@embroider/addon-blueprint`](https://github.com/embroider-build/addon-blueprint).
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
## License
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { decideVersion } from '@codemod-utils/blueprints';
|
|
2
2
|
const latestVersions = new Map([
|
|
3
|
-
['@babel/core', '7.22.
|
|
3
|
+
['@babel/core', '7.22.6'],
|
|
4
4
|
['@babel/plugin-proposal-class-properties', '7.18.6'],
|
|
5
|
-
['@babel/plugin-proposal-decorators', '7.22.
|
|
5
|
+
['@babel/plugin-proposal-decorators', '7.22.6'],
|
|
6
6
|
['@babel/preset-typescript', '7.22.5'],
|
|
7
|
-
['@babel/runtime', '7.22.
|
|
7
|
+
['@babel/runtime', '7.22.6'],
|
|
8
8
|
['@embroider/addon-dev', '3.1.1'],
|
|
9
9
|
['@embroider/addon-shim', '1.8.5'],
|
|
10
10
|
['@rollup/plugin-babel', '6.0.3'],
|
|
@@ -12,7 +12,7 @@ const latestVersions = new Map([
|
|
|
12
12
|
['ember-auto-import', '2.6.3'],
|
|
13
13
|
['ember-cli-babel', '7.26.11'],
|
|
14
14
|
['ember-cli-htmlbars', '6.2.0'],
|
|
15
|
-
['rollup', '3.
|
|
15
|
+
['rollup', '3.26.0'],
|
|
16
16
|
['rollup-plugin-copy', '3.4.0'],
|
|
17
17
|
['rollup-plugin-ts', '3.2.0'],
|
|
18
18
|
]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-codemod-v1-to-v2",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"description": "Codemod to convert Ember addons to v2 addon format",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"codemod",
|
|
@@ -28,34 +28,34 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@codemod-utils/blueprints": "^0.2.1",
|
|
31
|
-
"@codemod-utils/files": "^0.5.
|
|
31
|
+
"@codemod-utils/files": "^0.5.1",
|
|
32
32
|
"@codemod-utils/json": "^0.3.2",
|
|
33
33
|
"strip-json-comments": "^5.0.0",
|
|
34
34
|
"yargs": "^17.7.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@babel/core": "^7.22.
|
|
38
|
-
"@codemod-utils/tests": "^0.2.
|
|
37
|
+
"@babel/core": "^7.22.6",
|
|
38
|
+
"@codemod-utils/tests": "^0.2.4",
|
|
39
39
|
"@sondr3/minitest": "^0.1.1",
|
|
40
|
-
"@tsconfig/esm": "^1.0.
|
|
41
|
-
"@tsconfig/node16": "^1.0
|
|
40
|
+
"@tsconfig/esm": "^1.0.4",
|
|
41
|
+
"@tsconfig/node16": "^16.1.0",
|
|
42
42
|
"@tsconfig/strictest": "^2.0.1",
|
|
43
43
|
"@types/node": "^16.11.7",
|
|
44
44
|
"@types/yargs": "^17.0.24",
|
|
45
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
46
|
-
"@typescript-eslint/parser": "^5.
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "^5.61.0",
|
|
46
|
+
"@typescript-eslint/parser": "^5.61.0",
|
|
47
47
|
"concurrently": "^8.2.0",
|
|
48
|
-
"eslint": "^8.
|
|
48
|
+
"eslint": "^8.44.0",
|
|
49
49
|
"eslint-config-prettier": "^8.8.0",
|
|
50
50
|
"eslint-import-resolver-typescript": "^3.5.5",
|
|
51
51
|
"eslint-plugin-import": "^2.27.5",
|
|
52
|
-
"eslint-plugin-n": "^16.0.
|
|
52
|
+
"eslint-plugin-n": "^16.0.1",
|
|
53
53
|
"eslint-plugin-prettier": "^4.2.1",
|
|
54
54
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
55
55
|
"eslint-plugin-typescript-sort-keys": "^2.3.0",
|
|
56
56
|
"lerna-changelog": "^2.2.0",
|
|
57
57
|
"prettier": "^2.8.8",
|
|
58
|
-
"typescript": "^5.1.
|
|
58
|
+
"typescript": "^5.1.6"
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": ">= 16"
|