@teambit/install 0.0.0-c7afb20c2cdaf50fefd6a1d91b81ed9f683fa910 → 0.0.0-c7ba19a8e3cf6601136dba4826cc62dba897afeb

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.
Files changed (40) hide show
  1. package/dist/install.cmd.d.ts +5 -5
  2. package/dist/install.cmd.js +26 -8
  3. package/dist/install.cmd.js.map +1 -1
  4. package/dist/install.main.runtime.d.ts +25 -19
  5. package/dist/install.main.runtime.js +115 -12
  6. package/dist/install.main.runtime.js.map +1 -1
  7. package/dist/link/component-list-links.d.ts +2 -2
  8. package/dist/link/component-list-links.js.map +1 -1
  9. package/dist/link/core-aspects-links.d.ts +1 -1
  10. package/dist/link/core-aspects-links.js.map +1 -1
  11. package/dist/link/link-to-dir.d.ts +1 -1
  12. package/dist/link/link-to-dir.js.map +1 -1
  13. package/dist/link/link.cmd.d.ts +5 -5
  14. package/dist/link/link.cmd.js +4 -2
  15. package/dist/link/link.cmd.js.map +1 -1
  16. package/dist/link/nested-deps-in-nm-links.d.ts +1 -1
  17. package/dist/link/nested-deps-in-nm-links.js.map +1 -1
  18. package/dist/link/rewire-row.d.ts +1 -1
  19. package/dist/link/rewire-row.js.map +1 -1
  20. package/dist/pick-outdated-pkgs.d.ts +1 -1
  21. package/dist/pick-outdated-pkgs.js.map +1 -1
  22. package/dist/pick-outdated-pkgs.spec.js +0 -2
  23. package/dist/pick-outdated-pkgs.spec.js.map +1 -1
  24. package/dist/uninstall.cmd.d.ts +7 -2
  25. package/dist/uninstall.cmd.js +6 -1
  26. package/dist/uninstall.cmd.js.map +1 -1
  27. package/dist/update.cmd.d.ts +3 -2
  28. package/dist/update.cmd.js +4 -1
  29. package/dist/update.cmd.js.map +1 -1
  30. package/install.cmd.tsx +34 -14
  31. package/link/component-list-links.ts +2 -2
  32. package/link/core-aspects-links.ts +1 -1
  33. package/link/link-to-dir.ts +1 -1
  34. package/link/link.cmd.ts +8 -6
  35. package/link/nested-deps-in-nm-links.ts +1 -1
  36. package/link/rewire-row.ts +1 -1
  37. package/package.json +31 -29
  38. package/uninstall.cmd.tsx +5 -3
  39. package/update.cmd.tsx +6 -3
  40. /package/dist/{preview-1752109965747.js → preview-1758832755206.js} +0 -0
