Skip to content

Commit 94a70ec

Browse files
authored
Merge pull request #138 from Front-End-Coders-Mauritius/136-move-to-monorepo-structure
move to monorepo structure
2 parents 0a76c4b + a3e7759 commit 94a70ec

File tree

214 files changed

+2002
-2408
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

214 files changed

+2002
-2408
lines changed

.astro/types.d.ts

Lines changed: 0 additions & 215 deletions
This file was deleted.

.github/workflows/playwright.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- name: Checkout code
17-
uses: actions/checkout@v2
16+
- name: Checkout code
17+
uses: actions/checkout@v2
1818

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

24-
- name: Install dependencies
25-
run: |
26-
npm install -g pnpm
27-
pnpm install --no-frozen-lockfile
24+
- name: Install dependencies
25+
run: |
26+
npm install -g pnpm
27+
pnpm install --no-frozen-lockfile
2828
29-
- name: Install Browsers
30-
run: pnpm exec playwright install
29+
- name: Install Browsers
30+
run: pnpm exec playwright install
3131

32-
- name: Run Playwright tests
33-
run: |
34-
pnpm run test
32+
- name: Run Playwright tests
33+
run: |
34+
pnpm run astro test

.github/workflows/update-contributors.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: pnpm/action-setup@v2
2121
with:
2222
version: 6.0.2
23-
23+
2424
# - name: Install Node.js
2525
# uses: actions/setup-node@v2
2626
# with:
@@ -32,4 +32,4 @@ jobs:
3232
- name: Update Contributors
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35-
run: pnpm run update-contributors
35+
run: pnpm run astro update-contributors

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ pnpm-debug.log*
2020
.DS_Store
2121

2222
#astro files
23-
.astro
24-
/test-results/
25-
/playwright-report/
23+
.astro/
24+
test-results/
25+
playwright-report/
2626
/blob-report/
27-
/playwright/.cache/
27+
playwright/.cache/
2828
.vercel

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ Live website : https://frontend.mu/
1212
pnpm install
1313
```
1414

15+
This project uses pnpm workspaces
16+
17+
To run the astro project, run the following command
18+
1519
```
16-
pnpm run dev
20+
pnpm run astro dev
1721
```
1822

1923
## Environment variables

package.json

Lines changed: 9 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,11 @@
11
{
2-
"name": "frontend.mu",
3-
"version": "0.0.3",
4-
"type": "module",
5-
"scripts": {
6-
"dev": "astro dev --port 3000",
7-
"start": "astro dev",
8-
"build": "astro build",
9-
"preview": "astro preview",
10-
"astro": "astro",
11-
"update-contributors": "node ./automation/update-contributors.js",
12-
"prebuild": "node ./scripts/pre-run",
13-
"predev": "node ./scripts/pre-run",
14-
"test": "playwright test",
15-
"codegen": "playwright codegen"
16-
},
17-
"dependencies": {
18-
"@astrojs/mdx": "^2.0.0",
19-
"@astrojs/rss": "^4.0.0",
20-
"@astrojs/sitemap": "^3.0.3",
21-
"@directus/sdk": "^13.0.2",
22-
"@heroicons/vue": "^2.0.18",
23-
"@nanostores/persistent": "^0.9.1",
24-
"@nanostores/vue": "^0.10.0",
25-
"@sentry/astro": "^7.98.0",
26-
"@supabase/supabase-js": "^2.39.0",
27-
"@vueuse/core": "^10.7.0",
28-
"add-to-calendar-button": "^2.5.7",
29-
"astro": "^4.0.2",
30-
"date-fns": "^2.30.0",
31-
"nanostores": "^0.9.5",
32-
"sharp": "^0.31.3",
33-
"vanilla-tilt": "^1.8.1",
34-
"vanilla-tilt-vue": "^0.1.3",
35-
"vue-qrcode-reader": "^5.5.3"
36-
},
37-
"devDependencies": {
38-
"@astrojs/vue": "^4.0.8",
39-
"@headlessui/vue": "^1.7.16",
40-
"@iconify-json/carbon": "^1.1.24",
41-
"@iconify-json/emojione-monotone": "^1.1.7",
42-
"@iconify-json/eos-icons": "^1.1.9",
43-
"@iconify-json/fa6-solid": "^1.1.19",
44-
"@iconify-json/fluent": "^1.1.43",
45-
"@iconify-json/fluent-emoji-high-contrast": "^1.1.13",
46-
"@iconify-json/fxemoji": "^1.1.7",
47-
"@iconify-json/game-icons": "^1.1.6",
48-
"@iconify-json/ic": "^1.1.16",
49-
"@iconify-json/icon-park-twotone": "^1.1.13",
50-
"@iconify-json/iconoir": "^1.1.36",
51-
"@iconify-json/logos": "^1.1.40",
52-
"@iconify-json/material-symbols": "^1.1.65",
53-
"@iconify-json/mdi": "^1.1.59",
54-
"@iconify-json/ph": "^1.1.8",
55-
"@iconify-json/radix-icons": "^1.1.13",
56-
"@iconify-json/solar": "^1.1.8",
57-
"@iconify-json/svg-spinners": "^1.1.2",
58-
"@iconify-json/system-uicons": "^1.1.11",
59-
"@playwright/test": "^1.40.1",
60-
"@tailwindcss/aspect-ratio": "^0.4.2",
61-
"@tailwindcss/line-clamp": "^0.4.4",
62-
"@tailwindcss/typography": "^0.5.10",
63-
"@types/node": "^20.10.3",
64-
"@vercel/node": "^3.0.17",
65-
"autoprefixer": "^10.4.16",
66-
"axios": "^1.6.6",
67-
"daisyui": "^4.4.19",
68-
"postcss": "^8.4.32",
69-
"postcss-import": "^15.1.0",
70-
"slugify": "^1.6.6",
71-
"tailwindcss": "^3.3.6",
72-
"unplugin-icons": "^0.18.1",
73-
"vue": "^3.3.10",
74-
"web-vitals": "^3.5.0"
75-
}
2+
"name": "frontend.mu-monorepo",
3+
"version": "1.0.0",
4+
"description": "",
5+
"scripts": {
6+
"astro": "pnpm --filter @frontend.mu/astro"
7+
},
8+
"keywords": [],
9+
"author": "",
10+
"license": "ISC"
7611
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)