@backstage/codemods 0.1.47 → 0.1.48
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/CHANGELOG.md +8 -0
- package/bin/backstage-codemods +1 -9
- package/dist/index.cjs.js +1 -1
- package/package.json +25 -26
package/CHANGELOG.md
CHANGED
package/bin/backstage-codemods
CHANGED
|
@@ -24,14 +24,6 @@ const isLocal = require('fs').existsSync(path.resolve(__dirname, '../src'));
|
|
|
24
24
|
if (!isLocal) {
|
|
25
25
|
require('..');
|
|
26
26
|
} else {
|
|
27
|
-
require('
|
|
28
|
-
transpileOnly: true,
|
|
29
|
-
/* eslint-disable-next-line no-restricted-syntax */
|
|
30
|
-
project: path.resolve(__dirname, '../../../tsconfig.json'),
|
|
31
|
-
compilerOptions: {
|
|
32
|
-
module: 'CommonJS',
|
|
33
|
-
},
|
|
34
|
-
});
|
|
35
|
-
|
|
27
|
+
require('@backstage/cli/config/nodeTransform.cjs');
|
|
36
28
|
require('../src');
|
|
37
29
|
}
|
package/dist/index.cjs.js
CHANGED
package/package.json
CHANGED
|
@@ -1,36 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/codemods",
|
|
3
|
+
"version": "0.1.48",
|
|
3
4
|
"description": "A collection of codemods for Backstage projects",
|
|
4
|
-
"
|
|
5
|
+
"backstage": {
|
|
6
|
+
"role": "cli"
|
|
7
|
+
},
|
|
5
8
|
"publishConfig": {
|
|
6
9
|
"access": "public",
|
|
7
10
|
"main": "dist/index.cjs.js"
|
|
8
11
|
},
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
+
"keywords": [
|
|
13
|
+
"backstage"
|
|
14
|
+
],
|
|
12
15
|
"homepage": "https://backstage.io",
|
|
13
16
|
"repository": {
|
|
14
17
|
"type": "git",
|
|
15
18
|
"url": "https://github.com/backstage/backstage",
|
|
16
19
|
"directory": "packages/codemods"
|
|
17
20
|
},
|
|
18
|
-
"keywords": [
|
|
19
|
-
"backstage"
|
|
20
|
-
],
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"main": "dist/index.cjs.js",
|
|
23
|
+
"bin": {
|
|
24
|
+
"backstage-codemods": "bin/backstage-codemods"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"bin",
|
|
28
|
+
"dist",
|
|
29
|
+
"transforms"
|
|
30
|
+
],
|
|
23
31
|
"scripts": {
|
|
24
|
-
"start": "nodemon --",
|
|
25
32
|
"build": "backstage-cli package build",
|
|
33
|
+
"clean": "backstage-cli package clean",
|
|
26
34
|
"lint": "backstage-cli package lint",
|
|
27
|
-
"test": "backstage-cli package test",
|
|
28
35
|
"prepack": "backstage-cli package prepack",
|
|
29
36
|
"postpack": "backstage-cli package postpack",
|
|
30
|
-
"
|
|
37
|
+
"start": "nodemon --",
|
|
38
|
+
"test": "backstage-cli package test"
|
|
31
39
|
},
|
|
32
|
-
"
|
|
33
|
-
"
|
|
40
|
+
"nodemonConfig": {
|
|
41
|
+
"exec": "bin/backstage-codemods",
|
|
42
|
+
"ext": "ts",
|
|
43
|
+
"watch": "./src"
|
|
34
44
|
},
|
|
35
45
|
"dependencies": {
|
|
36
46
|
"@backstage/cli-common": "^0.1.13",
|
|
@@ -40,19 +50,8 @@
|
|
|
40
50
|
"jscodeshift-add-imports": "^1.0.10"
|
|
41
51
|
},
|
|
42
52
|
"devDependencies": {
|
|
43
|
-
"@backstage/cli": "^0.
|
|
53
|
+
"@backstage/cli": "^0.26.0",
|
|
44
54
|
"@types/jscodeshift": "^0.11.0",
|
|
45
|
-
"@types/node": "^18.17.8"
|
|
46
|
-
|
|
47
|
-
},
|
|
48
|
-
"nodemonConfig": {
|
|
49
|
-
"watch": "./src",
|
|
50
|
-
"exec": "bin/backstage-codemods",
|
|
51
|
-
"ext": "ts"
|
|
52
|
-
},
|
|
53
|
-
"files": [
|
|
54
|
-
"bin",
|
|
55
|
-
"dist",
|
|
56
|
-
"transforms"
|
|
57
|
-
]
|
|
55
|
+
"@types/node": "^18.17.8"
|
|
56
|
+
}
|
|
58
57
|
}
|