create-tenhaw 0.0.0-stage → 1.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Tenhaw
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 CHANGED
@@ -1,3 +1,34 @@
1
- # Temporary Holding Version
1
+ # create-tenhaw
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Scaffold a working internal product, portfolio, delivery or AI transformation app with Tenhaw Kit.
4
+
5
+ ## When to use
6
+
7
+ - Start an internal app from a maintained template instead of creating its data model and import workflow from scratch.
8
+ - Give a coding agent a standalone project with synthetic examples, validation and explicit extension points.
9
+
10
+ ## Install and quick start
11
+
12
+ These instructions target the **1.0.1** release and require its exact npm publication to be verified first. Requires Node.js 22.14 or later and a package manager for the generated project.
13
+
14
+ ```sh
15
+ npm create --yes tenhaw@1.0.1 -- product-operating-model my-workspace --yes
16
+ cd my-workspace
17
+ pnpm install
18
+ pnpm build
19
+ pnpm dev
20
+ ```
21
+
22
+ Available templates: `ai-adoption-dashboard`, `delivery-metrics-dashboard`, `ai-usecase-register`, `product-operating-model` and `ai-readiness-assessment`.
23
+
24
+ ## Agent behaviour and compatibility
25
+
26
+ This package delegates to `tenhaw init`. Supply both the template and a new directory when stdin is not a TTY, in CI or with `--yes`. Add `--json` for machine-readable output and `--no-attribution` to suppress its optional CLI footer. Existing directories are never overwritten, and scaffolding does not execute dependency-installation scripts.
27
+
28
+ Generated apps use Next.js 16, React 19 and TypeScript, with static export and browser-local data by default. They resolve released Tenhaw packages independently of this monorepo. Add authentication and authorisation before introducing shared databases, customer-data routes or scheduled collection. See the generated README and AGENTS.md for the project workflow.
29
+
30
+ ## Source and licences
31
+
32
+ [Source](https://github.com/Tenhaw/tenhaw-kit/tree/main/packages/create). Code is [MIT](https://github.com/Tenhaw/tenhaw-kit/blob/main/LICENSE). Generated readiness framework content retains its [CC BY 4.0](https://github.com/Tenhaw/tenhaw-kit/blob/main/LICENSE-CONTENT) credit.
33
+
34
+ Built by Tenhaw. [Get help applying the tools](https://tenhaw.com/contact?utm_source=npm&utm_medium=readme&utm_campaign=tenhaw-kit&utm_content=create#book).
@@ -0,0 +1 @@
1
+ #!/usr/bin/env node
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/index.ts
4
+ import { main } from "tenhaw";
5
+ main(["init", ...process.argv.slice(2)]).catch(() => {
6
+ process.stderr.write("Scaffolding failed. Use npm create tenhaw -- <template> <new-directory>. Existing files are never overwritten.\n");
7
+ process.exitCode = 1;
8
+ });
package/package.json CHANGED
@@ -1,6 +1,35 @@
1
1
  {
2
2
  "name": "create-tenhaw",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.0.1",
4
+ "description": "Scaffold an internal product, portfolio, delivery or transformation tool with Tenhaw Kit",
5
+ "type": "module",
6
+ "bin": {
7
+ "create-tenhaw": "dist/index.js"
8
+ },
9
+ "files": [
10
+ "dist",
11
+ "README.md",
12
+ "LICENSE"
13
+ ],
14
+ "license": "MIT",
15
+ "author": "Tenhaw (https://tenhaw.com)",
16
+ "homepage": "https://kit.tenhaw.com/install",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/Tenhaw/tenhaw-kit.git",
20
+ "directory": "packages/create"
21
+ },
22
+ "engines": {
23
+ "node": ">=22.14.0"
24
+ },
25
+ "publishConfig": {
26
+ "access": "public",
27
+ "provenance": true
28
+ },
29
+ "dependencies": {
30
+ "tenhaw": "1.0.1"
31
+ },
32
+ "scripts": {
33
+ "build": "tsup src/index.ts --format esm --dts"
34
+ }
6
35
  }