create-nx-workspace 15.9.0-beta.4 → 15.9.0-beta.6
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/bin/create-nx-workspace.d.ts +7 -18
- package/bin/create-nx-workspace.js +140 -539
- package/bin/create-nx-workspace.js.map +1 -1
- package/bin/types/bundler-list.d.ts +2 -0
- package/bin/types/bundler-list.js +6 -0
- package/bin/types/bundler-list.js.map +1 -0
- package/bin/types/framework-list.d.ts +2 -0
- package/bin/types/framework-list.js +6 -0
- package/bin/types/framework-list.js.map +1 -0
- package/index.d.ts +1 -0
- package/index.js +5 -0
- package/index.js.map +1 -0
- package/package.json +4 -3
- package/src/create-empty-workspace.d.ts +11 -0
- package/src/create-empty-workspace.js +63 -0
- package/src/create-empty-workspace.js.map +1 -0
- package/src/create-preset.d.ts +3 -0
- package/src/create-preset.js +45 -0
- package/src/create-preset.js.map +1 -0
- package/src/create-sandbox.d.ts +7 -0
- package/src/create-sandbox.js +51 -0
- package/src/create-sandbox.js.map +1 -0
- package/src/create-workspace-options.d.ts +32 -0
- package/src/create-workspace.d.ts +2 -0
- package/src/create-workspace.js +66 -0
- package/src/create-workspace.js.map +1 -0
- package/src/utils/child-process-utils.d.ts +5 -0
- package/src/utils/child-process-utils.js +43 -0
- package/src/utils/child-process-utils.js.map +1 -0
- package/src/utils/ci/ci-list.d.ts +2 -0
- package/{bin/ci.js → src/utils/ci/ci-list.js} +1 -1
- package/src/utils/ci/ci-list.js.map +1 -0
- package/src/utils/ci/is-ci.d.ts +1 -0
- package/src/utils/ci/is-ci.js +21 -0
- package/src/utils/ci/is-ci.js.map +1 -0
- package/src/utils/ci/setup-ci.d.ts +2 -0
- package/src/utils/ci/setup-ci.js +43 -0
- package/src/utils/ci/setup-ci.js.map +1 -0
- package/src/utils/git/default-base.js.map +1 -0
- package/{bin → src/utils/git}/git.js +1 -1
- package/src/utils/git/git.js.map +1 -0
- package/{bin → src/utils/nx}/ab-testing.js +2 -2
- package/src/utils/nx/ab-testing.js.map +1 -0
- package/src/utils/nx/nx-cloud.d.ts +3 -0
- package/src/utils/nx/nx-cloud.js +44 -0
- package/src/utils/nx/nx-cloud.js.map +1 -0
- package/src/utils/nx/nx-version.d.ts +1 -0
- package/src/utils/nx/nx-version.js +5 -0
- package/src/utils/nx/nx-version.js.map +1 -0
- package/{bin/shared.d.ts → src/utils/nx/show-nx-warning.d.ts} +0 -1
- package/src/utils/nx/show-nx-warning.js +28 -0
- package/src/utils/nx/show-nx-warning.js.map +1 -0
- package/{bin → src/utils}/output.d.ts +0 -1
- package/{bin → src/utils}/output.js +3 -19
- package/src/utils/output.js.map +1 -0
- package/src/utils/package-manager.js.map +1 -0
- package/src/utils/preset/get-third-party-preset.d.ts +6 -0
- package/src/utils/preset/get-third-party-preset.js +42 -0
- package/src/utils/preset/get-third-party-preset.js.map +1 -0
- package/src/utils/preset/point-to-tutorial-and-course.d.ts +2 -0
- package/src/utils/preset/point-to-tutorial-and-course.js +68 -0
- package/src/utils/preset/point-to-tutorial-and-course.js.map +1 -0
- package/src/utils/preset/preset-options.d.ts +5 -0
- package/src/utils/preset/preset-options.js +35 -0
- package/src/utils/preset/preset-options.js.map +1 -0
- package/src/utils/preset/preset.d.ts +26 -0
- package/src/utils/preset/preset.js +34 -0
- package/src/utils/preset/preset.js.map +1 -0
- package/src/utils/string-utils.d.ts +7 -0
- package/src/utils/string-utils.js +28 -0
- package/src/utils/string-utils.js.map +1 -0
- package/src/utils/unparse.d.ts +1 -0
- package/src/utils/unparse.js +37 -0
- package/src/utils/unparse.js.map +1 -0
- package/{bin → src/utils}/validate-npm-package.d.ts +4 -0
- package/{bin → src/utils}/validate-npm-package.js +4 -0
- package/src/utils/validate-npm-package.js.map +1 -0
- package/bin/ab-testing.js.map +0 -1
- package/bin/ci.d.ts +0 -1
- package/bin/ci.js.map +0 -1
- package/bin/default-base.js.map +0 -1
- package/bin/git.js.map +0 -1
- package/bin/output.js.map +0 -1
- package/bin/package-manager.js.map +0 -1
- package/bin/shared.js +0 -65
- package/bin/shared.js.map +0 -1
- package/bin/utils.d.ts +0 -2
- package/bin/utils.js +0 -15
- package/bin/utils.js.map +0 -1
- package/bin/validate-npm-package.js.map +0 -1
- /package/{bin → src/utils/git}/default-base.d.ts +0 -0
- /package/{bin → src/utils/git}/default-base.js +0 -0
- /package/{bin → src/utils/git}/git.d.ts +0 -0
- /package/{bin → src/utils/nx}/ab-testing.d.ts +0 -0
- /package/{bin → src/utils}/package-manager.d.ts +0 -0
- /package/{bin → src/utils}/package-manager.js +0 -0
|
@@ -1,27 +1,16 @@
|
|
|
1
1
|
import * as yargs from 'yargs';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { CreateWorkspaceOptions } from '../src/create-workspace-options';
|
|
3
|
+
import { Framework } from './types/framework-list';
|
|
4
|
+
import { Bundler } from './types/bundler-list';
|
|
5
|
+
interface Arguments extends CreateWorkspaceOptions {
|
|
5
6
|
preset: string;
|
|
6
7
|
appName: string;
|
|
7
8
|
style: string;
|
|
8
|
-
framework:
|
|
9
|
+
framework: Framework;
|
|
9
10
|
standaloneApi: boolean;
|
|
10
11
|
docker: boolean;
|
|
11
|
-
nxCloud: boolean;
|
|
12
12
|
routing: boolean;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
defaultBase: string;
|
|
16
|
-
ci: string;
|
|
17
|
-
skipGit: boolean;
|
|
18
|
-
commit: {
|
|
19
|
-
message: string;
|
|
20
|
-
name: string;
|
|
21
|
-
email: string;
|
|
22
|
-
};
|
|
23
|
-
bundler: 'vite' | 'webpack';
|
|
24
|
-
interactive: boolean;
|
|
25
|
-
};
|
|
13
|
+
bundler: Bundler;
|
|
14
|
+
}
|
|
26
15
|
export declare const commandsObject: yargs.Argv<Arguments>;
|
|
27
16
|
export {};
|