@lssm/example.learning-journey-duo-drills 0.0.0-canary-20251217080011 → 0.0.0-canary-20251217083314
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/.turbo/turbo-build$colon$bundle.log +44 -16
- package/CHANGELOG.md +4 -4
- package/dist/{duo-drills.docblock-Df751ptb.mjs → docs/duo-drills.docblock.js} +3 -3
- package/dist/docs/index.js +1 -0
- package/dist/{index.d.mts → example.d.ts} +1 -4
- package/dist/{index.mjs → example.js} +1 -5
- package/dist/index.d.ts +3 -0
- package/dist/index.js +5 -0
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/index.js +29 -0
- package/dist/libs/contracts/dist/docs/presentations.js +71 -0
- package/dist/libs/contracts/dist/docs/registry.js +44 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +80 -0
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +57 -0
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +357 -0
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +37 -0
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +20 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +48 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +79 -0
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +84 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +45 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +67 -0
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +40 -0
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +69 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +47 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +62 -0
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +155 -0
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +20 -0
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +101 -0
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +20 -0
- package/dist/{track-PgA6pTIr.d.mts → track.d.ts} +1 -1
- package/dist/{track-DuxJHlQ1.mjs → track.js} +1 -1
- package/package.json +11 -11
- package/tsdown.config.js +15 -11
- package/dist/docs/duo-drills.docblock.mjs +0 -3
- package/dist/docs/index.mjs +0 -3
- package/dist/duo-drills.docblock--Zt4euaY.d.mts +0 -1
- package/dist/track.d.mts +0 -2
- package/dist/track.mjs +0 -3
- /package/dist/docs/{duo-drills.docblock.d.mts → duo-drills.docblock.d.ts} +0 -0
- /package/dist/docs/{index.d.mts → index.d.ts} +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { registerDocBlocks } from "../../registry.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../libs/contracts/dist/docs/tech/templates/runtime.docblock.js
|
|
4
|
+
const tech_templates_runtime_DocBlocks = [{
|
|
5
|
+
id: "docs.tech.templates.runtime",
|
|
6
|
+
title: "ContractSpec Template Runtime (Phase 9)",
|
|
7
|
+
summary: "Phase 9 introduces a full local-first runtime for templates so anyone can preview apps directly in the browser without provisioning any infrastructure.",
|
|
8
|
+
kind: "reference",
|
|
9
|
+
visibility: "public",
|
|
10
|
+
route: "/docs/tech/templates/runtime",
|
|
11
|
+
tags: [
|
|
12
|
+
"tech",
|
|
13
|
+
"templates",
|
|
14
|
+
"runtime"
|
|
15
|
+
],
|
|
16
|
+
body: "## ContractSpec Template Runtime (Phase 9)\n\nPhase 9 introduces a full local-first runtime for templates so anyone can preview apps directly in the browser without provisioning any infrastructure.\n\n### Building Blocks\n\n- **Local database** – `@lssm/lib.runtime-local` wraps `sql.js` (SQLite WASM) and `IndexedDB` so we can seed demo data, run migrations, and persist state between sessions. Tests point the runtime to `node_modules/sql.js/dist` so CI doesn’t need a browser.\n- **Local GraphQL** – `LocalGraphQLClient` wires Apollo Client + SchemaLink to resolvers for tasks, messaging, and i18n recipes. All `/templates`, `/studio`, and `/sandbox` previews use those resolvers so we never call remote APIs during demos.\n- **Template registry + installer** – `.../templates/registry.ts` stores the catalog (todos, messaging, recipes). `TemplateInstaller` can seed the runtime (`install`) or export a base64 snapshot via the new `saveTemplateToStudio` mutation.\n- **TemplateShell** – Shared UI wrapper that creates a `TemplateRuntimeProvider`, shows `LocalDataIndicator`, and (optionally) surfaces the new `SaveToStudioButton`.\n\n### Runtime Flows\n\n1. `/templates` now opens a modal that renders `TemplateShell` for each template. Users can explore without leaving the marketing site.\n2. `/studio` switches to a tabbed mini-app (Projects, Canvas, Specs, Deploy) to showcase Studio surfaces with mock data. Visitors see a **preview** shell, while authenticated users (Better Auth via Sigil) unlock full persistence, versioning, and deployment controls.\n3. `/sandbox` lets visitors pick a template and mode (Playground, Spec Editor, Visual Builder). The console at the bottom streams runtime events for transparency.\n\n### GraphQL Mutations\n\n- `saveTemplateToStudio(input: SaveTemplateInput!): SaveTemplateResult!` writes a placeholder project + spec so that templates installed from the sandbox appear in Studio. The mutation is intentionally simple right now: it records which template was imported, stores metadata, and returns `{ projectId, status: 'QUEUED' }` for the UI.\n- `saveCanvasDraft(input: SaveCanvasDraftInput!): CanvasVersion!` snapshots the current Visual Builder nodes to a draft version tied to a canvas overlay. Inputs include `canvasId`, arbitrary `nodes` JSON, and an optional `label`. The resolver enforces org/org access before calling `CanvasVersionManager`.\n- `deployCanvasVersion(input: DeployCanvasVersionInput!): CanvasVersion!` promotes a previously saved draft (`versionId`) to the deployed state. The returned object includes `status`, `nodes`, `createdAt`, and `createdBy` for UI timelines.\n- `undoCanvasVersion(input: UndoCanvasInput!): CanvasVersion` rewinds the visual builder to the prior snapshot (returns `null` when history is empty) so Studio’s toolbar can surface “Undo” without shelling out to local storage.\n\n### Studio GraphQL endpoint\n\n- The landing app exposes the Studio schema at `/api/studio/graphql` via Yoga so React Query hooks (`useStudioProjects`, `useCreateStudioProject`, `useDeployStudioProject`, etc.) can talk to the bundle without spinning up a separate server.\n\n### Spec Editor typing\n\n- Studio’s spec editor now preloads Monaco with ambient declarations for `@lssm/lib.contracts` and `zod`, so snippets receive autocomplete and inline errors even before the spec ships to the backend. The helper lives in `presentation/components/studio/organisms/monaco-spec-types.ts` and registers the extra libs once per browser session via `monaco.languages.typescript.typescriptDefaults.addExtraLib`.\n- Compiler options are aligned with our frontend toolchain (ES2020 + React JSX) which means drafts written in the editor behave like the compiled artifacts that flow through Studio pipelines.\n\n### Spec templates\n\n- Selecting a spec type now injects a ready-to-edit scaffold (capability, workflow, policy, dataview, component) so authors start from a canonical layout instead of a blank file. Templates live alongside `SpecEditor.tsx`, and we only overwrite the content when the previous value is empty or when the author explicitly switches types via the dropdown.\n\n### Spec preview\n\n- The validation side panel now embeds a `SpecPreview` widget that shows validation errors alongside transport artifacts (GraphQL schema, REST endpoints, component summaries) once a preview run completes. Tabs let authors toggle between “Validation” and “Artifacts,” mirroring the UX described in the Studio plan.\n\n### Testing\n\n- `src/templates/__tests__/runtime.test.ts` covers todos CRUD, messaging delivery, and recipe locale switching through the local GraphQL API.\n- Studio infrastructure tests live in `src/__tests__/e2e/project-lifecycle.test.ts` and continue to exercise project creation + deploy flows.\n\n### Next Steps\n\nFuture templates can register their React components via `registerTemplateComponents(templateId, components)` so TemplateShell can render them automatically. When new templates are added, remember to:\n\n1. Update the registry entry (schema + tags).\n2. Register components inside `presentation/components/templates`.\n3. Document the template under `docs/templates/`.\n\n\n\n\n\n"
|
|
17
|
+
}];
|
|
18
|
+
registerDocBlocks(tech_templates_runtime_DocBlocks);
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { registerDocBlocks } from "../registry.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../libs/contracts/dist/docs/tech/vscode-extension.docblock.js
|
|
4
|
+
const tech_vscode_extension_DocBlocks = [{
|
|
5
|
+
id: "docs.tech.vscode.extension",
|
|
6
|
+
title: "ContractSpec VS Code Extension",
|
|
7
|
+
summary: "VS Code extension for spec-first development with validation, scaffolding, and MCP integration.",
|
|
8
|
+
kind: "reference",
|
|
9
|
+
visibility: "public",
|
|
10
|
+
route: "/docs/tech/vscode/extension",
|
|
11
|
+
tags: [
|
|
12
|
+
"vscode",
|
|
13
|
+
"extension",
|
|
14
|
+
"tooling",
|
|
15
|
+
"dx"
|
|
16
|
+
],
|
|
17
|
+
body: `# ContractSpec VS Code Extension
|
|
18
|
+
|
|
19
|
+
The ContractSpec VS Code extension provides spec-first development tooling directly in your editor.
|
|
20
|
+
|
|
21
|
+
## Features
|
|
22
|
+
|
|
23
|
+
- **Real-time Validation**: Get instant feedback on spec errors and warnings as you save files
|
|
24
|
+
- **Build/Scaffold**: Generate handler and component skeletons from specs (no AI required)
|
|
25
|
+
- **Spec Explorer**: List and navigate all specs in your workspace
|
|
26
|
+
- **Dependency Analysis**: Visualize spec dependencies and detect cycles
|
|
27
|
+
- **MCP Integration**: Search ContractSpec documentation via Model Context Protocol
|
|
28
|
+
- **Snippets**: Code snippets for common ContractSpec patterns
|
|
29
|
+
|
|
30
|
+
## Commands
|
|
31
|
+
|
|
32
|
+
| Command | Description |
|
|
33
|
+
|---------|-------------|
|
|
34
|
+
| \`ContractSpec: Validate Current Spec\` | Validate the currently open spec file |
|
|
35
|
+
| \`ContractSpec: Validate All Specs\` | Validate all spec files in the workspace |
|
|
36
|
+
| \`ContractSpec: Build/Scaffold\` | Generate handler/component from the current spec |
|
|
37
|
+
| \`ContractSpec: List All Specs\` | Show all specs in the workspace |
|
|
38
|
+
| \`ContractSpec: Analyze Dependencies\` | Analyze and visualize spec dependencies |
|
|
39
|
+
| \`ContractSpec: Search Docs (MCP)\` | Search documentation via MCP |
|
|
40
|
+
|
|
41
|
+
## Configuration
|
|
42
|
+
|
|
43
|
+
| Setting | Description | Default |
|
|
44
|
+
|---------|-------------|---------|
|
|
45
|
+
| \`contractspec.api.baseUrl\` | Base URL for ContractSpec API (enables MCP + remote telemetry) | \`""\` |
|
|
46
|
+
| \`contractspec.telemetry.posthogHost\` | PostHog host URL for direct telemetry | \`"https://eu.posthog.com"\` |
|
|
47
|
+
| \`contractspec.telemetry.posthogProjectKey\` | PostHog project key for direct telemetry | \`""\` |
|
|
48
|
+
| \`contractspec.validation.onSave\` | Run validation on save | \`true\` |
|
|
49
|
+
| \`contractspec.validation.onOpen\` | Run validation on open | \`true\` |
|
|
50
|
+
|
|
51
|
+
## Architecture
|
|
52
|
+
|
|
53
|
+
The extension uses:
|
|
54
|
+
- \`@lssm/module.contractspec-workspace\` for pure analysis + templates
|
|
55
|
+
- \`@lssm/bundle.contractspec-workspace\` for workspace services + adapters
|
|
56
|
+
|
|
57
|
+
This allows the extension to work without requiring the CLI to be installed.
|
|
58
|
+
|
|
59
|
+
## Telemetry
|
|
60
|
+
|
|
61
|
+
The extension uses a hybrid telemetry approach:
|
|
62
|
+
1. If \`contractspec.api.baseUrl\` is configured → send to API \`/api/telemetry/ingest\`
|
|
63
|
+
2. Otherwise → send directly to PostHog (if project key configured)
|
|
64
|
+
|
|
65
|
+
Telemetry respects VS Code's telemetry settings. No file paths, source code, or PII is collected.
|
|
66
|
+
`
|
|
67
|
+
}, {
|
|
68
|
+
id: "docs.tech.vscode.snippets",
|
|
69
|
+
title: "ContractSpec Snippets",
|
|
70
|
+
summary: "Code snippets for common ContractSpec patterns in VS Code.",
|
|
71
|
+
kind: "reference",
|
|
72
|
+
visibility: "public",
|
|
73
|
+
route: "/docs/tech/vscode/snippets",
|
|
74
|
+
tags: [
|
|
75
|
+
"vscode",
|
|
76
|
+
"snippets",
|
|
77
|
+
"dx"
|
|
78
|
+
],
|
|
79
|
+
body: `# ContractSpec Snippets
|
|
80
|
+
|
|
81
|
+
The VS Code extension includes snippets for common ContractSpec patterns.
|
|
82
|
+
|
|
83
|
+
## Available Snippets
|
|
84
|
+
|
|
85
|
+
| Prefix | Description |
|
|
86
|
+
|--------|-------------|
|
|
87
|
+
| \`contractspec-command\` | Create a new command (write operation) |
|
|
88
|
+
| \`contractspec-query\` | Create a new query (read-only operation) |
|
|
89
|
+
| \`contractspec-event\` | Create a new event |
|
|
90
|
+
| \`contractspec-docblock\` | Create a new DocBlock |
|
|
91
|
+
| \`contractspec-telemetry\` | Create a new TelemetrySpec |
|
|
92
|
+
| \`contractspec-presentation\` | Create a new Presentation |
|
|
93
|
+
|
|
94
|
+
## Usage
|
|
95
|
+
|
|
96
|
+
Type the prefix in a TypeScript file and press Tab to expand the snippet. Tab through the placeholders to fill in your values.
|
|
97
|
+
`
|
|
98
|
+
}];
|
|
99
|
+
registerDocBlocks(tech_vscode_extension_DocBlocks);
|
|
100
|
+
|
|
101
|
+
//#endregion
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { registerDocBlocks } from "../../registry.js";
|
|
2
|
+
|
|
3
|
+
//#region ../../libs/contracts/dist/docs/tech/workflows/overview.docblock.js
|
|
4
|
+
const tech_workflows_overview_DocBlocks = [{
|
|
5
|
+
id: "docs.tech.workflows.overview",
|
|
6
|
+
title: "WorkflowSpec Overview",
|
|
7
|
+
summary: "WorkflowSpec provides a declarative, versioned format for long-running flows that mix automation and human review. Specs stay inside `@lssm/lib.contracts` (`src/workflow/spec.ts`) so the same definition powers runtime execution, documentation, and future generation.",
|
|
8
|
+
kind: "reference",
|
|
9
|
+
visibility: "public",
|
|
10
|
+
route: "/docs/tech/workflows/overview",
|
|
11
|
+
tags: [
|
|
12
|
+
"tech",
|
|
13
|
+
"workflows",
|
|
14
|
+
"overview"
|
|
15
|
+
],
|
|
16
|
+
body: "# WorkflowSpec Overview\n\n## Purpose\n\nWorkflowSpec provides a declarative, versioned format for long-running flows that mix automation and human review. Specs stay inside `@lssm/lib.contracts` (`src/workflow/spec.ts`) so the same definition powers runtime execution, documentation, and future generation.\n\n## Core Types\n\n- `WorkflowMeta`: ownership metadata (`title`, `domain`, `owners`, `tags`, `stability`) plus `name` and `version`.\n- `WorkflowDefinition`:\n - `entryStepId?`: optional explicit entry point (defaults to first step).\n - `steps[]`: ordered list of `Step` descriptors.\n - `transitions[]`: directed edges between steps with optional expressions.\n - `sla?`: aggregated timing hints for the overall flow or per-step budgets.\n - `compensation?`: fallback operations executed when a workflow is rolled back or fails.\n- `Step`:\n - `type`: `human`, `automation`, or `decision`.\n - `action`: references either a `ContractSpec` (`operation`) or `FormSpec` (`form`).\n - Optional `guard`, `timeoutMs`, and retry policy (`maxAttempts`, `backoff`, `delayMs`, `maxDelayMs?`).\n - `requiredIntegrations?`: integration slot ids that must be bound before the step may execute.\n - `requiredCapabilities?`: `CapabilityRef[]` that must be enabled in the resolved app config.\n- `Transition`: `from` → `to` with optional `condition` string (simple data expressions).\n\n## Registry & Validation\n\n- `WorkflowRegistry` (`src/workflow/spec.ts`) stores specs by key `<name>.v<version>` and exposes `register`, `list`, and `get`.\n- `validateWorkflowSpec()` (`src/workflow/validation.ts`) checks:\n - Duplicate step IDs.\n - Unknown `from`/`to` transitions.\n - Empty guards/conditions.\n - Reachability from the entry step.\n - Cycles in the graph.\n - Operation/Form references against provided registries.\n- `assertWorkflowSpecValid()` wraps validation and throws `WorkflowValidationError` when errors remain.\n\n## Runtime\n\n- `WorkflowRunner` (`src/workflow/runner.ts`) executes workflows and coordinates steps.\n - `start(name, version?, initialData?)` returns a `workflowId`.\n - `executeStep(workflowId, input?)` runs the current step (automation or human).\n - `getState(workflowId)` retrieves the latest state snapshot.\n - `cancel(workflowId)` marks the workflow as cancelled.\n - `preFlightCheck(name, version?, resolvedConfig?)` evaluates integration/capability requirements before the workflow starts.\n - Throws `WorkflowPreFlightError` if required integration slots are unbound or required capabilities are disabled.\n- `StateStore` (`src/workflow/state.ts`) abstracts persistence. V1 ships with:\n - `InMemoryStateStore` (`src/workflow/adapters/memory-store.ts`) for tests/dev.\n - Placeholder factories for file/database adapters (`adapters/file-adapter.ts`, `adapters/db-adapter.ts`).\n- Guard evaluation: expression guards run through `evaluateExpression()` (`src/workflow/expression.ts`); custom policy guards can be provided via `guardEvaluator`.\n- Events: the runner emits `workflow.started`, `workflow.step_completed`, `workflow.step_failed`, and `workflow.cancelled` through the optional `eventEmitter`.\n- React bindings (`@lssm/lib.presentation-runtime-react`):\n - `useWorkflow` hook (polls state, exposes `executeStep`, `cancel`, `refresh`).\n - `WorkflowStepper` progress indicator using design-system Stepper.\n - `WorkflowStepRenderer` helper to render human/automation/decision steps with sensible fallbacks.\n\n## Authoring Checklist\n\n1. Reuse existing operations/forms; create new specs when missing.\n2. Prefer explicit `entryStepId` for clarity (especially with decision branches).\n3. Give automation steps an `operation` and human steps a `form` (warnings surface otherwise).\n4. Use short, meaningful step IDs (`submit`, `review`, `finalize`) to simplify analytics.\n5. Keep guard expressions deterministic; complex policy logic should move to PolicySpec (Phase 2).\n\n## Testing\n\n- Add unit tests for new workflows via `assertWorkflowSpecValid`.\n- Use the new Vitest suites (`validation.test.ts`, `expression.test.ts`, `runner.test.ts`) as examples.\n- CLI support will arrive in Phase 1 PR 3 (`contractspec create --type workflow`).\n\n## Tooling\n\n- `contractspec create --type workflow` scaffolds a WorkflowSpec with interactive prompts.\n- `contractspec build <spec.workflow.ts>` generates a runner scaffold (`.runner.ts`) wired to `WorkflowRunner` and the in-memory store.\n- `contractspec validate` understands `.workflow.ts` files and checks core structure (meta, steps, transitions).\n\n## Next Steps (Non-MVP)\n\n- Persistence adapters (database/file) for workflow state (Phase 2).\n- React bindings (`useWorkflow`, `WorkflowStepper`) and presentation-runtime integration (PR 3).\n- Policy engine integration (`guard.type === 'policy'` validated against PolicySpec).\n- Telemetry hooks for step execution metrics.\n\n"
|
|
17
|
+
}];
|
|
18
|
+
registerDocBlocks(tech_workflows_overview_DocBlocks);
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
@@ -4,4 +4,4 @@ import { LearningJourneyTrackSpec } from "@lssm/module.learning-journey/track-sp
|
|
|
4
4
|
declare const drillsLanguageBasicsTrack: LearningJourneyTrackSpec;
|
|
5
5
|
declare const drillTracks: LearningJourneyTrackSpec[];
|
|
6
6
|
//#endregion
|
|
7
|
-
export {
|
|
7
|
+
export { drillTracks, drillsLanguageBasicsTrack };
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.learning-journey-duo-drills",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251217083314",
|
|
4
4
|
"description": "Drill-based learning journey example with SRS, XP, and streak hooks.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
|
-
".": "./
|
|
10
|
-
"./
|
|
11
|
-
"./
|
|
12
|
-
"./
|
|
13
|
-
"./
|
|
9
|
+
".": "./dist/index.js",
|
|
10
|
+
"./docs": "./dist/docs/index.js",
|
|
11
|
+
"./docs/duo-drills.docblock": "./dist/docs/duo-drills.docblock.js",
|
|
12
|
+
"./example": "./dist/example.js",
|
|
13
|
+
"./track": "./dist/track.js",
|
|
14
14
|
"./*": "./*"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"test": "bun test"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@lssm/module.learning-journey": "0.0.0-canary-
|
|
31
|
-
"@lssm/lib.schema": "0.0.0-canary-
|
|
32
|
-
"@lssm/lib.contracts": "0.0.0-canary-
|
|
30
|
+
"@lssm/module.learning-journey": "0.0.0-canary-20251217083314",
|
|
31
|
+
"@lssm/lib.schema": "0.0.0-canary-20251217083314",
|
|
32
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251217083314"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@lssm/tool.tsdown": "0.0.0-canary-
|
|
36
|
-
"@lssm/tool.typescript": "0.0.0-canary-
|
|
35
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251217083314",
|
|
36
|
+
"@lssm/tool.typescript": "0.0.0-canary-20251217083314",
|
|
37
37
|
"tsdown": "^0.17.4",
|
|
38
38
|
"typescript": "^5.9.3"
|
|
39
39
|
},
|
package/tsdown.config.js
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { defineConfig } from 'tsdown';
|
|
2
|
+
import { moduleLibrary, withDevExports } from '@lssm/tool.tsdown';
|
|
3
|
+
|
|
4
|
+
export default defineConfig(() => ({
|
|
5
|
+
...moduleLibrary,
|
|
6
|
+
...withDevExports,
|
|
7
|
+
}));
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
2
17
|
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
entry: [
|
|
5
|
-
'src/index.ts',
|
|
6
|
-
'src/track.ts',
|
|
7
|
-
'src/docs/index.ts',
|
|
8
|
-
'src/docs/duo-drills.docblock.ts',
|
|
9
|
-
],
|
|
10
|
-
format: 'esm',
|
|
11
|
-
target: 'esnext',
|
|
12
|
-
dts: true,
|
|
13
|
-
});
|
package/dist/docs/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/track.d.mts
DELETED
package/dist/track.mjs
DELETED
|
File without changes
|
|
File without changes
|