ember-codemod-remove-ember-css-modules 0.2.0-alpha.1 → 0.2.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.
- package/dist/src/utils/blueprints/blueprints-root.js +1 -1
- package/dist/src/utils/blueprints/get-version.js +2 -2
- package/package.json +15 -17
- /package/{blueprints → dist/src/blueprints}/ember-cli/component/javascript.js +0 -0
- /package/{blueprints → dist/src/blueprints}/ember-cli/component/typescript.ts +0 -0
- /package/{blueprints → dist/src/blueprints}/ember-cli/controller/javascript.js +0 -0
- /package/{blueprints → dist/src/blueprints}/ember-cli/controller/typescript.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { join } from 'node:path';
|
|
2
2
|
import { getFilePath } from '@codemod-utils/blueprints';
|
|
3
3
|
const fileURL = import.meta.url;
|
|
4
|
-
export const blueprintsRoot = join(getFilePath(fileURL), '
|
|
4
|
+
export const blueprintsRoot = join(getFilePath(fileURL), '../../blueprints');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { decideVersion } from '@codemod-utils/blueprints';
|
|
2
2
|
const latestVersions = new Map([
|
|
3
|
-
['embroider-css-modules', '0.1.
|
|
4
|
-
['type-css-modules', '0.1.
|
|
3
|
+
['embroider-css-modules', '0.1.7'],
|
|
4
|
+
['type-css-modules', '0.1.5'],
|
|
5
5
|
['webpack', '5.86.0'],
|
|
6
6
|
]);
|
|
7
7
|
export function getVersion(packageName, options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-codemod-remove-ember-css-modules",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Codemod to replace ember-css-modules with embroider-css-modules",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"codemod",
|
|
@@ -23,19 +23,8 @@
|
|
|
23
23
|
"test": "tests"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
|
-
"blueprints",
|
|
27
26
|
"dist"
|
|
28
27
|
],
|
|
29
|
-
"scripts": {
|
|
30
|
-
"build": "tsc --project tsconfig.build.json && chmod +x dist/bin/ember-codemod-remove-ember-css-modules.js",
|
|
31
|
-
"lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
|
|
32
|
-
"lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"",
|
|
33
|
-
"lint:js": "eslint . --cache",
|
|
34
|
-
"lint:js:fix": "eslint . --fix",
|
|
35
|
-
"lint:types": "tsc --noEmit",
|
|
36
|
-
"prepare": "pnpm build",
|
|
37
|
-
"test": "tsc --build && mt dist-for-testing --quiet"
|
|
38
|
-
},
|
|
39
28
|
"dependencies": {
|
|
40
29
|
"@codemod-utils/ast": "^0.2.0",
|
|
41
30
|
"@codemod-utils/blueprints": "^0.2.0",
|
|
@@ -45,18 +34,27 @@
|
|
|
45
34
|
},
|
|
46
35
|
"devDependencies": {
|
|
47
36
|
"@codemod-utils/tests": "^0.2.2",
|
|
48
|
-
"@shared-configs/eslint-config": "workspace:*",
|
|
49
|
-
"@shared-configs/prettier": "workspace:*",
|
|
50
|
-
"@shared-configs/typescript": "workspace:*",
|
|
51
37
|
"@sondr3/minitest": "^0.1.1",
|
|
52
38
|
"@types/node": "^16.11.7",
|
|
53
39
|
"@types/yargs": "^17.0.24",
|
|
54
40
|
"concurrently": "^8.2.0",
|
|
55
41
|
"eslint": "^8.42.0",
|
|
56
42
|
"prettier": "^2.8.8",
|
|
57
|
-
"typescript": "^5.1.3"
|
|
43
|
+
"typescript": "^5.1.3",
|
|
44
|
+
"@shared-configs/eslint-config": "0.0.0",
|
|
45
|
+
"@shared-configs/typescript": "0.0.0",
|
|
46
|
+
"@shared-configs/prettier": "0.0.0"
|
|
58
47
|
},
|
|
59
48
|
"engines": {
|
|
60
49
|
"node": "16.* || >= 18"
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "./build.sh --production",
|
|
53
|
+
"lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
|
|
54
|
+
"lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"",
|
|
55
|
+
"lint:js": "eslint . --cache",
|
|
56
|
+
"lint:js:fix": "eslint . --fix",
|
|
57
|
+
"lint:types": "tsc --noEmit",
|
|
58
|
+
"test": "./build.sh --test && mt dist-for-testing --quiet"
|
|
61
59
|
}
|
|
62
|
-
}
|
|
60
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|