Skip to content

Commit

Permalink
Fix build process
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-stasiak committed Jul 3, 2024
1 parent 263e6d0 commit 67dc3a3
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 53 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/playwright.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,16 @@ jobs:
node-version: 20
cache: npm

- name: Install dependencies
- name: Install dependencies ⬇️
run: yarn --frozen-lockfile

- name: Install Playwright Browsers
- name: Build 📦
run: yarn build

- name: Install Playwright Browsers 🧭
run: npx playwright install --with-deps

- name: Run Playwright tests
- name: Run Playwright tests 🧪
run: yarn test:e2e

- uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion examples/react-client/minimal-react/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "minimal-react-example",
"name": "@fishjam-dev/minimal-react-example",
"private": true,
"version": "0.0.1",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/ts-client/minimal/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "minimal-example",
"name": "@fishjam-dev/minimal-example",
"private": true,
"version": "0.0.1",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/ts-client/simple-app/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "simple-app-example",
"name": "@fishjam-dev/simple-app-example",
"private": true,
"version": "0.0.1",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"packageManager": "[email protected]",
"scripts": {
"build": "yarn workspaces foreach -A -p run build",
"build": "yarn workspaces foreach -Ap --topological-dev run build",
"test:e2e": "yarn workspace @fishjam-dev/ts-client-e2e e2e && yarn workspace @fishjam-dev/react-client-e2e e2e",
"tsc": "yarn workspaces foreach -A -p run tsc",
"format": "yarn workspaces foreach -A -p run format",
Expand Down
93 changes: 47 additions & 46 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -504,10 +504,41 @@ __metadata:
languageName: node
linkType: hard

"@fishjam-dev/minimal-example@workspace:examples/ts-client/minimal":
version: 0.0.0-use.local
resolution: "@fishjam-dev/minimal-example@workspace:examples/ts-client/minimal"
dependencies:
"@fishjam-dev/ts-client": "npm:*"
autoprefixer: "npm:^10.4.17"
typescript: "npm:^5.4.0"
vite: "npm:^5.1.2"
vite-plugin-checker: "npm:^0.6.4"
languageName: unknown
linkType: soft

"@fishjam-dev/minimal-react-example@workspace:*, @fishjam-dev/minimal-react-example@workspace:examples/react-client/minimal-react":
version: 0.0.0-use.local
resolution: "@fishjam-dev/minimal-react-example@workspace:examples/react-client/minimal-react"
dependencies:
"@fishjam-dev/react-client": "npm:*"
"@types/react": "npm:^18.2.55"
"@types/react-dom": "npm:^18.2.19"
"@vitejs/plugin-react-swc": "npm:^3.6.0"
autoprefixer: "npm:^10.4.17"
postcss: "npm:^8.4.35"
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
typescript: "npm:^5.4.0"
vite: "npm:^5.1.2"
vite-plugin-checker: "npm:^0.6.4"
languageName: unknown
linkType: soft

"@fishjam-dev/react-client-e2e@workspace:e2e-tests/react-client/app":
version: 0.0.0-use.local
resolution: "@fishjam-dev/react-client-e2e@workspace:e2e-tests/react-client/app"
dependencies:
"@fishjam-dev/minimal-react-example": "workspace:*"
"@playwright/test": "npm:^1.41.2"
"@types/node": "npm:^20.11.18"
"@vitest/coverage-v8": "npm:^1.6.0"
Expand Down Expand Up @@ -546,6 +577,22 @@ __metadata:
languageName: unknown
linkType: soft

"@fishjam-dev/simple-app-example@workspace:examples/ts-client/simple-app":
version: 0.0.0-use.local
resolution: "@fishjam-dev/simple-app-example@workspace:examples/ts-client/simple-app"
dependencies:
"@fishjam-dev/browser-media-utils": "https://github.com/fishjam-dev/browser-media-utils#1.0.0"
"@fishjam-dev/ts-client": "npm:*"
autoprefixer: "npm:^10.4.17"
daisyui: "npm:^4.7.2"
postcss: "npm:^8.4.35"
tailwindcss: "npm:^3.4.1"
typescript: "npm:^5.4.0"
vite: "npm:^5.1.2"
vite-plugin-checker: "npm:^0.6.4"
languageName: unknown
linkType: soft

"@fishjam-dev/ts-client-e2e@workspace:e2e-tests/ts-client/app":
version: 0.0.0-use.local
resolution: "@fishjam-dev/ts-client-e2e@workspace:e2e-tests/ts-client/app"
Expand Down Expand Up @@ -4066,36 +4113,6 @@ __metadata:
languageName: node
linkType: hard

"minimal-example@workspace:examples/ts-client/minimal":
version: 0.0.0-use.local
resolution: "minimal-example@workspace:examples/ts-client/minimal"
dependencies:
"@fishjam-dev/ts-client": "npm:*"
autoprefixer: "npm:^10.4.17"
typescript: "npm:^5.4.0"
vite: "npm:^5.1.2"
vite-plugin-checker: "npm:^0.6.4"
languageName: unknown
linkType: soft

"minimal-react-example@workspace:examples/react-client/minimal-react":
version: 0.0.0-use.local
resolution: "minimal-react-example@workspace:examples/react-client/minimal-react"
dependencies:
"@fishjam-dev/react-client": "npm:*"
"@types/react": "npm:^18.2.55"
"@types/react-dom": "npm:^18.2.19"
"@vitejs/plugin-react-swc": "npm:^3.6.0"
autoprefixer: "npm:^10.4.17"
postcss: "npm:^8.4.35"
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
typescript: "npm:^5.4.0"
vite: "npm:^5.1.2"
vite-plugin-checker: "npm:^0.6.4"
languageName: unknown
linkType: soft

"minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
version: 3.1.2
resolution: "minimatch@npm:3.1.2"
Expand Down Expand Up @@ -5267,22 +5284,6 @@ __metadata:
languageName: node
linkType: hard

"simple-app-example@workspace:examples/ts-client/simple-app":
version: 0.0.0-use.local
resolution: "simple-app-example@workspace:examples/ts-client/simple-app"
dependencies:
"@fishjam-dev/browser-media-utils": "https://github.com/fishjam-dev/browser-media-utils#1.0.0"
"@fishjam-dev/ts-client": "npm:*"
autoprefixer: "npm:^10.4.17"
daisyui: "npm:^4.7.2"
postcss: "npm:^8.4.35"
tailwindcss: "npm:^3.4.1"
typescript: "npm:^5.4.0"
vite: "npm:^5.1.2"
vite-plugin-checker: "npm:^0.6.4"
languageName: unknown
linkType: soft

"slash@npm:^3.0.0":
version: 3.0.0
resolution: "slash@npm:3.0.0"
Expand Down

0 comments on commit 67dc3a3

Please sign in to comment.