mirror of
https://github.com/aleleba/create-react-component-library.git
synced 2025-01-09 05:06:53 -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)
|
Cypress.Commands.add('mount', mount)
|
||||||
|
|
||||||
// Example use:
|
// 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",
|
"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",
|
"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",
|
||||||
@ -40,26 +40,27 @@
|
|||||||
"@babel/preset-react": "^7.25.7",
|
"@babel/preset-react": "^7.25.7",
|
||||||
"@babel/preset-typescript": "^7.25.7",
|
"@babel/preset-typescript": "^7.25.7",
|
||||||
"@babel/register": "^7.25.7",
|
"@babel/register": "^7.25.7",
|
||||||
"@mdx-js/react": "^3.0.1",
|
"@mdx-js/react": "^3.1.0",
|
||||||
"@storybook/addon-actions": "^8.3.5",
|
"@storybook/addon-actions": "^8.3.6",
|
||||||
"@storybook/addon-docs": "^8.3.5",
|
"@storybook/addon-docs": "^8.3.6",
|
||||||
"@storybook/addon-essentials": "^8.3.5",
|
"@storybook/addon-essentials": "^8.3.6",
|
||||||
"@storybook/addon-interactions": "^8.3.5",
|
"@storybook/addon-interactions": "^8.3.6",
|
||||||
"@storybook/addon-links": "^8.3.5",
|
"@storybook/addon-links": "^8.3.6",
|
||||||
"@storybook/addon-styling-webpack": "^1.0.0",
|
"@storybook/addon-styling-webpack": "^1.0.0",
|
||||||
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
|
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
|
||||||
"@storybook/blocks": "^8.3.5",
|
"@storybook/blocks": "^8.3.6",
|
||||||
"@storybook/cli": "^8.3.5",
|
"@storybook/cli": "^8.3.6",
|
||||||
"@storybook/mdx2-csf": "^1.1.0",
|
"@storybook/mdx2-csf": "^1.1.0",
|
||||||
"@storybook/preset-scss": "^1.0.3",
|
"@storybook/preset-scss": "^1.0.3",
|
||||||
"@storybook/react": "^8.3.5",
|
"@storybook/react": "^8.3.6",
|
||||||
"@storybook/react-webpack5": "^8.3.5",
|
"@storybook/react-webpack5": "^8.3.6",
|
||||||
"@storybook/testing-library": "^0.2.2",
|
"@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/react": "^16.0.1",
|
||||||
"@testing-library/user-event": "^14.5.2",
|
"@testing-library/user-event": "^14.5.2",
|
||||||
|
"@types/cypress": "^0.1.6",
|
||||||
"@types/jest": "^29.5.13",
|
"@types/jest": "^29.5.13",
|
||||||
"@types/node": "^22.7.5",
|
"@types/node": "^22.7.7",
|
||||||
"@types/react": "^18.3.11",
|
"@types/react": "^18.3.11",
|
||||||
"@types/react-dom": "^18.3.1",
|
"@types/react-dom": "^18.3.1",
|
||||||
"@types/webpack": "^5.28.5",
|
"@types/webpack": "^5.28.5",
|
||||||
@ -69,11 +70,11 @@
|
|||||||
"css-minimizer-webpack-plugin": "^7.0.0",
|
"css-minimizer-webpack-plugin": "^7.0.0",
|
||||||
"cypress": "^13.15.0",
|
"cypress": "^13.15.0",
|
||||||
"dotenv": "^16.4.5",
|
"dotenv": "^16.4.5",
|
||||||
"eslint": "^9.12.0",
|
"eslint": "^9.13.0",
|
||||||
"eslint-plugin-react": "^7.37.1",
|
"eslint-plugin-react": "^7.37.1",
|
||||||
"eslint-plugin-storybook": "^0.9.0",
|
"eslint-plugin-storybook": "^0.10.1",
|
||||||
"eslint-webpack-plugin": "^4.2.0",
|
"eslint-webpack-plugin": "^4.2.0",
|
||||||
"html-webpack-plugin": "^5.6.0",
|
"html-webpack-plugin": "^5.6.2",
|
||||||
"identity-obj-proxy": "^3.0.0",
|
"identity-obj-proxy": "^3.0.0",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"jest-environment-jsdom": "^29.7.0",
|
"jest-environment-jsdom": "^29.7.0",
|
||||||
@ -82,12 +83,13 @@
|
|||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
"react-dom": "^18.3.1",
|
"react-dom": "^18.3.1",
|
||||||
"resolve-ts-aliases": "^1.0.1",
|
"resolve-ts-aliases": "^1.0.1",
|
||||||
"sass": "^1.79.5",
|
"sass": "^1.80.3",
|
||||||
"sass-loader": "^16.0.2",
|
"sass-loader": "^16.0.2",
|
||||||
"storybook": "^8.3.5",
|
"storybook": "^8.3.6",
|
||||||
"style-loader": "^4.0.0",
|
"style-loader": "^4.0.0",
|
||||||
"terser-webpack-plugin": "^5.3.10",
|
"terser-webpack-plugin": "^5.3.10",
|
||||||
"ts-jest": "^29.2.5",
|
"ts-jest": "^29.2.5",
|
||||||
|
"ts-loader": "^9.5.1",
|
||||||
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
||||||
"typescript": "^5.6.3",
|
"typescript": "^5.6.3",
|
||||||
"url-loader": "^4.1.1",
|
"url-loader": "^4.1.1",
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"declaration": true,
|
||||||
|
"declarationDir": "./dist/types",
|
||||||
"target": "es5",
|
"target": "es5",
|
||||||
"lib": [
|
"lib": [
|
||||||
"dom",
|
"dom",
|
||||||
|
@ -45,11 +45,14 @@ export default {
|
|||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
test: /\.(js|jsx|ts|tsx)$/,
|
test: /\.(ts|tsx)$/,
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
use: {
|
use: 'ts-loader',
|
||||||
loader: 'babel-loader',
|
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
test: /\.(js|jsx)$/,
|
||||||
|
exclude: /node_modules/,
|
||||||
|
use: 'babel-loader',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.(css|sass|scss)$/,
|
test: /\.(css|sass|scss)$/,
|
||||||
|
@ -46,11 +46,14 @@ export default {
|
|||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
test: /\.(js|jsx|ts|tsx)$/,
|
test: /\.(ts|tsx)$/,
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
use: {
|
use: 'ts-loader',
|
||||||
loader: 'babel-loader',
|
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
test: /\.(js|jsx)$/,
|
||||||
|
exclude: /node_modules/,
|
||||||
|
use: 'babel-loader',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.(css|sass|scss)$/,
|
test: /\.(css|sass|scss)$/,
|
||||||
|
Loading…
Reference in New Issue
Block a user