@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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @backstage/codemods
2
2
 
3
+ ## 0.1.48
4
+
5
+ ### Patch Changes
6
+
7
+ - 1bd4596: Removed the `ts-node` dev dependency.
8
+ - Updated dependencies
9
+ - @backstage/cli-common@0.1.13
10
+
3
11
  ## 0.1.47
4
12
 
5
13
  ### Patch Changes
@@ -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('ts-node').register({
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
@@ -121,7 +121,7 @@ function createCodemodAction(name) {
121
121
  };
122
122
  }
123
123
 
124
- var version = "0.1.47";
124
+ var version = "0.1.48";
125
125
 
126
126
  async function main(argv) {
127
127
  commander.program.name("backstage-codemods").version(version);
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
- "version": "0.1.47",
5
+ "backstage": {
6
+ "role": "cli"
7
+ },
5
8
  "publishConfig": {
6
9
  "access": "public",
7
10
  "main": "dist/index.cjs.js"
8
11
  },
9
- "backstage": {
10
- "role": "cli"
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
- "clean": "backstage-cli package clean"
37
+ "start": "nodemon --",
38
+ "test": "backstage-cli package test"
31
39
  },
32
- "bin": {
33
- "backstage-codemods": "bin/backstage-codemods"
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.25.2",
53
+ "@backstage/cli": "^0.26.0",
44
54
  "@types/jscodeshift": "^0.11.0",
45
- "@types/node": "^18.17.8",
46
- "ts-node": "^10.0.0"
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
  }