Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | export interface Schema {
|
---|
2 | /**
|
---|
3 | * When false (the default), reports an error if installed packages are incompatible with
|
---|
4 | * the update.
|
---|
5 | */
|
---|
6 | force?: boolean;
|
---|
7 | /**
|
---|
8 | * When using `--migrateOnly` for a single package, the version of that package from which
|
---|
9 | * to migrate.
|
---|
10 | */
|
---|
11 | from?: string;
|
---|
12 | /**
|
---|
13 | * Perform a migration, but do not update the installed version.
|
---|
14 | */
|
---|
15 | migrateOnly?: boolean;
|
---|
16 | /**
|
---|
17 | * Update to the latest version, including beta and RCs.
|
---|
18 | */
|
---|
19 | next?: boolean;
|
---|
20 | /**
|
---|
21 | * The preferred package manager configuration files to use for registry settings.
|
---|
22 | */
|
---|
23 | packageManager?: PackageManager;
|
---|
24 | /**
|
---|
25 | * The package or packages to update.
|
---|
26 | */
|
---|
27 | packages?: string[];
|
---|
28 | /**
|
---|
29 | * The npm registry to use.
|
---|
30 | */
|
---|
31 | registry?: string;
|
---|
32 | /**
|
---|
33 | * When using `--migrateOnly` for a single package, the version of that package to which to
|
---|
34 | * migrate.
|
---|
35 | */
|
---|
36 | to?: string;
|
---|
37 | /**
|
---|
38 | * Display additional details during the update process.
|
---|
39 | */
|
---|
40 | verbose?: boolean;
|
---|
41 | }
|
---|
42 | /**
|
---|
43 | * The preferred package manager configuration files to use for registry settings.
|
---|
44 | */
|
---|
45 | export declare enum PackageManager {
|
---|
46 | Cnpm = "cnpm",
|
---|
47 | Npm = "npm",
|
---|
48 | Pnpm = "pnpm",
|
---|
49 | Yarn = "yarn"
|
---|
50 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.