Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Fix build error (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
mheob authored Jun 21, 2021
1 parent 2a48ff8 commit efb59f7
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .changeset/long-wombats-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'@easyfeedback/buttons': patch
'@easyfeedback/cards': patch
'@easyfeedback/navigations': patch
'@easyfeedback/switches': patch
'@easyfeedback/theme': patch
'@easyfeedback/utils': patch
'@easyfeedback/create-component': patch
'@easyfeedback/test-utils': patch
---

Fix build error
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = function (api) {
},
],
'@babel/preset-typescript',
'@babel/preset-react',
['@babel/preset-react', { runtime: 'automatic' }],
]

const plugins = [
Expand Down
1 change: 1 addition & 0 deletions config/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"no-console": ["warn", { "allow": ["warn", "error"] }],
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"space-before-function-paren": [
"error",
Expand Down
8 changes: 6 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ module.exports = {
'^.+\\.(ts|tsx)?$': 'ts-jest/dist',
},
modulePathIgnorePatterns: ['<rootDir>/docs-build', '<rootDir>/tools'],
transformIgnorePatterns: ['[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$'],
coveragePathIgnorePatterns: ['<rootDir>/docs-build', '<rootDir>/tools'],
testPathIgnorePatterns: ['<rootDir>/packages/*/dist'],
coveragePathIgnorePatterns: [
'<rootDir>/docs-build',
'<rootDir>/tools',
'<rootDir>/packages/*/dist',
],
setupFilesAfterEnv: ['@testing-library/jest-dom'],
globals: {
'ts-jest': {
Expand Down

0 comments on commit efb59f7

Please sign in to comment.