feat: init
This commit is contained in:
42
node_modules/@nuxt/cli/dist/_shared-BCYCnX0T.mjs
generated
vendored
Normal file
42
node_modules/@nuxt/cli/dist/_shared-BCYCnX0T.mjs
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
//#region ../nuxi/src/commands/_shared.ts
|
||||
const cwdArgs = { cwd: {
|
||||
type: "string",
|
||||
description: "Specify the working directory",
|
||||
valueHint: "directory",
|
||||
default: "."
|
||||
} };
|
||||
const logLevelArgs = { logLevel: {
|
||||
type: "string",
|
||||
description: "Specify build-time log level",
|
||||
valueHint: "silent|info|verbose"
|
||||
} };
|
||||
const envNameArgs = { envName: {
|
||||
type: "string",
|
||||
description: "The environment to use when resolving configuration overrides (default is `production` when building, and `development` when running the dev server)"
|
||||
} };
|
||||
const dotEnvArgs = { dotenv: {
|
||||
type: "string",
|
||||
description: "Path to `.env` file to load, relative to the root directory"
|
||||
} };
|
||||
const extendsArgs = { extends: {
|
||||
type: "string",
|
||||
description: "Extend from a Nuxt layer",
|
||||
valueHint: "layer-name",
|
||||
alias: ["e"]
|
||||
} };
|
||||
const legacyRootDirArgs = {
|
||||
cwd: {
|
||||
...cwdArgs.cwd,
|
||||
description: "Specify the working directory, this takes precedence over ROOTDIR (default: `.`)",
|
||||
default: void 0
|
||||
},
|
||||
rootDir: {
|
||||
type: "positional",
|
||||
description: "Specifies the working directory (default: `.`)",
|
||||
required: false,
|
||||
default: "."
|
||||
}
|
||||
};
|
||||
|
||||
//#endregion
|
||||
export { legacyRootDirArgs as a, extendsArgs as i, dotEnvArgs as n, logLevelArgs as o, envNameArgs as r, cwdArgs as t };
|
||||
Reference in New Issue
Block a user