@sigx/create 0.0.1
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/README.md +22 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/package.json +47 -0
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# @sigx/create
|
|
2
|
+
|
|
3
|
+
The canonical scaffolder for SignalX projects.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm create @sigx@latest my-app
|
|
7
|
+
pnpm create @sigx my-app
|
|
8
|
+
yarn create @sigx my-app
|
|
9
|
+
bunx create @sigx my-app
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
You'll be prompted to pick a template (basic / SSR / SSG / Lynx, with optional Tailwind or daisyUI).
|
|
13
|
+
|
|
14
|
+
## What this package is
|
|
15
|
+
|
|
16
|
+
`@sigx/create` is a ~10-line shim that delegates to [`@sigx/cli`](../cli)'s `create` command. The actual scaffolding logic, prompts, and templates all live in `@sigx/cli`. This package exists to give SignalX the canonical `npm create @sigx` onboarding URL — see [Vite](https://www.npmjs.com/package/create-vite), [Next](https://www.npmjs.com/package/create-next-app), [Astro](https://www.npmjs.com/package/create-astro) for the same pattern.
|
|
17
|
+
|
|
18
|
+
After scaffolding, your project uses `@sigx/cli` directly (`sigx dev`, `sigx build`, etc.).
|
|
19
|
+
|
|
20
|
+
## License
|
|
21
|
+
|
|
22
|
+
MIT — © Andreas Ekdahl
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["\n/**\n * @sigx/create — canonical scaffolder for SignalX projects.\n *\n * Thin shim around @sigx/cli's `create` command. Enables:\n * npm create @sigx@latest my-app\n * pnpm create @sigx my-app\n * yarn create @sigx my-app\n * bunx create @sigx my-app\n *\n * Single source of truth for scaffolding logic lives in @sigx/cli.\n */\n\nimport { runCreate } from '@sigx/cli/create';\nrunCreate();\n"],"mappings":";;;AAcA,GAAW"}
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sigx/create",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Create a new SignalX project — `npm create @sigx@latest my-app`",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"create-sigx": "./dist/index.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "vite build",
|
|
14
|
+
"dev": "vite build --watch"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"signalx",
|
|
18
|
+
"sigx",
|
|
19
|
+
"create",
|
|
20
|
+
"starter",
|
|
21
|
+
"template",
|
|
22
|
+
"scaffold",
|
|
23
|
+
"cli"
|
|
24
|
+
],
|
|
25
|
+
"author": "Andreas Ekdahl",
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/signalxjs/cli.git",
|
|
30
|
+
"directory": "packages/create"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/signalxjs/cli/tree/main/packages/create",
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/signalxjs/cli/issues"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@sigx/cli": "workspace:^"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@sigx/vite": "^0.4.3",
|
|
41
|
+
"typescript": "^5.9.3",
|
|
42
|
+
"vite": "^8.0.12"
|
|
43
|
+
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public"
|
|
46
|
+
}
|
|
47
|
+
}
|