-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move storybook to root package
- Loading branch information
Showing
55 changed files
with
186 additions
and
240 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
|
@@ -43,7 +43,7 @@ test/*.js.map | |
lib | ||
dist | ||
build | ||
.out | ||
storybook-static | ||
/docs/api | ||
/docs/api/**/*.md | ||
|
||
|
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 @@ | ||
@import "tailwind.css"; | ||
@import "fonts/index.css"; | ||
@import "typography.css"; | ||
@import "../../node_modules/formiojs/dist/formio.full.css"; | ||
@import "../../packages/tailwind-formio/styles/index.css"; | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"description": "", | ||
"author": "Romain Lenzotti", | ||
"private": true, | ||
"type": "module", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/TypedProject/tsed-formio.git" | ||
|
@@ -23,13 +24,17 @@ | |
"build": "monorepo build --verbose", | ||
"publish": "monorepo publish --dry-run", | ||
"start": "lerna run start --stream --parallel", | ||
"storybook:start": "lerna run storybook:start --stream", | ||
"storybook:build": "yarn tailwind:build && lerna run storybook:build --stream", | ||
"tailwind:build": "lerna run tailwind:build --stream --scope @tsed/tailwind", | ||
"storybook:test": "yarn tailwind:build && lerna run storybook:test --stream", | ||
"storybook:test:ci": "lerna run storybook:test:ci --stream", | ||
"release": "semantic-release", | ||
"prepare": "is-ci || husky install" | ||
"prepare": "is-ci || husky install", | ||
"storybook:test": "yarn test-storybook", | ||
"storybook:test:ci": "yarn test-storybook --maxWorkers=2", | ||
"storybook:start": "storybook dev -p 6006", | ||
"storybook:build": "yarn run tailwind:build && yarn run build-storybook", | ||
"build-storybook": "storybook build -c .storybook", | ||
"caniuse": "npx -y update-browserslist-db@latest", | ||
"chromatic": "npx chromatic", | ||
"watch": "nodemon --watch ./src --ext ts,js,ejs --exec \"yarn build\"" | ||
}, | ||
"dependencies": { | ||
"@formio/choices.js": "^9.0.1", | ||
|
@@ -57,8 +62,20 @@ | |
"tooltip.js": "^1.3.3" | ||
}, | ||
"devDependencies": { | ||
"@chromatic-com/storybook": "3.2.3", | ||
"@commitlint/cli": "^17.0.3", | ||
"@commitlint/config-conventional": "^17.0.3", | ||
"@storybook/addon-a11y": "^8.4.7", | ||
"@storybook/addon-essentials": "^8.4.7", | ||
"@storybook/addon-interactions": "^8.4.7", | ||
"@storybook/addon-links": "^8.4.7", | ||
"@storybook/addon-mdx-gfm": "^8.4.7", | ||
"@storybook/addon-viewport": "^8.4.7", | ||
"@storybook/blocks": "^8.4.7", | ||
"@storybook/react": "^8.4.7", | ||
"@storybook/react-vite": "^8.4.7", | ||
"@storybook/test": "^8.4.7", | ||
"@storybook/test-runner": "0.21.0", | ||
"@swc/core": "^1.2.208", | ||
"@swc/jest": "^0.2.21", | ||
"@testing-library/dom": "^8.14.0", | ||
|
@@ -73,9 +90,11 @@ | |
"@types/prop-types": "^15.7.5", | ||
"@types/react-dnd": "3.0.2", | ||
"@types/react-dnd-html5-backend": "3.0.2", | ||
"@vitejs/plugin-react": "^4.3.4", | ||
"autoprefixer": "^10.4.7", | ||
"babel-eslint": "^10.1.0", | ||
"camelcase": "6.3.0", | ||
"chromatic": "11.20.2", | ||
"cross-env": "7.0.3", | ||
"eslint": "^8.15.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
|
@@ -95,6 +114,7 @@ | |
"jest-watch-typeahead": "^1.1.0", | ||
"lint-staged": "13.0.3", | ||
"microbundle": "0.13.0", | ||
"playwright": "1.49.1", | ||
"postcss": "^8.4.14", | ||
"postcss-flexbugs-fixes": "5.0.2", | ||
"postcss-nested": "^5.0.6", | ||
|
@@ -103,10 +123,18 @@ | |
"postcss-safe-parser": "6.0.0", | ||
"prettier": "^2.6.2", | ||
"prettier-eslint": "^14.0.3", | ||
"prop-types": "^15.8.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-svg": "10.0.23", | ||
"rimraf": "^3.0.2", | ||
"semantic-release": "23.0.5", | ||
"semantic-release-slack-bot": "4.0.2", | ||
"serve": "^13.0.4", | ||
"storybook": "^8.4.7", | ||
"typescript": "4.9.5", | ||
"vite": "5.1.8", | ||
"vite-plugin-svgr": "^2.4.0", | ||
"webpack": "4.44.2" | ||
}, | ||
"workspaces": { | ||
|
@@ -117,15 +145,27 @@ | |
"monorepo": { | ||
"productionBranch": "master", | ||
"developBranch": "master", | ||
"npmAccess": "public", | ||
"ghpages": [ | ||
{ | ||
"dir": "./packages/storybook/.out", | ||
"url": "https://github.com/tsedio/tsed-formio.git", | ||
"branch": "gh-pages", | ||
"cname": "formio.tsed.io" | ||
} | ||
"npmAccess": "public" | ||
}, | ||
"packageManager": "[email protected]", | ||
"browserslist": { | ||
"production": [ | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
], | ||
"development": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" | ||
] | ||
}, | ||
"packageManager": "[email protected]" | ||
"lint-staged": { | ||
"**/*.{ts,js}": [ | ||
"eslint --fix" | ||
], | ||
"**/*.{json,md,yml,yaml}": [ | ||
"prettier --write" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -95,6 +95,5 @@ | |
"tooltip.js": { | ||
"optional": false | ||
} | ||
}, | ||
"dependencies": {} | ||
} | ||
} |
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
12 changes: 12 additions & 0 deletions
12
packages/react-formio/src/components/actions-table/__fixtures__/data.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,12 @@ | ||
[ | ||
{ | ||
"_id": "602967600685b2158b24e99a", | ||
"handler": ["before"], | ||
"method": ["create", "update"], | ||
"priority": 10, | ||
"name": "save", | ||
"title": "Save Submission", | ||
"form": "602967600685b24dbe24e999", | ||
"machineName": "tcspjwhsevrzpcd:testForm:save" | ||
} | ||
] |
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 |
---|---|---|
|
@@ -27,6 +27,5 @@ | |
"peerDependencies": { | ||
"react": "^18.2.0", | ||
"redux": "^4.0.5" | ||
}, | ||
"dependencies": {} | ||
} | ||
} |
Oops, something went wrong.