package/package.json CHANGED
@@ -1,52 +1,54 @@
1
1
  {
2
2
  "name": "@teambit/install",
3
- "version": "0.0.0-c7afb20c2cdaf50fefd6a1d91b81ed9f683fa910",
3
+ "version": "0.0.0-c7ba19a8e3cf6601136dba4826cc62dba897afeb",
4
4
  "homepage": "https://bit.cloud/teambit/workspace/install",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.workspace",
8
8
  "name": "install",
9
- "version": "c7afb20c2cdaf50fefd6a1d91b81ed9f683fa910"
9
+ "version": "c7ba19a8e3cf6601136dba4826cc62dba897afeb"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "4.1.2",
13
13
  "validate-npm-package-name": "6.0.0",
14
- "@pnpm/types": "900.0.0",
14
+ "@pnpm/types": "1000.8.0",
15
15
  "fs-extra": "10.0.0",
16
16
  "lodash": "4.17.21",
17
17
  "object-hash": "2.1.1",
18
18
  "p-filter": "2.1.0",
19
19
  "p-map-series": "2.1.0",
20
+ "yesno": "0.4.0",
20
21
  "@pnpm/colorize-semver-diff": "1.0.1",
21
22
  "@pnpm/semver-diff": "1.1.0",
22
23
  "enquirer": "2.4.1",
23
24
  "table": "6.7.3",
24
25
  "@teambit/harmony": "0.4.7",
26
+ "@teambit/component-issues": "0.0.164",
27
+ "@teambit/component-package-version": "0.0.443",
28
+ "@teambit/dependencies.fs.linked-dependencies": "0.0.39",
25
29
  "@teambit/workspace.root-components": "1.0.0",
26
30
  "@teambit/bit-error": "0.0.404",
27
- "@teambit/cli": "0.0.0-bd9743a835b187ebcfbd88c23e22686cd313aaca",
28
- "@teambit/dependency-resolver": "0.0.0-f0129ff93778a858b177ac1b6c040772590ce7ac",
29
- "@teambit/logger": "0.0.0-8f8598c296283fddb99f93abdf54760c797a2e3b",
30
- "@teambit/workspace": "0.0.0-a845bf5bfff82e283017b4e6f235b71c42965ad5",
31
- "@teambit/application": "0.0.0-1e0eefa25c49f68bcbf3e49acde0446ebbe59d94",
32
- "@teambit/aspect-loader": "0.0.0-f7ca144a08dc98ffd0a3c4bcd910f7d5a214b38b",
33
- "@teambit/bundler": "0.0.0-bb8eb8bacd7428e44ba9d25a6bded0d4344e3163",
34
- "@teambit/compiler": "0.0.0-13809d657dceb1fc7689d3a53836781c0b30075d",
35
- "@teambit/component-issues": "0.0.159",
36
- "@teambit/component-package-version": "0.0.438",
37
- "@teambit/component": "0.0.0-072fd319426dde29ca8caf4134b6550f9b2516df",
38
- "@teambit/dependencies.fs.linked-dependencies": "0.0.30",
39
- "@teambit/envs": "0.0.0-7411f73f2715879addbf9ec410f15d98452822ed",
40
- "@teambit/generator": "0.0.0-ab09e0b11e2aaf3395d26b199590e0ed4697b6d5",
41
- "@teambit/ipc-events": "0.0.0-a60c5519559fb039df4fde7dbc80e9772bddc44c",
42
- "@teambit/issues": "0.0.0-5bb3e54f2133d7a6ee9a3208be2468cbd423d154",
43
- "@teambit/objects": "0.0.0-ac0eb77cec64989e7751b35410f1de1b96d5961e",
44
- "@teambit/pkg.modules.component-package-name": "0.0.61",
45
- "@teambit/ui": "0.0.0-0c7b3c2ee850610fecf5f04f304ddac1811d597d",
46
- "@teambit/variants": "0.0.0-2db98d9273da60923406120c38a69ee4fab82fe7",
47
- "@teambit/workspace-config-files": "0.0.0-e8e95c11dfbc832b1fb866dca26f8739269c077f",
48
- "@teambit/workspace.modules.node-modules-linker": "0.0.282",
49
- "@teambit/toolbox.time.time-format": "0.0.500"
31
+ "@teambit/toolbox.time.time-format": "0.0.502",
32
+ "@teambit/cli": "0.0.0-56c523a7ee1f3664c3cd61860216261a208b049a",
33
+ "@teambit/dependency-resolver": "0.0.0-c618901df0ea01e03e9c2ba0dbce16d8b66328de",
34
+ "@teambit/logger": "0.0.0-9a661a87f4166048de7f455fd32784b5deb1a141",
35
+ "@teambit/workspace": "0.0.0-88a71a00acde849c6b8ded1b1e24c392bb8eea38",
36
+ "@teambit/application": "0.0.0-43968cfd0f820f983e1ef7e6275225b305a12297",
37
+ "@teambit/aspect-loader": "0.0.0-bb47a6f8d57362ab3b3e3cdbbc369852387d5dfd",
38
+ "@teambit/bundler": "0.0.0-286096886eb9be1e15e70d3213e0b77e5674cec5",
39
+ "@teambit/compiler": "0.0.0-02bff17c141acd817c3692de86b00bada4912cfd",
40
+ "@teambit/component.sources": "0.0.0-d7cc8bb0768bf09049022dc7c1f7ef336e92b040",
41
+ "@teambit/component": "0.0.0-5e0eb4869ea572761f7aef7954b8e72cb9fc2095",
42
+ "@teambit/envs": "0.0.0-55353af386d9d92045831f4c54b19fcbdffefca0",
43
+ "@teambit/generator": "0.0.0-025a6a399e0c41cab7a06fc43248593c152eb2cd",
44
+ "@teambit/ipc-events": "0.0.0-bc1b84dc94e8df85be213d36f9021c1bb38c1b7a",
45
+ "@teambit/issues": "0.0.0-aa5be81d05baf7bfb03dfc9a130912b07ded1f7b",
46
+ "@teambit/objects": "0.0.0-a137327389918fda1c79aa675099c91909742a1a",
47
+ "@teambit/pkg.modules.component-package-name": "0.0.0-dde60670d20ccc02110f7e02737c69dd3166e5ce",
48
+ "@teambit/ui": "0.0.0-c9cb28aea4710b7a6822d321c06bf271ca6b1564",
49
+ "@teambit/variants": "0.0.0-723c6e53f39a4603e017c4d3cf7bd956868bb779",
50
+ "@teambit/workspace-config-files": "0.0.0-7054bb7bdd4b6755aa3f80cbc8db02da88bf8e61",
51
+ "@teambit/workspace.modules.node-modules-linker": "0.0.0-64fb52e221b686d66e720d4a99bc9cf8ef822a18"
50
52
  },
