@ms-cloudpack/cli 0.77.11 → 0.77.12
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/lib/main.d.ts.map +1 -1
- package/lib/main.js +1 -0
- package/lib/main.js.map +1 -1
- package/package.json +17 -17
- package/schema/AppConfig.json +39 -0
- package/schema/UserConfig.json +39 -0
package/lib/main.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AASrD,iCAAiC;AACjC,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACrC;AAED;;;GAGG;AACH,wBAAsB,IAAI,CAAC,OAAO,GAAE,OAAO,CAAC,WAAW,CAAM,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AASrD,iCAAiC;AACjC,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACrC;AAED;;;GAGG;AACH,wBAAsB,IAAI,CAAC,OAAO,GAAE,OAAO,CAAC,WAAW,CAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAwD5E"}
|
package/lib/main.js
CHANGED
|
@@ -11,6 +11,7 @@ import { satisfies } from 'semver';
|
|
|
11
11
|
* Resolves all commands defined within the "./commands" folder.
|
|
12
12
|
*/
|
|
13
13
|
export async function main(options = {}) {
|
|
14
|
+
process.title = 'cloudpack';
|
|
14
15
|
// Check Node.js version compatibility before doing anything else
|
|
15
16
|
const requiredNodeVersion = getNodeEngineRequirement();
|
|
16
17
|
if (requiredNodeVersion && !satisfies(process.version, requiredNodeVersion)) {
|
package/lib/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAUnC;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,IAAI,CAAC,UAAgC,EAAE;IAC3D,iEAAiE;IACjE,MAAM,mBAAmB,GAAG,wBAAwB,EAAE,CAAC;IACvD,IAAI,mBAAmB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,mBAAmB,CAAC,EAAE,CAAC;QAC5E,OAAO,CAAC,KAAK,CAAC,8BAA8B,mBAAmB,sBAAsB,OAAO,CAAC,OAAO,GAAG,CAAC,CAAC;QACzG,wEAAwE;QACxE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,MAAM,EACJ,IAAI,GAAG,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IACxB,6FAA6F;IAC7F,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M,CAAC,UAAU,CAAC,CAAsB,CAAC;QAEtE,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,MAAM,OAAO,CAAC,GAAG,EAAE,CAAC;AACtB,CAAC","sourcesContent":["import { getDisplayVersion } from '@ms-cloudpack/package-utilities';\nimport { globSourceFiles } from '@ms-cloudpack/path-utilities';\nimport type { OutputConfiguration } from 'commander';\nimport path from 'path';\nimport { fileURLToPath, pathToFileURL } from 'url';\nimport type { CommandInitModule } from './types/CommandInitFunction.js';\nimport { PerfMarkerCliEntry } from './performance/markers.js';\nimport { CloudpackCommand } from './utilities/CloudpackCommand.js';\nimport { getNodeEngineRequirement } from './utilities/getNodeEngineRequirement.js';\nimport { satisfies } from 'semver';\n\n/** Override options for tests */\nexport interface MainOptions {\n cwd?: string;\n disableTelemetry?: boolean;\n argv?: string[];\n outputOptions?: OutputConfiguration;\n}\n\n/**\n * Entry point for the cloudpack CLI.\n * Resolves all commands defined within the \"./commands\" folder.\n */\nexport async function main(options: Partial<MainOptions> = {}): Promise<void> {\n // Check Node.js version compatibility before doing anything else\n const requiredNodeVersion = getNodeEngineRequirement();\n if (requiredNodeVersion && !satisfies(process.version, requiredNodeVersion)) {\n console.error(`Cloudpack requires Node.js ${requiredNodeVersion}. Current version: ${process.version}.`);\n // eslint-disable-next-line no-restricted-properties -- exit immediately\n process.exit(1);\n }\n\n const {\n argv = [...process.argv],\n // eslint-disable-next-line no-restricted-properties -- this is where the default is supplied\n cwd = process.cwd(),\n disableTelemetry,\n outputOptions,\n } = options;\n\n performance.mark(PerfMarkerCliEntry);\n\n if (argv[3] === '--') {\n // Remove the \"--\" argument in case it's added by lage\n argv.splice(3, 1);\n }\n\n const version = getDisplayVersion(import.meta.url);\n\n // Create the top-level command and apply common options\n // (avoids \"unknown option\" errors if they're specified without a verb)\n const program = new CloudpackCommand({\n name: 'cloudpack',\n description: 'A tool for managing fast inner and outer looping in web apps. Requires a sub-command.',\n usage: '<command> [options]',\n outputOptions,\n programOptions: { cwd, version, argv, disableTelemetry },\n // The top-level command should realistically only ever be used with --help or --version,\n // so hide most of the options.\n hideSharedOptions: true,\n });\n\n // Get all the available commands\n const commandsGlob = 'commands/*/index';\n const commands = await globSourceFiles(import.meta.url, commandsGlob);\n if (!commands.length) {\n const currentDir = path.dirname(fileURLToPath(import.meta.url));\n throw new Error(`No commands found matching \"${currentDir}/${commandsGlob}.*\".`);\n }\n\n for (const commandPath of commands) {\n const commandUrl = pathToFileURL(commandPath).toString();\n const commandModule = (await import(commandUrl)) as CommandInitModule;\n\n commandModule.init(program);\n }\n\n await program.run();\n}\n"]}
|
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAUnC;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,IAAI,CAAC,UAAgC,EAAE;IAC3D,OAAO,CAAC,KAAK,GAAG,WAAW,CAAC;IAC5B,iEAAiE;IACjE,MAAM,mBAAmB,GAAG,wBAAwB,EAAE,CAAC;IACvD,IAAI,mBAAmB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,mBAAmB,CAAC,EAAE,CAAC;QAC5E,OAAO,CAAC,KAAK,CAAC,8BAA8B,mBAAmB,sBAAsB,OAAO,CAAC,OAAO,GAAG,CAAC,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CAAC;IAED,KAAK,MAAM,WAAW,IAAI,QAAQ,EAAE,CAAC;QACnC,MAAM,UAAU,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE,CAAC;QACzD,MAAM,aAAa,GAAG,CAAC,MAAM,MAAM,CAAC,UAAU,CAAC,CAAsB,CAAC;QAEtE,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,MAAM,OAAO,CAAC,GAAG,EAAE,CAAC;AACtB,CAAC","sourcesContent":["import { getDisplayVersion } from '@ms-cloudpack/package-utilities';\nimport { globSourceFiles } from '@ms-cloudpack/path-utilities';\nimport type { OutputConfiguration } from 'commander';\nimport path from 'path';\nimport { fileURLToPath, pathToFileURL } from 'url';\nimport type { CommandInitModule } from './types/CommandInitFunction.js';\nimport { PerfMarkerCliEntry } from './performance/markers.js';\nimport { CloudpackCommand } from './utilities/CloudpackCommand.js';\nimport { getNodeEngineRequirement } from './utilities/getNodeEngineRequirement.js';\nimport { satisfies } from 'semver';\n\n/** Override options for tests */\nexport interface MainOptions {\n cwd?: string;\n disableTelemetry?: boolean;\n argv?: string[];\n outputOptions?: OutputConfiguration;\n}\n\n/**\n * Entry point for the cloudpack CLI.\n * Resolves all commands defined within the \"./commands\" folder.\n */\nexport async function main(options: Partial<MainOptions> = {}): Promise<void> {\n process.title = 'cloudpack';\n // Check Node.js version compatibility before doing anything else\n const requiredNodeVersion = getNodeEngineRequirement();\n if (requiredNodeVersion && !satisfies(process.version, requiredNodeVersion)) {\n console.error(`Cloudpack requires Node.js ${requiredNodeVersion}. Current version: ${process.version}.`);\n // eslint-disable-next-line no-restricted-properties -- exit immediately\n process.exit(1);\n }\n\n const {\n argv = [...process.argv],\n // eslint-disable-next-line no-restricted-properties -- this is where the default is supplied\n cwd = process.cwd(),\n disableTelemetry,\n outputOptions,\n } = options;\n\n performance.mark(PerfMarkerCliEntry);\n\n if (argv[3] === '--') {\n // Remove the \"--\" argument in case it's added by lage\n argv.splice(3, 1);\n }\n\n const version = getDisplayVersion(import.meta.url);\n\n // Create the top-level command and apply common options\n // (avoids \"unknown option\" errors if they're specified without a verb)\n const program = new CloudpackCommand({\n name: 'cloudpack',\n description: 'A tool for managing fast inner and outer looping in web apps. Requires a sub-command.',\n usage: '<command> [options]',\n outputOptions,\n programOptions: { cwd, version, argv, disableTelemetry },\n // The top-level command should realistically only ever be used with --help or --version,\n // so hide most of the options.\n hideSharedOptions: true,\n });\n\n // Get all the available commands\n const commandsGlob = 'commands/*/index';\n const commands = await globSourceFiles(import.meta.url, commandsGlob);\n if (!commands.length) {\n const currentDir = path.dirname(fileURLToPath(import.meta.url));\n throw new Error(`No commands found matching \"${currentDir}/${commandsGlob}.*\".`);\n }\n\n for (const commandPath of commands) {\n const commandUrl = pathToFileURL(commandPath).toString();\n const commandModule = (await import(commandUrl)) as CommandInitModule;\n\n commandModule.init(program);\n }\n\n await program.run();\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ms-cloudpack/cli",
|
|
3
|
-
"version": "0.77.
|
|
3
|
+
"version": "0.77.12",
|
|
4
4
|
"description": "The Cloudpack command line interface - a tool for managing fast inner and outer looping in web apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -18,25 +18,25 @@
|
|
|
18
18
|
"cloudpack": "./bin/cloudpack.js"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ms-cloudpack/api-server": "^0.64.
|
|
22
|
-
"@ms-cloudpack/app-server": "^0.20.
|
|
23
|
-
"@ms-cloudpack/bundler": "^0.26.
|
|
24
|
-
"@ms-cloudpack/bundler-capabilities": "^0.
|
|
25
|
-
"@ms-cloudpack/common-types": "^0.
|
|
26
|
-
"@ms-cloudpack/config": "^0.38.
|
|
27
|
-
"@ms-cloudpack/create-express-app": "^1.10.
|
|
21
|
+
"@ms-cloudpack/api-server": "^0.64.26",
|
|
22
|
+
"@ms-cloudpack/app-server": "^0.20.18",
|
|
23
|
+
"@ms-cloudpack/bundler": "^0.26.3",
|
|
24
|
+
"@ms-cloudpack/bundler-capabilities": "^0.4.0",
|
|
25
|
+
"@ms-cloudpack/common-types": "^0.29.0",
|
|
26
|
+
"@ms-cloudpack/config": "^0.38.8",
|
|
27
|
+
"@ms-cloudpack/create-express-app": "^1.10.55",
|
|
28
28
|
"@ms-cloudpack/environment": "^0.1.1",
|
|
29
|
-
"@ms-cloudpack/file-watcher": "^0.4.
|
|
29
|
+
"@ms-cloudpack/file-watcher": "^0.4.13",
|
|
30
30
|
"@ms-cloudpack/json-utilities": "^0.1.11",
|
|
31
|
-
"@ms-cloudpack/link-proxy": "^0.2.
|
|
32
|
-
"@ms-cloudpack/overlay": "^0.19.
|
|
33
|
-
"@ms-cloudpack/package-utilities": "^13.0.
|
|
31
|
+
"@ms-cloudpack/link-proxy": "^0.2.40",
|
|
32
|
+
"@ms-cloudpack/overlay": "^0.19.36",
|
|
33
|
+
"@ms-cloudpack/package-utilities": "^13.0.1",
|
|
34
34
|
"@ms-cloudpack/path-string-parsing": "^1.2.7",
|
|
35
|
-
"@ms-cloudpack/path-utilities": "^3.1.
|
|
36
|
-
"@ms-cloudpack/remote-cache": "^0.11.
|
|
37
|
-
"@ms-cloudpack/setup-utilities": "^0.5.
|
|
35
|
+
"@ms-cloudpack/path-utilities": "^3.1.26",
|
|
36
|
+
"@ms-cloudpack/remote-cache": "^0.11.44",
|
|
37
|
+
"@ms-cloudpack/setup-utilities": "^0.5.47",
|
|
38
38
|
"@ms-cloudpack/task-reporter": "^0.17.4",
|
|
39
|
-
"@ms-cloudpack/telemetry": "^0.11.
|
|
39
|
+
"@ms-cloudpack/telemetry": "^0.11.44",
|
|
40
40
|
"@yarnpkg/lockfile": "^1.1.0",
|
|
41
41
|
"commander": "^14.0.0",
|
|
42
42
|
"cross-spawn": "^7.0.3",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"workspace-tools": "^0.38.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@ms-cloudpack/common-types": "^0.
|
|
52
|
+
"@ms-cloudpack/common-types": "^0.29.0",
|
|
53
53
|
"@ms-cloudpack/common-types-browser": "^0.6.3",
|
|
54
54
|
"@ms-cloudpack/eslint-plugin-internal": "^0.0.1",
|
|
55
55
|
"@ms-cloudpack/scripts": "^0.0.1",
|
package/schema/AppConfig.json
CHANGED
|
@@ -106,6 +106,22 @@
|
|
|
106
106
|
"$ref": "#/definitions/ModuleResolutionConfig",
|
|
107
107
|
"description": "Configuration for module resolution, specifying where to look for modules."
|
|
108
108
|
},
|
|
109
|
+
"relay": {
|
|
110
|
+
"type": "object",
|
|
111
|
+
"properties": {
|
|
112
|
+
"rootDir": {
|
|
113
|
+
"type": "string"
|
|
114
|
+
},
|
|
115
|
+
"artifactDirectory": {
|
|
116
|
+
"type": "string"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"required": [
|
|
120
|
+
"rootDir"
|
|
121
|
+
],
|
|
122
|
+
"additionalProperties": false,
|
|
123
|
+
"description": "Enables Relay support for generated artifacts.\n\nNote: Root directory will be resolved relative to the config directory."
|
|
124
|
+
},
|
|
109
125
|
"$schema": {
|
|
110
126
|
"type": "string"
|
|
111
127
|
}
|
|
@@ -1222,6 +1238,29 @@
|
|
|
1222
1238
|
"type": "boolean"
|
|
1223
1239
|
}
|
|
1224
1240
|
]
|
|
1241
|
+
},
|
|
1242
|
+
"relay": {
|
|
1243
|
+
"anyOf": [
|
|
1244
|
+
{
|
|
1245
|
+
"type": "object",
|
|
1246
|
+
"additionalProperties": false,
|
|
1247
|
+
"properties": {
|
|
1248
|
+
"rootDir": {
|
|
1249
|
+
"type": "string"
|
|
1250
|
+
},
|
|
1251
|
+
"artifactDirectory": {
|
|
1252
|
+
"type": "string"
|
|
1253
|
+
}
|
|
1254
|
+
},
|
|
1255
|
+
"required": [
|
|
1256
|
+
"rootDir"
|
|
1257
|
+
],
|
|
1258
|
+
"description": "Exclude null and undefined from T"
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"type": "boolean"
|
|
1262
|
+
}
|
|
1263
|
+
]
|
|
1225
1264
|
}
|
|
1226
1265
|
},
|
|
1227
1266
|
"description": "Options used in `PackageSettings` to configure or disable bundler capabilities.\n- Key: capability name, either internal (Cloudpack-provided) or external (as specified in `AppConfig.bundlerCapabilitiesRegistry`)\n- Value: options object to configure the capability, or false to disable it."
|
package/schema/UserConfig.json
CHANGED
|
@@ -109,6 +109,22 @@
|
|
|
109
109
|
"resolve": {
|
|
110
110
|
"$ref": "#/definitions/ModuleResolutionConfig",
|
|
111
111
|
"description": "Configuration for module resolution, specifying where to look for modules."
|
|
112
|
+
},
|
|
113
|
+
"relay": {
|
|
114
|
+
"type": "object",
|
|
115
|
+
"properties": {
|
|
116
|
+
"rootDir": {
|
|
117
|
+
"type": "string"
|
|
118
|
+
},
|
|
119
|
+
"artifactDirectory": {
|
|
120
|
+
"type": "string"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"required": [
|
|
124
|
+
"rootDir"
|
|
125
|
+
],
|
|
126
|
+
"additionalProperties": false,
|
|
127
|
+
"description": "Enables Relay support for generated artifacts.\n\nNote: Root directory will be resolved relative to the config directory."
|
|
112
128
|
}
|
|
113
129
|
},
|
|
114
130
|
"additionalProperties": false,
|
|
@@ -1223,6 +1239,29 @@
|
|
|
1223
1239
|
"type": "boolean"
|
|
1224
1240
|
}
|
|
1225
1241
|
]
|
|
1242
|
+
},
|
|
1243
|
+
"relay": {
|
|
1244
|
+
"anyOf": [
|
|
1245
|
+
{
|
|
1246
|
+
"type": "object",
|
|
1247
|
+
"additionalProperties": false,
|
|
1248
|
+
"properties": {
|
|
1249
|
+
"rootDir": {
|
|
1250
|
+
"type": "string"
|
|
1251
|
+
},
|
|
1252
|
+
"artifactDirectory": {
|
|
1253
|
+
"type": "string"
|
|
1254
|
+
}
|
|
1255
|
+
},
|
|
1256
|
+
"required": [
|
|
1257
|
+
"rootDir"
|
|
1258
|
+
],
|
|
1259
|
+
"description": "Exclude null and undefined from T"
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
"type": "boolean"
|
|
1263
|
+
}
|
|
1264
|
+
]
|
|
1226
1265
|
}
|
|
1227
1266
|
},
|
|
1228
1267
|
"description": "Options used in `PackageSettings` to configure or disable bundler capabilities.\n- Key: capability name, either internal (Cloudpack-provided) or external (as specified in `AppConfig.bundlerCapabilitiesRegistry`)\n- Value: options object to configure the capability, or false to disable it."
|