@storybook/addon-designs
Advanced tools
Comparing version 8.0.0-next.1 to 8.0.0
135
package.json
{ | ||
"name": "@storybook/addon-designs", | ||
"version": "8.0.0-next.1", | ||
"version": "8.0.0", | ||
"description": "Storybook addon for embedding your design preview in addon panel", | ||
"main": "cjs/index.js", | ||
"module": "esm/index.js", | ||
"types": "esm/index.d.ts", | ||
"keywords": [ | ||
"storybook-addon", | ||
"design", | ||
"figma", | ||
"figspec", | ||
"image", | ||
"preview" | ||
], | ||
"homepage": "https://github.com/storybookjs/addon-designs", | ||
"repository": "git@github.com:storybookjs/addon-designs.git", | ||
"homepage": "https://github.com/storybookjs/addon-designs", | ||
"license": "MIT", | ||
"author": "pocka <pockawoooh@gmail.com>", | ||
"license": "MIT", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js" | ||
}, | ||
"./blocks": "./dist/blocks.mjs", | ||
"./preset": "./dist/preset.js", | ||
"./package.json": "./package.json" | ||
}, | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"esm", | ||
"cjs", | ||
"blocks.js", | ||
"blocks.d.ts", | ||
"register.js", | ||
"register-tab.js", | ||
"preset.js" | ||
"dist/**/*", | ||
"README.md", | ||
"*.js", | ||
"*.d.ts" | ||
], | ||
"scripts": { | ||
"build": "tsup", | ||
"build:watch": "npm run build -- --watch", | ||
"prepublishOnly": "cp ../../README.md ./ && npm run build", | ||
"release": "npm run prepublishOnly && auto shipit", | ||
"test": "echo 'No tests' && exit 0" | ||
}, | ||
"dependencies": { | ||
@@ -25,29 +47,35 @@ "@figspec/react": "^1.0.0" | ||
"devDependencies": { | ||
"@auto-it/released": "^11.0.1", | ||
"@figspec/components": "^1.0.0", | ||
"@storybook/addon-docs": "^8.0.0-alpha.10 || ^8.0.0", | ||
"@storybook/components": "^8.0.0-alpha.10 || ^8.0.0", | ||
"@storybook/core-events": "^8.0.0-alpha.10 || ^8.0.0", | ||
"@storybook/manager-api": "^8.0.0-alpha.10 || ^8.0.0", | ||
"@storybook/preview-api": "^8.0.0-alpha.10 || ^8.0.0", | ||
"@storybook/theming": "^8.0.0-alpha.10 || ^8.0.0", | ||
"@types/react": "^18.2.0", | ||
"@types/react-dom": "^18.2.0", | ||
"@types/webpack-env": "^1.13.9", | ||
"auto": "^11.0.1", | ||
"figma-js": "^1.13.0", | ||
"@auto-it/released": "^11.1.1", | ||
"@storybook/components": "^8.0.0", | ||
"@storybook/core-events": "^8.0.0", | ||
"@storybook/manager-api": "^8.0.0", | ||
"@storybook/preview-api": "^8.0.0", | ||
"@storybook/theming": "^8.0.0", | ||
"@types/react": "^18.2.65", | ||
"@types/react-dom": "^18.2.21", | ||
"@types/webpack-env": "^1.18.4", | ||
"auto": "^11.1.1", | ||
"figma-js": "^1.16.0", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"typescript": "^4.7.3" | ||
"tsup": "^8.0.2", | ||
"typescript": "^5.4.2" | ||
}, | ||
"peerDependencies": { | ||
"@storybook/addon-docs": "^8.0.0-alpha.10 || ^8.0.0", | ||
"@storybook/components": "^8.0.0-alpha.10 || ^8.0.0", | ||
"@storybook/manager-api": "^8.0.0-alpha.10 || ^8.0.0", | ||
"@storybook/preview-api": "^8.0.0-alpha.10 || ^8.0.0", | ||
"@storybook/theming": "^8.0.0-alpha.10 || ^8.0.0", | ||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0", | ||
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" | ||
"@storybook/blocks": "^8.0.0", | ||
"@storybook/components": "^8.0.0", | ||
"@storybook/theming": "^8.0.0", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
}, | ||
"peerDependenciesMeta": { | ||
"@storybook/blocks": { | ||
"optional": true | ||
}, | ||
"@storybook/components": { | ||
"optional": true | ||
}, | ||
"@storybook/theming": { | ||
"optional": true | ||
}, | ||
"react": { | ||
@@ -60,27 +88,24 @@ "optional": true | ||
}, | ||
"scripts": { | ||
"dev": "tsc --watch --preserveWatchOutput", | ||
"build": "npm run build:esm && npm run build:cjs", | ||
"build:esm": "tsc", | ||
"build:cjs": "tsc --module commonjs --outDir cjs", | ||
"test": "echo 'No tests' && exit 0", | ||
"clean": "rm -r esm cjs", | ||
"prepublishOnly": "cp ../../README.md ./ && npm run build", | ||
"release": "npm run prepublishOnly && auto shipit" | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"keywords": [ | ||
"storybook-addon", | ||
"design", | ||
"figma", | ||
"figspec", | ||
"image", | ||
"preview" | ||
], | ||
"bundler": { | ||
"exportEntries": [ | ||
"src/index.ts" | ||
], | ||
"managerEntries": [ | ||
"src/register-panel.ts", | ||
"src/register-tab.ts" | ||
], | ||
"previewEntries": [ | ||
"src/blocks.tsx" | ||
], | ||
"nodeEntries": [ | ||
"src/preset.ts" | ||
] | ||
}, | ||
"storybook": { | ||
"icon": "https://raw.githubusercontent.com/storybookjs/addon-designs/master/packages/assets/logo.png", | ||
"icon": "https://raw.githubusercontent.com/storybookjs/addon-designs/master/packages/examples/assets/logo.png", | ||
"displayName": "Designs" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
@@ -1,10 +0,4 @@ | ||
module.exports = { | ||
managerEntries(entries = [], options = {}) { | ||
return [ | ||
...entries, | ||
options.renderTarget === "tab" | ||
? require.resolve("./register-tab") | ||
: require.resolve("./register"), | ||
]; | ||
}, | ||
}; | ||
// this file is slightly misleading. It needs to be CJS, and thus in this "type": "module" package it should be named preset.cjs | ||
// but Storybook won't pick that filename up so we have to name it preset.js instead | ||
module.exports = require("./dist/preset.js"); |
<div align="center"> | ||
<img src="./packages/assets/logo.png" width="104" alt="logo"> | ||
<img src="./packages/examples/assets/logo.png" width="104" alt="logo"> | ||
<br/> | ||
@@ -24,3 +24,3 @@ <br/> | ||
- Storybook@>=7.0.0 | ||
- Storybook@>=8.0.0 (Version 7 of this addon supports Storybook 7) | ||
@@ -27,0 +27,0 @@ This addon should work well with any framework. If you find that the addon does not work, please open an issue. |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
255586
6
15
21
610
8
17