mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-15 17:19:10 +00:00
big overhaul (#474)
* miniflare init * feat(api): add tests * chore: more tests, almost 100% * add sessions/state spec * add majority of routes and datapaths, start on interactions * nevermind, no interactions * nevermind x2, tweetnacl is bad but SubtleCrypto has what we need apparently * simplify interactions verify * add brute force interactions tests * every primary path API route is refactored! * automatically import from legacy, or die trying. * check that we only fetch legacy once, ever * remove old-src, same some historic pieces * remove interactions & worker-utils package, update misc/types * update some packages we don't need specific pinning for anymore * update web references to API routes since they all changed * fix all linting issues, upgrade most packages * fix tests, divorce enzyme where-ever possible * update web, fix integration issues * pre-build api * fix tests * move api pretest to api package.json instead of CI * remove interactions from terraform, fix deploy side configs * update to tf 1.1.4 * prevent double writes to worker in GCS, port to newer GCP auth workflow * fix api.tf var refs, upgrade node action * change to curl-based script upload for worker script due to terraform provider limitations * oh no, cloudflare freaked out :(
This commit is contained in:
parent
b644a38aa7
commit
3291f9aacc
183 changed files with 9853 additions and 9924 deletions
53
package.json
53
package.json
|
@ -18,55 +18,46 @@
|
|||
],
|
||||
"scripts": {
|
||||
"build": "run-p -c build:*",
|
||||
"build:api": "yarn workspace @roleypoly/api run build",
|
||||
"build:design-system": "yarn workspace @roleypoly/design-system run build",
|
||||
"build:web": "yarn workspace @roleypoly/web run build",
|
||||
"create-component": "yarn workspace @roleypoly/design-system run create-component",
|
||||
"lint": "run-p -c lint:* --",
|
||||
"lint:eslint": "eslint",
|
||||
"lint:prettier": "cross-env prettier -c '**/*.{ts,tsx,css,yml,yaml,md,json,js,jsx,sh,gitignore,mdx,Dockerfile}'",
|
||||
"lint:stylelint": "cross-env stylelint '**/*.{ts,tsx}'",
|
||||
"lint:terraform": "terraform fmt -recursive -check ./terraform",
|
||||
"lint:stylelint": "cross-env stylelint 'packages/{web,design-system}/**/*.{ts,tsx}'",
|
||||
"lint:terraform": "terraform fmt -check -recursive",
|
||||
"lint:types": "tsc --noEmit",
|
||||
"lint:types-api": "yarn workspace @roleypoly/api run lint:types",
|
||||
"lint:types-interactions": "yarn workspace @roleypoly/interactions run lint:types",
|
||||
"lint:types-worker-utils": "yarn workspace @roleypoly/worker-utils run lint:types",
|
||||
"postinstall": "is-ci || husky install",
|
||||
"start": "run-p -c start:*",
|
||||
"start:api": "yarn workspace @roleypoly/api start",
|
||||
"start:bot": "yarn workspace @roleypoly/bot start",
|
||||
"start:design-system": "yarn workspace @roleypoly/design-system start",
|
||||
"start:interactions": "yarn workspace @roleypoly/interactions start",
|
||||
"start:web": "yarn workspace @roleypoly/web start",
|
||||
"start:worker": "yarn workspace @roleypoly/api start",
|
||||
"test": "jest"
|
||||
"test": "run-p -c test:* --",
|
||||
"test:api": "yarn workspace @roleypoly/api run test",
|
||||
"test:design-system": "yarn workspace @roleypoly/design-system run test",
|
||||
"test:misc-utils": "yarn workspace @roleypoly/misc-utils run test",
|
||||
"test:web": "yarn workspace @roleypoly/web run test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/enzyme": "^3.10.9",
|
||||
"@types/lodash": "^4.14.171",
|
||||
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.2",
|
||||
"enzyme": "^3.11.0",
|
||||
"enzyme-adapter-react-16": "^1.15.6",
|
||||
"husky": "^7.0.1",
|
||||
"is-ci": "^3.0.0",
|
||||
"jest": "26.6.0",
|
||||
"jest-enzyme": "^7.1.2",
|
||||
"@stylelint/postcss-css-in-js": "^0.37.2",
|
||||
"husky": "^7.0.4",
|
||||
"is-ci": "^3.0.1",
|
||||
"jest-react-hooks-shallow": "^1.5.1",
|
||||
"jest-styled-components": "^7.0.4",
|
||||
"lint-staged": "^11.0.0",
|
||||
"lint-staged": "^12.3.2",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prettier": "^2.3.2",
|
||||
"prettier-plugin-organize-imports": "^2.2.0",
|
||||
"prettier-plugin-pkg": "^0.10.0",
|
||||
"prettier-plugin-sh": "^0.7.1",
|
||||
"stylelint": "^13.13.1",
|
||||
"stylelint-config-prettier": "^8.0.2",
|
||||
"stylelint-config-standard": "^22.0.0",
|
||||
"postcss": "^8.4.5",
|
||||
"postcss-syntax": "^0.36.2",
|
||||
"prettier": "^2.5.1",
|
||||
"prettier-plugin-organize-imports": "^2.3.4",
|
||||
"prettier-plugin-pkg": "^0.11.1",
|
||||
"prettier-plugin-sh": "^0.8.1",
|
||||
"stylelint": "^14.3.0",
|
||||
"stylelint-config-recommended": "^6.0.0",
|
||||
"stylelint-config-styled-components": "^0.1.1",
|
||||
"stylelint-prettier": "^1.2.0",
|
||||
"ts-jest": "^26.0.0",
|
||||
"typescript": "^4.3.5"
|
||||
},
|
||||
"resolutions": {
|
||||
"webpack": "4.44.2"
|
||||
"typescript": "^4.5.5"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx,js,jsx}": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue