@intlayer/chokidar 8.7.0-canary.0 → 8.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.
|
@@ -20,7 +20,7 @@ const config = {
|
|
|
20
20
|
* - "prefix-no-default": Prefix all except the default locale (e.g., /dashboard, /fr/dashboard).
|
|
21
21
|
* - "prefix-all": Prefix all locales (e.g., /en/dashboard, /fr/dashboard).
|
|
22
22
|
* - "no-prefix": No locale in the URL.
|
|
23
|
-
* - "search-params": Use
|
|
23
|
+
* - "search-params": Use search params to define the locale (e.g., /dashboard/?locale=en, /dashboard/?locale=fr)
|
|
24
24
|
* Default: "prefix-no-default"
|
|
25
25
|
*/
|
|
26
26
|
mode: 'prefix-no-default',
|
|
@@ -36,15 +36,6 @@ const config = {
|
|
|
36
36
|
*/
|
|
37
37
|
applicationURL: 'http://localhost:3000',
|
|
38
38
|
},
|
|
39
|
-
dictionary: {
|
|
40
|
-
/**
|
|
41
|
-
* Controls how dictionaries are imported.
|
|
42
|
-
* - "static": Statically imported at build time.
|
|
43
|
-
* - "dynamic": Dynamically imported using Suspense.
|
|
44
|
-
* - "fetch": Fetched dynamically via the live sync API.
|
|
45
|
-
*/
|
|
46
|
-
importMode: 'static',
|
|
47
|
-
},
|
|
48
39
|
ai: {
|
|
49
40
|
/**
|
|
50
41
|
* AI provider to use.
|
|
@@ -108,21 +99,30 @@ const config = {
|
|
|
108
99
|
*/
|
|
109
100
|
saveComponents: false,
|
|
110
101
|
},
|
|
102
|
+
dictionary: {
|
|
103
|
+
/**
|
|
104
|
+
* Controls how dictionaries are imported.
|
|
105
|
+
* - "static": Statically imported at build time.
|
|
106
|
+
* - "dynamic": Dynamically imported using Suspense.
|
|
107
|
+
* - "fetch": Fetched dynamically via the live sync API.
|
|
108
|
+
*/
|
|
109
|
+
importMode: 'static',
|
|
110
|
+
},
|
|
111
111
|
build: {
|
|
112
112
|
/**
|
|
113
113
|
* Minify the dictionaries to reduce the bundle size.
|
|
114
114
|
*/
|
|
115
|
-
|
|
115
|
+
minify: true,
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
118
|
* Purge the unused keys in a dictionaries
|
|
119
119
|
*/
|
|
120
|
-
|
|
120
|
+
purge: true,
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* Indicates if the build should check TypeScript types
|
|
124
124
|
*/
|
|
125
|
-
checkTypes: false
|
|
125
|
+
checkTypes: false,
|
|
126
126
|
}
|
|
127
127
|
};
|
|
128
128
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* - "prefix-no-default": Prefix all except the default locale (e.g., /dashboard, /fr/dashboard).
|
|
17
17
|
* - "prefix-all": Prefix all locales (e.g., /en/dashboard, /fr/dashboard).
|
|
18
18
|
* - "no-prefix": No locale in the URL.
|
|
19
|
-
* - "search-params": Use
|
|
19
|
+
* - "search-params": Use search params to define the locale (e.g., /dashboard/?locale=en, /dashboard/?locale=fr)
|
|
20
20
|
* Default: "prefix-no-default"
|
|
21
21
|
*/
|
|
22
22
|
"mode": "prefix-no-default"
|
|
@@ -31,15 +31,6 @@
|
|
|
31
31
|
*/
|
|
32
32
|
"applicationURL": "http://localhost:3000"
|
|
33
33
|
},
|
|
34
|
-
"build": {
|
|
35
|
-
/**
|
|
36
|
-
* Controls how dictionaries are imported.
|
|
37
|
-
* - "static": Statically imported at build time.
|
|
38
|
-
* - "dynamic": Dynamically imported using Suspense.
|
|
39
|
-
* - "fetch": Fetched dynamically via the live sync API.
|
|
40
|
-
*/
|
|
41
|
-
"importMode": "static"
|
|
42
|
-
},
|
|
43
34
|
"ai": {
|
|
44
35
|
/**
|
|
45
36
|
* AI provider to use.
|
|
@@ -69,20 +60,29 @@
|
|
|
69
60
|
*/
|
|
70
61
|
"saveComponents": false
|
|
71
62
|
},
|
|
63
|
+
"dictionary": {
|
|
64
|
+
/**
|
|
65
|
+
* Controls how dictionaries are imported.
|
|
66
|
+
* - "static": Statically imported at build time.
|
|
67
|
+
* - "dynamic": Dynamically imported using Suspense.
|
|
68
|
+
* - "fetch": Fetched dynamically via the live sync API.
|
|
69
|
+
*/
|
|
70
|
+
"importMode": "static"
|
|
71
|
+
},
|
|
72
72
|
"build": {
|
|
73
73
|
/**
|
|
74
74
|
* Minify the dictionaries to reduce the bundle size.
|
|
75
75
|
*/
|
|
76
|
-
|
|
76
|
+
"minify": true,
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
* Purge the unused keys in a dictionaries
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
"purge": true,
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
84
|
* Indicates if the build should check TypeScript types
|
|
85
85
|
*/
|
|
86
|
-
"checkTypes": false
|
|
86
|
+
"checkTypes": false
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -20,7 +20,7 @@ const config = {
|
|
|
20
20
|
* - "prefix-no-default": Prefix all except the default locale (e.g., /dashboard, /fr/dashboard).
|
|
21
21
|
* - "prefix-all": Prefix all locales (e.g., /en/dashboard, /fr/dashboard).
|
|
22
22
|
* - "no-prefix": No locale in the URL.
|
|
23
|
-
* - "search-params": Use
|
|
23
|
+
* - "search-params": Use search params to define the locale (e.g., /dashboard/?locale=en, /dashboard/?locale=fr)
|
|
24
24
|
* Default: "prefix-no-default"
|
|
25
25
|
*/
|
|
26
26
|
mode: 'prefix-no-default',
|
|
@@ -36,15 +36,6 @@ const config = {
|
|
|
36
36
|
*/
|
|
37
37
|
applicationURL: 'http://localhost:3000',
|
|
38
38
|
},
|
|
39
|
-
dictionary: {
|
|
40
|
-
/**
|
|
41
|
-
* Controls how dictionaries are imported.
|
|
42
|
-
* - "static": Statically imported at build time.
|
|
43
|
-
* - "dynamic": Dynamically imported using Suspense.
|
|
44
|
-
* - "fetch": Fetched dynamically via the live sync API.
|
|
45
|
-
*/
|
|
46
|
-
importMode: 'static',
|
|
47
|
-
},
|
|
48
39
|
ai: {
|
|
49
40
|
/**
|
|
50
41
|
* AI provider to use.
|
|
@@ -108,21 +99,30 @@ const config = {
|
|
|
108
99
|
*/
|
|
109
100
|
saveComponents: false,
|
|
110
101
|
},
|
|
102
|
+
dictionary: {
|
|
103
|
+
/**
|
|
104
|
+
* Controls how dictionaries are imported.
|
|
105
|
+
* - "static": Statically imported at build time.
|
|
106
|
+
* - "dynamic": Dynamically imported using Suspense.
|
|
107
|
+
* - "fetch": Fetched dynamically via the live sync API.
|
|
108
|
+
*/
|
|
109
|
+
importMode: 'static',
|
|
110
|
+
},
|
|
111
111
|
build: {
|
|
112
112
|
/**
|
|
113
113
|
* Minify the dictionaries to reduce the bundle size.
|
|
114
114
|
*/
|
|
115
|
-
|
|
115
|
+
minify: true,
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
118
|
* Purge the unused keys in a dictionaries
|
|
119
119
|
*/
|
|
120
|
-
|
|
120
|
+
purge: true,
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* Indicates if the build should check TypeScript types
|
|
124
124
|
*/
|
|
125
|
-
checkTypes: false
|
|
125
|
+
checkTypes: false,
|
|
126
126
|
}
|
|
127
127
|
};
|
|
128
128
|
|
|
@@ -19,7 +19,7 @@ const config: IntlayerConfig = {
|
|
|
19
19
|
* - "prefix-no-default": Prefix all except the default locale (e.g., /dashboard, /fr/dashboard).
|
|
20
20
|
* - "prefix-all": Prefix all locales (e.g., /en/dashboard, /fr/dashboard).
|
|
21
21
|
* - "no-prefix": No locale in the URL.
|
|
22
|
-
* - "search-params": Use
|
|
22
|
+
* - "search-params": Use search params to define the locale (e.g., /dashboard/?locale=en, /dashboard/?locale=fr)
|
|
23
23
|
* Default: "prefix-no-default"
|
|
24
24
|
*/
|
|
25
25
|
mode: 'prefix-no-default',
|
|
@@ -35,15 +35,6 @@ const config: IntlayerConfig = {
|
|
|
35
35
|
*/
|
|
36
36
|
applicationURL: 'http://localhost:3000',
|
|
37
37
|
},
|
|
38
|
-
dictionary: {
|
|
39
|
-
/**
|
|
40
|
-
* Controls how dictionaries are imported.
|
|
41
|
-
* - "static": Statically imported at build time.
|
|
42
|
-
* - "dynamic": Dynamically imported using Suspense.
|
|
43
|
-
* - "fetch": Fetched dynamically via the live sync API.
|
|
44
|
-
*/
|
|
45
|
-
importMode: 'static',
|
|
46
|
-
},
|
|
47
38
|
ai: {
|
|
48
39
|
/**
|
|
49
40
|
* AI provider to use.
|
|
@@ -107,21 +98,30 @@ const config: IntlayerConfig = {
|
|
|
107
98
|
*/
|
|
108
99
|
saveComponents: false,
|
|
109
100
|
},
|
|
101
|
+
dictionary: {
|
|
102
|
+
/**
|
|
103
|
+
* Controls how dictionaries are imported.
|
|
104
|
+
* - "static": Statically imported at build time.
|
|
105
|
+
* - "dynamic": Dynamically imported using Suspense.
|
|
106
|
+
* - "fetch": Fetched dynamically via the live sync API.
|
|
107
|
+
*/
|
|
108
|
+
importMode: 'static',
|
|
109
|
+
},
|
|
110
110
|
build: {
|
|
111
111
|
/**
|
|
112
112
|
* Minify the dictionaries to reduce the bundle size.
|
|
113
113
|
*/
|
|
114
|
-
|
|
114
|
+
minify: true,
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
117
|
* Purge the unused keys in a dictionaries
|
|
118
118
|
*/
|
|
119
|
-
|
|
119
|
+
purge: true,
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* Indicates if the build should check TypeScript types
|
|
123
123
|
*/
|
|
124
|
-
checkTypes: false
|
|
124
|
+
checkTypes: false,
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
127
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/chokidar",
|
|
3
|
-
"version": "8.7.0
|
|
3
|
+
"version": "8.7.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.",
|
|
6
6
|
"keywords": [
|
|
@@ -109,13 +109,13 @@
|
|
|
109
109
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
110
110
|
},
|
|
111
111
|
"dependencies": {
|
|
112
|
-
"@intlayer/api": "8.7.0
|
|
113
|
-
"@intlayer/config": "8.7.0
|
|
114
|
-
"@intlayer/core": "8.7.0
|
|
115
|
-
"@intlayer/dictionaries-entry": "8.7.0
|
|
116
|
-
"@intlayer/remote-dictionaries-entry": "8.7.0
|
|
117
|
-
"@intlayer/types": "8.7.0
|
|
118
|
-
"@intlayer/unmerged-dictionaries-entry": "8.7.0
|
|
112
|
+
"@intlayer/api": "8.7.0",
|
|
113
|
+
"@intlayer/config": "8.7.0",
|
|
114
|
+
"@intlayer/core": "8.7.0",
|
|
115
|
+
"@intlayer/dictionaries-entry": "8.7.0",
|
|
116
|
+
"@intlayer/remote-dictionaries-entry": "8.7.0",
|
|
117
|
+
"@intlayer/types": "8.7.0",
|
|
118
|
+
"@intlayer/unmerged-dictionaries-entry": "8.7.0",
|
|
119
119
|
"chokidar": "3.6.0",
|
|
120
120
|
"defu": "6.1.7",
|
|
121
121
|
"fast-glob": "3.3.3",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"rimraf": "6.1.3",
|
|
132
132
|
"tsdown": "0.21.7",
|
|
133
133
|
"typescript": "6.0.2",
|
|
134
|
-
"vitest": "4.1.
|
|
134
|
+
"vitest": "4.1.4",
|
|
135
135
|
"zod": "4.3.6"
|
|
136
136
|
},
|
|
137
137
|
"engines": {
|