@tramvai/tools-migrate 0.9.5 → 0.9.8
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.
|
@@ -6,10 +6,10 @@ import { ImportDeclaration } from 'jscodeshift';
|
|
|
6
6
|
* - if it is not exist in ast - add it
|
|
7
7
|
* - if import from the same package exists - add only missing specifiers
|
|
8
8
|
* - if same imports already exists do nothing
|
|
9
|
-
* @param
|
|
9
|
+
* @param importDeclarationNode jscodeshift ast type
|
|
10
10
|
* @returns true if any changes to ast were made, false - otherwise
|
|
11
11
|
*/
|
|
12
|
-
export declare function addImport<N>(this: Collection<N>,
|
|
12
|
+
export declare function addImport<N>(this: Collection<N>, importDeclarationNode: ImportDeclaration): boolean;
|
|
13
13
|
/**
|
|
14
14
|
* @description
|
|
15
15
|
* Remove import declaration
|
|
@@ -19,10 +19,10 @@ export declare function removeImport<N>(this: Collection<N>, importName: string)
|
|
|
19
19
|
/**
|
|
20
20
|
* @description
|
|
21
21
|
* Find import declaration
|
|
22
|
-
* @param
|
|
22
|
+
* @param importDeclarationNode jscodeshift ast type
|
|
23
23
|
* @returns true if any import declaration exists
|
|
24
24
|
*/
|
|
25
|
-
export declare function findImport<N>(this: Collection<N>,
|
|
25
|
+
export declare function findImport<N>(this: Collection<N>, importDeclarationNode: ImportDeclaration): boolean;
|
|
26
26
|
/**
|
|
27
27
|
* @description
|
|
28
28
|
* Replace source string for the imports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import.d.ts","sourceRoot":"","sources":["../../src/transform/import.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAW,UAAU,EAAiB,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"import.d.ts","sourceRoot":"","sources":["../../src/transform/import.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAW,UAAU,EAAiB,MAAM,aAAa,CAAC;AACtE,OAAO,EAML,iBAAiB,EAKlB,MAAM,aAAa,CAAC;AASrB;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,iBAAiB,WA+BzF;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,WAWtE;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,qBAAqB,EAAE,iBAAiB,WAyB1F;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,WAiB5E;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,WA2B/F;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,WAqB7E"}
|
package/lib/transform/import.js
CHANGED
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.renameRequireSource = exports.renameImportSpecifier = exports.renameImportSource = exports.findImport = exports.removeImport = exports.addImport = void 0;
|
|
4
4
|
const jscodeshift_1 = require("jscodeshift");
|
|
5
|
-
const jscodeshift_2 = require("jscodeshift");
|
|
6
|
-
const jscodeshift_3 = require("jscodeshift");
|
|
7
|
-
const jscodeshift_4 = require("jscodeshift");
|
|
8
|
-
const jscodeshift_5 = require("jscodeshift");
|
|
9
5
|
const isRequireExpression = (path) => path &&
|
|
10
6
|
path.value &&
|
|
11
7
|
path.value.callee &&
|
|
@@ -17,20 +13,20 @@ const isRequireExpression = (path) => path &&
|
|
|
17
13
|
* - if it is not exist in ast - add it
|
|
18
14
|
* - if import from the same package exists - add only missing specifiers
|
|
19
15
|
* - if same imports already exists do nothing
|
|
20
|
-
* @param
|
|
16
|
+
* @param importDeclarationNode jscodeshift ast type
|
|
21
17
|
* @returns true if any changes to ast were made, false - otherwise
|
|
22
18
|
*/
|
|
23
|
-
function addImport(
|
|
24
|
-
const imports = this.find(
|
|
19
|
+
function addImport(importDeclarationNode) {
|
|
20
|
+
const imports = this.find(jscodeshift_1.ImportDeclaration);
|
|
25
21
|
if (imports.length) {
|
|
26
|
-
const sourceImport = imports.filter((declaration) => declaration.node.source.value ===
|
|
22
|
+
const sourceImport = imports.filter((declaration) => declaration.node.source.value === importDeclarationNode.source.value);
|
|
27
23
|
const sourceImportNode = sourceImport.nodes()[0];
|
|
28
24
|
if (sourceImport.length) {
|
|
29
|
-
|
|
25
|
+
importDeclarationNode.specifiers.forEach((specifier) => {
|
|
30
26
|
const name = specifier.local?.name ??
|
|
31
27
|
(specifier.type === 'ImportSpecifier' ? specifier.imported.name : specifier.local.name);
|
|
32
28
|
let hasChanged = false;
|
|
33
|
-
if (!sourceImport.find(
|
|
29
|
+
if (!sourceImport.find(jscodeshift_1.ImportSpecifier, { local: { name } }).length) {
|
|
34
30
|
sourceImportNode.specifiers.push(specifier);
|
|
35
31
|
hasChanged = true;
|
|
36
32
|
}
|
|
@@ -38,11 +34,11 @@ function addImport(importDeclaration) {
|
|
|
38
34
|
});
|
|
39
35
|
}
|
|
40
36
|
else {
|
|
41
|
-
imports.at(0).insertBefore(
|
|
37
|
+
imports.at(0).insertBefore(importDeclarationNode);
|
|
42
38
|
}
|
|
43
39
|
}
|
|
44
40
|
else {
|
|
45
|
-
this.find(
|
|
41
|
+
this.find(jscodeshift_1.Program).get('body', 0).insertBefore(importDeclarationNode);
|
|
46
42
|
}
|
|
47
43
|
return true;
|
|
48
44
|
}
|
|
@@ -53,7 +49,7 @@ exports.addImport = addImport;
|
|
|
53
49
|
* @returns true if any changes to ast were made, false - otherwise
|
|
54
50
|
*/
|
|
55
51
|
function removeImport(importName) {
|
|
56
|
-
const imports = this.find(
|
|
52
|
+
const imports = this.find(jscodeshift_1.ImportDeclaration, {
|
|
57
53
|
source: {
|
|
58
54
|
value: importName,
|
|
59
55
|
},
|
|
@@ -67,19 +63,19 @@ exports.removeImport = removeImport;
|
|
|
67
63
|
/**
|
|
68
64
|
* @description
|
|
69
65
|
* Find import declaration
|
|
70
|
-
* @param
|
|
66
|
+
* @param importDeclarationNode jscodeshift ast type
|
|
71
67
|
* @returns true if any import declaration exists
|
|
72
68
|
*/
|
|
73
|
-
function findImport(
|
|
69
|
+
function findImport(importDeclarationNode) {
|
|
74
70
|
let hasImport = false;
|
|
75
|
-
this.find(
|
|
71
|
+
this.find(jscodeshift_1.ImportDeclaration, {
|
|
76
72
|
source: {
|
|
77
|
-
value:
|
|
73
|
+
value: importDeclarationNode.source.value,
|
|
78
74
|
},
|
|
79
75
|
})
|
|
80
76
|
.filter((p) => {
|
|
81
|
-
return p.node.specifiers.some((specifier) =>
|
|
82
|
-
?
|
|
77
|
+
return p.node.specifiers.some((specifier) => importDeclarationNode.specifiers.length
|
|
78
|
+
? importDeclarationNode.specifiers.some((targetSpecifier) => {
|
|
83
79
|
if ('imported' in targetSpecifier) {
|
|
84
80
|
return specifier.local.name === targetSpecifier.imported.name;
|
|
85
81
|
}
|
|
@@ -98,7 +94,7 @@ exports.findImport = findImport;
|
|
|
98
94
|
* Replace source string for the imports
|
|
99
95
|
*/
|
|
100
96
|
function renameImportSource(from, to) {
|
|
101
|
-
const imports = this.find(
|
|
97
|
+
const imports = this.find(jscodeshift_1.ImportDeclaration).filter((imp) => {
|
|
102
98
|
return `${imp.node.source.value}`.startsWith(from);
|
|
103
99
|
});
|
|
104
100
|
if (!imports.length) {
|
|
@@ -107,7 +103,7 @@ function renameImportSource(from, to) {
|
|
|
107
103
|
const regexp = new RegExp(`^${from}(/.+)?$`);
|
|
108
104
|
imports.replaceWith((imp) => {
|
|
109
105
|
const val = imp.node.source.value;
|
|
110
|
-
return (0,
|
|
106
|
+
return (0, jscodeshift_1.importDeclaration)(imp.value.specifiers, (0, jscodeshift_1.literal)(`${val}`.replace(regexp, `${to}$1`)));
|
|
111
107
|
});
|
|
112
108
|
return true;
|
|
113
109
|
}
|
|
@@ -117,7 +113,7 @@ exports.renameImportSource = renameImportSource;
|
|
|
117
113
|
* Replace import specifiers for the imports
|
|
118
114
|
*/
|
|
119
115
|
function renameImportSpecifier(source, from, to) {
|
|
120
|
-
const imports = this.find(
|
|
116
|
+
const imports = this.find(jscodeshift_1.ImportDeclaration, { source: { value: source } });
|
|
121
117
|
if (!imports.length) {
|
|
122
118
|
return false;
|
|
123
119
|
}
|
|
@@ -126,14 +122,14 @@ function renameImportSpecifier(source, from, to) {
|
|
|
126
122
|
const specifiers = imp.value.specifiers.map((specifier) => {
|
|
127
123
|
if ('imported' in specifier && specifier.imported.name === from) {
|
|
128
124
|
shouldRename = specifier.imported.name === specifier.local.name;
|
|
129
|
-
return { ...specifier, imported: (0,
|
|
125
|
+
return { ...specifier, imported: (0, jscodeshift_1.identifier)(to) };
|
|
130
126
|
}
|
|
131
127
|
return specifier;
|
|
132
128
|
});
|
|
133
|
-
return (0,
|
|
129
|
+
return (0, jscodeshift_1.importDeclaration)(specifiers, imp.value.source);
|
|
134
130
|
});
|
|
135
131
|
if (shouldRename) {
|
|
136
|
-
this.find(jscodeshift_1.Identifier, { name: from }).replaceWith((0,
|
|
132
|
+
this.find(jscodeshift_1.Identifier, { name: from }).replaceWith((0, jscodeshift_1.identifier)(to));
|
|
137
133
|
}
|
|
138
134
|
return true;
|
|
139
135
|
}
|
|
@@ -143,7 +139,7 @@ exports.renameImportSpecifier = renameImportSpecifier;
|
|
|
143
139
|
* Replace source string for the `require` calls
|
|
144
140
|
*/
|
|
145
141
|
function renameRequireSource(from, to) {
|
|
146
|
-
const imports = this.find(
|
|
142
|
+
const imports = this.find(jscodeshift_1.CallExpression).filter((exp) => {
|
|
147
143
|
return (isRequireExpression(exp) &&
|
|
148
144
|
exp.value.arguments[0].type === 'StringLiteral' &&
|
|
149
145
|
`${exp.value.arguments[0].value}`.startsWith(from));
|
|
@@ -154,7 +150,7 @@ function renameRequireSource(from, to) {
|
|
|
154
150
|
const regexp = new RegExp(`^${from}`);
|
|
155
151
|
imports.replaceWith((exp) => {
|
|
156
152
|
const val = exp.value.arguments[0].value;
|
|
157
|
-
return (0,
|
|
153
|
+
return (0, jscodeshift_1.callExpression)(exp.value.callee, [(0, jscodeshift_1.stringLiteral)(`${val}`.replace(regexp, to))]);
|
|
158
154
|
});
|
|
159
155
|
return true;
|
|
160
156
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import.js","sourceRoot":"","sources":["../../src/transform/import.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"import.js","sourceRoot":"","sources":["../../src/transform/import.ts"],"names":[],"mappings":";;;AACA,6CAWqB;AAErB,MAAM,mBAAmB,GAAG,CAAC,IAA6B,EAAE,EAAE,CAC5D,IAAI;IACJ,IAAI,CAAC,KAAK;IACV,IAAI,CAAC,KAAK,CAAC,MAAM;IACjB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,YAAY;IACvC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,CAAC;AAEvC;;;;;;;;GAQG;AACH,SAAgB,SAAS,CAAyB,qBAAwC;IACxF,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,+BAAiB,CAAC,CAAC;IAE7C,IAAI,OAAO,CAAC,MAAM,EAAE;QAClB,MAAM,YAAY,GAAG,OAAO,CAAC,MAAM,CACjC,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,KAAK,qBAAqB,CAAC,MAAM,CAAC,KAAK,CACtF,CAAC;QACF,MAAM,gBAAgB,GAAG,YAAY,CAAC,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C,CAAC,CAAC,CAAC;IACzF,CAAC,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AArBD,kDAqBC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/tools-migrate",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"author": "",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@tinkoff/logger": "0.10.
|
|
16
|
-
"@tinkoff/package-manager-wrapper": "0.4.
|
|
15
|
+
"@tinkoff/logger": "0.10.506",
|
|
16
|
+
"@tinkoff/package-manager-wrapper": "0.4.4",
|
|
17
17
|
"@tinkoff/utils": "^2.1.2",
|
|
18
18
|
"env-ci": "^5.0.2",
|
|
19
19
|
"fast-glob": "^3.2.2",
|