@ankhorage/templates 0.1.0 → 0.1.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +13 -89
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ankhorage/templates
2
2
 
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Refresh the README copy so the published package overview and starter-template positioning stay aligned with the current messaging.
8
+
3
9
  ## 0.1.0
4
10
 
5
11
  ### Initial release
package/README.md CHANGED
@@ -1,94 +1,18 @@
1
- # @ankhorage/templates
1
+ # templates
2
2
 
3
- Reusable app templates, presets, and manifest generators for Ankhorage.
3
+ Production-ready templates for React Native apps.
4
4
 
5
- This package is the single source of truth for application template structure and category branding defaults. It is designed to be consumed by the CLI, Studio, and future tooling without coupling template definitions to any one runtime.
5
+ ## 🎯 What you get
6
+ - Working app in minutes
7
+ - Preconfigured structure
8
+ - Clean starting point
6
9
 
7
- ## Architecture
10
+ ## ✨ Features
11
+ - UI integration
12
+ - Standardized setup
8
13
 
9
- ```text
10
- templates
11
-
12
- zora
13
-
14
- surface
15
- ```
14
+ ## 🚀 Usage
15
+ Use these templates to bootstrap apps quickly.
16
16
 
17
- Consumers:
18
-
19
- ```text
20
- cli → templates
21
- studio → templates
22
- studio → zora
23
- ```
24
-
25
- ## What it provides
26
-
27
- - template skeletons built on ZORA-oriented node definitions
28
- - category presets separated from template structure
29
- - manifest generators that compose templates and presets
30
- - a root-only public API with no subpath exports
31
-
32
- ## Installation
33
-
34
- ```bash
35
- bun add @ankhorage/templates @ankhorage/contracts @ankhorage/zora
36
- ```
37
-
38
- ## Usage
39
-
40
- ```ts
41
- import {
42
- APP_CATEGORIES,
43
- CATEGORY_PRESETS,
44
- createCategoryAppManifest,
45
- createStarterTemplate,
46
- } from '@ankhorage/templates';
47
-
48
- const manifest = createCategoryAppManifest('developer_tools', 'starter', {
49
- metadata: {
50
- name: 'Ops Console',
51
- slug: 'ops-console',
52
- },
53
- });
54
-
55
- const preset = CATEGORY_PRESETS.developer_tools;
56
- const categories = APP_CATEGORIES;
57
- ```
58
-
59
- ## Public API
60
-
61
- ```ts
62
- export { APP_CATEGORIES, type AppCategory } from '@ankhorage/contracts';
63
- export { CATEGORY_PRESETS, type CategoryPreset } from './presets/category-presets';
64
- export {
65
- createStarterTemplate,
66
- TEMPLATE_KINDS,
67
- type TemplateKind,
68
- } from './templates/starter.template';
69
- export { createCategoryAppManifest } from './generators/create-category-app';
70
- ```
71
-
72
- ## Package layout
73
-
74
- ```text
75
- src/
76
- templates/
77
- presets/
78
- generators/
79
- internal/
80
- index.ts
81
- ```
82
-
83
- ## Development
84
-
85
- ```bash
86
- bun run typecheck
87
- bun run build
88
- bun run lint
89
- bun test
90
- ```
91
-
92
- ## License
93
-
94
- MIT
17
+ ## 🧠 Why this exists
18
+ Avoid repetitive setup and ensure consistency across projects.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankhorage/templates",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Reusable Ankhorage app templates, presets, and manifest generators.",
5
5
  "license": "MIT",
6
6
  "type": "module",