@_linked/translation 0.6.0 → 0.7.0
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/lib/esm/package.js +4 -9
- package/lib/esm/package.js.map +1 -1
- package/package.json +1 -1
- package/src/package.ts +4 -9
package/README.md
CHANGED
|
@@ -96,7 +96,9 @@ depending on Create Now.
|
|
|
96
96
|
The package targets `@_linked/core` 2.14.4. Its ontology terms live at
|
|
97
97
|
`https://linked.cm/ont/translation/` (prefix `translation:`), following the
|
|
98
98
|
first-party rule `https://linked.cm/ont/{ontologySlug}/{localName}`. Shape IRIs
|
|
99
|
-
|
|
99
|
+
follow `https://linked.cm/shape/translation/{ShapeName}` (e.g.
|
|
100
|
+
`https://linked.cm/shape/translation/TranslationKey`) and the package IRI is
|
|
101
|
+
`https://linked.cm/pkg/translation`.
|
|
100
102
|
|
|
101
103
|
## Open language configuration
|
|
102
104
|
|
package/lib/esm/package.js
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { linkedPackage } from '@_linked/core/utils/Package';
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
|
|
6
|
-
// (Plan 014 AD-G). R14: confirm ownership of `id.linked.cm` before seeding real
|
|
7
|
-
// data under these IRIs; changing the baseUri afterwards means re-materializing.
|
|
8
|
-
export const { linkedShape, linkedUtil, linkedOntology, registerPackageExport, packageExports, packageName, getPackageShape, } = linkedPackage('@_linked/translation', {
|
|
9
|
-
baseUri: 'https://id.linked.cm/translation/',
|
|
10
|
-
});
|
|
2
|
+
// First-party LINKED package: no `baseUri`, so core's default root applies and
|
|
3
|
+
// IRIs follow the public rule — shapes `https://linked.cm/shape/translation/{ShapeName}`,
|
|
4
|
+
// package `https://linked.cm/pkg/translation` (arch-02 "Public community").
|
|
5
|
+
export const { linkedShape, linkedUtil, linkedOntology, registerPackageExport, packageExports, packageName, getPackageShape, } = linkedPackage('@_linked/translation');
|
|
11
6
|
//# sourceMappingURL=package.js.map
|
package/lib/esm/package.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.js","sourceRoot":"","sources":["../../src/package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D
|
|
1
|
+
{"version":3,"file":"package.js","sourceRoot":"","sources":["../../src/package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,+EAA+E;AAC/E,0FAA0F;AAC1F,4EAA4E;AAC5E,MAAM,CAAC,MAAM,EACX,WAAW,EACX,UAAU,EACV,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,WAAW,EACX,eAAe,GAChB,GAAG,aAAa,CAAC,sBAAsB,CAAC,CAAC","sourcesContent":["import { linkedPackage } from '@_linked/core/utils/Package';\n\n// First-party LINKED package: no `baseUri`, so core's default root applies and\n// IRIs follow the public rule — shapes `https://linked.cm/shape/translation/{ShapeName}`,\n// package `https://linked.cm/pkg/translation` (arch-02 \"Public community\").\nexport const {\n linkedShape,\n linkedUtil,\n linkedOntology,\n registerPackageExport,\n packageExports,\n packageName,\n getPackageShape,\n} = linkedPackage('@_linked/translation');\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@_linked/translation",
|
|
3
3
|
"description": "LINKED translation management — graph-native i18n keys + units, Tolgee-compatible client, CDN delivery. Built inside Create Now for now; structured to extract to its own repo unchanged.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.0",
|
|
5
5
|
"packageManager": "npm@11.20.0",
|
|
6
6
|
"linkedPackage": true,
|
|
7
7
|
"type": "module",
|
package/src/package.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { linkedPackage } from '@_linked/core/utils/Package';
|
|
2
2
|
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
// (`@_linked/translation` / `@semantu/translation`) — a move, not a rewrite
|
|
7
|
-
// (Plan 014 AD-G). R14: confirm ownership of `id.linked.cm` before seeding real
|
|
8
|
-
// data under these IRIs; changing the baseUri afterwards means re-materializing.
|
|
3
|
+
// First-party LINKED package: no `baseUri`, so core's default root applies and
|
|
4
|
+
// IRIs follow the public rule — shapes `https://linked.cm/shape/translation/{ShapeName}`,
|
|
5
|
+
// package `https://linked.cm/pkg/translation` (arch-02 "Public community").
|
|
9
6
|
export const {
|
|
10
7
|
linkedShape,
|
|
11
8
|
linkedUtil,
|
|
@@ -14,6 +11,4 @@ export const {
|
|
|
14
11
|
packageExports,
|
|
15
12
|
packageName,
|
|
16
13
|
getPackageShape,
|
|
17
|
-
} = linkedPackage('@_linked/translation'
|
|
18
|
-
baseUri: 'https://id.linked.cm/translation/',
|
|
19
|
-
});
|
|
14
|
+
} = linkedPackage('@_linked/translation');
|