@teambit/snapping 1.0.310 → 1.0.312

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,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="4" failures="0" errors="0" skipped="1">
3
- <testsuite name="teambit.component/snapping@1.0.310" tests="4" failures="0" errors="0" skipped="1">
4
- <testcase classname="dist/snapping.spec.js" name="tag should throw an ComponentsHaveIssues error" time="0.049"/>
3
+ <testsuite name="teambit.component/snapping@1.0.312" tests="4" failures="0" errors="0" skipped="1">
4
+ <testcase classname="dist/snapping.spec.js" name="tag should throw an ComponentsHaveIssues error" time="0.033"/>
5
5
  <testcase classname="dist/snapping.spec.js" name="should not throw an error if the config was set to ignore MissingPackagesDependenciesOnFs error">
6
6
  <skipped/>
7
7
  </testcase>
@@ -417,7 +417,8 @@
417
417
  "character": 3
418
418
  },
419
419
  "raw": "/**\n * tag the given component ids or all modified/new components if \"all\" param is set.\n * tag is a similar operation as a snap, which saves the changes into the local scope, but it also creates an alias\n * with a valid semver to that version.\n * tag can be done only on main, not on a lane.\n */",
420
- "comment": "tag the given component ids or all modified/new components if \"all\" param is set.\ntag is a similar operation as a snap, which saves the changes into the local scope, but it also creates an alias\nwith a valid semver to that version.\ntag can be done only on main, not on a lane."
420
+ "comment": "tag the given component ids or all modified/new components if \"all\" param is set.\ntag is a similar operation as a snap, which saves the changes into the local scope, but it also creates an alias\nwith a valid semver to that version.\ntag can be done only on main, not on a lane.",
421
+ "tags": []
421
422
  },
422
423
  "signature": "(method) SnappingMain.tag({ ids, message, version, editor, snapped, unmerged, releaseType, preReleaseId, ignoreIssues, ignoreNewestVersion, skipTests, skipTasks, skipAutoTag, build, unmodified, soft, persist, ignoreBuildErrors, rebuildDepsGraph, incrementBy, disableTagAndSnapPipelines, failFast, }: {\n ids?: string[];\n all?: boolean | string;\n snapped?: boolean;\n unmerged?: boolean;\n version?: string;\n releaseType?: ReleaseType;\n ignoreIssues?: string;\n scope?: string | boolean;\n incrementBy?: number;\n failFast?: boolean;\n} & Partial<BasicTagParams>): Promise<TagResults | null>",
423
424
  "name": "tag",
@@ -1568,7 +1569,8 @@
1568
1569
  "character": 3
1569
1570
  },
1570
1571
  "raw": "/**\n * save the local changes of a component(s) into the scope. snap can be done on main or on a lane.\n * once a component is snapped on a lane, it becomes part of it.\n */",
1571
- "comment": "save the local changes of a component(s) into the scope. snap can be done on main or on a lane.\nonce a component is snapped on a lane, it becomes part of it."
1572
+ "comment": "save the local changes of a component(s) into the scope. snap can be done on main or on a lane.\nonce a component is snapped on a lane, it becomes part of it.",
1573
+ "tags": []
1572
1574
  },
1573
1575
  "signature": "(method) SnappingMain.snap({ pattern, legacyBitIds, unmerged, editor, message, ignoreIssues, skipTests, skipTasks, skipAutoSnap, build, disableTagAndSnapPipelines, ignoreBuildErrors, rebuildDepsGraph, unmodified, exitOnFirstFailedTask, }: Partial<BasicTagSnapParams> & {\n pattern?: string;\n legacyBitIds?: ComponentIdList;\n unmerged?: boolean;\n editor?: string;\n ignoreIssues?: string;\n skipAutoSnap?: boolean;\n disableTagAndSnapPipelines?: boolean;\n unmodified?: boolean;\n exitOnFirstFailedTask?: boolean;\n}): Promise<SnapResults | null>",
1574
1576
  "name": "snap",
@@ -2125,7 +2127,8 @@
2125
2127
  "character": 3
2126
2128
  },
2127
2129
  "raw": "/**\n * remove tags/snaps that exist locally, which were not exported yet.\n * once a tag/snap is exported, it's impossible to delete it as other components may depend on it\n */",
