Skip to content

Commit

Permalink
Merge pull request #96 from Giveth/update-packages
Browse files Browse the repository at this point in the history
Update packages
  • Loading branch information
MohammadPCh authored Feb 22, 2024
2 parents e0f0ca0 + c6b86ff commit c7c8703
Show file tree
Hide file tree
Showing 4 changed files with 5,553 additions and 6,720 deletions.
36 changes: 23 additions & 13 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
module.exports = {
"typescript": {
reactDocgen: false
},
"stories": ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
"addons": ["@storybook/addon-links", "@storybook/addon-essentials"],
"framework": "@storybook/react",
"core": {
"builder": "webpack5"
},
docs: {
autodocs: true
}
};
typescript: {
reactDocgen: false,
},

stories: [
'../src/**/*.stories.mdx',
'../src/**/*.stories.@(js|jsx|ts|tsx)',
],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-mdx-gfm',
],

framework: {
name: '@storybook/nextjs',
options: {},
},

docs: {
autodocs: true,
},
};
53 changes: 24 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,45 @@
{
"name": "@giveth/ui-design-system",
"version": "1.11.20",
"version": "1.11.21",
"files": [
"/lib"
],
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"dependencies": {
"next": "13.1.6",
"react": "18.2.0",
"react-dom": "18.2.0",
"styled-components": "^5.3.6"
"next": "14.1.0",
"react": "^18",
"react-dom": "^18",
"styled-components": "^6.1.8"
},
"scripts": {
"build": "rm -rf lib;yarn build:esm && yarn build:cjs",
"build": "rm -rf lib;yarn build:esm",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir lib/cjs",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public",
"storybook": "storybook dev -p 6006 -s public",
"build-storybook": "storybook build -s public",
"prepare": "npm run build",
"lint": "eslint . --ext .ts --ext .tsx",
"lint:fix": "eslint . --ext .ts --ext .tsx --fix"
},
"devDependencies": {
"@babel/core": "^7.21.0",
"@storybook/addon-actions": "^6.5.16",
"@storybook/addon-essentials": "^6.5.16",
"@storybook/addon-interactions": "^6.5.16",
"@storybook/addon-links": "6.5.16",
"@storybook/builder-webpack5": "^6.5.16",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/react": "^6.5.16",
"@storybook/testing-library": "^0.0.13",
"@types/node": "18.14.0",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
"@types/styled-components": "^5.1.26",
"babel-loader": "^8.3.0",
"eslint": "8.34.0",
"eslint-config-next": "13.1.6",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-storybook": "^0.6.11",
"prettier": "^2.5.1",
"typescript": "4.9.5"
"@storybook/addon-essentials": "^7.6.17",
"@storybook/addon-interactions": "^7.6.17",
"@storybook/addon-links": "^7.6.17",
"@storybook/addon-onboarding": "^1.0.11",
"@storybook/blocks": "^7.6.17",
"@storybook/nextjs": "^7.6.17",
"@storybook/react": "^7.6.17",
"@storybook/test": "^7.6.17",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.1.0",
"eslint-plugin-storybook": "^0.8.0",
"storybook": "^7.6.17",
"typescript": "^5"
},
"release": {
"branches": [
Expand Down
41 changes: 20 additions & 21 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
{
"compilerOptions": {
"outDir": "lib/esm",
"module": "esnext",
"target": "es5",
"lib": ["es6", "dom", "es2016", "es2017"],
"jsx": "react",
"declaration": true,
"moduleResolution": "node",
"noUnusedLocals": true,
"noUnusedParameters": true,
"esModuleInterop": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"allowSyntheticDefaultImports": true
},
"include": ["src"],
"exclude": ["node_modules", "lib", "src/stories/"]
}
"compilerOptions": {
"outDir": "lib/esm",
"module": "esnext",
"target": "es5",
"lib": ["es6", "dom", "es2016", "es2017"],
"jsx": "react",
"declaration": true,
"moduleResolution": "node",
"noUnusedLocals": true,
"noUnusedParameters": true,
"esModuleInterop": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"allowSyntheticDefaultImports": true
},
"include": ["src"],
"exclude": ["node_modules", "lib", "src/stories/"]
}
Loading

0 comments on commit c7c8703

Please sign in to comment.