-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Refactor to bun workspaces (#66)
- Loading branch information
Showing
101 changed files
with
953 additions
and
8,216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,35 +6,42 @@ on: | |
workflow_call: | ||
|
||
jobs: | ||
root: | ||
name: root | ||
checks: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install PNPM | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 8 | ||
|
||
- name: Install Node 16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Check Formatting | ||
run: pnpm format:check | ||
|
||
- name: Build | ||
run: pnpm build | ||
|
||
- name: Type Check | ||
run: pnpm -r compile | ||
- uses: actions/checkout@v3 | ||
- uses: oven-sh/setup-bun@v2 | ||
- run: bun install | ||
- run: | | ||
bun format:check | ||
bun run --cwd packages/fake-browser check | ||
bun run --cwd packages/isolated-element check | ||
bun run --cwd packages/isolated-element-demo check | ||
bun run --cwd packages/job-scheduler check | ||
bun run --cwd packages/match-patterns check | ||
bun run --cwd packages/messaging check | ||
bun run --cwd packages/proxy-service check | ||
bun run --cwd packages/storage check | ||
build: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: oven-sh/setup-bun@v2 | ||
- run: bun install | ||
- run: bun run build | ||
|
||
- name: Run Tests | ||
run: pnpm -r test:coverage | ||
tests: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: oven-sh/setup-bun@v2 | ||
- run: bun install | ||
- run: | | ||
bun run --cwd packages/fake-browser test:coverage | ||
bun run --cwd packages/isolated-element test:coverage | ||
bun run --cwd packages/job-scheduler test:coverage | ||
bun run --cwd packages/match-patterns test:coverage | ||
bun run --cwd packages/messaging test:coverage | ||
bun run --cwd packages/proxy-service test:coverage | ||
bun run --cwd packages/storage test:coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ coverage | |
/docs/.vitepress/cache | ||
.DS_Store | ||
tsconfig.vitest-temp.json | ||
/.cache | ||
.output | ||
.wxt |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Nuxt dev/build outputs | ||
.output | ||
.data | ||
.nuxt | ||
.nitro | ||
.cache | ||
dist | ||
|
||
# Node dependencies | ||
node_modules | ||
|
||
# Logs | ||
logs | ||
*.log | ||
|
||
# Misc | ||
.DS_Store | ||
.fleet | ||
.idea | ||
|
||
# Local env files | ||
.env | ||
.env.* | ||
!.env.example |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.