Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions template/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ compile-frontend: frontend/package.json ## compile latest frontend dependencies

init-frontend-dependencies: ## compile initial frontend dependencies to be built into the docker image
@docker run --rm --user $(shell id -u):$(shell id -g) -w "/app" -v $(shell pwd)/frontend:/app -e npm_config_cache=/tmp/.npm node:lts /bin/bash -c \
"xargs npm install < dependencies-init.txt"
@docker run --rm --user $(shell id -u):$(shell id -g) -w "/app" -v $(shell pwd)/frontend:/app -e npm_config_cache=/tmp/.npm node:lts /bin/bash -c \
"xargs npm install --save-dev < dependencies-dev-init.txt"
"xargs -n 5 npm install"

shell-backend: ## Shell into the running Django container
$(KUBECTL_EXEC_BACKEND)
Expand Down
26 changes: 0 additions & 26 deletions template/frontend/dependencies-dev-init.txt

This file was deleted.

11 changes: 0 additions & 11 deletions template/frontend/dependencies-init.txt

This file was deleted.

41 changes: 41 additions & 0 deletions template/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,46 @@
"typecheck": "tsc --noEmit",
"prepare": "cd .. && husky frontend/.husky",
"codegen": "graphql-codegen"
},
"dependencies": {
"@apollo/client": "~3.14.0",
"@testing-library/jest-dom": "*",
"@testing-library/user-event": "*",
"@typescript-eslint/eslint-plugin": "*",
"clsx": "*",
"deepmerge": "*",
"eslint-plugin-unused-imports": "*",
"lodash": "*",
"next": "*",
"react": "*",
"react-dom": "*"
},
"devDependencies": {
"@eslint/eslintrc": "*",
"@graphql-codegen/cli": "*",
"@graphql-codegen/client-preset": "*",
"@graphql-typed-document-node/core": "*",
"@tailwindcss/postcss": "*",
"@testing-library/dom": "*",
"@testing-library/react": "*",
"@types/lodash": "*",
"@types/react": "*",
"@types/react-dom": "*",
"@vitejs/plugin-react": "*",
"eslint": "*",
"eslint-config-next": "*",
"eslint-plugin-import": "*",
"eslint-plugin-jsx-a11y": "*",
"eslint-plugin-react": "*",
"eslint-plugin-react-hooks": "*",
"graphql": "*",
"husky": "*",
"jsdom": "*",
"prettier": "*",
"prettier-plugin-tailwindcss": "*",
"tailwindcss": "*",
"typescript": "*",
"typescript-eslint": "*",
"vitest": "*"
}
}
Loading