Skip to content

Commit cefc4b0

Browse files
committed
1 parent 089b1f5 commit cefc4b0

File tree

3 files changed

+57
-157
lines changed

3 files changed

+57
-157
lines changed

langnostic.config.ts

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ConfigType } from 'langnostic';
22

3-
const config: ConfigType = {
3+
export default {
44
ai: {
55
provider: 'google',
66
},
@@ -14,14 +14,10 @@ const config: ConfigType = {
1414
plugin: 'mdx',
1515
paths: [
1616
{
17-
source:
18-
'./questions/can-you-offer-a-use-case-for-the-new-arrow-function-syntax-how-does-this-new-syntax-differ-from-other-functions/en-US.mdx',
19-
target:
20-
'./questions/can-you-offer-a-use-case-for-the-new-arrow-function-syntax-how-does-this-new-syntax-differ-from-other-functions/{locale}.mdx',
17+
source: './questions/*/en-US.mdx',
18+
target: './questions/*/{locale}.mdx',
2119
},
2220
],
2321
},
2422
],
25-
};
26-
27-
export default config;
23+
} satisfies ConfigType;

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"github-slugger": "^2.0.0",
2121
"globby": "^14.0.1",
2222
"gray-matter": "^4.0.3",
23-
"langnostic": "^0.0.3",
23+
"langnostic": "^0.0.5",
2424
"lodash-es": "^4.17.21",
2525
"tsx": "^4.15.1"
2626
},

0 commit comments

Comments
 (0)