@joshwooding/vite-plugin-react-docgen-typescript
Advanced tools
Comparing version 0.1.0 to 0.2.0
import { Plugin } from 'vite'; | ||
import * as ts from 'typescript'; | ||
import * as docGen from 'react-docgen-typescript'; | ||
import * as ts from 'typescript'; | ||
@@ -45,4 +45,5 @@ interface LoaderOptions { | ||
type Options = LoaderOptions & TypescriptOptions & DocGenOptions; | ||
declare function reactDocgenTypescript(config?: Options): Plugin; | ||
export { Options, reactDocgenTypescript as default }; | ||
export { reactDocgenTypescript as default }; |
{ | ||
"name": "@joshwooding/vite-plugin-react-docgen-typescript", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "A vite plugin to inject react typescript docgen information", | ||
"author": "Josh Wooding", | ||
"license": "MIT", | ||
"keywords": [ | ||
"vite", | ||
"vite-plugin", | ||
"react-docgen-typescript" | ||
], | ||
"repository": { | ||
@@ -11,11 +14,4 @@ "type": "git", | ||
}, | ||
"files": [ | ||
"dist/**/*", | ||
"README.md", | ||
"*.js", | ||
"*.d.ts" | ||
], | ||
"main": "./dist/index.cjs", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"license": "MIT", | ||
"author": "Josh Wooding", | ||
"exports": { | ||
@@ -28,2 +24,11 @@ ".": { | ||
}, | ||
"main": "./dist/index.cjs", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
"dist/**/*", | ||
"README.md", | ||
"*.js", | ||
"*.d.ts" | ||
], | ||
"scripts": { | ||
@@ -35,6 +40,2 @@ "build": "unbuild", | ||
}, | ||
"peerDependencies": { | ||
"typescript": ">= 4.3.x", | ||
"vite": "^3.0.0" | ||
}, | ||
"dependencies": { | ||
@@ -56,8 +57,12 @@ "glob": "^7.2.0", | ||
}, | ||
"keywords": [ | ||
"vite", | ||
"vite-plugin", | ||
"react-docgen-typescript" | ||
], | ||
"peerDependencies": { | ||
"typescript": ">= 4.3.x", | ||
"vite": "^3.0.0 || ^4.0.0" | ||
}, | ||
"peerDependenciesMeta": { | ||
"typescript": { | ||
"optional": true | ||
} | ||
}, | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24072
10
646
1