create-mindees 0.32.0 → 0.33.0
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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ declare function runCreate(fs: FileSystem, args: CreateArgs): ScaffoldResult;
|
|
|
20
20
|
/** The npm package name. */
|
|
21
21
|
declare const name = "create-mindees";
|
|
22
22
|
/** The package version. All `@mindees/*` packages share one locked version line. */
|
|
23
|
-
declare const VERSION = "0.
|
|
23
|
+
declare const VERSION = "0.33.0";
|
|
24
24
|
/** Current maturity. The scaffolder delegates to `@mindees/cli`'s tested core. */
|
|
25
25
|
declare const maturity: Maturity;
|
|
26
26
|
/**
|
package/dist/index.js
CHANGED
|
@@ -20,7 +20,7 @@ function runCreate(fs, args) {
|
|
|
20
20
|
/** The npm package name. */
|
|
21
21
|
const name = "create-mindees";
|
|
22
22
|
/** The package version. All `@mindees/*` packages share one locked version line. */
|
|
23
|
-
const VERSION = "0.
|
|
23
|
+
const VERSION = "0.33.0";
|
|
24
24
|
/** Current maturity. The scaffolder delegates to `@mindees/cli`'s tested core. */
|
|
25
25
|
const maturity = "experimental";
|
|
26
26
|
/**
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["naturalLanguageToTemplate"],"sources":["../src/index.ts"],"sourcesContent":["import {\n DEFAULT_TEMPLATE,\n type FileSystem,\n naturalLanguageToTemplate,\n type ScaffoldResult,\n scaffold,\n} from '@mindees/cli'\nimport type { Maturity, PackageInfo } from '@mindees/core'\nimport { NotImplementedError, notImplemented } from '@mindees/core'\n\n/** Arguments accepted by `create-mindees` (after the app name). */\nexport interface CreateArgs {\n appName: string\n targetDir: string\n template?: string\n /** Free-text prompt → template (offline keyword mapping; AI is Phase 10). */\n prompt?: string\n force?: boolean\n}\n\n/**\n * Scaffold a new MindeesNative app. Thin wrapper over `@mindees/cli`'s tested\n * {@link scaffold}, adding the `--prompt` → template resolution so\n * `npm create mindees` and `mindees create` behave identically.\n */\nexport function runCreate(fs: FileSystem, args: CreateArgs): ScaffoldResult {\n // A non-empty explicit `--template` always wins; an empty or absent one defers to\n // the prompt, else the default. (Treating empty as \"not chosen\" keeps this in lock-\n // step with `mindees create` — both normalize `--template \"\"` the same way.)\n const explicit = args.template && args.template.length > 0 ? args.template : undefined\n let template = explicit ?? DEFAULT_TEMPLATE\n if (!explicit && args.prompt && args.prompt.length > 0) {\n template = naturalLanguageToTemplate(args.prompt).template\n }\n const options: Parameters<typeof scaffold>[1] = {\n appName: args.appName,\n targetDir: args.targetDir,\n template,\n force: args.force === true,\n }\n return scaffold(fs, options)\n}\n\nexport { naturalLanguageToTemplate } from '@mindees/cli'\n\n/** The npm package name. */\nexport const name = 'create-mindees'\n\n/** The package version. All `@mindees/*` packages share one locked version line. */\nexport const VERSION = '0.
|
|
1
|
+
{"version":3,"file":"index.js","names":["naturalLanguageToTemplate"],"sources":["../src/index.ts"],"sourcesContent":["import {\n DEFAULT_TEMPLATE,\n type FileSystem,\n naturalLanguageToTemplate,\n type ScaffoldResult,\n scaffold,\n} from '@mindees/cli'\nimport type { Maturity, PackageInfo } from '@mindees/core'\nimport { NotImplementedError, notImplemented } from '@mindees/core'\n\n/** Arguments accepted by `create-mindees` (after the app name). */\nexport interface CreateArgs {\n appName: string\n targetDir: string\n template?: string\n /** Free-text prompt → template (offline keyword mapping; AI is Phase 10). */\n prompt?: string\n force?: boolean\n}\n\n/**\n * Scaffold a new MindeesNative app. Thin wrapper over `@mindees/cli`'s tested\n * {@link scaffold}, adding the `--prompt` → template resolution so\n * `npm create mindees` and `mindees create` behave identically.\n */\nexport function runCreate(fs: FileSystem, args: CreateArgs): ScaffoldResult {\n // A non-empty explicit `--template` always wins; an empty or absent one defers to\n // the prompt, else the default. (Treating empty as \"not chosen\" keeps this in lock-\n // step with `mindees create` — both normalize `--template \"\"` the same way.)\n const explicit = args.template && args.template.length > 0 ? args.template : undefined\n let template = explicit ?? DEFAULT_TEMPLATE\n if (!explicit && args.prompt && args.prompt.length > 0) {\n template = naturalLanguageToTemplate(args.prompt).template\n }\n const options: Parameters<typeof scaffold>[1] = {\n appName: args.appName,\n targetDir: args.targetDir,\n template,\n force: args.force === true,\n }\n return scaffold(fs, options)\n}\n\nexport { naturalLanguageToTemplate } from '@mindees/cli'\n\n/** The npm package name. */\nexport const name = 'create-mindees'\n\n/** The package version. All `@mindees/*` packages share one locked version line. */\nexport const VERSION = '0.33.0'\n\n/** Current maturity. The scaffolder delegates to `@mindees/cli`'s tested core. */\nexport const maturity: Maturity = 'experimental'\n\n/**\n * Static identity + maturity metadata for this package. Frozen so the\n * self-reported identity tooling introspects cannot be mutated at runtime,\n * matching the `readonly` fields of {@link PackageInfo}.\n */\nexport const info: PackageInfo = Object.freeze({ name, version: VERSION, maturity })\n\nexport type { Maturity, PackageInfo }\nexport { NotImplementedError, notImplemented }\n"],"mappings":";;;;;;;;AAyBA,SAAgB,UAAU,IAAgB,MAAkC;CAI1E,MAAM,WAAW,KAAK,YAAY,KAAK,SAAS,SAAS,IAAI,KAAK,WAAW,KAAA;CAC7E,IAAI,WAAW,YAAY;CAC3B,IAAI,CAAC,YAAY,KAAK,UAAU,KAAK,OAAO,SAAS,GACnD,WAAWA,4BAA0B,KAAK,MAAM,EAAE;CAQpD,OAAO,SAAS,IAAI;EALlB,SAAS,KAAK;EACd,WAAW,KAAK;EAChB;EACA,OAAO,KAAK,UAAU;CAEE,CAAC;AAC7B;;AAKA,MAAa,OAAO;;AAGpB,MAAa,UAAU;;AAGvB,MAAa,WAAqB;;;;;;AAOlC,MAAa,OAAoB,OAAO,OAAO;CAAE;CAAM,SAAS;CAAS;AAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-mindees",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"description": "Create a new MindeesNative app — `npm create mindees@latest`.",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"directory": "packages/create-mindees"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@mindees/core": "0.
|
|
33
|
-
"@mindees/cli": "0.
|
|
32
|
+
"@mindees/core": "0.33.0",
|
|
33
|
+
"@mindees/cli": "0.33.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "tsdown",
|