@joshwooding/vite-plugin-react-docgen-typescript
Advanced tools
Comparing version 0.0.5 to 0.1.0
@@ -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 }; |
{ | ||
"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
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
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
6
555
0
21822
8
+ Added@esbuild/android-arm@0.15.18(transitive)
+ Added@esbuild/linux-loong64@0.15.18(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Addedesbuild@0.15.18(transitive)
+ Addedesbuild-android-64@0.15.18(transitive)
+ Addedesbuild-android-arm64@0.15.18(transitive)
+ Addedesbuild-darwin-64@0.15.18(transitive)
+ Addedesbuild-darwin-arm64@0.15.18(transitive)
+ Addedesbuild-freebsd-64@0.15.18(transitive)
+ Addedesbuild-freebsd-arm64@0.15.18(transitive)
+ Addedesbuild-linux-32@0.15.18(transitive)
+ Addedesbuild-linux-64@0.15.18(transitive)
+ Addedesbuild-linux-arm@0.15.18(transitive)
+ Addedesbuild-linux-arm64@0.15.18(transitive)
+ Addedesbuild-linux-mips64le@0.15.18(transitive)
+ Addedesbuild-linux-ppc64le@0.15.18(transitive)
+ Addedesbuild-linux-riscv64@0.15.18(transitive)
+ Addedesbuild-linux-s390x@0.15.18(transitive)
+ Addedesbuild-netbsd-64@0.15.18(transitive)
+ Addedesbuild-openbsd-64@0.15.18(transitive)
+ Addedesbuild-sunos-64@0.15.18(transitive)
+ Addedesbuild-windows-32@0.15.18(transitive)
+ Addedesbuild-windows-64@0.15.18(transitive)
+ Addedesbuild-windows-arm64@0.15.18(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedis-core-module@2.15.1(transitive)
+ Addedmagic-string@0.27.0(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedresolve@1.22.8(transitive)
+ Addedrollup@2.79.2(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedvite@3.2.11(transitive)
- Removed@rollup/pluginutils@^4.2.1
- Removed@esbuild/aix-ppc64@0.21.5(transitive)
- Removed@esbuild/android-arm@0.21.5(transitive)
- Removed@esbuild/android-arm64@0.21.5(transitive)
- Removed@esbuild/android-x64@0.21.5(transitive)
- Removed@esbuild/darwin-arm64@0.21.5(transitive)
- Removed@esbuild/darwin-x64@0.21.5(transitive)
- Removed@esbuild/freebsd-arm64@0.21.5(transitive)
- Removed@esbuild/freebsd-x64@0.21.5(transitive)
- Removed@esbuild/linux-arm@0.21.5(transitive)
- Removed@esbuild/linux-arm64@0.21.5(transitive)
- Removed@esbuild/linux-ia32@0.21.5(transitive)
- Removed@esbuild/linux-loong64@0.21.5(transitive)
- Removed@esbuild/linux-mips64el@0.21.5(transitive)
- Removed@esbuild/linux-ppc64@0.21.5(transitive)
- Removed@esbuild/linux-riscv64@0.21.5(transitive)
- Removed@esbuild/linux-s390x@0.21.5(transitive)
- Removed@esbuild/linux-x64@0.21.5(transitive)
- Removed@esbuild/netbsd-x64@0.21.5(transitive)
- Removed@esbuild/openbsd-x64@0.21.5(transitive)
- Removed@esbuild/sunos-x64@0.21.5(transitive)
- Removed@esbuild/win32-arm64@0.21.5(transitive)
- Removed@esbuild/win32-ia32@0.21.5(transitive)
- Removed@esbuild/win32-x64@0.21.5(transitive)
- Removed@rollup/pluginutils@4.2.1(transitive)
- Removed@rollup/rollup-android-arm-eabi@4.22.5(transitive)
- Removed@rollup/rollup-android-arm64@4.22.5(transitive)
- Removed@rollup/rollup-darwin-arm64@4.22.5(transitive)
- Removed@rollup/rollup-darwin-x64@4.22.5(transitive)
- Removed@rollup/rollup-linux-arm-gnueabihf@4.22.5(transitive)
- Removed@rollup/rollup-linux-arm-musleabihf@4.22.5(transitive)
- Removed@rollup/rollup-linux-arm64-gnu@4.22.5(transitive)
- Removed@rollup/rollup-linux-arm64-musl@4.22.5(transitive)
- Removed@rollup/rollup-linux-powerpc64le-gnu@4.22.5(transitive)
- Removed@rollup/rollup-linux-riscv64-gnu@4.22.5(transitive)
- Removed@rollup/rollup-linux-s390x-gnu@4.22.5(transitive)
- Removed@rollup/rollup-linux-x64-gnu@4.22.5(transitive)
- Removed@rollup/rollup-linux-x64-musl@4.22.5(transitive)
- Removed@rollup/rollup-win32-arm64-msvc@4.22.5(transitive)
- Removed@rollup/rollup-win32-ia32-msvc@4.22.5(transitive)
- Removed@rollup/rollup-win32-x64-msvc@4.22.5(transitive)
- Removed@types/estree@1.0.6(transitive)
- Removedesbuild@0.21.5(transitive)
- Removedestree-walker@2.0.2(transitive)
- Removedmagic-string@0.26.7(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedrollup@4.22.5(transitive)
- Removedsourcemap-codec@1.4.8(transitive)
- Removedvite@5.4.8(transitive)
Updatedmagic-string@^0.27.0