@teambit/install 0.0.0-d01517446e459085526ea9f4b57d9c4ffaceb159 → 0.0.0-d257053f5b62a8d7ab26ca58fb4ebf24c6f1236c
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/dist/install.cmd.d.ts +5 -5
- package/dist/install.cmd.js +24 -7
- package/dist/install.cmd.js.map +1 -1
- package/dist/install.main.runtime.d.ts +20 -18
- package/dist/install.main.runtime.js +18 -12
- package/dist/install.main.runtime.js.map +1 -1
- package/dist/link/component-list-links.d.ts +2 -2
- package/dist/link/component-list-links.js.map +1 -1
- package/dist/link/core-aspects-links.d.ts +1 -1
- package/dist/link/core-aspects-links.js.map +1 -1
- package/dist/link/link-to-dir.d.ts +1 -1
- package/dist/link/link-to-dir.js.map +1 -1
- package/dist/link/link.cmd.d.ts +5 -5
- package/dist/link/link.cmd.js +4 -2
- package/dist/link/link.cmd.js.map +1 -1
- package/dist/link/nested-deps-in-nm-links.d.ts +1 -1
- package/dist/link/nested-deps-in-nm-links.js.map +1 -1
- package/dist/link/rewire-row.d.ts +1 -1
- package/dist/link/rewire-row.js.map +1 -1
- package/dist/pick-outdated-pkgs.d.ts +1 -1
- package/dist/pick-outdated-pkgs.js.map +1 -1
- package/dist/pick-outdated-pkgs.spec.js +0 -2
- package/dist/pick-outdated-pkgs.spec.js.map +1 -1
- package/dist/uninstall.cmd.d.ts +7 -2
- package/dist/uninstall.cmd.js +6 -1
- package/dist/uninstall.cmd.js.map +1 -1
- package/dist/update.cmd.d.ts +3 -2
- package/dist/update.cmd.js +4 -1
- package/dist/update.cmd.js.map +1 -1
- package/install.cmd.tsx +33 -14
- package/link/component-list-links.ts +2 -2
- package/link/core-aspects-links.ts +1 -1
- package/link/link-to-dir.ts +1 -1
- package/link/link.cmd.ts +8 -6
- package/link/nested-deps-in-nm-links.ts +1 -1
- package/link/rewire-row.ts +1 -1
- package/package.json +30 -30
- package/uninstall.cmd.tsx +5 -3
- package/update.cmd.tsx +6 -3
- /package/dist/{preview-1752614728934.js → preview-1758307310714.js} +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
import chalk from 'chalk';
|
2
|
-
import { NestedNMDepsLinksResult } from '@teambit/dependency-resolver';
|
2
|
+
import type { NestedNMDepsLinksResult } from '@teambit/dependency-resolver';
|
3
3
|
import { VerboseLinkRow } from './link-row';
|
4
4
|
|
5
5
|
type NestedComponentLinksLinksProps = {
|
package/link/rewire-row.ts
CHANGED
package/package.json
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/install",
|
3
|
-
"version": "0.0.0-
|
3
|
+
"version": "0.0.0-d257053f5b62a8d7ab26ca58fb4ebf24c6f1236c",
|
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": "
|
9
|
+
"version": "d257053f5b62a8d7ab26ca58fb4ebf24c6f1236c"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"chalk": "4.1.2",
|
13
13
|
"validate-npm-package-name": "6.0.0",
|
14
|
-
"@pnpm/types": "1000.
|
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",
|
@@ -23,32 +23,32 @@
|
|
23
23
|
"enquirer": "2.4.1",
|
24
24
|
"table": "6.7.3",
|
25
25
|
"@teambit/harmony": "0.4.7",
|
26
|
+
"@teambit/component-issues": "0.0.164",
|
27
|
+
"@teambit/component-package-version": "0.0.443",
|
26
28
|
"@teambit/workspace.root-components": "1.0.0",
|
27
29
|
"@teambit/bit-error": "0.0.404",
|
28
|
-
"@teambit/
|
29
|
-
"@teambit/
|
30
|
-
"@teambit/
|
31
|
-
"@teambit/
|
32
|
-
"@teambit/
|
33
|
-
"@teambit/
|
34
|
-
"@teambit/
|
35
|
-
"@teambit/
|
36
|
-
"@teambit/
|
37
|
-
"@teambit/component
|
38
|
-
"@teambit/component
|
39
|
-
"@teambit/
|
40
|
-
"@teambit/
|
41
|
-
"@teambit/
|
42
|
-
"@teambit/
|
43
|
-
"@teambit/
|
44
|
-
"@teambit/
|
45
|
-
"@teambit/
|
46
|
-
"@teambit/
|
47
|
-
"@teambit/
|
48
|
-
"@teambit/
|
49
|
-
"@teambit/workspace-
|
50
|
-
"@teambit/workspace.modules.node-modules-linker": "0.0.0-f941e759ed1b78f8f3791d01a1f83cde9e4b3635",
|
51
|
-
"@teambit/toolbox.time.time-format": "0.0.500"
|
30
|
+
"@teambit/toolbox.time.time-format": "0.0.502",
|
31
|
+
"@teambit/cli": "0.0.0-828672f88381d2a0c71ba819d42007947a234dd2",
|
32
|
+
"@teambit/dependency-resolver": "0.0.0-fa358b395ca1ee3f2460bf677091f3a0da8f6181",
|
33
|
+
"@teambit/logger": "0.0.0-86613c059136559256d0538a19f0fe4f2009ee24",
|
34
|
+
"@teambit/workspace": "0.0.0-9a16fc42340f5ae6c67bf2d1e0dd3af7b40b96bc",
|
35
|
+
"@teambit/application": "0.0.0-4e51e0b10c814950c14e0d62655d1cbb3e711feb",
|
36
|
+
"@teambit/aspect-loader": "0.0.0-58e6e015892e1c68e048bea10bd13762f59251f7",
|
37
|
+
"@teambit/bundler": "0.0.0-70e2c215dd471fd346c808a96f1f44fe6e437d91",
|
38
|
+
"@teambit/compiler": "0.0.0-7ae2dc81aa938c92636fa35f50c8f27a51949bed",
|
39
|
+
"@teambit/component.sources": "0.0.0-b1046ca30a5371f66503743dcd6d3818c1dd6016",
|
40
|
+
"@teambit/component": "0.0.0-244b61117cb0f104ebeb1eb443509e42c5ae1ce0",
|
41
|
+
"@teambit/dependencies.fs.linked-dependencies": "0.0.0-3bdf75f41d3d0e76b9da09f7f5880c4b1e1c643a",
|
42
|
+
"@teambit/envs": "0.0.0-f74ba9caf4b7430344bd64633b9e141471b97f52",
|
43
|
+
"@teambit/generator": "0.0.0-365cbdccc72654e104e4589fd1ee11d1db835c2e",
|
44
|
+
"@teambit/ipc-events": "0.0.0-14158a1cb5b9e81f75820342732308dfb72c269e",
|
45
|
+
"@teambit/issues": "0.0.0-7b1fa6e9dde4dc2753e11c1e9e06248fad37f69f",
|
46
|
+
"@teambit/objects": "0.0.0-4103a80aa2566f6a07a1762cfd52ef956d619ca2",
|
47
|
+
"@teambit/pkg.modules.component-package-name": "0.0.0-bd769ca26743b987a33429cc0308e3a6a54dd243",
|
48
|
+
"@teambit/ui": "0.0.0-5596d87c0c215e03d4d8af145f078d4401f2c63e",
|
49
|
+
"@teambit/variants": "0.0.0-fe2b9b8ed0e3cab69421a48c01f3bbcb9a7ebb1c",
|
50
|
+
"@teambit/workspace-config-files": "0.0.0-417334f0500de73babee0c0b213cde21f2dbb7e6",
|
51
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.0-88468c06a9aa28cb984647f49459746f2673364f"
|
52
52
|
},
|
53
53
|
"devDependencies": {
|
54
54
|
"@types/fs-extra": "9.0.7",
|
@@ -56,11 +56,11 @@
|
|
56
56
|
"@types/object-hash": "1.3.4",
|
57
57
|
"strip-ansi": "6.0.0",
|
58
58
|
"@types/mocha": "9.1.0",
|
59
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
59
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.78"
|
60
60
|
},
|
61
61
|
"peerDependencies": {
|
62
|
-
"chai": "
|
63
|
-
"@types/chai": "
|
62
|
+
"chai": "5.2.1",
|
63
|
+
"@types/chai": "5.2.2"
|
64
64
|
},
|
65
65
|
"license": "Apache-2.0",
|
66
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 = '
|
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
|
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';
|
File without changes
|