Skip to content

Commit

Permalink
build: remove dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
JBezerra committed Aug 20, 2024
1 parent ad5b2dd commit 1c59f4f
Show file tree
Hide file tree
Showing 6 changed files with 126 additions and 4,165 deletions.
1 change: 0 additions & 1 deletion packages/react/babel.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ module.exports = {
},
],
'@babel/preset-react',
'@babel/preset-typescript',
],
plugins: [],
}
196 changes: 0 additions & 196 deletions packages/react/jest.config.ts

This file was deleted.

22 changes: 1 addition & 21 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"storybook:build": "storybook build",
"update-pkg": "node scripts/updatePackage.js",
"build-storybook": "storybook build",
"chromatic": "chromatic",
"test": "jest"
"chromatic": "chromatic"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -58,24 +57,13 @@
"@storybook/react": "^7.4.5",
"@storybook/react-webpack5": "^7.4.5",
"@storybook/storybook-deployer": "^2.8.16",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"babel-jest": "^29.7.0",
"chromatic": "^6.23.0",
"contexture-client": "^2.55.0",
"contexture-elasticsearch": "^1.31.0",
"elasticsearch-browser": "^14.2.2",
"emoji-datasource": "^5.0.1",
"esbuild-plugin-tsc": "^0.4.0",
"eslint-plugin-react": "^7.32.0",
"eslint-plugin-storybook": "^0.6.14",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"material-ui-chip-input": "^1.0.0",
"mobx": "^4.3.1",
"mobx-react": "^6.3.0",
Expand All @@ -86,21 +74,13 @@
"react-test-renderer": "^16.2.0",
"read-pkg": "^5.2.0",
"storybook": "^7.4.5",
"ts-jest": "^29.2.4",
"ts-node": "^10.9.2",
"typescript": "^4.7.4",
"write-pkg": "^4.0.0"
},
"dependencies": {
"@babel/preset-typescript": "^7.24.7",
"@chakra-ui/react": "^1.8.8",
"@chakra-ui/react-use-outside-click": "^2.1.0",
"@emotion/react": "^11",
"@emotion/styled": "^11",
"contexture": "^0.12.24",
"contexture-util": "^0.1.2",
"escape-string-regexp": "^5.0.0",
"framer-motion": "^6",
"futil": "^1.76.4",
"lodash": "^4.17.15",
"moment": "^2.24.0",
Expand Down
103 changes: 0 additions & 103 deletions packages/react/tsconfig.json

This file was deleted.

4 changes: 2 additions & 2 deletions scripts/esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ delete args['loader:']
// Clear build directory since esbuild won't do it for us
await fs.rm('dist', { force: true, recursive: true })

let entryPoints = glob.sync('src/**/*.{js,ts,tsx}', {
ignore: ['src/**/*.{test,stories}.{js,ts,tsx}', 'src/**/{test,stories}/**/*'],
let entryPoints = glob.sync('src/**/*.js', {
ignore: ['src/**/*.{test,stories}.js', 'src/**/{test,stories}/**/*'],
})

// Build project
Expand Down
Loading

0 comments on commit 1c59f4f

Please sign in to comment.