mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 11:29:12 +00:00
* 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 :(
76 lines
2.7 KiB
JSON
76 lines
2.7 KiB
JSON
{
|
|
"name": "roleypoly",
|
|
"version": "1.0.0",
|
|
"description": "https://roleypoly.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/roleypoly/roleypoly.git"
|
|
},
|
|
"homepage": "https://github.com/roleypoly/roleypoly#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/roleypoly/roleypoly/issues"
|
|
},
|
|
"author": "Katalina Okano <git@kat.cafe>",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"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 '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",
|
|
"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:web": "yarn workspace @roleypoly/web start",
|
|
"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": {
|
|
"@stylelint/postcss-css-in-js": "^0.37.2",
|
|
"husky": "^7.0.4",
|
|
"is-ci": "^3.0.1",
|
|
"jest-react-hooks-shallow": "^1.5.1",
|
|
"lint-staged": "^12.3.2",
|
|
"npm-run-all": "^4.1.5",
|
|
"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",
|
|
"typescript": "^4.5.5"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx}": [
|
|
"prettier --write"
|
|
],
|
|
"*.{json,Dockerfile,sh,md,env,mdx,yml,html}": [
|
|
"prettier --write"
|
|
],
|
|
".*/*.{json,Dockerfile,sh,md,env,mdx,yml,html}": [
|
|
"prettier --write"
|
|
],
|
|
".husky/pre-commit": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|