PR-912037: updating packages.

This commit is contained in:
Alejandro Lembke Barrientos 2023-03-28 23:36:47 +00:00
parent a549e01aad
commit e9d0291916
3 changed files with 7432 additions and 23162 deletions

View File

@ -1,39 +1,33 @@
const path = require('path'); const path = require('path');
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin'); const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
module.exports = { module.exports = {
"stories": [ "stories": ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
"../src/**/*.stories.mdx", "addons": ["@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-interactions", "@storybook/addon-postcss", "@storybook/preset-scss", "@storybook/addon-mdx-gfm"],
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/addon-postcss",
"@storybook/preset-scss"
],
"webpackFinal": async config => { "webpackFinal": async config => {
config.resolve.alias = { ...config.resolve.alias, config.resolve.alias = {
...config.resolve.alias,
'@components': path.resolve(__dirname, "../src/components/") '@components': path.resolve(__dirname, "../src/components/")
}; };
config.resolve.plugins = [new TsconfigPathsPlugin()]; config.resolve.plugins = [new TsconfigPathsPlugin()];
return config; return config;
}, },
"framework": "@storybook/react", "framework": {
"core": { name: "@storybook/react-webpack5",
"builder": "@storybook/builder-webpack5" options: {}
}, },
typescript: { typescript: {
reactDocgenTypescriptOptions: { reactDocgenTypescriptOptions: {
compilerOptions: { compilerOptions: {
"paths": { "paths": {
"@Components/*": ["Components/*"], "@Components/*": ["Components/*"]
}, }
} }
} }
}, },
features: { features: {
previewMdx2: true, previewMdx2: true
}, },
} docs: {
autodocs: true
}
};

30506
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "@aleleba/create-react-component-library", "name": "@aleleba/create-react-component-library",
"version": "1.2.3", "version": "1.2.4",
"description": "A starter kit for create a React component Library with storybook", "description": "A starter kit for create a React component Library with storybook",
"bin": "./bin/cli.js", "bin": "./bin/cli.js",
"main": "dist/index.js", "main": "dist/index.js",
@ -11,9 +11,9 @@
"lint:fix": "eslint ./ --ext .js --ext .ts --ext .jsx --ext .tsx --fix", "lint:fix": "eslint ./ --ext .js --ext .ts --ext .jsx --ext .tsx --fix",
"test": "jest", "test": "jest",
"test:watch": "jest --watch", "test:watch": "jest --watch",
"storybook": "start-storybook -p 3000", "storybook": "storybook dev -p 3000",
"build-storybook": "build-storybook", "build-storybook": "storybook build",
"check-updates": "npx npm-check-updates -u && npm i --legacy-peer-deps", "check-updates": "npx npm-check-updates -u && npm i",
"cy:open": "npx cypress open", "cy:open": "npx cypress open",
"cy:run": "npx cypress run --headless --component" "cy:run": "npx cypress run --headless --component"
}, },
@ -35,37 +35,38 @@
}, },
"homepage": "https://github.com/aleleba/create-react-component-library#readme", "homepage": "https://github.com/aleleba/create-react-component-library#readme",
"devDependencies": { "devDependencies": {
"@babel/core": "^7.21.0", "@babel/core": "^7.21.3",
"@babel/preset-env": "^7.20.2", "@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6", "@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.0", "@babel/preset-typescript": "^7.21.0",
"@babel/register": "^7.21.0", "@babel/register": "^7.21.0",
"@mdx-js/react": "^2.3.0", "@mdx-js/react": "^2.3.0",
"@storybook/addon-actions": "^6.5.16", "@storybook/addon-actions": "^7.0.0-rc.8",
"@storybook/addon-docs": "^6.5.16", "@storybook/addon-docs": "^7.0.0-rc.8",
"@storybook/addon-essentials": "^6.5.16", "@storybook/addon-essentials": "^7.0.0-rc.8",
"@storybook/addon-interactions": "^6.5.16", "@storybook/addon-interactions": "^7.0.0-rc.8",
"@storybook/addon-links": "^6.5.16", "@storybook/addon-links": "^7.0.0-rc.8",
"@storybook/addon-mdx-gfm": "^7.0.0-rc.8",
"@storybook/addon-postcss": "^2.0.0", "@storybook/addon-postcss": "^2.0.0",
"@storybook/builder-webpack5": "^6.5.16", "@storybook/cli": "^7.0.0-rc.8",
"@storybook/manager-webpack5": "^6.5.16", "@storybook/mdx2-csf": "^1.0.0-next.6",
"@storybook/mdx2-csf": "^0.0.4",
"@storybook/preset-scss": "^1.0.3", "@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^6.5.16", "@storybook/react": "^7.0.0-rc.8",
"@storybook/testing-library": "^0.0.13", "@storybook/react-webpack5": "^7.0.0-rc.8",
"@storybook/testing-library": "^0.0.14-next.1",
"@testing-library/jest-dom": "^5.16.5", "@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0", "@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3", "@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.4.1", "@types/jest": "^29.5.0",
"@types/node": "^18.15.3", "@types/node": "^18.15.11",
"@types/react": "^18.0.28", "@types/react": "^18.0.31",
"@types/react-dom": "^18.0.11", "@types/react-dom": "^18.0.11",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.1",
"babel-loader": "^9.1.2", "babel-loader": "^9.1.2",
"clean-webpack-plugin": "^4.0.0", "clean-webpack-plugin": "^4.0.0",
"css-loader": "^6.7.3", "css-loader": "^6.7.3",
"css-minimizer-webpack-plugin": "^4.2.2", "css-minimizer-webpack-plugin": "^5.0.0",
"cypress": "^12.7.0", "cypress": "^12.9.0",
"dotenv": "^16.0.3", "dotenv": "^16.0.3",
"eslint": "^8.36.0", "eslint": "^8.36.0",
"eslint-plugin-react": "^7.32.2", "eslint-plugin-react": "^7.32.2",
@ -76,19 +77,20 @@
"jest": "^29.5.0", "jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0", "jest-environment-jsdom": "^29.5.0",
"jest-fetch-mock": "^3.0.3", "jest-fetch-mock": "^3.0.3",
"mini-css-extract-plugin": "^2.7.3", "mini-css-extract-plugin": "^2.7.5",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"resolve-ts-aliases": "^1.0.1", "resolve-ts-aliases": "^1.0.1",
"sass": "^1.59.2", "sass": "^1.60.0",
"sass-loader": "^13.2.0", "sass-loader": "^13.2.2",
"storybook": "^7.0.0-rc.8",
"style-loader": "^3.3.2", "style-loader": "^3.3.2",
"terser-webpack-plugin": "^5.3.7", "terser-webpack-plugin": "^5.3.7",
"ts-jest": "^29.0.5", "ts-jest": "^29.0.5",
"tsconfig-paths-webpack-plugin": "^4.0.1", "tsconfig-paths-webpack-plugin": "^4.0.1",
"typescript": "^4.9.5", "typescript": "^5.0.2",
"url-loader": "^4.1.1", "url-loader": "^4.1.1",
"webpack": "^5.76.1", "webpack": "^5.76.3",
"webpack-cli": "^5.0.1", "webpack-cli": "^5.0.1",
"webpack-node-externals": "^3.0.0" "webpack-node-externals": "^3.0.0"
}, },