@teambit/refactoring 1.0.310 → 1.0.311

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.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.component/refactoring@1.0.310" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/refactoring@1.0.311" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -140,7 +140,8 @@
140
140
  "character": 3
141
141
  },
142
142
  "raw": "/**\n * refactor the dependency name of a component.\n * oldId and newId can be either a component-id or a package-name.\n * this method changes the source code of the component, but doesn't write to the filesystem.\n */",
143
- "comment": "refactor the dependency name of a component.\noldId and newId can be either a component-id or a package-name.\nthis method changes the source code of the component, but doesn't write to the filesystem."
143
+ "comment": "refactor the dependency name of a component.\noldId and newId can be either a component-id or a package-name.\nthis method changes the source code of the component, but doesn't write to the filesystem.",
144
+ "tags": []
144
145
  },
145
146
  "signature": "(method) RefactoringMain.refactorDependencyName(components: Component[], oldId: ComponentID | string, newId: ComponentID | string): Promise<{\n oldPackageName: string;\n newPackageName: string;\n changedComponents: Component[];\n}>",
146
147
  "name": "refactorDependencyName",
@@ -376,7 +377,8 @@
376
377
  "character": 3
377
378
  },
378
379
  "raw": "/**\n * replaces the old-name inside the source code of the given component with the new name.\n * helpful when renaming/forking an aspect/env where the component-name is used as the class-name and variable-name.\n */",
379
- "comment": "replaces the old-name inside the source code of the given component with the new name.\nhelpful when renaming/forking an aspect/env where the component-name is used as the class-name and variable-name."
380
+ "comment": "replaces the old-name inside the source code of the given component with the new name.\nhelpful when renaming/forking an aspect/env where the component-name is used as the class-name and variable-name.",
381
+ "tags": []
380
382
  },
381
383
  "signature": "(method) RefactoringMain.refactorVariableAndClasses(component: Component, sourceId: ComponentID, targetId: ComponentID, options?: {\n ast?: boolean;\n}): Promise<void>",
382
384
  "name": "refactorVariableAndClasses",
@@ -783,7 +785,8 @@
783
785
  "character": 3
784
786
  },
785
787
  "raw": "/**\n * rename multiple packages dependencies.\n * this method changes the source code of the component, but doesn't write to the filesystem.\n */",
786
- "comment": "rename multiple packages dependencies.\nthis method changes the source code of the component, but doesn't write to the filesystem."
788
+ "comment": "rename multiple packages dependencies.\nthis method changes the source code of the component, but doesn't write to the filesystem.",
789
+ "tags": []
787
790
  },
788
791
  "signature": "(method) RefactoringMain.replaceMultipleStrings(components: Component[], stringsToReplace?: MultipleStringsReplacement, transformers?: SourceFileTransformer[], shouldAvoidPackageNames?: boolean): Promise<{\n changedComponents: Component[];\n}>",
789
792
  "name": "replaceMultipleStrings",
@@ -1445,7 +1448,8 @@
1445
1448
  "character": 3
1446
1449
  },
1447
1450
  "raw": "/**\n * refactor the dependency name of a component.\n * oldId and newId can be either a component-id or a package-name.\n * this method changes the source code of the component, but doesn't write to the filesystem.\n */",
1448
- "comment": "refactor the dependency name of a component.\noldId and newId can be either a component-id or a package-name.\nthis method changes the source code of the component, but doesn't write to the filesystem."
1451
+ "comment": "refactor the dependency name of a component.\noldId and newId can be either a component-id or a package-name.\nthis method changes the source code of the component, but doesn't write to the filesystem.",
1452
+ "tags": []
1449
1453
  },
1450
1454
  "signature": "(method) RefactoringMain.refactorDependencyName(components: Component[], oldId: ComponentID | string, newId: ComponentID | string): Promise<{\n oldPackageName: string;\n newPackageName: string;\n changedComponents: Component[];\n}>",
1451
1455
  "name": "refactorDependencyName",
@@ -1681,7 +1685,8 @@
1681
1685
  "character": 3
1682
1686
  },
1683
1687
  "raw": "/**\n * replaces the old-name inside the source code of the given component with the new name.\n * helpful when renaming/forking an aspect/env where the component-name is used as the class-name and variable-name.\n */",
1684
- "comment": "replaces the old-name inside the source code of the given component with the new name.\nhelpful when renaming/forking an aspect/env where the component-name is used as the class-name and variable-name."
1688
+ "comment": "replaces the old-name inside the source code of the given component with the new name.\nhelpful when renaming/forking an aspect/env where the component-name is used as the class-name and variable-name.",
1689
+ "tags": []
1685
1690
  },
1686
1691
  "signature": "(method) RefactoringMain.refactorVariableAndClasses(component: Component, sourceId: ComponentID, targetId: ComponentID, options?: {\n ast?: boolean;\n}): Promise<void>",
1687
1692
  "name": "refactorVariableAndClasses",
@@ -2088,7 +2093,8 @@
2088
2093
  "character": 3
2089
2094
  },
2090
2095
  "raw": "/**\n * rename multiple packages dependencies.\n * this method changes the source code of the component, but doesn't write to the filesystem.\n */",
2091
- "comment": "rename multiple packages dependencies.\nthis method changes the source code of the component, but doesn't write to the filesystem."
2096
+ "comment": "rename multiple packages dependencies.\nthis method changes the source code of the component, but doesn't write to the filesystem.",
2097
+ "tags": []
2092
2098
  },
2093
2099
  "signature": "(method) RefactoringMain.replaceMultipleStrings(components: Component[], stringsToReplace?: MultipleStringsReplacement, transformers?: SourceFileTransformer[], shouldAvoidPackageNames?: boolean): Promise<{\n changedComponents: Component[];\n}>",
2094
2100
  "name": "replaceMultipleStrings",
@@ -2477,7 +2483,7 @@
2477
2483
  "componentId": {
2478
2484
  "scope": "teambit.component",
2479
2485
  "name": "refactoring",
2480
- "version": "1.0.310"
2486
+ "version": "1.0.311"
2481
2487
  },
2482
2488
  "taggedModuleExports": []
2483
2489
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/refactoring",
3
- "version": "1.0.310",
3
+ "version": "1.0.311",
4
4
  "homepage": "https://bit.cloud/teambit/component/refactoring",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "refactoring",
9
- "version": "1.0.310"
9
+ "version": "1.0.311"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -15,11 +15,11 @@
15
15
  "lodash": "4.17.21",
16
16
  "@teambit/harmony": "0.4.6",
17
17
  "@teambit/bit-error": "0.0.404",
18
- "@teambit/cli": "0.0.887",
19
- "@teambit/component": "1.0.310",
20
- "@teambit/envs": "1.0.310",
21
- "@teambit/pkg": "1.0.310",
22
- "@teambit/typescript": "1.0.310"
18
+ "@teambit/cli": "0.0.888",
19
+ "@teambit/component": "1.0.311",
20
+ "@teambit/envs": "1.0.311",
21
+ "@teambit/pkg": "1.0.311",
22
+ "@teambit/typescript": "1.0.311"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/lodash": "4.14.165",