@sapphire/docusaurus-plugin-ts2esm2cjs 2.0.2-next.bd3ebe2.0 โ†’ 2.0.2-next.fafceb7.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/CHANGELOG.md CHANGED
@@ -6,63 +6,63 @@ All notable changes to this project will be documented in this file.
6
6
 
7
7
  ## ๐Ÿ› Bug Fixes
8
8
 
9
- - **deps:** Update unified to 11.0.4 ([376dbfc](https://github.com/sapphiredev/documentation-plugins/commit/376dbfc24a8fe790cbd02343fa9a4a2c25ec0466))
9
+ - **deps:** Update unified to 11.0.4 ([376dbfc](https://github.com/sapphiredev/documentation-plugins/commit/376dbfc24a8fe790cbd02343fa9a4a2c25ec0466))
10
10
 
11
11
  # [@sapphire/docusaurus-plugin-ts2esm2cjs@2.0.0](https://github.com/sapphiredev/documentation-plugins/compare/@sapphire/docusaurus-plugin-ts2esm2cjs@2.0.0...@sapphire/docusaurus-plugin-ts2esm2cjs@2.0.0) - (2023-11-05)
12
12
 
13
13
  ## ๐Ÿ› Bug Fixes
14
14
 
15
- - **ts2esm2cjs:** Add support for Docusaurus V3 ([4d1d170](https://github.com/sapphiredev/documentation-plugins/commit/4d1d1709f9fc66eac8dba371d1895b2c7e8b51d1))
16
- - ๐Ÿ’ฅ **BREAKING CHANGE:** Docusaurus v3 support was added which means support for MDX v1 has been dropped and support for MDX v3 has been added.
15
+ - **ts2esm2cjs:** Add support for Docusaurus V3 ([4d1d170](https://github.com/sapphiredev/documentation-plugins/commit/4d1d1709f9fc66eac8dba371d1895b2c7e8b51d1))
16
+ - ๐Ÿ’ฅ **BREAKING CHANGE:** Docusaurus v3 support was added which means support for MDX v1 has been dropped and support for MDX v3 has been added.
17
17
 
18
18
  # [@sapphire/docusaurus-plugin-ts2esm2cjs@1.1.6](https://github.com/sapphiredev/documentation-plugins/compare/@sapphire/docusaurus-plugin-ts2esm2cjs@1.1.5...@sapphire/docusaurus-plugin-ts2esm2cjs@1.1.6) - (2023-08-29)
19
19
 
20
20
  ## ๐Ÿ› Bug Fixes
21
21
 
22
- - **ts2esm2cjs:** Update export mapping ([69ab926](https://github.com/sapphiredev/documentation-plugins/commit/69ab926773b235aeaad5182c841e9cf92fcb5580))
22
+ - **ts2esm2cjs:** Update export mapping ([69ab926](https://github.com/sapphiredev/documentation-plugins/commit/69ab926773b235aeaad5182c841e9cf92fcb5580))
23
23
 
24
24
  # [@sapphire/docusaurus-plugin-ts2esm2cjs@1.1.5](https://github.com/sapphiredev/documentation-plugins/compare/@sapphire/docusaurus-plugin-ts2esm2cjs@1.1.4...@sapphire/docusaurus-plugin-ts2esm2cjs@1.1.5) - (2023-08-20)
25
25
 
26
26
  ## ๐Ÿ› Bug Fixes
27
27
 
28
- - **ts2esm2cjs:** Remove dependency on @sapphire/prettier-config ([ef09164](https://github.com/sapphiredev/documentation-plugins/commit/ef09164877ee21fe8c7657b9027c74131092154e))
28
+ - **ts2esm2cjs:** Remove dependency on @sapphire/prettier-config ([ef09164](https://github.com/sapphiredev/documentation-plugins/commit/ef09164877ee21fe8c7657b9027c74131092154e))
29
29
 
30
30
  # [@sapphire/docusaurus-plugin-ts2esm2cjs@1.1.4](https://github.com/sapphiredev/documentation-plugins/compare/@sapphire/docusaurus-plugin-ts2esm2cjs@1.1.3...@sapphire/docusaurus-plugin-ts2esm2cjs@1.1.4) - (2023-08-07)
31
31
 
32
32
  ## ๐Ÿ  Refactor
33
33
 
34
- - **ts2esm2cjs:** Split off and export transform `ts2esm` and `esm2cjs` functions ([dcd3630](https://github.com/sapphiredev/documentation-plugins/commit/dcd3630b8fe565f4df1edb4d417104cebd376eab))
34
+ - **ts2esm2cjs:** Split off and export transform `ts2esm` and `esm2cjs` functions ([dcd3630](https://github.com/sapphiredev/documentation-plugins/commit/dcd3630b8fe565f4df1edb4d417104cebd376eab))
35
35
 
36
36
  ## ๐Ÿ› Bug Fixes
37
37
 
38
- - **ts2esm2cjs:** Switch to @prettier/sync ([72b8bf7](https://github.com/sapphiredev/documentation-plugins/commit/72b8bf7872841984b5901e04ce906352c215d769))
39
- - **deps:** Update dependency @sapphire/prettier-config to ^1.4.5 ([ca06c4b](https://github.com/sapphiredev/documentation-plugins/commit/ca06c4b3111898fc19c154e0177b607368ce0151))
38
+ - **ts2esm2cjs:** Switch to @prettier/sync ([72b8bf7](https://github.com/sapphiredev/documentation-plugins/commit/72b8bf7872841984b5901e04ce906352c215d769))
39
+ - **deps:** Update dependency @sapphire/prettier-config to ^1.4.5 ([ca06c4b](https://github.com/sapphiredev/documentation-plugins/commit/ca06c4b3111898fc19c154e0177b607368ce0151))
40
40
 
41
41
  ## ๐Ÿ“ Documentation
42
42
 
43
- - Add @vladfrangu as a contributor ([cd26f50](https://github.com/sapphiredev/documentation-plugins/commit/cd26f50dffcd964a86bd0b0431615621a472dba7))
43
+ - Add @vladfrangu as a contributor ([cd26f50](https://github.com/sapphiredev/documentation-plugins/commit/cd26f50dffcd964a86bd0b0431615621a472dba7))
44
44
 
45
45
  ## ๐Ÿงช Testing
46
46
 
47
- - **ts2esm:** Add unit tests ([a2ea21a](https://github.com/sapphiredev/documentation-plugins/commit/a2ea21ac2d94801a054aaa9f17e31b02e80bee02))
47
+ - **ts2esm:** Add unit tests ([a2ea21a](https://github.com/sapphiredev/documentation-plugins/commit/a2ea21ac2d94801a054aaa9f17e31b02e80bee02))
48
48
 
49
49
  # [@sapphire/docusaurus-plugin-ts2esm2cjs@1.1.2](https://github.com/sapphiredev/documentation-plugins/compare/@sapphire/docusaurus-plugin-ts2esm2cjs@1.1.0...@sapphire/docusaurus-plugin-ts2esm2cjs@1.1.2) - (2022-07-11)
50
50
 
51
51
  ## ๐Ÿ› Bug Fixes
52
52
 
53
- - Manually set versions ([05f4d16](https://github.com/sapphiredev/documentation-plugins/commit/05f4d16dcd5673a208e4ec191e659b3cbd2dc95a))
53
+ - Manually set versions ([05f4d16](https://github.com/sapphiredev/documentation-plugins/commit/05f4d16dcd5673a208e4ec191e659b3cbd2dc95a))
54
54
 
55
55
  # [@sapphire/docusaurus-plugin-ts2esm2cjs@1.1.0](https://github.com/sapphiredev/documentation-plugins/compare/@sapphire/docusaurus-plugin-ts2esm2cjs@1.0.3...@sapphire/docusaurus-plugin-ts2esm2cjs@1.1.0) - (2022-05-15)
56
56
 
57
57
  ## ๐Ÿ› Bug Fixes
58
58
 
59
- - Restore tsup (reverts 7411ff7) ([7df536b](https://github.com/sapphiredev/documentation-plugins/commit/7df536bd871b45d0cfa65816684bc691b4735bc0))
60
- - Remove tsup ([7411ff7](https://github.com/sapphiredev/documentation-plugins/commit/7411ff79624eec777519a2a049c8d3f026871cac))
61
- - **ts2esm2cjs:** Ensure compatibility with docusaurus v2 beta 20 ([c1c4716](https://github.com/sapphiredev/documentation-plugins/commit/c1c4716ac51f3ad28099dd9bf13dabe064b014bb))
59
+ - Restore tsup (reverts 7411ff7) ([7df536b](https://github.com/sapphiredev/documentation-plugins/commit/7df536bd871b45d0cfa65816684bc691b4735bc0))
60
+ - Remove tsup ([7411ff7](https://github.com/sapphiredev/documentation-plugins/commit/7411ff79624eec777519a2a049c8d3f026871cac))
61
+ - **ts2esm2cjs:** Ensure compatibility with docusaurus v2 beta 20 ([c1c4716](https://github.com/sapphiredev/documentation-plugins/commit/c1c4716ac51f3ad28099dd9bf13dabe064b014bb))
62
62
 
63
63
  ## ๐Ÿš€ Features
64
64
 
65
- - Allow module: NodeNext ([8221bc2](https://github.com/sapphiredev/documentation-plugins/commit/8221bc2668fd1ad9c2e80c3c6a1503ae27bfc632))
65
+ - Allow module: NodeNext ([8221bc2](https://github.com/sapphiredev/documentation-plugins/commit/8221bc2668fd1ad9c2e80c3c6a1503ae27bfc632))
66
66
 
67
67
  ## [1.0.3](https://github.com/sapphiredev/documentation-plugins/compare/@sapphire/docusaurus-plugin-ts2esm2cjs@1.0.2...@sapphire/docusaurus-plugin-ts2esm2cjs@1.0.3) (2022-01-13)
68
68
 
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
- module.exports = {
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: [[require('@sapphire/docusaurus-plugin-ts2esm2cjs')]]
37
+ remarkPlugins: [ts2esm2cjs]
36
38
  },
37
39
  pages: {
38
- remarkPlugins: [require('@sapphire/docusaurus-plugin-ts2esm2cjs')]
40
+ remarkPlugins: [ts2esm2cjs]
39
41
  },
40
42
  blog: {
41
43
  // ...
package/dist/index.d.mts CHANGED
@@ -19,4 +19,4 @@ declare function esm2cjs(input: string, options: PluginOptions): string;
19
19
 
20
20
  declare const ts2esm2cjs: Plugin<[PluginOptions?]>;
21
21
 
22
- export { PluginOptions, esm2cjs, ts2esm, ts2esm2cjs };
22
+ export { type PluginOptions, esm2cjs, ts2esm, ts2esm2cjs };
package/dist/index.d.ts CHANGED
@@ -19,4 +19,4 @@ declare function esm2cjs(input: string, options: PluginOptions): string;
19
19
 
20
20
  declare const ts2esm2cjs: Plugin<[PluginOptions?]>;
21
21
 
22
- export { PluginOptions, esm2cjs, ts2esm, ts2esm2cjs };
22
+ export { type PluginOptions, esm2cjs, ts2esm, ts2esm2cjs };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire/docusaurus-plugin-ts2esm2cjs",
3
- "version": "2.0.2-next.bd3ebe2.0",
3
+ "version": "2.0.2-next.fafceb7.0",
4
4
  "description": "Docusaurus Remark plugin for converting TypeScript code to ESM and CJS code",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
@@ -67,9 +67,9 @@
67
67
  "access": "public"
68
68
  },
69
69
  "devDependencies": {
70
- "@favware/cliff-jumper": "^2.2.1",
71
- "@sapphire/framework": "^4.7.2",
72
- "tsup": "^7.2.0",
70
+ "@favware/cliff-jumper": "^2.2.3",
71
+ "@sapphire/framework": "^4.8.2",
72
+ "tsup": "^7.3.0",
73
73
  "vitest": "^0.34.6"
74
74
  }
75
75
  }