Skip to content

136 move to monorepo structure #138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
May 2, 2024
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
215 changes: 0 additions & 215 deletions .astro/types.d.ts

This file was deleted.

30 changes: 15 additions & 15 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20 # Replace with the latest Node.js version
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20 # Replace with the latest Node.js version

- name: Install dependencies
run: |
npm install -g pnpm
pnpm install --no-frozen-lockfile
- name: Install dependencies
run: |
npm install -g pnpm
pnpm install --no-frozen-lockfile

- name: Install Browsers
run: pnpm exec playwright install
- name: Install Browsers
run: pnpm exec playwright install

- name: Run Playwright tests
run: |
pnpm run test
- name: Run Playwright tests
run: |
pnpm run astro test
4 changes: 2 additions & 2 deletions .github/workflows/update-contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: pnpm/action-setup@v2
with:
version: 6.0.2

# - name: Install Node.js
# uses: actions/setup-node@v2
# with:
Expand All @@ -32,4 +32,4 @@ jobs:
- name: Update Contributors
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm run update-contributors
run: pnpm run astro update-contributors
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ pnpm-debug.log*
.DS_Store

#astro files
.astro
/test-results/
/playwright-report/
.astro/
test-results/
playwright-report/
/blob-report/
/playwright/.cache/
playwright/.cache/
.vercel
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ Live website : https://frontend.mu/
pnpm install
```

This project uses pnpm workspaces

To run the astro project, run the following command

```
pnpm run dev
pnpm run astro dev
```

## Environment variables
Expand Down
83 changes: 9 additions & 74 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,76 +1,11 @@
{
"name": "frontend.mu",
"version": "0.0.3",
"type": "module",
"scripts": {
"dev": "astro dev --port 3000",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro",
"update-contributors": "node ./automation/update-contributors.js",
"prebuild": "node ./scripts/pre-run",
"predev": "node ./scripts/pre-run",
"test": "playwright test",
"codegen": "playwright codegen"
},
"dependencies": {
"@astrojs/mdx": "^2.0.0",
"@astrojs/rss": "^4.0.0",
"@astrojs/sitemap": "^3.0.3",
"@directus/sdk": "^13.0.2",
"@heroicons/vue": "^2.0.18",
"@nanostores/persistent": "^0.9.1",
"@nanostores/vue": "^0.10.0",
"@sentry/astro": "^7.98.0",
"@supabase/supabase-js": "^2.39.0",
"@vueuse/core": "^10.7.0",
"add-to-calendar-button": "^2.5.7",
"astro": "^4.0.2",
"date-fns": "^2.30.0",
"nanostores": "^0.9.5",
"sharp": "^0.31.3",
"vanilla-tilt": "^1.8.1",
"vanilla-tilt-vue": "^0.1.3",
"vue-qrcode-reader": "^5.5.3"
},
"devDependencies": {
"@astrojs/vue": "^4.0.8",
"@headlessui/vue": "^1.7.16",
"@iconify-json/carbon": "^1.1.24",
"@iconify-json/emojione-monotone": "^1.1.7",
"@iconify-json/eos-icons": "^1.1.9",
"@iconify-json/fa6-solid": "^1.1.19",
"@iconify-json/fluent": "^1.1.43",
"@iconify-json/fluent-emoji-high-contrast": "^1.1.13",
"@iconify-json/fxemoji": "^1.1.7",
"@iconify-json/game-icons": "^1.1.6",
"@iconify-json/ic": "^1.1.16",
"@iconify-json/icon-park-twotone": "^1.1.13",
"@iconify-json/iconoir": "^1.1.36",
"@iconify-json/logos": "^1.1.40",
"@iconify-json/material-symbols": "^1.1.65",
"@iconify-json/mdi": "^1.1.59",
"@iconify-json/ph": "^1.1.8",
"@iconify-json/radix-icons": "^1.1.13",
"@iconify-json/solar": "^1.1.8",
"@iconify-json/svg-spinners": "^1.1.2",
"@iconify-json/system-uicons": "^1.1.11",
"@playwright/test": "^1.40.1",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/line-clamp": "^0.4.4",
"@tailwindcss/typography": "^0.5.10",
"@types/node": "^20.10.3",
"@vercel/node": "^3.0.17",
"autoprefixer": "^10.4.16",
"axios": "^1.6.6",
"daisyui": "^4.4.19",
"postcss": "^8.4.32",
"postcss-import": "^15.1.0",
"slugify": "^1.6.6",
"tailwindcss": "^3.3.6",
"unplugin-icons": "^0.18.1",
"vue": "^3.3.10",
"web-vitals": "^3.5.0"
}
"name": "frontend.mu-monorepo",
"version": "1.0.0",
"description": "",
"scripts": {
"astro": "pnpm --filter @frontend.mu/astro"
},
"keywords": [],
"author": "",
"license": "ISC"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Loading