mirror of
https://github.com/aleleba/create-react-component-library.git
synced 2025-01-08 04:36:58 -06:00
PR-431618: updating packages and fixing the missing exports of types.
This commit is contained in:
parent
6ce8856804
commit
f4001356f6
@ -33,6 +33,7 @@ declare global {
|
||||
}
|
||||
}
|
||||
|
||||
// @ts-ignore
|
||||
Cypress.Commands.add('mount', mount)
|
||||
|
||||
// Example use:
|
||||
|
1534
package-lock.json
generated
1534
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
38
package.json
38
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@aleleba/create-react-component-library",
|
||||
"version": "1.2.24",
|
||||
"version": "1.2.25",
|
||||
"description": "A starter kit for create a React component Library with storybook",
|
||||
"bin": "./bin/cli.js",
|
||||
"main": "dist/index.js",
|
||||
@ -40,26 +40,27 @@
|
||||
"@babel/preset-react": "^7.25.7",
|
||||
"@babel/preset-typescript": "^7.25.7",
|
||||
"@babel/register": "^7.25.7",
|
||||
"@mdx-js/react": "^3.0.1",
|
||||
"@storybook/addon-actions": "^8.3.5",
|
||||
"@storybook/addon-docs": "^8.3.5",
|
||||
"@storybook/addon-essentials": "^8.3.5",
|
||||
"@storybook/addon-interactions": "^8.3.5",
|
||||
"@storybook/addon-links": "^8.3.5",
|
||||
"@mdx-js/react": "^3.1.0",
|
||||
"@storybook/addon-actions": "^8.3.6",
|
||||
"@storybook/addon-docs": "^8.3.6",
|
||||
"@storybook/addon-essentials": "^8.3.6",
|
||||
"@storybook/addon-interactions": "^8.3.6",
|
||||
"@storybook/addon-links": "^8.3.6",
|
||||
"@storybook/addon-styling-webpack": "^1.0.0",
|
||||
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
|
||||
"@storybook/blocks": "^8.3.5",
|
||||
"@storybook/cli": "^8.3.5",
|
||||
"@storybook/blocks": "^8.3.6",
|
||||
"@storybook/cli": "^8.3.6",
|
||||
"@storybook/mdx2-csf": "^1.1.0",
|
||||
"@storybook/preset-scss": "^1.0.3",
|
||||
"@storybook/react": "^8.3.5",
|
||||
"@storybook/react-webpack5": "^8.3.5",
|
||||
"@storybook/react": "^8.3.6",
|
||||
"@storybook/react-webpack5": "^8.3.6",
|
||||
"@storybook/testing-library": "^0.2.2",
|
||||
"@testing-library/jest-dom": "^6.5.0",
|
||||
"@testing-library/jest-dom": "^6.6.2",
|
||||
"@testing-library/react": "^16.0.1",
|
||||
"@testing-library/user-event": "^14.5.2",
|
||||
"@types/cypress": "^0.1.6",
|
||||
"@types/jest": "^29.5.13",
|
||||
"@types/node": "^22.7.5",
|
||||
"@types/node": "^22.7.7",
|
||||
"@types/react": "^18.3.11",
|
||||
"@types/react-dom": "^18.3.1",
|
||||
"@types/webpack": "^5.28.5",
|
||||
@ -69,11 +70,11 @@
|
||||
"css-minimizer-webpack-plugin": "^7.0.0",
|
||||
"cypress": "^13.15.0",
|
||||
"dotenv": "^16.4.5",
|
||||
"eslint": "^9.12.0",
|
||||
"eslint": "^9.13.0",
|
||||
"eslint-plugin-react": "^7.37.1",
|
||||
"eslint-plugin-storybook": "^0.9.0",
|
||||
"eslint-plugin-storybook": "^0.10.1",
|
||||
"eslint-webpack-plugin": "^4.2.0",
|
||||
"html-webpack-plugin": "^5.6.0",
|
||||
"html-webpack-plugin": "^5.6.2",
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
"jest": "^29.7.0",
|
||||
"jest-environment-jsdom": "^29.7.0",
|
||||
@ -82,12 +83,13 @@
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"resolve-ts-aliases": "^1.0.1",
|
||||
"sass": "^1.79.5",
|
||||
"sass": "^1.80.3",
|
||||
"sass-loader": "^16.0.2",
|
||||
"storybook": "^8.3.5",
|
||||
"storybook": "^8.3.6",
|
||||
"style-loader": "^4.0.0",
|
||||
"terser-webpack-plugin": "^5.3.10",
|
||||
"ts-jest": "^29.2.5",
|
||||
"ts-loader": "^9.5.1",
|
||||
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
||||
"typescript": "^5.6.3",
|
||||
"url-loader": "^4.1.1",
|
||||
|
@ -1,5 +1,7 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationDir": "./dist/types",
|
||||
"target": "es5",
|
||||
"lib": [
|
||||
"dom",
|
||||
|
@ -44,13 +44,16 @@ export default {
|
||||
],
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.(js|jsx|ts|tsx)$/,
|
||||
exclude: /node_modules/,
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
},
|
||||
},
|
||||
{
|
||||
test: /\.(ts|tsx)$/,
|
||||
exclude: /node_modules/,
|
||||
use: 'ts-loader',
|
||||
},
|
||||
{
|
||||
test: /\.(js|jsx)$/,
|
||||
exclude: /node_modules/,
|
||||
use: 'babel-loader',
|
||||
},
|
||||
{
|
||||
test: /\.(css|sass|scss)$/,
|
||||
use: [
|
||||
|
@ -46,11 +46,14 @@ export default {
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.(js|jsx|ts|tsx)$/,
|
||||
test: /\.(ts|tsx)$/,
|
||||
exclude: /node_modules/,
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
},
|
||||
use: 'ts-loader',
|
||||
},
|
||||
{
|
||||
test: /\.(js|jsx)$/,
|
||||
exclude: /node_modules/,
|
||||
use: 'babel-loader',
|
||||
},
|
||||
{
|
||||
test: /\.(css|sass|scss)$/,
|
||||
|
Loading…
Reference in New Issue
Block a user