@fluid-app/fluid-cli-portal 0.1.66 → 0.1.67
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/authoring/commands.md
CHANGED
|
@@ -44,7 +44,7 @@ Options:
|
|
|
44
44
|
--skip-install Create the scaffold only; skip dependency
|
|
45
45
|
installation
|
|
46
46
|
-o, --output-dir <dir> Directory to create the project in (defaults to cwd)
|
|
47
|
-
--local Use local monorepo packages via
|
|
47
|
+
--local Use local monorepo packages via link: paths (for
|
|
48
48
|
development testing)
|
|
49
49
|
--remote-template Use the GitHub starter template instead of the
|
|
50
50
|
bundled template
|
package/dist/index.d.mts
CHANGED
|
@@ -42,7 +42,7 @@ interface CreateOptions {
|
|
|
42
42
|
readonly skipInstall?: boolean;
|
|
43
43
|
/** Directory to create the project in (defaults to cwd) */
|
|
44
44
|
readonly outputDir?: string;
|
|
45
|
-
/** Use local monorepo packages via
|
|
45
|
+
/** Use local monorepo packages via link: paths instead of npm versions */
|
|
46
46
|
readonly local?: boolean;
|
|
47
47
|
/** Explicitly use the GitHub starter instead of the bundled template. */
|
|
48
48
|
readonly remoteTemplate?: boolean;
|
package/dist/index.mjs
CHANGED
|
@@ -96,9 +96,9 @@ async function promptProjectConfig(projectName, options) {
|
|
|
96
96
|
//#endregion
|
|
97
97
|
//#region src/utils/file-system.ts
|
|
98
98
|
const _currentDir$1 = dirname(fileURLToPath(import.meta.url));
|
|
99
|
-
const EMBEDDED_PORTAL_SDK_VERSION = "0.1.
|
|
100
|
-
const EMBEDDED_CLI_CORE_VERSION = "0.1.
|
|
101
|
-
const EMBEDDED_CLI_PORTAL_VERSION = "0.1.
|
|
99
|
+
const EMBEDDED_PORTAL_SDK_VERSION = "0.1.475";
|
|
100
|
+
const EMBEDDED_CLI_CORE_VERSION = "0.1.18";
|
|
101
|
+
const EMBEDDED_CLI_PORTAL_VERSION = "0.1.67";
|
|
102
102
|
/**
|
|
103
103
|
* Find the package root by walking up from the current directory to the nearest package.json.
|
|
104
104
|
* Works whether running from dist/ (bundled) or src/utils/ (tsx dev mode).
|
|
@@ -1327,7 +1327,7 @@ const defaultCreatePortalProjectDependencies = {
|
|
|
1327
1327
|
isGitAvailable,
|
|
1328
1328
|
scaffoldFromGitHub
|
|
1329
1329
|
};
|
|
1330
|
-
const createCommand = new Command("create").description("Create a new Fluid portal application").argument("<app-name>", "Name of the application to create").option("--skip-install", "Create the scaffold only; skip dependency installation").option("-o, --output-dir <dir>", "Directory to create the project in (defaults to cwd)").option("--local", "Use local monorepo packages via
|
|
1330
|
+
const createCommand = new Command("create").description("Create a new Fluid portal application").argument("<app-name>", "Name of the application to create").option("--skip-install", "Create the scaffold only; skip dependency installation").option("-o, --output-dir <dir>", "Directory to create the project in (defaults to cwd)").option("--local", "Use local monorepo packages via link: paths (for development testing)").option("--remote-template", "Use the GitHub starter template instead of the bundled template").action(async (appName, options) => {
|
|
1331
1331
|
try {
|
|
1332
1332
|
console.log();
|
|
1333
1333
|
console.log(chalk.bold("Creating a new Fluid portal application"));
|
|
@@ -1423,7 +1423,7 @@ function formatCdPath(targetPath) {
|
|
|
1423
1423
|
/**
|
|
1424
1424
|
* Scaffold from the bundled base + overlay templates (Handlebars). Used
|
|
1425
1425
|
* by default, or with `--local`
|
|
1426
|
-
* (which rewrites SDK/core deps to workspace `
|
|
1426
|
+
* (which rewrites SDK/core deps to workspace `link:` paths so the
|
|
1427
1427
|
* generated project resolves unpublished monorepo source).
|
|
1428
1428
|
*
|
|
1429
1429
|
* Throws on failure; the caller reports and exits.
|