Skip to content

Commit

Permalink
v 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Samvel Baghdasaryan committed May 15, 2023
1 parent 7c45a69 commit db8cb6a
Show file tree
Hide file tree
Showing 8 changed files with 453 additions and 153 deletions.
582 changes: 437 additions & 145 deletions package-lock.json

Large diffs are not rendered by default.

16 changes: 11 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "beautiful-react-table",
"version": "2.2.0",
"version": "2.3.0",
"description": "My first react typescript package",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"types": "./dist/types.d.ts",
"sideEffects": [
"./src/scss/styles.scss"
],
Expand All @@ -15,7 +15,8 @@
"README.md"
],
"scripts": {
"build": "rollup -c --bundleConfigAsCjs",
"clean": "rm -rf dist",
"build": "npm run clean && rollup -c --bundleConfigAsCjs",
"lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"",
"prettier": "prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"",
"prepublishOnly": "npm run prettier && npm run lint"
Expand Down Expand Up @@ -54,6 +55,7 @@
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@mui/material": "^5.12.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-typescript": "^11.1.1",
Expand All @@ -72,19 +74,22 @@
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"postcss": "^8.4.23",
"prettier": "^2.8.8",
"react": "^18.2.0",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"rollup": "^2.79.1",
"rollup-plugin-dts": "^5.3.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss-modules": "^2.1.1",
"rollup-plugin-sass": "^1.12.19",
"rollup-plugin-scss": "^3.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.1",
"sass": "^1.62.1",
"typescript": "^4.9.5"
"typescript": "^4.9.5",
"undefined": "^0.1.0"
},
"eslintConfig": {
"extends": [
Expand All @@ -94,6 +99,7 @@
},
"dependencies": {
"beautiful-react-table": "^1.1.0",
"rollup-plugin-dts": "^5.3.0",
"sass-loader": "^13.2.2",
"ts-loader": "^9.4.2",
"tslib": "^2.5.0",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import resolve from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import typescript from "@rollup/plugin-typescript";
import { terser } from "rollup-plugin-terser";
import dts from "rollup-plugin-dts";
import peerDepsExternal from "rollup-plugin-peer-deps-external";
import dts from "rollup-plugin-dts";
import scss from 'rollup-plugin-scss'
const packageJson = require("./package.json");

Expand Down
1 change: 1 addition & 0 deletions src/beautiful-react-table.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'beautiful-react-table';
2 changes: 1 addition & 1 deletion src/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ declare module '*.scss' {
declare module '*.json' {
const content: any
export default content
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion src/table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Header from './Header'
import Rows from './Rows'
import useTable from './useTable'
import Footer from './Footer'
import './style.scss'
import './index.scss'
import '../index.scss'
import '../assets/style/index.scss'

Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"exclude": [
"dist",
"node_modules",
"node_modules/beautiful-react-table",
"src/**/*.test.tsx",
"src/**/*.stories.tsx"
]
Expand Down

0 comments on commit db8cb6a

Please sign in to comment.