Skip to content

Commit

Permalink
chore: #98 normalise webpack, jest and build scripts across project (#…
Browse files Browse the repository at this point in the history
…104)

* chore: #98 normalise webpack, jest and build scripts across project

* chore: #98 ensure tests bail
  • Loading branch information
willmcvay authored Jan 28, 2020
1 parent 94813c3 commit 8c74395
Show file tree
Hide file tree
Showing 132 changed files with 1,363 additions and 5,550 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .github/workflows/deploy-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
AWS_REGION: ${{secrets.AWS_REGION}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
REAPIT_ENV: DEV
CI: true

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
AWS_REGION: ${{secrets.AWS_REGION}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
REAPIT_ENV: DEV
CI: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Foundations

![Pull Request](https://github.com/reapit/foundations/workflows/Pull%20Request/badge.svg)
![Release develop](https://github.com/reapit/foundations/workflows/Release%20develop/badge.svg)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)

## How to setup
Expand Down
156 changes: 144 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,133 @@
"name": "root",
"private": true,
"scripts": {
"build": "lerna run build --parallel",
"build": "lerna run build:prod --parallel",
"test": "lerna run test:ci --parallel",
"lint": "eslint --ext=jsx,ts,tsx packages --fix",
"fetch-config": "yarn config-manager getSecret reapit-marketplace-app-config",
"release:develop": "lerna run release:develop --parallel"
"release:dev": "lerna run release:dev --parallel"
},
"dependencies": {
"@apollo/react-hooks": "^3.1.3",
"@sentry/browser": "^5.11.1",
"amazon-cognito-identity-js": "^3.0.13",
"apollo-boost": "^0.4.7",
"apollo-server": "^2.9.16",
"aws-lambda": "^0.1.2",
"aws-sdk": "^2.582.0",
"bulma": "^0.7.5",
"chart.js": "^2.9.3",
"cors": "^2.8.5",
"dataloader": "^2.0.0",
"dayjs": "^1.8.19",
"diff": "^4.0.1",
"ejs": "^3.0.1",
"express": "^4.17.1",
"formik": "^2.0.4",
"gitter-sidecar": "^1.5.0",
"graphql": "^14.5.8",
"graphql-depth-limit": "^1.1.0",
"graphql-type-json": "^0.3.1",
"hardtack": "^4.1.2",
"himalaya": "^1.1.0",
"jsonwebtoken": "^8.5.1",
"little-loader": "^0.2.0",
"localforage": "^1.7.3",
"lodash.merge": "^4.6.2",
"papaparse": "^5.1.1",
"pell": "^1.0.6",
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-chartjs-2": "^2.8.0",
"react-datasheet": "^1.4.0",
"react-datepicker": "^2.9.6",
"react-dom": "^16.12.0",
"react-google-map": "^3.1.1",
"react-google-maps-loader": "^4.2.5",
"react-icons": "^3.7.0",
"react-redux": "^7.1.3",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-slick": "^0.24.0",
"react-table": "7.0.0-alpha.35",
"react-to-print": "^2.4.0",
"redux": "^4.0.4",
"redux-persist": "^5.10.0",
"redux-saga": "^1.1.3",
"styled-components": "^4.4.1",
"swagger-ui-react": "^3.24.3",
"uuid": "^3.3.3",
"winston": "^3.2.1"
},
"devDependencies": {
"@apollo/react-testing": "^3.1.3",
"@babel/core": "^7.7.2",
"@babel/polyfill": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@cypress/webpack-preprocessor": "^4.1.1",
"@octokit/rest": "^16.38.1",
"@redux-saga/testing-utils": "^1.0.5",
"@storybook/addon-actions": "^5.2.6",
"@storybook/addon-docs": "^5.2.6",
"@storybook/addon-info": "^5.2.6",
"@storybook/addon-links": "^5.2.6",
"@storybook/addon-storysource": "^5.2.6",
"@storybook/addon-viewport": "^5.2.6",
"@storybook/addons": "^5.2.6",
"@storybook/cli": "^5.2.6",
"@storybook/preset-typescript": "^1.1.0",
"@storybook/react": "^5.2.6",
"@storybook/storybook-deployer": "^2.8.1",
"@storybook/theming": "^5.2.8",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/react-hooks": "^2.0.3",
"@testing-library/user-event": "^7.1.2",
"@types/aws-lambda": "^8.10.39",
"@types/diff": "^4.0.2",
"@types/ejs": "^2.7.0",
"@types/enzyme": "^3.10.3",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/googlemaps": "^3.37.5",
"@types/graphql-depth-limit": "^1.1.2",
"@types/graphql-type-json": "^0.3.2",
"@types/jest": "^24.0.23",
"@types/jsonwebtoken": "^8.3.5",
"@types/little-loader": "^0.2.0",
"@types/lodash.merge": "^4.6.6",
"@types/nanoid": "^2.1.0",
"@types/node": "10.17.13",
"@types/node-fetch": "^2.5.4",
"@types/papaparse": "^5.0.3",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@types/react-redux": "^7.0.9",
"@types/react-router": "^5.1.3",
"@types/react-router-dom": "^5.1.3",
"@types/react-slick": "^0.23.4",
"@types/storybook__react": "^4.0.2",
"@types/styled-components": "^4.1.19",
"@types/uuid": "^3.4.6",
"@types/yaml": "^1.2.0",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"babel-loader": "^8.0.6",
"babel-polyfill": "^6.26.0",
"babel-plugin-import": "^1.13.0",
"babel-plugin-styled-components": "^1.10.6",
"babel-plugin-tailwind-components": "^0.5.10",
"awesome-typescript-loader": "^5.2.1",
"chromedriver": "^2.43.1",
"compare-versions": "^3.5.1",
"concurrently": "^4.1.1",
"core-js": "^3.4.1",
"cross-env": "^6.0.3",
"css-loader": "^3.0.0",
"cypress": "^3.8.0",
"cypress-file-upload": "^3.5.1",
"cypress-plugin-retries": "^1.5.2",
"dotenv": "^8.2.0",
"dotenv-webpack": "^1.7.0",
"enzyme": "^3.10.0",
Expand All @@ -41,40 +138,75 @@
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.17.0",
"favicons-webpack-plugin": "^2.1.0",
"file-loader": "^3.0.1",
"fork-ts-checker-notifier-webpack-plugin": "^1.0.0",
"fork-ts-checker-webpack-plugin": "^1.3.4",
"graphql-import": "^0.7.1",
"graphql-tag": "^2.10.1",
"html-webpack-plugin": "^3.2.0",
"husky": "^4.2.0",
"isomorphic-fetch": "^2.2.1",
"jest": "^25.1.0",
"jest-config": "^25.1.0",
"jest-fetch-mock": "^2.1.2",
"jest-transform-graphql": "^2.1.0",
"lerna": "^3.19.0",
"lint-staged": "^9.5.0",
"loader-utils": "^1.2.3",
"merge-package-json": "^0.1.3",
"mini-css-extract-plugin": "^0.7.0",
"mockdate": "^2.0.5",
"node-sass": "^4.12.0",
"nodemon": "^2.0.2",
"prettier": "^1.19.1",
"prettier-plugin-packagejson": "^2.0.1",
"purgecss": "^1.3.0",
"purgecss-whitelister": "^2.4.0",
"purify-css": "^1.2.5",
"query-string": "^6.9.0",
"raw-loader": "^3.1.0",
"react-docgen-typescript-loader": "^3.3.0",
"react-test-renderer": "^16.12.0",
"rimraf": "^3.0.0",
"rollup": "1.27.13",
"rollup-plugin-scss": "^1.0.2",
"sass-loader": "^7.1.0",
"semver": "^7.1.1",
"serve": "^11.2.0",
"source-map-loader": "^0.2.4",
"style-loader": "^0.23.1",
"sw2dts": "^2.6.2",
"ts-jest": "^24.2.0",
"tslib": "^1.10.0",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"ts-loader": "^6.2.1",
"ts-node": "^8.3.0",
"ts-paths-to-webpack-alias": "^0.3.1",
"tsdx": "^0.11.0",
"typescript": "~3.7.2",
"typescript-eslint": "^0.0.1-alpha.0",
"webpack": "^4.41.5"
"wait-on": "^3.3.0",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.2",
"webpack-dev-server": "^3.4.1",
"whatwg-fetch": "^3.0.0",
"workbox-webpack-plugin": "^4.3.1",
"yeoman-generator": "^4.0.1",
"yo": "^3.1.1",
"yosay": "^2.0.2"
},
"workspaces": [
"packages/*"
],
"dependencies": {
"@sentry/browser": "^5.11.1",
"dayjs": "^1.8.19",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-redux": "^7.1.3",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2"
},
"lint-staged": {
"*.{ts,tsx}": [
"yarn lint",
"git add"
],
"**/cypress/**/*.{ts,tsx}": [
"yarn lint:cypress",
"git add"
]
},
"husky": {
Expand Down
136 changes: 0 additions & 136 deletions packages/aml-checklist/azure-pipelines.yml

This file was deleted.

Loading

0 comments on commit 8c74395

Please sign in to comment.