Skip to content

Commit

Permalink
finish upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
amcdnl committed May 31, 2023
1 parent b2bd4d6 commit d745437
Show file tree
Hide file tree
Showing 7 changed files with 298 additions and 425 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:

- name: Publish Storybook to GH Pages
if: success()
uses: crazy-max/ghaction-github-pages@v2
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: gh-pages
build_dir: storybook-static
jekyll: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
27 changes: 0 additions & 27 deletions babel.config.js

This file was deleted.

44 changes: 24 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,20 @@
"prettier": "prettier --loglevel warn --write 'src/**/*.{ts,tsx,js,jsx}'",
"start": "storybook dev -p 9009",
"test": "vitest --passWithNoTests",
"test:coverage": "vitest run --coverage --passWithNoTests"
"test:coverage": "vitest run --coverage --passWithNoTests",
"prepare": "husky install"
},
"type": "module",
"source": "src/index.ts",
"types": "dist/index.d.ts",
"main": "./dist/reablocks.umd.cjs",
"module": "./dist/reablocks.js",
"source": "src/index.ts",
"browser": "dist/index.js",
"style": "dist/index.css",
"typings": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/reablocks.js",
"require": "./dist/reablocks.umd.cjs"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/reaviz/reablocks.git"
Expand Down Expand Up @@ -53,7 +57,7 @@
"human-format": "^1.2.0",
"name-initials": "^0.1.3",
"pluralize": "^8.0.0",
"rdk": ">=6.4.4",
"rdk": ">=6.5.0",
"react-fast-compare": "^3.2.2",
"react-highlight-words": "^0.17.0",
"react-input-autosize": "^3.0.0",
Expand All @@ -73,28 +77,28 @@
"@storybook/react-vite": "^7.0.18",
"@storybook/theming": "7.0.18",
"@types/classnames": "^2.3.1",
"@types/react": "^18.2.6",
"@types/react": "^18.2.7",
"@types/react-dom": "^18.2.4",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vitejs/plugin-react": "^4.0.0",
"@vitest/coverage-c8": "^0.31.1",
"autoprefixer": "^9",
"chromatic": "^6.17.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"@vitest/coverage-c8": "^0.31.2",
"autoprefixer": "^10.4.14",
"chromatic": "^6.18.0",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-storybook": "^0.6.10",
"husky": "^4.2.5",
"eslint-plugin-storybook": "^0.6.12",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^13.1.2",
"lint-staged": "^13.2.2",
"postcss-nested": "^6.0.1",
"postcss-preset-env": "^8.4.1",
"prettier": "^2.8.4",
"prettier": "^2.8.8",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.43.9",
"react-hook-form": "^7.44.2",
"rollup-plugin-peer-deps-external": "2.2.4",
"storybook": "7.0.18",
"typescript": "^4.9.5",
Expand All @@ -104,7 +108,7 @@
"vite-plugin-dts": "^2.3.0",
"vite-plugin-svgr": "^3.2.0",
"vite-tsconfig-paths": "^4.2.0",
"vitest": "^0.31.1"
"vitest": "^0.31.2"
},
"prettier": {
"semi": true,
Expand Down
66 changes: 0 additions & 66 deletions rollup.config.mjs

This file was deleted.

Loading

0 comments on commit d745437

Please sign in to comment.