Socket
Socket
Sign inDemoInstall

@joshwooding/vite-plugin-react-docgen-typescript

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@joshwooding/vite-plugin-react-docgen-typescript - npm Package Compare versions

Comparing version 0.0.5 to 0.1.0

12

dist/index.d.ts

@@ -7,10 +7,2 @@ import { Plugin } from 'vite';

/**
* Specify the docgen collection name to use. All docgen information will
* be collected into this global object. Set to null to disable.
*
* @default STORYBOOK_REACT_CLASSES
* @see https://github.com/gongreg/react-storybook-addon-docgen
**/
docgenCollectionName?: string | null;
/**
* Automatically set the component's display name. If you want to set display

@@ -47,3 +39,3 @@ * names yourself or are using another plugin to do this, you should disable

}
declare type DocGenOptions = docGen.ParserOptions & {
type DocGenOptions = docGen.ParserOptions & {
/** Glob patterns to ignore */

@@ -54,5 +46,5 @@ exclude?: string[];

};
declare type Options = LoaderOptions & TypescriptOptions & DocGenOptions;
type Options = LoaderOptions & TypescriptOptions & DocGenOptions;
declare function reactDocgenTypescript(config?: Options): Plugin;
export { Options, reactDocgenTypescript as default };

24

package.json
{
"name": "@joshwooding/vite-plugin-react-docgen-typescript",
"version": "0.0.5",
"version": "0.1.0",
"description": "A vite plugin to inject react typescript docgen information",

@@ -29,4 +29,4 @@ "author": "Josh Wooding",

"build": "unbuild",
"prepare": "yarn build",
"prettier": "prettier --write . --ignore-path .gitignore",
"rome": "rome format . --write",
"rome:check": "rome format .",
"test": "vitest"

@@ -36,19 +36,19 @@ },

"typescript": ">= 4.3.x",
"vite": ">2.0.0-0"
"vite": "^3.0.0"
},
"dependencies": {
"@rollup/pluginutils": "^4.2.1",
"glob": "^7.2.0",
"glob-promise": "^4.2.0",
"magic-string": "^0.26.1",
"react-docgen-typescript": "^2.1.1"
"magic-string": "^0.27.0",
"react-docgen-typescript": "^2.2.2"
},
"devDependencies": {
"@changesets/cli": "^2.25.2",
"@types/react": "^17.0.38",
"prettier": "^2.0.5",
"react": "^17.0.2",
"rome": "^11.0.0",
"typescript": "^4.3.0",
"unbuild": "^0.7.4",
"vite": "latest",
"vitest": "^0.2.5"
"unbuild": "^1.0.2",
"vite": "^3.2.5",
"vitest": "^0.25.8"
},

@@ -60,3 +60,3 @@ "keywords": [

],
"packageManager": "yarn@3.1.1"
"packageManager": "yarn@3.2.4"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc