@antelopejs/dms-database 0.2.1 → 0.2.2
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/README.md +3 -1
- package/dist/module.js +0 -1
- package/dist/module.js.map +1 -1
- package/package.json +1 -1
- package/frontend-vue/pnpm-workspace.yaml +0 -2
package/README.md
CHANGED
|
@@ -78,6 +78,8 @@ The canonical guide lives in [`docs/`](./docs), including the [supported extensi
|
|
|
78
78
|
|
|
79
79
|
Read [CONTRIBUTING.md](./CONTRIBUTING.md) before opening a pull request. The playground registers a `demo` schema and a `shop` schema with `eu` and `us` instances, seeded on first start.
|
|
80
80
|
|
|
81
|
+
One root install includes the backend and shipped Vue module, retaining their separate lockfiles. The playground remains independent: run `pnpm --dir playground install --ignore-workspace --frozen-lockfile` before starting it. Use the root scripts below rather than recursive scripts: frontend `build` and `typecheck` need the playground or a generated Inertia workspace, and root lint already checks the Vue module.
|
|
82
|
+
|
|
81
83
|
```bash
|
|
82
84
|
pnpm install
|
|
83
85
|
pnpm dev # playground backend
|
|
@@ -91,7 +93,7 @@ pnpm test
|
|
|
91
93
|
<summary>Repository notes</summary>
|
|
92
94
|
|
|
93
95
|
- The module registers its Vue 3 frontend through `frontend-vue/dms.frontend.ts`, under the `DmsDatabase` component prefix: `app/components/DataBrowser.vue` is the `DmsDatabaseDataBrowser` the backend page names. The pages are declared in `src/pages`, as DMS blocks plus the module's own components. Everything under `frontend-vue/app/build` is private to the layer and imported by path.
|
|
94
|
-
- Run `pnpm
|
|
96
|
+
- Run `pnpm test:layer` for the frontend tests and `pnpm test:frontend` to build and typecheck a generated Inertia app. Set `DMS_FRONTEND_WORKSPACE` to a generated Inertia workspace before running `pnpm --dir frontend-vue typecheck`.
|
|
95
97
|
- `DMS_SOURCE=/absolute/path/to/dms pnpm test` tests against a local DMS runtime with disposable MongoDB and filesystem storage. Only the test harness loads that runtime; the types come from `@antelopejs/interface-dms`.
|
|
96
98
|
- `docs/design/redesign-v2-grill.md` records the decisions behind the v2 redesign.
|
|
97
99
|
|
package/dist/module.js
CHANGED
|
@@ -26,7 +26,6 @@ exports.databaseModule = (0, page_1.RegisterModule)({
|
|
|
26
26
|
landingPage: "overview",
|
|
27
27
|
version: readVersion(),
|
|
28
28
|
catalogCategory: "$dms_database.catalog_category",
|
|
29
|
-
status: () => "beta",
|
|
30
29
|
readout: (context) => (0, catalog_1.readCatalogReadout)(context.user),
|
|
31
30
|
});
|
|
32
31
|
exports.exploreSection = (0, page_1.Category)("explore", {
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;AAAA,qCAAuC;AACvC,0DAA6B;AAC7B,yDAA0E;AAC1E,+CAAuD;AAE1C,QAAA,kBAAkB,GAAG,UAAU,CAAC;AAO7C,SAAS,WAAW;IAClB,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,IAAA,sBAAY,EAC3B,mBAAI,CAAC,IAAI,CAAC,SAAS,EAAE,iBAAiB,CAAC,EACvC,MAAM,CACP,CAAC;QACF,OAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAqB,CAAC,OAAO,CAAC;IAC3D,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAGY,QAAA,cAAc,GAAG,IAAA,qBAAc,EAAC;IAC3C,EAAE,EAAE,0BAAkB;IACtB,KAAK,EAAE,qBAAqB;IAC5B,WAAW,EAAE,2BAA2B;IACxC,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,UAAU;IACvB,OAAO,EAAE,WAAW,EAAE;IACtB,eAAe,EAAE,gCAAgC;
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;AAAA,qCAAuC;AACvC,0DAA6B;AAC7B,yDAA0E;AAC1E,+CAAuD;AAE1C,QAAA,kBAA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