@sapphire/docusaurus-plugin-npm2yarn2pnpm 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 +20 -20
- package/README.md +5 -3
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -6,76 +6,76 @@ All notable changes to this project will be documented in this file.
|
|
|
6
6
|
|
|
7
7
|
## ๐ Bug Fixes
|
|
8
8
|
|
|
9
|
-
-
|
|
9
|
+
- Actually read convertToBun option when assigning tab children ([8577f6e](https://github.com/sapphiredev/documentation-plugins/commit/8577f6ecd0e2c052af8b6992bd90388c8a03e255))
|
|
10
10
|
|
|
11
11
|
# [@sapphire/docusaurus-plugin-npm2yarn2pnpm@2.0.0](https://github.com/sapphiredev/documentation-plugins/compare/@sapphire/docusaurus-plugin-npm2yarn2pnpm@2.0.0...@sapphire/docusaurus-plugin-npm2yarn2pnpm@2.0.0) - (2023-11-05)
|
|
12
12
|
|
|
13
13
|
## ๐ Refactor
|
|
14
14
|
|
|
15
|
-
-
|
|
16
|
-
|
|
15
|
+
- **npm2yarn2pnpm:** Remove `npm2yarn2pnpm` export ([5844fda](https://github.com/sapphiredev/documentation-plugins/commit/5844fdaa2fab61f3b0663fe2ba9f6d4c25b41dac))
|
|
16
|
+
- ๐ฅ **BREAKING CHANGE:** Previously deprecated `npm2yarn2pnpm` has been removed. Use the new `convertNpmToPackageManagers` instead.
|
|
17
17
|
|
|
18
18
|
## ๐ Bug Fixes
|
|
19
19
|
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
|
|
20
|
+
- **deps:** Update unified to 11.0.4 ([376dbfc](https://github.com/sapphiredev/documentation-plugins/commit/376dbfc24a8fe790cbd02343fa9a4a2c25ec0466))
|
|
21
|
+
- **npm2yarn2pnpm:** Add support for Docusaurus V3 ([61f0a04](https://github.com/sapphiredev/documentation-plugins/commit/61f0a041762b1551f6269727d2d7ca733ad332a6))
|
|
22
|
+
- ๐ฅ **BREAKING CHANGE:** Docusaurus v3 support was added which means support for MDX v1 has been dropped and support for MDX v3 has been added.
|
|
23
23
|
|
|
24
24
|
# [@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.2.0](https://github.com/sapphiredev/documentation-plugins/compare/@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.2.0...@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.2.0) - (2023-09-16)
|
|
25
25
|
|
|
26
26
|
## ๐ Features
|
|
27
27
|
|
|
28
|
-
-
|
|
28
|
+
- Support for the bun package manger (#187) ([7db8af9](https://github.com/sapphiredev/documentation-plugins/commit/7db8af9ab27fb79fbf1d70fdc9f7f8dcae2f529a))
|
|
29
29
|
|
|
30
30
|
# [@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.1.5](https://github.com/sapphiredev/documentation-plugins/compare/@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.1.4...@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.1.5) - (2023-08-29)
|
|
31
31
|
|
|
32
32
|
## ๐ Bug Fixes
|
|
33
33
|
|
|
34
|
-
-
|
|
34
|
+
- **npm2yarn2pnpm:** Update export mapping ([6571853](https://github.com/sapphiredev/documentation-plugins/commit/6571853fec32d28d15cc96f6ebe81fc0633d7c42))
|
|
35
35
|
|
|
36
36
|
# [@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.1.4](https://github.com/sapphiredev/documentation-plugins/compare/@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.1.3...@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.1.4) - (2022-10-08)
|
|
37
37
|
|
|
38
38
|
## ๐ Refactor
|
|
39
39
|
|
|
40
|
-
-
|
|
40
|
+
- Switch from `@armano/npm-to-yarn` to own implementation ([c4a2543](https://github.com/sapphiredev/documentation-plugins/commit/c4a254318b6ad0609c1be9c556f2dcdd7c853b3b))
|
|
41
41
|
|
|
42
42
|
## ๐ Documentation
|
|
43
43
|
|
|
44
|
-
-
|
|
44
|
+
- Add @vladfrangu as a contributor ([cd26f50](https://github.com/sapphiredev/documentation-plugins/commit/cd26f50dffcd964a86bd0b0431615621a472dba7))
|
|
45
45
|
|
|
46
46
|
# [@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.1.3](https://github.com/sapphiredev/documentation-plugins/compare/@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.1.2...@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.1.3) - (2022-07-12)
|
|
47
47
|
|
|
48
48
|
## ๐ Bug Fixes
|
|
49
49
|
|
|
50
|
-
-
|
|
50
|
+
- Use better api ([c4c171b](https://github.com/sapphiredev/documentation-plugins/commit/c4c171b566a9522db57e0c57d80d76ca75243fdf))
|
|
51
51
|
|
|
52
52
|
## ๐งช Testing
|
|
53
53
|
|
|
54
|
-
-
|
|
54
|
+
- Add yarn patch to temporarily fix package ([6345912](https://github.com/sapphiredev/documentation-plugins/commit/63459128ce6b8a846525160da4084c302e4225dc))
|
|
55
55
|
|
|
56
56
|
# [@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.1.2](https://github.com/sapphiredev/documentation-plugins/compare/@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.1.0...@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.1.2) - (2022-07-11)
|
|
57
57
|
|
|
58
58
|
## ๐ Bug Fixes
|
|
59
59
|
|
|
60
|
-
-
|
|
61
|
-
-
|
|
62
|
-
-
|
|
60
|
+
- Fixed converting pnpm with flags ([35aa88c](https://github.com/sapphiredev/documentation-plugins/commit/35aa88c7d811eaa74be673dde8f09b9fd8444972))
|
|
61
|
+
- Switch to @armano's fork of npm-to-yarn ([96fd557](https://github.com/sapphiredev/documentation-plugins/commit/96fd55735b155f784bb877c47cfb3ff1f8aff87c))
|
|
62
|
+
- Manually set versions ([05f4d16](https://github.com/sapphiredev/documentation-plugins/commit/05f4d16dcd5673a208e4ec191e659b3cbd2dc95a))
|
|
63
63
|
|
|
64
64
|
## ๐งช Testing
|
|
65
65
|
|
|
66
|
-
-
|
|
66
|
+
- Add unit tests ([dfab541](https://github.com/sapphiredev/documentation-plugins/commit/dfab541b725a5296eb6768c85365f1f1ea3e0b87))
|
|
67
67
|
|
|
68
68
|
# [@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.1.0](https://github.com/sapphiredev/documentation-plugins/compare/@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.0.3...@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.1.0) - (2022-05-15)
|
|
69
69
|
|
|
70
70
|
## ๐ Bug Fixes
|
|
71
71
|
|
|
72
|
-
-
|
|
73
|
-
-
|
|
74
|
-
-
|
|
72
|
+
- Restore tsup (reverts 7411ff7) ([7df536b](https://github.com/sapphiredev/documentation-plugins/commit/7df536bd871b45d0cfa65816684bc691b4735bc0))
|
|
73
|
+
- Remove tsup ([7411ff7](https://github.com/sapphiredev/documentation-plugins/commit/7411ff79624eec777519a2a049c8d3f026871cac))
|
|
74
|
+
- **npm2yarn2pnpm:** Ensure compatibility with docusaurus v2 beta 20 ([8aff911](https://github.com/sapphiredev/documentation-plugins/commit/8aff911be521423b465a547bb9bed9b24531533e))
|
|
75
75
|
|
|
76
76
|
## ๐ Features
|
|
77
77
|
|
|
78
|
-
-
|
|
78
|
+
- Allow module: NodeNext ([8221bc2](https://github.com/sapphiredev/documentation-plugins/commit/8221bc2668fd1ad9c2e80c3c6a1503ae27bfc632))
|
|
79
79
|
|
|
80
80
|
## [1.0.3](https://github.com/sapphiredev/documentation-plugins/compare/@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.0.2...@sapphire/docusaurus-plugin-npm2yarn2pnpm@1.0.3) (2022-01-13)
|
|
81
81
|
|
package/README.md
CHANGED
|
@@ -29,17 +29,19 @@ In your `docusaurus.config.js`, for the plugins where you need this feature (doc
|
|
|
29
29
|
|
|
30
30
|
```js
|
|
31
31
|
// docusaurus.config.js
|
|
32
|
-
|
|
32
|
+
import { convertNpmToPackageManagers } from '@sapphire/docusaurus-plugin-npm2yarn2pnpm';
|
|
33
|
+
|
|
34
|
+
export default {
|
|
33
35
|
// ...
|
|
34
36
|
presets: [
|
|
35
37
|
[
|
|
36
38
|
'@docusaurus/preset-classic',
|
|
37
39
|
{
|
|
38
40
|
docs: {
|
|
39
|
-
remarkPlugins: [
|
|
41
|
+
remarkPlugins: [convertNpmToPackageManagers]
|
|
40
42
|
},
|
|
41
43
|
pages: {
|
|
42
|
-
remarkPlugins: [
|
|
44
|
+
remarkPlugins: [convertNpmToPackageManagers]
|
|
43
45
|
},
|
|
44
46
|
blog: {
|
|
45
47
|
// ...
|
package/dist/index.d.mts
CHANGED
|
@@ -19,4 +19,4 @@ interface PluginOptions {
|
|
|
19
19
|
|
|
20
20
|
declare const convertNpmToPackageManagers: Plugin<[PluginOptions?]>;
|
|
21
21
|
|
|
22
|
-
export { PluginOptions, convertNpmToPackageManagers, npmToBun, npmToPnpm, npmToYarn };
|
|
22
|
+
export { type PluginOptions, convertNpmToPackageManagers, npmToBun, npmToPnpm, npmToYarn };
|
package/dist/index.d.ts
CHANGED
|
@@ -19,4 +19,4 @@ interface PluginOptions {
|
|
|
19
19
|
|
|
20
20
|
declare const convertNpmToPackageManagers: Plugin<[PluginOptions?]>;
|
|
21
21
|
|
|
22
|
-
export { PluginOptions, convertNpmToPackageManagers, npmToBun, npmToPnpm, npmToYarn };
|
|
22
|
+
export { type PluginOptions, convertNpmToPackageManagers, npmToBun, npmToPnpm, npmToYarn };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapphire/docusaurus-plugin-npm2yarn2pnpm",
|
|
3
|
-
"version": "2.0.2-next.
|
|
3
|
+
"version": "2.0.2-next.fafceb7.0",
|
|
4
4
|
"description": "Docusaurus Remark plugin for converting NPM Commands to Yarn and Pnpm",
|
|
5
5
|
"author": "@sapphire",
|
|
6
6
|
"license": "MIT",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@favware/cliff-jumper": "^2.2.
|
|
69
|
-
"tsup": "^7.
|
|
68
|
+
"@favware/cliff-jumper": "^2.2.3",
|
|
69
|
+
"tsup": "^7.3.0",
|
|
70
70
|
"typescript": "^5.2.2",
|
|
71
71
|
"vitest": "^0.34.6"
|
|
72
72
|
}
|