2128
- "comment": "remove tags/snaps that exist locally, which were not exported yet.\nonce a tag/snap is exported, it's impossible to delete it as other components may depend on it"
2130
+ "comment": "remove tags/snaps that exist locally, which were not exported yet.\nonce a tag/snap is exported, it's impossible to delete it as other components may depend on it",
2131
+ "tags": []
2129
2132
  },
2130
2133
  "signature": "(method) SnappingMain.reset(componentPattern?: string, head?: boolean, force?: boolean, soft?: boolean): Promise<{\n results: untagResult[];\n isSoftUntag: boolean;\n}>",
2131
2134
  "name": "reset",
@@ -3224,7 +3227,8 @@
3224
3227
  "character": 3
3225
3228
  },
3226
3229
  "raw": "/**\n * the compId.version can be a range (e.g. \"^1.0.0\"), in which case, it finds the component in the local scope and\n * resolves the latest version that falls under the range.\n * in case the version has no range, it returns the same compId.\n * in case it has no version, it returns the latest.\n */",
3227
- "comment": "the compId.version can be a range (e.g. \"^1.0.0\"), in which case, it finds the component in the local scope and\nresolves the latest version that falls under the range.\nin case the version has no range, it returns the same compId.\nin case it has no version, it returns the latest."
3230
+ "comment": "the compId.version can be a range (e.g. \"^1.0.0\"), in which case, it finds the component in the local scope and\nresolves the latest version that falls under the range.\nin case the version has no range, it returns the same compId.\nin case it has no version, it returns the latest.",
3231
+ "tags": []
3228
3232
  },
3229
3233
  "signature": "(method) SnappingMain.getCompIdWithExactVersionAccordingToSemver(compId: ComponentID): Promise<ComponentID>",
3230
3234
  "name": "getCompIdWithExactVersionAccordingToSemver",
@@ -3413,7 +3417,8 @@
3413
3417
  "character": 3
3414
3418
  },
3415
3419
  "raw": "/**\n * it does two things:\n * 1. update extensions versions according to the version provided in updatedIds.\n * 2. save all dependencies data from the legacy into DependencyResolver aspect.\n */",
3416
- "comment": "it does two things:\n1. update extensions versions according to the version provided in updatedIds.\n2. save all dependencies data from the legacy into DependencyResolver aspect."
3420
+ "comment": "it does two things:\n1. update extensions versions according to the version provided in updatedIds.\n2. save all dependencies data from the legacy into DependencyResolver aspect.",
3421
+ "tags": []
3417
3422
  },
3418
3423
  "signature": "(method) SnappingMain.UpdateDepsAspectsSaveIntoDepsResolver(component: Component, updatedIds: string[]): Promise<void>",
3419
3424
  "name": "UpdateDepsAspectsSaveIntoDepsResolver",
@@ -5550,7 +5555,8 @@
5550
5555
  "character": 3
5551
5556
  },
5552
5557
  "raw": "/**\n * tag the given component ids or all modified/new components if \"all\" param is set.\n * tag is a similar operation as a snap, which saves the changes into the local scope, but it also creates an alias\n * with a valid semver to that version.\n * tag can be done only on main, not on a lane.\n */",
5553
- "comment": "tag the given component ids or all modified/new components if \"all\" param is set.\ntag is a similar operation as a snap, which saves the changes into the local scope, but it also creates an alias\nwith a valid semver to that version.\ntag can be done only on main, not on a lane."
5558
+ "comment": "tag the given component ids or all modified/new components if \"all\" param is set.\ntag is a similar operation as a snap, which saves the changes into the local scope, but it also creates an alias\nwith a valid semver to that version.\ntag can be done only on main, not on a lane.",
5559
+ "tags": []
5554
5560
  },
5555
5561
  "signature": "(method) SnappingMain.tag({ ids, message, version, editor, snapped, unmerged, releaseType, preReleaseId, ignoreIssues, ignoreNewestVersion, skipTests, skipTasks, skipAutoTag, build, unmodified, soft, persist, ignoreBuildErrors, rebuildDepsGraph, incrementBy, disableTagAndSnapPipelines, failFast, }: {\n ids?: string[];\n all?: boolean | string;\n snapped?: boolean;\n unmerged?: boolean;\n version?: string;\n releaseType?: ReleaseType;\n ignoreIssues?: string;\n scope?: string | boolean;\n incrementBy?: number;\n failFast?: boolean;\n} & Partial<BasicTagParams>): Promise<TagResults | null>",
