@sanity/document-internationalization 6.2.14 → 6.2.16

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,8 @@
1
+ var resources_default = {
2
+ "action.duplicate.label": "Duplicate with translations",
3
+ "action.duplicate.disabled.missing-metadata": "The document cannot be duplicated because the metadata document is missing",
4
+ "action.duplicate.disabled.multiple-metadata": "The document cannot be duplicated because there are multiple metadata documents"
5
+ };
6
+ export { resources_default as default };
7
+
8
+ //# sourceMappingURL=resources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resources.js","names":[],"sources":["../src/i18n/resources.ts"],"sourcesContent":["export default {\n 'action.duplicate.label': 'Duplicate with translations',\n 'action.duplicate.disabled.missing-metadata':\n 'The document cannot be duplicated because the metadata document is missing',\n 'action.duplicate.disabled.multiple-metadata':\n 'The document cannot be duplicated because there are multiple metadata documents',\n}\n"],"mappings":"AAAA,IAAA,oBAAe;CACb,0BAA0B;CAC1B,8CACE;CACF,+CACE;AACJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/document-internationalization",
3
- "version": "6.2.14",
3
+ "version": "6.2.16",
4
4
  "description": "Create unique translations of a document based on its language, joined by a shared reference document.",
5
5
  "keywords": [
6
6
  "sanity",
@@ -29,15 +29,15 @@
29
29
  "dependencies": {
30
30
  "@sanity/icons": "^5.0.0",
31
31
  "@sanity/mutator": "^6.3.0",
32
- "@sanity/ui": "^3.3.0",
32
+ "@sanity/ui": "^3.3.1",
33
33
  "@sanity/util": "^6.3.0",
34
34
  "@sanity/uuid": "^3.0.3",
35
35
  "rxjs": "^7.8.2",
36
- "sanity-plugin-utils": "^2.0.5"
36
+ "sanity-plugin-utils": "^2.0.6"
37
37
  },
38
38
  "devDependencies": {
39
- "@sanity/pkg-utils": "^10.9.0",
40
- "@sanity/tsconfig": "^2.1.0",
39
+ "@sanity/tsconfig": "^2.2.0",
40
+ "@sanity/tsdown-config": "^0.11.0",
41
41
  "@testing-library/jest-dom": "^6.9.1",
42
42
  "@testing-library/react": "^16.3.2",
43
43
  "@types/node": "^24.13.2",
@@ -49,19 +49,19 @@
49
49
  "react-dom": "^19.2.7",
50
50
  "sanity": "^6.3.0",
51
51
  "styled-components": "^6.4.3",
52
- "sanity-plugin-internationalized-array": "5.1.14",
53
- "@repo/package.config": "0.0.0"
52
+ "tsdown": "^0.22.3",
53
+ "sanity-plugin-internationalized-array": "5.1.16"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "react": "^19.2",
57
57
  "react-dom": "^19.2",
58
58
  "sanity": "^5 || ^6.0.0-0",
59
- "sanity-plugin-internationalized-array": "^5.1.14"
59
+ "sanity-plugin-internationalized-array": "^5.1.16"
60
60
  },
61
61
  "engines": {
62
62
  "node": ">=20.19 <22 || >=22.12"
63
63
  },
64
64
  "scripts": {
65
- "build": "pkg build --strict --check --clean"
65
+ "build": "tsdown"
66
66
  }
67
67
  }
@@ -1,9 +0,0 @@
1
- var resources = {
2
- "action.duplicate.label": "Duplicate with translations",
3
- "action.duplicate.disabled.missing-metadata": "The document cannot be duplicated because the metadata document is missing",
4
- "action.duplicate.disabled.multiple-metadata": "The document cannot be duplicated because there are multiple metadata documents"
5
- };
6
- export {
7
- resources as default
8
- };
9
- //# sourceMappingURL=resources.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resources.js","sources":["../../src/i18n/resources.ts"],"sourcesContent":["export default {\n 'action.duplicate.label': 'Duplicate with translations',\n 'action.duplicate.disabled.missing-metadata':\n 'The document cannot be duplicated because the metadata document is missing',\n 'action.duplicate.disabled.multiple-metadata':\n 'The document cannot be duplicated because there are multiple metadata documents',\n}\n"],"names":[],"mappings":"AAAA,IAAA,YAAe;AAAA,EACb,0BAA0B;AAAA,EAC1B,8CACE;AAAA,EACF,+CACE;AACJ;"}