@sapphire/docusaurus-plugin-npm2yarn2pnpm 2.0.2-next.f989829.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/README.md +5 -3
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +3 -3
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
|
}
|