create-ultimate 1.0.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 developerz.ai
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # create-ultimate
2
+
3
+ ```sh
4
+ bunx create-ultimate myapp && cd myapp && x dev
5
+ ```
6
+
7
+ Thin wrapper over `x new` — same templates, same flags, no second code path.
8
+
9
+ | Flag | Does |
10
+ |---|---|
11
+ | `--dir <path>` | parent directory (default: cwd) |
12
+ | `--no-example` | skip the example feature slice |
13
+ | `--dry-run` | print the file list, write nothing |
14
+ | `--json` | machine-readable output |
15
+
16
+ What you get: `apps/web/{site,app,api,shared}`, `apps/admin` with MCP on, `apps/{mobile,desktop}`
17
+ placeholders, `packages/{domain,db,i18n,ui,mcp}`, `bin/`, `docker/`, `app.config.ts` — a landing
18
+ page at 0kb JS, a streaming authed dashboard, a seeded database and `x verify` green.
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "create-ultimate",
3
+ "version": "1.0.0",
4
+ "description": "bunx create-ultimate myapp — scaffold an Ultimate monorepo",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/developerz-ai/ultimate.git",
10
+ "directory": "packages/create-ultimate"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public",
14
+ "provenance": true
15
+ },
16
+ "exports": {
17
+ ".": "./src/index.ts"
18
+ },
19
+ "bin": {
20
+ "create-ultimate": "./src/bin.ts"
21
+ },
22
+ "files": [
23
+ "src",
24
+ "!src/**/*.test.ts",
25
+ "README.md",
26
+ "LICENSE"
27
+ ],
28
+ "engines": {
29
+ "bun": ">=1.3.0"
30
+ },
31
+ "scripts": {
32
+ "typecheck": "tsc --noEmit -p tsconfig.json",
33
+ "test": "bun test"
34
+ },
35
+ "dependencies": {
36
+ "@ultimat3/cli": "1.0.0"
37
+ }
38
+ }
package/src/bin.ts ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env bun
2
+ // `bunx create-ultimate myapp`. Delegates to `x new` so there is exactly one scaffolder: a second
3
+ // copy of the templates is a second thing to keep in sync, and it would drift by the first release.
4
+
5
+ import { createApp } from './index';
6
+
7
+ const code = await createApp({
8
+ argv: Bun.argv.slice(2),
9
+ cwd: process.cwd(),
10
+ write: (line) => {
11
+ process.stdout.write(`${line}\n`);
12
+ },
13
+ });
14
+
15
+ process.exit(code);
package/src/index.ts ADDED
@@ -0,0 +1,21 @@
1
+ // The whole package: turn `create-ultimate <name> [flags]` into `x new <name> [flags]`. No
2
+ // templates, no prompts, no second code path — this exists only so `bunx create-ultimate` works
3
+ // before @ultimat3/cli is installed.
4
+
5
+ import { dispatch } from '@ultimat3/cli';
6
+
7
+ export interface CreateAppOptions {
8
+ readonly argv: readonly string[];
9
+ readonly cwd: string;
10
+ readonly write: (line: string) => void;
11
+ }
12
+
13
+ export async function createApp(options: CreateAppOptions): Promise<number> {
14
+ return dispatch({
15
+ argv: ['new', ...options.argv],
16
+ cwd: options.cwd,
17
+ env: Bun.env,
18
+ bunVersion: Bun.version,
19
+ write: options.write,
20
+ });
21
+ }