-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move storybook interaction wrapper to with-storybook package
- Loading branch information
Showing
15 changed files
with
137 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@interactors/material-ui": patch | ||
"@interactors/with-storybook": patch | ||
--- | ||
|
||
Add Storybook addon `with-storybook` package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# @interactors/with-storybook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## @interactors/with-storybook | ||
|
||
[![npm](https://img.shields.io/npm/v/@interactors/with-storybook.svg)](https://www.npmjs.com/package/@interactors/with-storybook) | ||
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) | ||
[![Created by Frontside](https://img.shields.io/badge/created%20by-frontside-26abe8.svg)](https://frontside.com) | ||
[![Chat on Discord](https://img.shields.io/discord/700803887132704931?Label=Discord)](https://discord.gg/mv4uxxcAKd) | ||
|
||
[Interactors][] are Page Objects for component libraries and design systems. | ||
This package lets you use them seamlessly within [Storybook][] interactive stories. Learn more at | ||
[https://frontside.com/interactors/docs/integrations#storybook](https://frontside.com/interactors/docs/integrations#storybook) | ||
|
||
[Interactors]: https://frontside.com/interactors | ||
[Storybook]: https://storybook.js.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"name": "@interactors/with-storybook", | ||
"version": "1.0.0-rc1.2", | ||
"description": "Storybook addon integration for Interactors", | ||
"main": "dist/index.js", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/thefrontside/interactors.git" | ||
}, | ||
"homepage": "https://frontside.com/interactors", | ||
"author": "Frontside Engineering <engineering@frontside.com>", | ||
"license": "MIT", | ||
"files": [ | ||
"dist/**/*", | ||
"src/**/*", | ||
"preset.js", | ||
"README.md" | ||
], | ||
"dependencies": { | ||
"@interactors/globals": "^1.0.0-rc1.1" | ||
}, | ||
"peerDependencies": { | ||
"@storybook/addon-interactions": "*" | ||
}, | ||
"scripts": { | ||
"clean": "rm -rf dist *.tsbuildinfo", | ||
"lint": "eslint \"src/**/*.ts\"", | ||
"prepack": "tsc --build ./tsconfig.build.json && yarn prepack:es2015 && yarn prepack:commonjs", | ||
"prepack:es2015": "tsc --project ./tsconfig.build.json --outdir dist/esm --module es2015", | ||
"prepack:commonjs": "tsc --project ./tsconfig.build.json --outdir dist/cjs --module commonjs" | ||
}, | ||
"devDependencies": { | ||
"@frontside/eslint-config": "^2.1.0", | ||
"@frontside/tsconfig": "^1.2.0", | ||
"@frontside/typescript": "^1.1.1" | ||
}, | ||
"volta": { | ||
"node": "14.17.5", | ||
"yarn": "1.22.11" | ||
}, | ||
"keywords": ["storybook", "addons", "interactors", "testing", "debug"], | ||
"displayName": "Interactors inspector", | ||
"icon": "https://frontside.com/interactors/img/interactors-logo@4x.png" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
config(entry = []) { | ||
return [...entry, require.resolve('./dist/esm/wrapper')]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"extends": "../../tsconfig-base.json", | ||
"compilerOptions": { | ||
"outDir": "dist/cjs", | ||
"rootDir": "./src", | ||
"declarationDir": "dist" | ||
}, | ||
"include": [ | ||
"src/**/*.ts" | ||
], | ||
"references": [ | ||
{ "path": "../globals/tsconfig.build.json" } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"extends": "@frontside/tsconfig", | ||
"exclude": ["types/**/*.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.