@tramvai/tools-migrate 0.6.6 → 0.6.7
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/lib/types.d.ts +8 -8
- package/package.json +2 -2
package/lib/types.d.ts
CHANGED
|
@@ -22,19 +22,19 @@ export interface FileInfo<T> {
|
|
|
22
22
|
originSource: T;
|
|
23
23
|
originPath: string;
|
|
24
24
|
}
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
25
|
+
export type JsonFileInfo = FileInfo<Record<string, any>>;
|
|
26
|
+
export type SourceFileInfo = FileInfo<string>;
|
|
27
|
+
export type SourceFilesInfo = Record<string, SourceFileInfo>;
|
|
28
|
+
export type JsonFilesInfo = Record<string, JsonFileInfo>;
|
|
29
|
+
export type Transformer = Transform;
|
|
30
|
+
export type PathTransformer = (file: FileInfo<any>) => string;
|
|
31
|
+
export type PackageJSON = {
|
|
32
32
|
dependencies?: Record<string, string>;
|
|
33
33
|
devDependencies?: Record<string, string>;
|
|
34
34
|
peerDependencies?: Record<string, string>;
|
|
35
35
|
[key: string]: any;
|
|
36
36
|
};
|
|
37
|
-
export
|
|
37
|
+
export type TramvaiJSON = {
|
|
38
38
|
projectsConfig?: any;
|
|
39
39
|
$schema?: string;
|
|
40
40
|
projects: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/tools-migrate",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"author": "",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@tinkoff/logger": "0.10.
|
|
15
|
+
"@tinkoff/logger": "0.10.55",
|
|
16
16
|
"@tinkoff/package-manager-wrapper": "0.1.4",
|
|
17
17
|
"@tinkoff/utils": "^2.1.2",
|
|
18
18
|
"env-ci": "^5.0.2",
|