@antelopejs/dms-lang 0.0.3 → 0.0.5
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 +1 -1
- package/dist/pages/module.d.ts +1 -1
- package/frontend-vue/app/components/WorkspaceEndpoint.vue +1 -1
- package/frontend-vue/app/composables/translation/useI18nWorkspaces.ts +1 -1
- package/frontend-vue/app/custom-pages/lang/translations.vue +1 -1
- package/frontend-vue/app/plugins/workspace-sidebar-widget.ts +1 -1
- package/frontend-vue/dms.frontend.ts +1 -1
- package/frontend-vue/package.json +6 -5
- package/package.json +12 -11
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ The module compiles against the published `@antelopejs/interface-dms` package, i
|
|
|
53
53
|
|
|
54
54
|
`pnpm test:unit` checks locale discovery and fallback normalization. `pnpm test:frontend` compiles the module alongside the published core DMS frontend with the adapter's source verifier.
|
|
55
55
|
|
|
56
|
-
Run `pnpm dev` for the backend and `pnpm frontend:dev` for the Inertia workspace. Use `pnpm typecheck` for the backend; run `pnpm typecheck` in the generated Vite workspace for frontend types. The adapter owns the generated aliases, auto-import declarations and Vue compiler configuration.
|
|
56
|
+
Run `pnpm dev` for the backend and `pnpm frontend:dev` for the Inertia workspace. The playground connects to MongoDB at `mongodb://localhost:27017`; set `MONGO_URL` to use another instance. The frontend workspace uses the `ajs dms` commands for development, preparation and production builds. Use `pnpm typecheck` for the backend; run `pnpm typecheck` in the generated Vite workspace for frontend types. The adapter owns the generated aliases, auto-import declarations and Vue compiler configuration.
|
|
57
57
|
|
|
58
58
|
## Locale sources no longer require a frontend build
|
|
59
59
|
|
package/dist/pages/module.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const langModule: import("@antelopejs/interface-dms
|
|
1
|
+
export declare const langModule: import("@antelopejs/interface-dms").CategoryInfo;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineAsyncComponent, type Component } from 'vue'
|
|
2
|
-
import type { DmsFrontendModule } from '#dms
|
|
2
|
+
import type { DmsFrontendModule } from '#dms/frontend-module'
|
|
3
3
|
import workspaceSidebarWidget from './app/plugins/workspace-sidebar-widget'
|
|
4
4
|
|
|
5
5
|
interface VueModule {
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"packageManager": "pnpm@10.6.5",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"build": "ajs
|
|
11
|
-
"dev": "ajs
|
|
12
|
-
"prepare-frontend": "ajs
|
|
10
|
+
"build": "ajs dms build",
|
|
11
|
+
"dev": "ajs dms dev",
|
|
12
|
+
"prepare-frontend": "ajs dms prepare",
|
|
13
13
|
"format": "prettier --write .",
|
|
14
14
|
"lint": "eslint .",
|
|
15
15
|
"lint:fix": "eslint . --fix"
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"@vueuse/core": "^13.0.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@antelopejs/
|
|
21
|
+
"@antelopejs/core": "1.9.1",
|
|
22
|
+
"@antelopejs/dms-frontend": "0.2.6",
|
|
22
23
|
"@eslint/js": "^9",
|
|
23
24
|
"@typescript-eslint/eslint-plugin": "^8",
|
|
24
25
|
"@typescript-eslint/parser": "^8",
|
|
@@ -27,7 +28,7 @@
|
|
|
27
28
|
"globals": "^15",
|
|
28
29
|
"prettier": "^3.5.3",
|
|
29
30
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
30
|
-
"typescript": "^
|
|
31
|
+
"typescript": "^6.0.3",
|
|
31
32
|
"vue": "^3.5.0"
|
|
32
33
|
},
|
|
33
34
|
"peerDependencies": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/dms-lang",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
11
|
"!dist/test",
|
|
12
|
+
"!dist/.tsbuildinfo",
|
|
12
13
|
"frontend-vue"
|
|
13
14
|
],
|
|
14
15
|
"main": "dist/index.js",
|
|
@@ -26,32 +27,32 @@
|
|
|
26
27
|
"registry": "https://registry.npmjs.org/"
|
|
27
28
|
},
|
|
28
29
|
"scripts": {
|
|
29
|
-
"build": "rimraf dist && tsc
|
|
30
|
+
"build": "rimraf dist && tsc",
|
|
30
31
|
"dev:frontend": "pnpm --dir playground frontend:dev",
|
|
31
32
|
"frontend:dev": "cd playground && pnpm frontend:dev",
|
|
32
33
|
"dev": "ajs project run -w -p playground",
|
|
33
34
|
"lint:fix": "oxlint --fix --max-warnings=1000000 && oxfmt . && pnpm --dir frontend-vue lint:fix",
|
|
34
35
|
"lint": "oxlint && oxfmt --check . && pnpm --dir frontend-vue lint",
|
|
35
|
-
"typecheck": "tsc
|
|
36
|
+
"typecheck": "tsc --noEmit",
|
|
36
37
|
"format": "oxfmt . && pnpm --dir frontend-vue format",
|
|
37
38
|
"test": "pnpm run build && ajs module test .",
|
|
38
39
|
"test:unit": "pnpm build && mocha dist/test/locale-discovery.test.js && node --test tests/*.test.mjs",
|
|
39
|
-
"test:frontend": "ajs
|
|
40
|
+
"test:frontend": "ajs dms verify-source --layer node_modules/@antelopejs/dms/frontend-vue --module frontend-vue",
|
|
40
41
|
"release": "pnpm run lint && release-it",
|
|
41
42
|
"prepack": "pnpm run build",
|
|
42
43
|
"knip": "knip --dependencies",
|
|
43
44
|
"knip:all": "knip"
|
|
44
45
|
},
|
|
45
46
|
"dependencies": {
|
|
46
|
-
"@antelopejs/interface-api": "
|
|
47
|
+
"@antelopejs/interface-api": ">=0.0.14 <1.0.0",
|
|
47
48
|
"@antelopejs/interface-api-util": "^0.1.2",
|
|
48
|
-
"@antelopejs/interface-core": ">=0.
|
|
49
|
-
"@antelopejs/interface-dms": ">=0.0
|
|
49
|
+
"@antelopejs/interface-core": ">=0.1.1 <1.0.0",
|
|
50
|
+
"@antelopejs/interface-dms": ">=0.2.0 <1.0.0"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
|
-
"@antelopejs/core": "
|
|
53
|
-
"@antelopejs/dms": ">=0.0
|
|
54
|
-
"@antelopejs/dms-frontend": "
|
|
53
|
+
"@antelopejs/core": "1.9.1",
|
|
54
|
+
"@antelopejs/dms": ">=0.4.0 <1.0.0",
|
|
55
|
+
"@antelopejs/dms-frontend": "0.2.6",
|
|
55
56
|
"@antelopejs/tooling-configs": ">=0.0.6 <1.0.0",
|
|
56
57
|
"@types/chai": "^5.2.3",
|
|
57
58
|
"@types/mocha": "^10.0.10",
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
"release-it": "^19.2.4",
|
|
68
69
|
"release-it-changelogen": "^0.1.0",
|
|
69
70
|
"rimraf": "^6.1.3",
|
|
70
|
-
"typescript": "^
|
|
71
|
+
"typescript": "^6.0.3"
|
|
71
72
|
},
|
|
72
73
|
"packageManager": "pnpm@10.2.0",
|
|
73
74
|
"antelopeJs": {
|