Skip to content

Commit

Permalink
fix(utils): move civil-sdk into monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Kinsley committed Aug 23, 2019
1 parent cc9ecc1 commit 21448a0
Show file tree
Hide file tree
Showing 198 changed files with 28,941 additions and 8,313 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"prettier": "prettier --config .prettierrc.yaml --write --list-different './**/*.{ts,tsx,json,md}'",
"prettier:package": "[ $PACKAGE ] && prettier --config .prettierrc.yaml --write --list-different ./packages/$PACKAGE'/**/*.{ts,tsx,json,md}' || echo 'Specify a package name as environment variable to run prettier on just that package, e.g. `PACKAGE=dapp yarn prettier:package`'",
"clean": "lerna run clean --parallel",
"test": "lerna run test --stream --sort --ignore @joincivil/contracts",
"test": "CI=true lerna run test --stream --sort --ignore @joincivil/contracts",
"test-contracts": "lerna run test --stream --sort",
"lerna:run": "lerna run",
"prepare": "lerna run prepare --no-sort",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module.exports = {
transform: {
"^.+\\.tsx?$": "babel-jest",
"^.+\\.(ts|tsx)?$": "babel-jest",
},
testPathIgnorePatterns: ["/node_modules/", "src/__test__/setupTests.ts", "build"],
moduleNameMapper: {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|css)$":
"<rootDir>src/__mocks__/fileMock.js",
},
testRegex: "(src/__test__/.*|\\.(test|spec))\\.(ts|tsx)$",
Expand Down
13 changes: 6 additions & 7 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
"test": "NODE_ENV=test jest"
},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@joincivil/typescript-types": "^1.4.9",
"@storybook/addon-actions": "^5.0.6",
"@storybook/addon-info": "^5.0.6",
"@storybook/addon-storyshots": "^5.0.6",
"@storybook/react": "^5.0.6",
"@storybook/addon-actions": "^5.1.0",
"@storybook/addon-info": "^5.1.0",
"@storybook/addon-storyshots": "^5.1.0",
"@storybook/react": "^5.1.0",
"@types/classnames": "^2.2.3",
"@types/enzyme": "^3.1.9",
"@types/jest": "^23.3.5",
Expand All @@ -36,11 +36,10 @@
"@types/react-test-renderer": "^16.8.1",
"@types/storybook__addon-info": "^4.1.1",
"@types/storybook__react": "^3.0.7",
"awesome-typescript-loader": "^3.5.0",
"babel-jest": "^24.7.1",
"babel-loader": "^8.0.5",
"babel-plugin-require-context-hook": "^1.0.0",
"core-js": "^2.5.3",
"core-js": "^3.2.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"jest": "^24.6",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 21448a0

Please sign in to comment.