mirror of
https://github.com/aleleba/create-react-component-library.git
synced 2025-01-09 05:06:53 -06:00
PR-912037: updating packages.
This commit is contained in:
parent
a549e01aad
commit
e9d0291916
@ -1,39 +1,33 @@
|
||||
const path = require('path');
|
||||
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
"stories": [
|
||||
"../src/**/*.stories.mdx",
|
||||
"../src/**/*.stories.@(js|jsx|ts|tsx)"
|
||||
],
|
||||
"addons": [
|
||||
"@storybook/addon-links",
|
||||
"@storybook/addon-essentials",
|
||||
"@storybook/addon-interactions",
|
||||
"@storybook/addon-postcss",
|
||||
"@storybook/preset-scss"
|
||||
],
|
||||
"stories": ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
|
||||
"addons": ["@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-interactions", "@storybook/addon-postcss", "@storybook/preset-scss", "@storybook/addon-mdx-gfm"],
|
||||
"webpackFinal": async config => {
|
||||
config.resolve.alias = { ...config.resolve.alias,
|
||||
config.resolve.alias = {
|
||||
...config.resolve.alias,
|
||||
'@components': path.resolve(__dirname, "../src/components/")
|
||||
};
|
||||
config.resolve.plugins = [new TsconfigPathsPlugin()];
|
||||
return config;
|
||||
},
|
||||
"framework": "@storybook/react",
|
||||
"core": {
|
||||
"builder": "@storybook/builder-webpack5"
|
||||
"framework": {
|
||||
name: "@storybook/react-webpack5",
|
||||
options: {}
|
||||
},
|
||||
typescript: {
|
||||
reactDocgenTypescriptOptions: {
|
||||
compilerOptions: {
|
||||
"paths": {
|
||||
"@Components/*": ["Components/*"],
|
||||
},
|
||||
"@Components/*": ["Components/*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
features: {
|
||||
previewMdx2: true,
|
||||
previewMdx2: true
|
||||
},
|
||||
}
|
||||
docs: {
|
||||
autodocs: true
|
||||
}
|
||||
};
|
30506
package-lock.json
generated
30506
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
54
package.json
54
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"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",
|
||||
"bin": "./bin/cli.js",
|
||||
"main": "dist/index.js",
|
||||
@ -11,9 +11,9 @@
|
||||
"lint:fix": "eslint ./ --ext .js --ext .ts --ext .jsx --ext .tsx --fix",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"storybook": "start-storybook -p 3000",
|
||||
"build-storybook": "build-storybook",
|
||||
"check-updates": "npx npm-check-updates -u && npm i --legacy-peer-deps",
|
||||
"storybook": "storybook dev -p 3000",
|
||||
"build-storybook": "storybook build",
|
||||
"check-updates": "npx npm-check-updates -u && npm i",
|
||||
"cy:open": "npx cypress open",
|
||||
"cy:run": "npx cypress run --headless --component"
|
||||
},
|
||||
@ -35,37 +35,38 @@
|
||||
},
|
||||
"homepage": "https://github.com/aleleba/create-react-component-library#readme",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.21.0",
|
||||
"@babel/core": "^7.21.3",
|
||||
"@babel/preset-env": "^7.20.2",
|
||||
"@babel/preset-react": "^7.18.6",
|
||||
"@babel/preset-typescript": "^7.21.0",
|
||||
"@babel/register": "^7.21.0",
|
||||
"@mdx-js/react": "^2.3.0",
|
||||
"@storybook/addon-actions": "^6.5.16",
|
||||
"@storybook/addon-docs": "^6.5.16",
|
||||
"@storybook/addon-essentials": "^6.5.16",
|
||||
"@storybook/addon-interactions": "^6.5.16",
|
||||
"@storybook/addon-links": "^6.5.16",
|
||||
"@storybook/addon-actions": "^7.0.0-rc.8",
|
||||
"@storybook/addon-docs": "^7.0.0-rc.8",
|
||||
"@storybook/addon-essentials": "^7.0.0-rc.8",
|
||||
"@storybook/addon-interactions": "^7.0.0-rc.8",
|
||||
"@storybook/addon-links": "^7.0.0-rc.8",
|
||||
"@storybook/addon-mdx-gfm": "^7.0.0-rc.8",
|
||||
"@storybook/addon-postcss": "^2.0.0",
|
||||
"@storybook/builder-webpack5": "^6.5.16",
|
||||
"@storybook/manager-webpack5": "^6.5.16",
|
||||
"@storybook/mdx2-csf": "^0.0.4",
|
||||
"@storybook/cli": "^7.0.0-rc.8",
|
||||
"@storybook/mdx2-csf": "^1.0.0-next.6",
|
||||
"@storybook/preset-scss": "^1.0.3",
|
||||
"@storybook/react": "^6.5.16",
|
||||
"@storybook/testing-library": "^0.0.13",
|
||||
"@storybook/react": "^7.0.0-rc.8",
|
||||
"@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/react": "^14.0.0",
|
||||
"@testing-library/user-event": "^14.4.3",
|
||||
"@types/jest": "^29.4.1",
|
||||
"@types/node": "^18.15.3",
|
||||
"@types/react": "^18.0.28",
|
||||
"@types/jest": "^29.5.0",
|
||||
"@types/node": "^18.15.11",
|
||||
"@types/react": "^18.0.31",
|
||||
"@types/react-dom": "^18.0.11",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@types/webpack": "^5.28.1",
|
||||
"babel-loader": "^9.1.2",
|
||||
"clean-webpack-plugin": "^4.0.0",
|
||||
"css-loader": "^6.7.3",
|
||||
"css-minimizer-webpack-plugin": "^4.2.2",
|
||||
"cypress": "^12.7.0",
|
||||
"css-minimizer-webpack-plugin": "^5.0.0",
|
||||
"cypress": "^12.9.0",
|
||||
"dotenv": "^16.0.3",
|
||||
"eslint": "^8.36.0",
|
||||
"eslint-plugin-react": "^7.32.2",
|
||||
@ -76,19 +77,20 @@
|
||||
"jest": "^29.5.0",
|
||||
"jest-environment-jsdom": "^29.5.0",
|
||||
"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-dom": "^18.2.0",
|
||||
"resolve-ts-aliases": "^1.0.1",
|
||||
"sass": "^1.59.2",
|
||||
"sass-loader": "^13.2.0",
|
||||
"sass": "^1.60.0",
|
||||
"sass-loader": "^13.2.2",
|
||||
"storybook": "^7.0.0-rc.8",
|
||||
"style-loader": "^3.3.2",
|
||||
"terser-webpack-plugin": "^5.3.7",
|
||||
"ts-jest": "^29.0.5",
|
||||
"tsconfig-paths-webpack-plugin": "^4.0.1",
|
||||
"typescript": "^4.9.5",
|
||||
"typescript": "^5.0.2",
|
||||
"url-loader": "^4.1.1",
|
||||
"webpack": "^5.76.1",
|
||||
"webpack": "^5.76.3",
|
||||
"webpack-cli": "^5.0.1",
|
||||
"webpack-node-externals": "^3.0.0"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user