Skip to content

Commit

Permalink
Merge pull request #314 from guiyep/bump-packages-again
Browse files Browse the repository at this point in the history
bump packages 8/12/2023
  • Loading branch information
guiyep authored Dec 8, 2022
2 parents 4aec329 + 2afd4e5 commit b137f64
Show file tree
Hide file tree
Showing 8 changed files with 5,305 additions and 4,084 deletions.
3 changes: 0 additions & 3 deletions .storybook/addons.js

This file was deleted.

11 changes: 0 additions & 11 deletions .storybook/config.js

This file was deleted.

23 changes: 23 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
const path = require('path');

module.exports = {
stories: ['../src/components/**/*.stories.jsx', '../src/components/select/Select.stories.css'],
staticDirs: ['../public'],
addons: [
'@storybook/addon-links',
'@storybook/addon-actions',
'@dump247/storybook-state',
'@storybook/addon-essentials',
],
framework: '@storybook/react',
core: {
builder: 'webpack5',
},
webpackFinal: async (config, { configType }) => {
config.resolve.alias['@rsv-lib'] = path.resolve(__dirname, '../src/lib');
config.resolve.alias['@rsv-hooks'] = path.resolve(__dirname, '../src/hooks');
config.resolve.alias['@rsv-components'] = path.resolve(__dirname, '../src/components');
// Return the altered config
return config;
},
};
8 changes: 0 additions & 8 deletions .storybook/webpack.config.js

This file was deleted.

8 changes: 5 additions & 3 deletions bundlesize.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
const fs = require('fs');
const filesize = require('filesize');
const { filesize } = require('filesize');
const oldFile = require('./size.json');

const exec = () => {
try {
const stats = fs.statSync('./dist/index.min.js');
const size = stats.size;

console.log('Sizes', { size });

fs.unlink('./size.json', () => {
const delta = size - oldFile.new.size || 0;
const delta = size - oldFile?.new?.size || 0;

const sizeObj = {
old: {
...(oldFile.new || {}),
...(oldFile?.new || {}),
old: undefined,
},
new: {
Expand Down
83 changes: 43 additions & 40 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "react-select-virtualized",
"version": "5.2.0",
"version": "5.3.0",
"description": "Select virtualized component using: react-select v4 + react-virtualized + react hooks",
"author": "guiyep",
"license": "MIT",
"repository": "guiyep/react-select-virtualized",
"main": "dist/index.min.js",
"engines": {
"node": ">=12",
"npm": ">=7"
"node": ">=14",
"npm": ">=8"
},
"keywords": [
"react",
Expand All @@ -22,11 +22,11 @@
"scripts": {
"test": "jest",
"build": "rollup -c",
"build-prod": "NODE_ENV=production BABEL_ENV=production rollup -c",
"build-prod": "NODE_ENV=production BABEL_ENV=production rollup -c --bundleConfigAsCjs",
"start": "rollup -c -w",
"deploy": "gh-pages -d",
"storybook": "start-storybook -p 9009",
"build-storybook": "build-storybook -c .storybook",
"build-storybook": "build-storybook --config-dir .storybook",
"prepare": "husky install",
"lint": "yarn run eslint ./src/**/**/*.{js,jsx} && yarn run prettier ./src",
"eslint": "eslint --fix",
Expand All @@ -39,75 +39,78 @@
"audit-fix": "yarn-audit-fix"
},
"devDependencies": {
"@applitools/eyes-storybook": "^3.27.2",
"@babel/core": "7.16.7",
"@babel/preset-env": "7.16.7",
"@babel/preset-react": "7.16.7",
"@applitools/eyes-storybook": "^3.29.4",
"@babel/core": "7.20.5",
"@babel/preset-env": "7.20.2",
"@babel/preset-react": "7.18.6",
"@dump247/storybook-state": "1.6.1",
"@storybook/addon-actions": "6.4.9",
"@storybook/addon-actions": "6.5.14",
"@storybook/addon-essentials": "^6.5.14",
"@storybook/addon-info": "5.3.21",
"@storybook/addon-links": "6.4.9",
"@storybook/addons": "6.4.9",
"@storybook/react": "6.4.9",
"@storybook/addon-links": "6.5.14",
"@storybook/addons": "6.5.14",
"@storybook/builder-webpack5": "6.5.14",
"@storybook/manager-webpack5": "^6.5.14",
"@storybook/react": "6.5.14",
"babel-eslint": "10.1.0",
"babel-loader": "8.2.3",
"babel-loader": "9.1.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"babel-preset-minify": "0.5.1",
"eslint": "8.6.0",
"babel-preset-minify": "0.5.2",
"eslint": "8.29.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "8.3.0",
"eslint-config-standard": "16.0.3",
"eslint-config-standard-react": "11.0.1",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-config-prettier": "8.5.0",
"eslint-config-standard": "17.0.0",
"eslint-config-standard-react": "12.0.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "6.0.0",
"eslint-plugin-react": "7.28.0",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-react": "7.31.11",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-standard": "5.0.0",
"extend-shallow": "3.0.2",
"faker": "^5.5.3",
"filesize": "^8.0.6",
"husky": "7.0.4",
"jest": "27.4.6",
"filesize": "^10.0.5",
"husky": "8.0.2",
"jest": "29.3.1",
"jest-css-modules": "2.1.0",
"lint-staged": "12.1.5",
"postcss": "^8.4.5",
"prettier": "2.5.1",
"prop-types": "15.8.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-select": "5.2.1",
"lint-staged": "13.1.0",
"postcss": "^8.4.19",
"prettier": "2.8.1",
"prop-types": "15.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-select": "5.7.0",
"react-testing-library": "8.0.1",
"react-virtualized": "9.22.3",
"rollup": "2.63.0",
"rollup": "3.6.0",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-babel-minify": "10.0.0",
"rollup-plugin-cleaner": "1.0.0",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-gzip": "3.0.0",
"rollup-plugin-gzip": "3.1.0",
"rollup-plugin-import-alias": "1.0.10",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-peer-deps-external": "2.2.4",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-terser": "7.0.2",
"yarn-audit-fix": "^9.0.4"
"yarn-audit-fix": "^9.3.7"
},
"files": [
"dist"
],
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-select": "^5.1.0",
"react-select": "^5.7.0",
"react-virtualized": "^9.22.3"
},
"dependencies": {
"lodash.debounce": "4.0.8",
"regenerator-runtime": "^0.13.9"
"regenerator-runtime": "^0.13.11"
},
"browserslist": [
"last 2 Chrome versions",
Expand Down
2 changes: 1 addition & 1 deletion size.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"old":{"delta":-11378,"prettyDelta":"-11.38 kB","size":34743,"prettySize":"34.74 kB"},"new":{"delta":0,"prettyDelta":"0 B","size":34743,"prettySize":"34.74 kB"}}
{"old":{"delta":0,"prettyDelta":"0 B","size":34743,"prettySize":"34.74 kB"},"new":{"delta":-497,"prettyDelta":"-497 B","size":34246,"prettySize":"34.25 kB"}}
Loading

0 comments on commit b137f64

Please sign in to comment.