@stackwright-pro/launch-stackwright-pro 0.4.0-alpha.1 → 0.4.0-alpha.101

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
+ PROPRIETARY SOFTWARE LICENSE
2
+
3
+ Copyright (c) 2024-2026 Per Aspera LLC. All Rights Reserved.
4
+
5
+ This software and associated documentation files (the "Software") are the
6
+ proprietary and confidential property of Per Aspera LLC ("Company").
7
+
8
+ RESTRICTIONS: You may not use, copy, modify, merge, publish, distribute,
9
+ sublicense, sell, or otherwise exploit this Software or any portion thereof
10
+ without the express prior written consent of the Company.
11
+
12
+ GOVERNMENT USE: Use, duplication, or disclosure by the U.S. Government is
13
+ subject to restrictions as set forth in FAR 52.227-19 (Commercial Computer
14
+ Software - Restricted Rights) and DFARS 252.227-7013 (Rights in Technical
15
+ Data and Computer Software), as applicable.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED. IN NO EVENT SHALL THE COMPANY BE LIABLE FOR ANY CLAIM, DAMAGES, OR
19
+ OTHER LIABILITY ARISING FROM THE USE OF THE SOFTWARE.
20
+
21
+ For licensing inquiries: legal@peraspera.com
package/README.md CHANGED
@@ -15,14 +15,20 @@ to automatically wire up Pro features:
15
15
  - MCP server configuration in `.code-puppy.json`
16
16
  - Role-based dev scripts (`dev:admin`, `dev:analyst`, `dev:viewer`)
17
17
  3. **Post-processing** → Copies Pro templates, adds auth config, generates README
18
+ 4. **Auto-install** → `pnpm install` runs automatically after scaffolding —
19
+ citizen developers get a project ready to use without knowing what a package manager is
18
20
 
19
21
  ## Quick Start
20
22
 
21
23
  ```bash
22
- npx launch-stackwright-pro my-app --yes
24
+ # Works — project created in $cwd/my-app
25
+ pnpx @stackwright-pro/launch-stackwright-pro --name my-app -y
26
+ # Dependencies install automatically (~7s)
23
27
  cd my-app
24
- pnpm install
25
- pnpm dev
28
+ npx @stackwright-pro/raft # Start the otter raft
29
+
30
+ # Equivalent explicit form
31
+ pnpx @stackwright-pro/launch-stackwright-pro my-app --name my-app -y
26
32
  ```
27
33
 
28
34
  ### With an OpenAPI Spec
@@ -49,8 +55,9 @@ my-app/
49
55
  │ └── prebuild.js # Reads stackwright.yml → runs OpenAPI plugin
50
56
  ├── specs/ # Only if --spec was provided
51
57
  │ └── <your-spec>.yaml
52
- ├── .stackwright/
53
- └── otters/ # 🦦 Brand, foreman, page, & theme otters
58
+ ├── node_modules/
59
+ ├── @stackwright/otters/ # 🦦 OSS otters (brand, theme, page, foreman)
60
+ │ └── @stackwright-pro/otters/ # 🦦 Pro otters (api, data, dashboard, foreman)
54
61
  ├── stackwright.yml # Theme + auth + integrations config
55
62
  ├── next.config.js # Pro config (transpile pro pkgs + yaml-loader)
56
63
  ├── yaml.d.ts # TS declarations for YAML imports
@@ -69,7 +76,7 @@ Options:
69
76
  --force Overwrite existing directory
70
77
  --skip-otters Skip otter raft setup
71
78
  -y, --yes Skip prompts, use defaults
72
- --spec <path> Path to an OpenAPI spec (YAML or JSON)
79
+ --spec <paths...> Paths to OpenAPI specs (can be specified multiple times)
73
80
  --spec-name <name> Name for the API integration (default: derived from filename)
74
81
  -V, --version Output the version number
75
82
  -h, --help Display help
@@ -114,3 +121,14 @@ automatically via the hooks system:
114
121
 
115
122
  See the main [Stackwright Pro documentation](https://github.com/Per-Aspera-LLC/stackwright-pro)
116
123
  for architecture details, auth deep-dives, and deployment guides.
124
+
125
+ ## Starting the Otter Raft
126
+
127
+ ```bash
128
+ cd my-app
129
+ npx @stackwright-pro/raft
130
+ ```
131
+
132
+ The raft verifies otter integrity, loads project context from `.stackwright/init-context.json`, and spawns code-puppy in foreman mode. Tell the foreman about your specs in natural language — it coordinates the API, auth, data, and page otters to build your app.
133
+
134
+ All state lives in `.stackwright/` — you can interrupt and resume at any time.