5556
5562
  "name": "tag",
@@ -6701,7 +6707,8 @@
6701
6707
  "character": 3
6702
6708
  },
6703
6709
  "raw": "/**\n * save the local changes of a component(s) into the scope. snap can be done on main or on a lane.\n * once a component is snapped on a lane, it becomes part of it.\n */",
6704
- "comment": "save the local changes of a component(s) into the scope. snap can be done on main or on a lane.\nonce a component is snapped on a lane, it becomes part of it."
6710
+ "comment": "save the local changes of a component(s) into the scope. snap can be done on main or on a lane.\nonce a component is snapped on a lane, it becomes part of it.",
6711
+ "tags": []
6705
6712
  },
6706
6713
  "signature": "(method) SnappingMain.snap({ pattern, legacyBitIds, unmerged, editor, message, ignoreIssues, skipTests, skipTasks, skipAutoSnap, build, disableTagAndSnapPipelines, ignoreBuildErrors, rebuildDepsGraph, unmodified, exitOnFirstFailedTask, }: Partial<BasicTagSnapParams> & {\n pattern?: string;\n legacyBitIds?: ComponentIdList;\n unmerged?: boolean;\n editor?: string;\n ignoreIssues?: string;\n skipAutoSnap?: boolean;\n disableTagAndSnapPipelines?: boolean;\n unmodified?: boolean;\n exitOnFirstFailedTask?: boolean;\n}): Promise<SnapResults | null>",
6707
6714
  "name": "snap",
@@ -7258,7 +7265,8 @@
7258
7265
  "character": 3
7259
7266
  },
7260
7267
  "raw": "/**\n * remove tags/snaps that exist locally, which were not exported yet.\n * once a tag/snap is exported, it's impossible to delete it as other components may depend on it\n */",
7261
- "comment": "remove tags/snaps that exist locally, which were not exported yet.\nonce a tag/snap is exported, it's impossible to delete it as other components may depend on it"
7268
+ "comment": "remove tags/snaps that exist locally, which were not exported yet.\nonce a tag/snap is exported, it's impossible to delete it as other components may depend on it",
7269
+ "tags": []
7262
7270
  },
7263
7271
  "signature": "(method) SnappingMain.reset(componentPattern?: string, head?: boolean, force?: boolean, soft?: boolean): Promise<{\n results: untagResult[];\n isSoftUntag: boolean;\n}>",
7264
7272
  "name": "reset",
@@ -8357,7 +8365,8 @@
8357
8365
  "character": 3
8358
8366
  },
8359
8367
  "raw": "/**\n * the compId.version can be a range (e.g. \"^1.0.0\"), in which case, it finds the component in the local scope and\n * resolves the latest version that falls under the range.\n * in case the version has no range, it returns the same compId.\n * in case it has no version, it returns the latest.\n */",
8360
- "comment": "the compId.version can be a range (e.g. \"^1.0.0\"), in which case, it finds the component in the local scope and\nresolves the latest version that falls under the range.\nin case the version has no range, it returns the same compId.\nin case it has no version, it returns the latest."
8368
+ "comment": "the compId.version can be a range (e.g. \"^1.0.0\"), in which case, it finds the component in the local scope and\nresolves the latest version that falls under the range.\nin case the version has no range, it returns the same compId.\nin case it has no version, it returns the latest.",
8369
+ "tags": []
8361
8370
  },
8362
8371
  "signature": "(method) SnappingMain.getCompIdWithExactVersionAccordingToSemver(compId: ComponentID): Promise<ComponentID>",
8363
8372
  "name": "getCompIdWithExactVersionAccordingToSemver",
@@ -8546,7 +8555,8 @@
8546
8555
  "character": 3
8547
8556
  },
8548
8557
  "raw": "/**\n * it does two things:\n * 1. update extensions versions according to the version provided in updatedIds.\n * 2. save all dependencies data from the legacy into DependencyResolver aspect.\n */",
8549
- "comment": "it does two things:\n1. update extensions versions according to the version provided in updatedIds.\n2. save all dependencies data from the legacy into DependencyResolver aspect."
8558
+ "comment": "it does two things:\n1. update extensions versions according to the version provided in updatedIds.\n2. save all dependencies data from the legacy into DependencyResolver aspect.",
8559
+ "tags": []
8550
8560
  },
