Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
chore: move frontend to separate subproject (#43)
Browse files Browse the repository at this point in the history
* chore: move frontend to separate subproject

* ci: fix playwright cache

---------

Co-authored-by: Dennis Trümper <[email protected]>
  • Loading branch information
dennistruemper and dennistruemper authored Aug 7, 2023
1 parent afb79bc commit 873c5e4
Show file tree
Hide file tree
Showing 90 changed files with 6,182 additions and 6,675 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
jobs:
pullrequest-job:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/frontend
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
Expand All @@ -30,6 +33,7 @@ jobs:
- name: Get installed Playwright version
id: playwright-version
run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').packages['node_modules/@playwright/test'].version)")" >> $GITHUB_ENV
working-directory: . # use the root directory
- name: Cache playwright binaries
uses: actions/cache@v3
id: playwright-cache
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release_beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
jobs:
pullrequest-job:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/frontend

steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release_prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Bata on commit to main
name: Release Production on release

env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
Expand All @@ -11,6 +11,9 @@ on:
jobs:
pullrequest-job:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/frontend
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
Expand Down
12 changes: 0 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
.vercel

.vscode
39 changes: 3 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,5 @@
# create-svelte
# lists pink

Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
## prerequisites

## Creating a project

If you're seeing this, you've probably already done this step. Congrats!

```bash
# create a new project in the current directory
npm create svelte@latest

# create a new project in my-app
npm create svelte@latest my-app
```

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:

```bash
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
```

## Building

To create a production version of your app:

```bash
npm run build
```

You can preview the production build with `npm run preview`.

> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
- node
Loading

0 comments on commit 873c5e4

Please sign in to comment.