create-tenhaw 0.0.0-bootstrap

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.
@@ -0,0 +1,15 @@
1
+ Tenhaw AI Readiness Framework and authored framework content in spec/content
2
+ are licensed under the Creative Commons Attribution 4.0 International licence.
3
+ Copyright (c) 2026 Tenhaw.
4
+
5
+ Licence: https://creativecommons.org/licenses/by/4.0/
6
+ Legal code: https://creativecommons.org/licenses/by/4.0/legalcode.en
7
+
8
+ When sharing or adapting this content, provide appropriate credit, a licence
9
+ link, and an indication of changes. A suitable credit is:
10
+ "Tenhaw AI Readiness Framework, CC BY 4.0, https://tenhaw.com."
11
+
12
+ Numerical results and user-supplied evidence remain the user's material.
13
+ The optional audit promotion can be suppressed independently of applicable
14
+ framework-content credits. Code is MIT; third-party sources retain their own
15
+ rights and are summarised with links rather than relicensed here.
package/README.md ADDED
@@ -0,0 +1,37 @@
1
+ > Setup prerelease: `0.0.0-bootstrap`, intended for the `bootstrap` dist-tag.
2
+ > This package contains the actual built Tenhaw Kit code and establishes npm ownership before trusted publishing is configured. Use a verified stable release for regular installation. Hosted endpoints and stable release verification are separate setup steps.
3
+
4
+ # create-tenhaw
5
+
6
+ Scaffold a working internal product, portfolio, delivery or AI transformation app with Tenhaw Kit.
7
+
8
+ ## When to use
9
+
10
+ - Start an internal app from a maintained template instead of creating its data model and import workflow from scratch.
11
+ - Give a coding agent a standalone project with synthetic examples, validation and explicit extension points.
12
+
13
+ ## Install and quick start
14
+
15
+ These instructions target the **1.0.0** 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.
16
+
17
+ ```sh
18
+ npm create --yes tenhaw@1.0.0 -- product-operating-model my-workspace --yes
19
+ cd my-workspace
20
+ pnpm install
21
+ pnpm build
22
+ pnpm dev
23
+ ```
24
+
25
+ Available templates: `ai-adoption-dashboard`, `delivery-metrics-dashboard`, `ai-usecase-register`, `product-operating-model` and `ai-readiness-assessment`.
26
+
27
+ ## Agent behaviour and compatibility
28
+
29
+ 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.
30
+
31
+ 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.
32
+
33
+ ## Source and licences
34
+
35
+ [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.
36
+
37
+ 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 ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "create-tenhaw",
3
+ "version": "0.0.0-bootstrap",
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
+ "LICENSE",
12
+ "README.md",
13
+ "LICENSE-CONTENT"
14
+ ],
15
+ "license": "MIT",
16
+ "author": "Tenhaw (https://tenhaw.com)",
17
+ "homepage": "https://kit.tenhaw.com/install",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/Tenhaw/tenhaw-kit.git",
21
+ "directory": "packages/create"
22
+ },
23
+ "engines": {
24
+ "node": ">=22.14.0"
25
+ },
26
+ "publishConfig": {
27
+ "access": "public",
28
+ "provenance": false,
29
+ "tag": "bootstrap"
30
+ },
31
+ "scripts": {
32
+ "build": "tsup src/index.ts --format esm --dts"
33
+ },
34
+ "dependencies": {
35
+ "tenhaw": "0.0.0-bootstrap"
36
+ }
37
+ }