@sapphire/docusaurus-plugin-ts2esm2cjs 2.0.2-next.38a7691.0 → 2.0.2-next.5c48d04.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 +5 -3
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -25,17 +25,19 @@ In your `docusaurus.config.js`, for the plugins where you need this feature (doc
|
|
|
25
25
|
|
|
26
26
|
```js
|
|
27
27
|
// docusaurus.config.js
|
|
28
|
-
|
|
28
|
+
import { ts2esm2cjs } from '@sapphire/docusaurus-plugin-ts2esm2cjs';
|
|
29
|
+
|
|
30
|
+
export default {
|
|
29
31
|
// ...
|
|
30
32
|
presets: [
|
|
31
33
|
[
|
|
32
34
|
'@docusaurus/preset-classic',
|
|
33
35
|
{
|
|
34
36
|
docs: {
|
|
35
|
-
remarkPlugins: [
|
|
37
|
+
remarkPlugins: [ts2esm2cjs]
|
|
36
38
|
},
|
|
37
39
|
pages: {
|
|
38
|
-
remarkPlugins: [
|
|
40
|
+
remarkPlugins: [ts2esm2cjs]
|
|
39
41
|
},
|
|
40
42
|
blog: {
|
|
41
43
|
// ...
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapphire/docusaurus-plugin-ts2esm2cjs",
|
|
3
|
-
"version": "2.0.2-next.
|
|
3
|
+
"version": "2.0.2-next.5c48d04.0",
|
|
4
4
|
"description": "Docusaurus Remark plugin for converting TypeScript code to ESM and CJS code",
|
|
5
5
|
"author": "@sapphire",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@prettier/sync": "^0.3.0",
|
|
32
32
|
"esm-to-cjs": "^1.2.1",
|
|
33
33
|
"mdast-util-mdx": "^3.0.0",
|
|
34
|
-
"typescript": "^5.
|
|
34
|
+
"typescript": "^5.3.2",
|
|
35
35
|
"unified": "^11.0.4",
|
|
36
36
|
"unist-util-visit": "^5.0.0"
|
|
37
37
|
},
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@favware/cliff-jumper": "^2.2.
|
|
71
|
-
"@sapphire/framework": "^4.
|
|
72
|
-
"tsup": "^
|
|
70
|
+
"@favware/cliff-jumper": "^2.2.3",
|
|
71
|
+
"@sapphire/framework": "^4.8.3",
|
|
72
|
+
"tsup": "^8.0.1",
|
|
73
73
|
"vitest": "^0.34.6"
|
|
74
74
|
}
|
|
75
75
|
}
|