@campminder/menu-tree 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.
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Placeholder export for @campminder/menu-tree.
3
+ *
4
+ * The real structural model (MenuTree, MenuCategory, MenuSubCategory,
5
+ * MenuLeaf, VisibilityRule) ships in Floor 4 of
6
+ * docs/plans/2026-09-02-feature-menu-model-and-drift-guard-plan.md. This
7
+ * floor proves the package builds, exports, and is tested — nothing more.
8
+ */
9
+ export declare const VERSION = "0.0.1";
package/dist/index.js ADDED
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Placeholder export for @campminder/menu-tree.
3
+ *
4
+ * The real structural model (MenuTree, MenuCategory, MenuSubCategory,
5
+ * MenuLeaf, VisibilityRule) ships in Floor 4 of
6
+ * docs/plans/2026-09-02-feature-menu-model-and-drift-guard-plan.md. This
7
+ * floor proves the package builds, exports, and is tested — nothing more.
8
+ */
9
+ export const VERSION = "0.0.1";
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@campminder/menu-tree",
3
+ "version": "0.0.1",
4
+ "description": "Scaffold package that will hold the structural menu-tree types and JSON Schema for the nav Domain System; no menu model is implemented yet.",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://dev.azure.com/CampMinderLLC/CampMinder/_git/nav",
8
+ "directory": "packages/menu-tree"
9
+ },
10
+ "type": "module",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "default": "./dist/index.js"
15
+ },
16
+ "./menu-tree.schema.json": "./src/menu-tree.schema.json"
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "src/menu-tree.schema.json"
21
+ ],
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
25
+ "devDependencies": {
26
+ "typescript": "^5.9.3",
27
+ "vitest": "^2.1.8"
28
+ },
29
+ "scripts": {
30
+ "build": "tsc -p tsconfig.json",
31
+ "test": "vitest run"
32
+ }
33
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://campminder.com/schemas/menu-tree.schema.json",
4
+ "title": "MenuTree (placeholder — real shape ships in Floor 4)",
5
+ "type": "object"
6
+ }