@intlayer/core 9.7.1 → 9.7.3
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/dist/cjs/deepTransformPlugins/getFilteredLocalesContent.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getContentNodeByKeyPath.cjs +8 -2
- package/dist/cjs/dictionaryManipulator/getContentNodeByKeyPath.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getDefaultNode.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getEmptyNode.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getNodeChildren.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/getNodeType.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/removeContentNodeByKeyPath.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/renameContentNodeByKeyPath.cjs.map +1 -1
- package/dist/cjs/dictionaryManipulator/updateNodeChildren.cjs.map +1 -1
- package/dist/cjs/interpreter/getContent/plugins.cjs +2 -2
- package/dist/cjs/interpreter/getContent/plugins.cjs.map +1 -1
- package/dist/cjs/markdown/compiler.cjs.map +1 -1
- package/dist/cjs/messageFormat/resolveMessage.cjs +1 -1
- package/dist/cjs/messageFormat/resolveMessage.cjs.map +1 -1
- package/dist/cjs/transpiler/nesting/nesting.cjs.map +1 -1
- package/dist/cjs/transpiler/translation/translation.cjs.map +1 -1
- package/dist/cjs/utils/intl.cjs.map +1 -1
- package/dist/cjs/utils/localeStorage.cjs.map +1 -1
- package/dist/esm/deepTransformPlugins/getFilteredLocalesContent.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/getContentNodeByKeyPath.mjs +8 -2
- package/dist/esm/dictionaryManipulator/getContentNodeByKeyPath.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/getDefaultNode.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/getEmptyNode.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/getNodeChildren.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/getNodeType.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/removeContentNodeByKeyPath.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/renameContentNodeByKeyPath.mjs.map +1 -1
- package/dist/esm/dictionaryManipulator/updateNodeChildren.mjs.map +1 -1
- package/dist/esm/interpreter/getContent/plugins.mjs +2 -2
- package/dist/esm/interpreter/getContent/plugins.mjs.map +1 -1
- package/dist/esm/markdown/compiler.mjs.map +1 -1
- package/dist/esm/messageFormat/resolveMessage.mjs +1 -1
- package/dist/esm/messageFormat/resolveMessage.mjs.map +1 -1
- package/dist/esm/transpiler/nesting/nesting.mjs.map +1 -1
- package/dist/esm/transpiler/translation/translation.mjs.map +1 -1
- package/dist/esm/utils/intl.mjs.map +1 -1
- package/dist/esm/utils/localeStorage.mjs.map +1 -1
- package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts +6 -0
- package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/getDefaultNode.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/getEmptyNode.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/getNodeChildren.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/getNodeType.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/removeContentNodeByKeyPath.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/renameContentNodeByKeyPath.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/updateNodeChildren.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/interpreter/getContent/plugins.d.ts.map +1 -1
- package/dist/types/transpiler/nesting/nesting.d.ts.map +1 -1
- package/dist/types/transpiler/translation/translation.d.ts.map +1 -1
- package/dist/types/utils/intl.d.ts +25 -0
- package/dist/types/utils/intl.d.ts.map +1 -1
- package/package.json +72 -72
package/package.json
CHANGED
|
@@ -1,28 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/core",
|
|
3
|
-
"version": "9.7.
|
|
3
|
+
"version": "9.7.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Includes core Intlayer functions like translation, dictionary, and utility functions shared across multiple packages.",
|
|
6
6
|
"keywords": [
|
|
7
|
-
"intlayer",
|
|
8
|
-
"layer",
|
|
9
7
|
"abstraction",
|
|
10
8
|
"data",
|
|
11
|
-
"
|
|
9
|
+
"file",
|
|
12
10
|
"i18n",
|
|
13
|
-
"
|
|
11
|
+
"internationalization",
|
|
12
|
+
"intlayer",
|
|
14
13
|
"javascript",
|
|
15
14
|
"json",
|
|
16
|
-
"
|
|
15
|
+
"layer",
|
|
16
|
+
"typescript"
|
|
17
17
|
],
|
|
18
18
|
"homepage": "https://intlayer.org",
|
|
19
19
|
"bugs": {
|
|
20
20
|
"url": "https://github.com/aymericzip/intlayer/issues"
|
|
21
21
|
},
|
|
22
|
-
"repository": {
|
|
23
|
-
"type": "git",
|
|
24
|
-
"url": "git+https://github.com/aymericzip/intlayer.git"
|
|
25
|
-
},
|
|
26
22
|
"license": "Apache-2.0",
|
|
27
23
|
"author": {
|
|
28
24
|
"name": "Aymeric PINEAU",
|
|
@@ -35,7 +31,61 @@
|
|
|
35
31
|
"url": "https://github.com/aymericzip"
|
|
36
32
|
}
|
|
37
33
|
],
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "git+https://github.com/aymericzip/intlayer.git"
|
|
37
|
+
},
|
|
38
|
+
"files": [
|
|
39
|
+
"./dist",
|
|
40
|
+
"./package.json"
|
|
41
|
+
],
|
|
38
42
|
"sideEffects": false,
|
|
43
|
+
"main": "dist/cjs/index.cjs",
|
|
44
|
+
"module": "dist/esm/index.mjs",
|
|
45
|
+
"types": "dist/types/index.d.ts",
|
|
46
|
+
"typesVersions": {
|
|
47
|
+
"*": {
|
|
48
|
+
".": [
|
|
49
|
+
"./dist/types/index.d.ts"
|
|
50
|
+
],
|
|
51
|
+
"markdown": [
|
|
52
|
+
"./dist/types/markdown/index.d.ts"
|
|
53
|
+
],
|
|
54
|
+
"utils": [
|
|
55
|
+
"./dist/types/utils/index.d.ts"
|
|
56
|
+
],
|
|
57
|
+
"interpreter": [
|
|
58
|
+
"./dist/types/interpreter/index.d.ts"
|
|
59
|
+
],
|
|
60
|
+
"formatters": [
|
|
61
|
+
"./dist/types/formatters/index.d.ts"
|
|
62
|
+
],
|
|
63
|
+
"localization": [
|
|
64
|
+
"./dist/types/localization/index.d.ts"
|
|
65
|
+
],
|
|
66
|
+
"dictionaryManipulator": [
|
|
67
|
+
"./dist/types/dictionaryManipulator/index.d.ts"
|
|
68
|
+
],
|
|
69
|
+
"plugins": [
|
|
70
|
+
"./dist/types/deepTransformPlugins/index.d.ts"
|
|
71
|
+
],
|
|
72
|
+
"transpiler": [
|
|
73
|
+
"./dist/types/transpiler/index.d.ts"
|
|
74
|
+
],
|
|
75
|
+
"messageFormat": [
|
|
76
|
+
"./dist/types/messageFormat/index.d.ts"
|
|
77
|
+
],
|
|
78
|
+
"file": [
|
|
79
|
+
"./dist/types/transpiler/file/file.d.ts"
|
|
80
|
+
],
|
|
81
|
+
"file/browser": [
|
|
82
|
+
"./dist/types/transpiler/file/file.d.ts"
|
|
83
|
+
],
|
|
84
|
+
"package.json": [
|
|
85
|
+
"./package.json"
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
},
|
|
39
89
|
"exports": {
|
|
40
90
|
"./markdown": {
|
|
41
91
|
"types": "./dist/types/markdown/index.d.ts",
|
|
@@ -103,65 +153,18 @@
|
|
|
103
153
|
},
|
|
104
154
|
"./package.json": "./package.json"
|
|
105
155
|
},
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
"types": "dist/types/index.d.ts",
|
|
109
|
-
"typesVersions": {
|
|
110
|
-
"*": {
|
|
111
|
-
".": [
|
|
112
|
-
"./dist/types/index.d.ts"
|
|
113
|
-
],
|
|
114
|
-
"markdown": [
|
|
115
|
-
"./dist/types/markdown/index.d.ts"
|
|
116
|
-
],
|
|
117
|
-
"utils": [
|
|
118
|
-
"./dist/types/utils/index.d.ts"
|
|
119
|
-
],
|
|
120
|
-
"interpreter": [
|
|
121
|
-
"./dist/types/interpreter/index.d.ts"
|
|
122
|
-
],
|
|
123
|
-
"formatters": [
|
|
124
|
-
"./dist/types/formatters/index.d.ts"
|
|
125
|
-
],
|
|
126
|
-
"localization": [
|
|
127
|
-
"./dist/types/localization/index.d.ts"
|
|
128
|
-
],
|
|
129
|
-
"dictionaryManipulator": [
|
|
130
|
-
"./dist/types/dictionaryManipulator/index.d.ts"
|
|
131
|
-
],
|
|
132
|
-
"plugins": [
|
|
133
|
-
"./dist/types/deepTransformPlugins/index.d.ts"
|
|
134
|
-
],
|
|
135
|
-
"transpiler": [
|
|
136
|
-
"./dist/types/transpiler/index.d.ts"
|
|
137
|
-
],
|
|
138
|
-
"messageFormat": [
|
|
139
|
-
"./dist/types/messageFormat/index.d.ts"
|
|
140
|
-
],
|
|
141
|
-
"file": [
|
|
142
|
-
"./dist/types/transpiler/file/file.d.ts"
|
|
143
|
-
],
|
|
144
|
-
"file/browser": [
|
|
145
|
-
"./dist/types/transpiler/file/file.d.ts"
|
|
146
|
-
],
|
|
147
|
-
"package.json": [
|
|
148
|
-
"./package.json"
|
|
149
|
-
]
|
|
150
|
-
}
|
|
156
|
+
"publishConfig": {
|
|
157
|
+
"access": "public"
|
|
151
158
|
},
|
|
152
|
-
"files": [
|
|
153
|
-
"./dist",
|
|
154
|
-
"./package.json"
|
|
155
|
-
],
|
|
156
159
|
"scripts": {
|
|
157
160
|
"build": "bun --bun tsdown --config tsdown.config.ts",
|
|
158
161
|
"build:ci": "bun --bun tsdown --config tsdown.config.ts",
|
|
159
162
|
"clean": "bun --bun rimraf ./dist .turbo",
|
|
160
163
|
"dev": "bun --bun tsdown --config tsdown.config.ts --watch",
|
|
161
|
-
"format": "
|
|
162
|
-
"format:fix": "
|
|
163
|
-
"lint": "
|
|
164
|
-
"lint:fix": "
|
|
164
|
+
"format": "oxfmt --check .",
|
|
165
|
+
"format:fix": "oxfmt .",
|
|
166
|
+
"lint": "oxlint .",
|
|
167
|
+
"lint:fix": "oxlint --fix .",
|
|
165
168
|
"process-files": "ts-node src/transpiler/processFilesCLI.ts --dir $npm_config_dir --extension $npm_config_extension --no-node-snapshot",
|
|
166
169
|
"prepublish": "cp -f ../../../README.md ./README.md",
|
|
167
170
|
"publish": "bun publish || true",
|
|
@@ -173,10 +176,10 @@
|
|
|
173
176
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
174
177
|
},
|
|
175
178
|
"dependencies": {
|
|
176
|
-
"@intlayer/api": "9.7.
|
|
177
|
-
"@intlayer/config": "9.7.
|
|
178
|
-
"@intlayer/dictionaries-entry": "9.7.
|
|
179
|
-
"@intlayer/types": "9.7.
|
|
179
|
+
"@intlayer/api": "9.7.3",
|
|
180
|
+
"@intlayer/config": "9.7.3",
|
|
181
|
+
"@intlayer/dictionaries-entry": "9.7.3",
|
|
182
|
+
"@intlayer/types": "9.7.3",
|
|
180
183
|
"defu": "6.1.7"
|
|
181
184
|
},
|
|
182
185
|
"devDependencies": {
|
|
@@ -184,17 +187,14 @@
|
|
|
184
187
|
"@utils/ts-config": "1.0.4",
|
|
185
188
|
"@utils/ts-config-types": "1.0.4",
|
|
186
189
|
"@utils/tsdown-config": "1.0.4",
|
|
187
|
-
"rimraf": "6.1.
|
|
188
|
-
"tsdown": "0.23.
|
|
190
|
+
"rimraf": "6.1.4",
|
|
191
|
+
"tsdown": "0.23.7",
|
|
189
192
|
"typescript": "7.0.2",
|
|
190
193
|
"vitest": "5.1.0"
|
|
191
194
|
},
|
|
192
195
|
"engines": {
|
|
193
196
|
"node": ">=14.18"
|
|
194
197
|
},
|
|
195
|
-
"publishConfig": {
|
|
196
|
-
"access": "public"
|
|
197
|
-
},
|
|
198
198
|
"bug": {
|
|
199
199
|
"url": "https://github.com/aymericzip/intlayer/issues"
|
|
200
200
|
}
|