Skip to content

Commit

Permalink
Merge pull request #8 from ccremer/turborepo
Browse files Browse the repository at this point in the history
Setup Turborepo
  • Loading branch information
ccremer authored Apr 18, 2023
2 parents e11fe2f + 716ab49 commit afc82d4
Show file tree
Hide file tree
Showing 40 changed files with 343 additions and 902 deletions.
33 changes: 0 additions & 33 deletions .eslintrc.json

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/e2e.mk
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ install-kind:

.PHONY: install-playwright
install-playwright:
npx --workspace $(example_dir) playwright install
npm --workspace $(example_dir) run pree2e

.PHONY: test
test: run-playwright

.PHONY: run-playwright
run-playwright: setup-serviceaccount $(example_dir)/.env
npx --workspace $(example_dir) playwright test
npx turbo --filter=./$(example_dir) run e2e

.PHONY: setup-serviceaccount
setup-serviceaccount: export KUBECONFIG=$(kubeconfig)
Expand Down
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ node_modules/

# Optional npm cache directory
.npm
.turbo

# Optional eslint cache
.eslintcache
Expand All @@ -24,9 +25,6 @@ node_modules/
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# generated output
dist

Expand Down
2 changes: 2 additions & 0 deletions examples/fetch/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/
node_modules/
4 changes: 4 additions & 0 deletions examples/fetch/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["custom"]
}
File renamed without changes.
4 changes: 2 additions & 2 deletions examples/fetch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ npm run example-fetch
## Run e2e test

```bash
npm --prefix examples/fetch run test-install
npm --prefix examples/fetch run test
npm --prefix examples/fetch run e2e-install
npm --prefix examples/fetch run e2e
```
Loading

0 comments on commit afc82d4

Please sign in to comment.