51
53
  "devDependencies": {
52
54
  "@types/fs-extra": "9.0.7",
@@ -54,11 +56,11 @@
54
56
  "@types/object-hash": "1.3.4",
55
57
  "strip-ansi": "6.0.0",
56
58
  "@types/mocha": "9.1.0",
57
- "@teambit/harmony.envs.core-aspect-env": "0.0.69"
59
+ "@teambit/harmony.envs.core-aspect-env": "0.0.78"
58
60
  },
59
61
  "peerDependencies": {
60
- "chai": "4.3.0",
61
- "@types/chai": "4.3.19"
62
+ "chai": "5.2.1",
63
+ "@types/chai": "5.2.2"
62
64
  },
63
65
  "license": "Apache-2.0",
64
66
  "optionalDependencies": {},
package/uninstall.cmd.tsx CHANGED
@@ -1,10 +1,12 @@
1
- import { Command, CommandOptions } from '@teambit/cli';
1
+ import type { Command, CommandOptions } from '@teambit/cli';
2
2
 
3
- import { InstallMain } from './install.main.runtime';
3
+ import type { InstallMain } from './install.main.runtime';
4
4
 
5
5
  export default class UninstallCmd implements Command {
6
6
  name = 'uninstall [packages...]';
7
- description = 'uninstall dependencies';
7
+ description = 'remove dependencies from workspace';
8
+ extendedDescription = `removes specified packages from workspace.jsonc dependency policy and runs install to update node_modules.`;
9
+ arguments = [{ name: 'packages...', description: 'list of package names to remove from workspace dependencies' }];
8
10
  alias = 'un';
9
11
  group = 'dependencies';
10
12
  options = [] as CommandOptions;
package/update.cmd.tsx CHANGED
@@ -1,6 +1,6 @@
1
- import { Command, CommandOptions } from '@teambit/cli';
1
+ import type { Command, CommandOptions } from '@teambit/cli';
2
2
 
3
- import { InstallMain } from './install.main.runtime';
3
+ import type { InstallMain } from './install.main.runtime';
4
4
 
5
5
  type UpdateCmdOptions = {
6
6
  yes?: boolean;
@@ -13,7 +13,10 @@ type UpdateCmdOptions = {
13
13
 
14
14
  export default class UpdateCmd implements Command {
15
15
  name = 'update [package-patterns...]';
16
- description = 'update dependencies. By default, dependencies are updated to the highest semver compatible versions.';
16
+ description = 'update workspace dependencies to newer versions';
17
+ extendedDescription = `updates dependencies in workspace.jsonc to newer versions and runs install to apply changes.
18
+ by default, updates to highest semver-compatible versions. use --major, --minor, or --patch for specific version types.
19
+ supports glob patterns to update specific packages. prompts for confirmation unless --yes is specified.`;
17
20
  helpUrl = 'reference/dependencies/configuring-dependencies/#update-dependencies';
18
21
  alias = 'up';
19
22
  group = 'dependencies';