8551
8561
  "signature": "(method) SnappingMain.UpdateDepsAspectsSaveIntoDepsResolver(component: Component, updatedIds: string[]): Promise<void>",
8552
8562
  "name": "UpdateDepsAspectsSaveIntoDepsResolver",
@@ -11836,7 +11846,8 @@
11836
11846
  "character": 1
11837
11847
  },
11838
11848
  "raw": "/**\n * otherwise, tagging without build will have the old build data of the previous snap/tag.\n * in case we currently build, it's ok to leave the data as is, because it'll be overridden anyway.\n */",
11839
- "comment": "otherwise, tagging without build will have the old build data of the previous snap/tag.\nin case we currently build, it's ok to leave the data as is, because it'll be overridden anyway."
11849
+ "comment": "otherwise, tagging without build will have the old build data of the previous snap/tag.\nin case we currently build, it's ok to leave the data as is, because it'll be overridden anyway.",
11850
+ "tags": []
11840
11851
  },
11841
11852
  "signature": "function emptyBuilderData(components: ConsumerComponent[]): void",
11842
11853
  "name": "emptyBuilderData",
@@ -12186,7 +12197,7 @@
12186
12197
  "componentId": {
12187
12198
  "scope": "teambit.component",
12188
12199
  "name": "snapping",
12189
- "version": "1.0.310"
12200
+ "version": "1.0.312"
12190
12201
  },
12191
12202
  "taggedModuleExports": []
12192
12203
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/snapping",
3
- "version": "1.0.310",
3
+ "version": "1.0.312",
4
4
  "homepage": "https://bit.cloud/teambit/component/snapping",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "snapping",
9
- "version": "1.0.310"
9
+ "version": "1.0.312"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -21,21 +21,21 @@
21
21
  "@teambit/harmony": "0.4.6",
22
22
  "@teambit/component-version": "1.0.3",
23
23
  "@teambit/lane-id": "0.0.311",
24
- "@teambit/issues": "1.0.310",
25
- "@teambit/graph": "1.0.310",
26
- "@teambit/logger": "0.0.980",
27
- "@teambit/scope": "1.0.310",
28
- "@teambit/component": "1.0.310",
29
- "@teambit/dependencies": "1.0.310",
30
- "@teambit/dependency-resolver": "1.0.310",
31
- "@teambit/cli": "0.0.887",
24
+ "@teambit/issues": "1.0.312",
25
+ "@teambit/graph": "1.0.312",
26
+ "@teambit/logger": "0.0.982",
27
+ "@teambit/scope": "1.0.312",
28
+ "@teambit/component": "1.0.312",
29
+ "@teambit/dependencies": "1.0.312",
30
+ "@teambit/dependency-resolver": "1.0.312",
31
+ "@teambit/cli": "0.0.889",
32
32
  "@teambit/component-issues": "0.0.149",
33
- "@teambit/global-config": "0.0.890",
34
- "@teambit/builder": "1.0.310",
35
- "@teambit/export": "1.0.310",
36
- "@teambit/importer": "1.0.310",
37
- "@teambit/insights": "1.0.310",
38
- "@teambit/workspace": "1.0.310",
33
+ "@teambit/global-config": "0.0.892",
34
+ "@teambit/builder": "1.0.312",
35
+ "@teambit/export": "1.0.312",
36
+ "@teambit/importer": "1.0.312",
37
+ "@teambit/insights": "1.0.312",
38
+ "@teambit/workspace": "1.0.312",
39
39
  "@teambit/workspace.modules.node-modules-linker": "0.0.174"
40
40
  },
41
41
  "devDependencies": {
@@ -48,7 +48,7 @@
48
48
  "@types/uuid": "8.3.4",
49
49
  "@types/mocha": "9.1.0",
50
50
  "@teambit/harmony.envs.core-aspect-env": "0.0.39",
51
- "@teambit/compiler": "1.0.310",
51
+ "@teambit/compiler": "1.0.312",
52
52
  "@teambit/component.testing.mock-components": "0.0.205",
53
53
  "@teambit/harmony.testing.load-aspect": "0.0.200",
54
54
  "@teambit/workspace.testing.mock-workspace": "0.0.27"