@docusaurus/remark-plugin-npm2yarn 0.0.0-4817 → 0.0.0-4818

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/lib/index.d.ts CHANGED
@@ -5,9 +5,9 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import type { Plugin } from 'unified';
8
- interface PluginOptions {
8
+ declare type PluginOptions = {
9
9
  sync?: boolean;
10
- }
10
+ };
11
11
  declare const plugin: Plugin<[PluginOptions?]>;
12
12
  export = plugin;
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,SAAS,CAAC;AAKpC,UAAU,aAAa;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AA8CD,QAAA,MAAM,MAAM,EAAE,MAAM,CAAC,CAAC,aAAa,CAAC,CAAC,CA4BpC,CAAC;AAIF,SAAS,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,SAAS,CAAC;AAKpC,aAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AA8CF,QAAA,MAAM,MAAM,EAAE,MAAM,CAAC,CAAC,aAAa,CAAC,CAAC,CA4BpC,CAAC;AAIF,SAAS,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/remark-plugin-npm2yarn",
3
- "version": "0.0.0-4817",
3
+ "version": "0.0.0-4818",
4
4
  "description": "Remark plugin for converting npm commands to Yarn commands as tabs.",
5
5
  "main": "lib/index.js",
6
6
  "publishConfig": {
@@ -30,5 +30,5 @@
30
30
  "engines": {
31
31
  "node": ">=14"
32
32
  },
33
- "gitHead": "d2181da8a609f19e54eebc8d1c0cf2909a70cfa9"
33
+ "gitHead": "0ea48452c51db14e48c6395071903307663e2281"
34
34
  }
package/src/index.ts CHANGED
@@ -11,9 +11,9 @@ import type {Node, Parent} from 'unist';
11
11
  import visit from 'unist-util-visit';
12
12
  import npmToYarn from 'npm-to-yarn';
13
13
 
14
- interface PluginOptions {
14
+ type PluginOptions = {
15
15
  sync?: boolean;
16
- }
16
+ };
17
17
 
18
18
  // E.g. global install: 'npm i' -> 'yarn'
19
19
  const convertNpmToYarn = (npmCode: string) => npmToYarn(npmCode, 'yarn');