Skip to content
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

Feat: nuxt #1304

Draft
wants to merge 129 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
d77bd23
build: update nx lib
yvalentin Sep 18, 2024
402a717
Merge branch 'main' into build/update-nx
yvalentin Oct 7, 2024
639e798
build: remove dependency on start cmd and update properly packages :p…
yvalentin Oct 7, 2024
45f6338
build: add and init nuxt
yvalentin Oct 7, 2024
c846642
fix: nuxt with ssr, add pages component, plugin, routing; scss, middl…
yvalentin Oct 10, 2024
1568074
feat: wip
yvalentin Oct 14, 2024
4c5b0a3
fix: eslint
yvalentin Oct 14, 2024
92ee893
Merge branch 'main' into build/update-nx
yvalentin Oct 14, 2024
aef20cf
fix: change input track button to rich radio button. change icon to d…
yvalentin Oct 15, 2024
274788f
fix: disable submit button on sent form
yvalentin Oct 16, 2024
60db27f
Merge branch 'main' into build/update-nx
yvalentin Oct 16, 2024
61fb6ee
Merge branch 'main' into build/update-nx
yvalentin Oct 16, 2024
75ce2af
build: update some lib (vitejs/plugin-vue, vitest/ui, ...). update ma…
yvalentin Oct 16, 2024
989cc16
fix: remove useless icons plugin
yvalentin Oct 16, 2024
b39be67
Merge branch 'fix/icons-dsfr-only' into release/nuxt
yvalentin Oct 16, 2024
280a73a
build: update vue-dsfr and vite.config.mts
yvalentin Oct 16, 2024
eebda4b
fix: merge from main
yvalentin Oct 19, 2024
83a4110
Merge branch 'main' into build/update-nx
yvalentin Oct 19, 2024
ed3ccb8
Merge branch 'main' into build/update-vue-dsfr
yvalentin Oct 19, 2024
c8fba5c
fix: menu header
yvalentin Oct 21, 2024
eb7e7e0
Merge branch 'main' into build/update-vue-dsfr
yvalentin Oct 21, 2024
f9b8fa7
fix: tabs on track result
yvalentin Oct 21, 2024
289b2af
fix: warning on dsfrHeader
yvalentin Oct 21, 2024
5327e5b
fix: filter on accordion
yvalentin Oct 21, 2024
91b15c9
Merge branch 'main' into build/update-vue-dsfr
yvalentin Oct 25, 2024
1618553
fix: accordion and checkbox
yvalentin Oct 25, 2024
c3b8275
Merge branch 'main' into release/nuxt
yvalentin Oct 25, 2024
625c90b
Merge branch 'release/nuxt' into build/update-vue-dsfr
yvalentin Oct 25, 2024
bcf1cbb
build: udpate unhead/vue
yvalentin Oct 25, 2024
ff7ed90
fix(eslint): type on errorMessage and validMessage prop on TeeForm el…
yvalentin Oct 25, 2024
81132c2
Merge branch 'refs/heads/main' into build/update-nx
yvalentin Oct 28, 2024
6b70835
Merge branch 'refs/heads/main' into release/nuxt
yvalentin Oct 28, 2024
43713a6
Merge branch 'build/update-nx' into release/nuxt
yvalentin Oct 28, 2024
a32fd29
fix: merge
yvalentin Oct 28, 2024
ae66697
Merge branch 'build/update-vue-dsfr' into release/nuxt
yvalentin Oct 28, 2024
662ca91
fix: merge
yvalentin Oct 28, 2024
370959f
fix: merge
yvalentin Oct 28, 2024
2014a93
fix: merge conflits
yvalentin Oct 28, 2024
4bc7c34
fix: add middleware in replacement of router hook. Add pages to repla…
yvalentin Oct 29, 2024
ba4b8b2
feat: add server api config (tsConfig/module), :recycle: move track c…
yvalentin Oct 31, 2024
123c2ce
feat: add get programs on backend (with questionnaireData validator. …
yvalentin Oct 31, 2024
0afb172
Merge branch 'refs/heads/main' into release/nuxt
yvalentin Oct 31, 2024
b62b8d1
fix: merge from main
yvalentin Oct 31, 2024
37450b1
Merge branch 'main' into build/update-vue-dsfr
yvalentin Oct 31, 2024
640ceec
fix: merge from main
yvalentin Oct 31, 2024
38ce68b
Merge branch 'release/nuxt' into feat/nuxt
yvalentin Oct 31, 2024
809d2b3
feat: add program and project detail pages
yvalentin Nov 5, 2024
9ebcc75
fix: image path on program list
yvalentin Nov 6, 2024
bc4d741
feat: add sentry
yvalentin Nov 6, 2024
9b0ac16
feat: add csp on nuxt
yvalentin Nov 7, 2024
871aca9
fix: nuxt build
yvalentin Nov 8, 2024
334fa95
feat: add sitemap
yvalentin Nov 10, 2024
a8e2c7b
fix: change TEST env var to DATA_TEST. Because conflit with devTools
yvalentin Nov 10, 2024
0a3be49
feat: add sitemap
yvalentin Nov 11, 2024
3967255
feat: add :robot: txt
yvalentin Nov 11, 2024
dd58276
feat: add get one program from backend
yvalentin Nov 12, 2024
d638333
feat: add e2e
yvalentin Nov 12, 2024
e4c87a2
fix: remove duplicate entry on :package: and useless scss
yvalentin Nov 12, 2024
acf66d1
Merge branch 'build/update-vue-dsfr' into release/nuxt
yvalentin Nov 12, 2024
c02b9ac
Merge branch 'main' into release/nuxt
yvalentin Nov 12, 2024
3fc355a
Merge branch 'release/nuxt' into feat/nuxt
yvalentin Nov 12, 2024
a3123aa
fix: conflit from merge
yvalentin Nov 12, 2024
ac1b747
fix: ci (eslint/...)
yvalentin Nov 12, 2024
44e0b94
fix: ci (github workflow jobs)
yvalentin Nov 12, 2024
a9144d8
fix: ci (github workflow jobs)
yvalentin Nov 12, 2024
4755f49
fix: :package:
yvalentin Nov 12, 2024
596f753
fix(css): :lipstick: add css from file (not from inline). Update sass…
yvalentin Nov 12, 2024
f2e6448
fix: few of them
yvalentin Nov 12, 2024
ab9bf73
fix: nuxt x sentry
yvalentin Nov 12, 2024
6daff0a
feat: add server entrypoint for opportunity, statistics and health
yvalentin Nov 13, 2024
1d70fcb
feat: project detail with ssr
yvalentin Nov 14, 2024
e6c5de9
chore: remove console.log
yvalentin Nov 14, 2024
87e06c7
fix: vuejs error
yvalentin Nov 14, 2024
8a8212f
fix: navigation with isRoute ?
yvalentin Nov 14, 2024
f01fb8d
fix: programs Api. Posthog plugin
yvalentin Nov 18, 2024
42245d9
fix: get program detail with ssr
yvalentin Nov 20, 2024
cac875f
fix: some little fixes (project detail/posthog)
yvalentin Nov 20, 2024
b58f90d
fix: update navigation behavior around project and program details
yvalentin Nov 20, 2024
de17739
fix: consent cookie only on client side
yvalentin Nov 20, 2024
b1d620b
feat: add matomo
yvalentin Nov 20, 2024
406c138
fix: add dev environment on config, rollback tsconfig. remove ImportM…
yvalentin Nov 25, 2024
4ebcc59
Merge branch 'main' into release/nuxt
yvalentin Dec 2, 2024
d0193b3
fix: merge from main
yvalentin Dec 2, 2024
7a3191e
fix: get project from api
yvalentin Dec 2, 2024
c818024
fix: wip to fix project page
yvalentin Dec 3, 2024
8886829
fix: header CTA and navigation isRoute
yvalentin Dec 4, 2024
69d88bd
fix: missing parameters route (projectSlug). ariaPressed Tag
yvalentin Dec 4, 2024
f98518d
fix: add singleton on navigation. ssr on program
yvalentin Dec 4, 2024
c537d8e
wip
yvalentin Dec 5, 2024
a0b6002
fix: ssr result page with tabs
yvalentin Dec 5, 2024
192e091
fix: ssr on track theme cards
yvalentin Dec 5, 2024
1dcfaec
fix: ssr on tracks
yvalentin Dec 5, 2024
e893707
fix: ssr on ResultList
yvalentin Dec 5, 2024
01fd514
chore: remove console log
yvalentin Dec 5, 2024
169f486
feat: update config env and sentry var
yvalentin Dec 5, 2024
047ac4a
feat: add prerender on few pages (homepage/accesibilite/aides-entrepr…
yvalentin Dec 5, 2024
308d1c8
feat: add cache from routing (prerender/swr)
yvalentin Dec 9, 2024
dfefc36
chore: move questionnaire folder on tools
yvalentin Dec 9, 2024
b1fdae5
fix: ssr on some pages
yvalentin Dec 9, 2024
2317447
Merge branch 'main' into release/nuxt
yvalentin Dec 9, 2024
b80638f
Merge branch 'release/nuxt' into feat/nuxt
yvalentin Dec 9, 2024
744d069
fix: merge from main
yvalentin Dec 9, 2024
5f2915b
wip: playwright
yvalentin Dec 11, 2024
f760c2b
Merge branch 'main' into release/nuxt
yvalentin Dec 11, 2024
11857f9
Merge branch 'release/nuxt' into feat/nuxt
yvalentin Dec 11, 2024
d80cae0
fix: merge from main and update playwright
yvalentin Dec 11, 2024
b93be5c
build: change commonjs to esNext and update nuxt test
yvalentin Dec 12, 2024
3de69d5
fix: update config test e2e and test config env
yvalentin Dec 12, 2024
6d10905
fix: update config test e2e and test config env
yvalentin Dec 12, 2024
0f3bc62
fix: page stats
yvalentin Dec 12, 2024
3780703
feat: add cache on programs from api
yvalentin Dec 12, 2024
c2467ab
feat: add redirection
yvalentin Dec 16, 2024
b4fd43a
fix: send form
yvalentin Dec 16, 2024
85ac5eb
fix: scroll from CTAButton on program detail
yvalentin Dec 16, 2024
0ab42fa
Merge branch 'main' into release/nuxt
yvalentin Dec 16, 2024
835e7e5
Merge branch 'release/nuxt' into feat/nuxt
yvalentin Dec 16, 2024
0d87d78
fix: merge from main
yvalentin Dec 16, 2024
36d61a8
fix: little fix about questionnaire route
yvalentin Dec 16, 2024
7f0479d
feat: add cached on api
yvalentin Dec 17, 2024
8680683
Merge branch 'main' into release/nuxt
yvalentin Dec 18, 2024
2792db4
Merge branch 'release/nuxt' into feat/nuxt
yvalentin Dec 18, 2024
3b08f57
feat: add project manager to control Api request for project
yvalentin Dec 18, 2024
103d034
feat: improve programs data requested
yvalentin Dec 19, 2024
c06dfea
fix: questionnaire result in tabs
yvalentin Dec 20, 2024
78884df
Merge branch 'main' into release/nuxt
yvalentin Dec 20, 2024
26dbc94
fix: merge from main
yvalentin Dec 20, 2024
bfae7f8
fix: CatalogPrograms get eligible from company data
yvalentin Dec 20, 2024
7a6b665
fix: CatalogPrograms get eligible from company data
yvalentin Dec 20, 2024
2255cc2
fix: CatalogPrograms get eligible from company data
yvalentin Dec 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
test:
if: false
timeout-minutes: 60
runs-on: ubuntu-latest
strategy:
Expand All @@ -25,7 +26,7 @@ jobs:
run: npx playwright install --with-deps
- name: Run Playwright tests
env:
TEST: true
VITE_DATA_TEST: true
THIRD_PARTY_API_ENABLED: false
run: npm run e2e
- uses: actions/upload-artifact@v4
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
- run: npm clean-install --foreground-scripts

- run: npx nx run @tee/data:generate-program
- run: npx nx run @tee/backend:spec-and-routes
- run: npm run lint

lint-css:
Expand All @@ -64,7 +63,7 @@ jobs:
cache: 'npm'
- run: npm clean-install --foreground-scripts

- run: npx nx run @tee/web:sass-lint -f github
- run: npx nx run @tee/nuxt:sass-lint -f github


type-check:
Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,10 @@ dispositifs*.xlsx
/playwright-report/
/blob-report/
/playwright/.cache/

# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ height="75px">

This repository is a monorepo, based on [npm workspaces](https://docs.npmjs.com/cli/v7/using-npm/workspaces/) composed of two workspaces:

- the ["web" workspace](apps/web/README.md) contains the front-end implementations.
- the ["web" workspace](apps/nuxt/README.md) contains the front-end implementations.
- the ["backend" workspace](./libs/backend-ddd/README.md) contains the back-end implementations.
- the ["data" workspace](./libs/data/README.md) contains the datasets and common files for datasets builds.
- the ["web-e2e" workspace](apps/web-e2e/README.md) contains the front-end end to end testing.
- the ["web-e2e" workspace](apps/nuxt-e2e/README.md) contains the front-end end to end testing.

## Getting started

Expand Down Expand Up @@ -191,7 +191,7 @@ More scripts are defined for each workspace: checkout their respective documenta

- backend: [README](./packages/backend/README.md) / [package.json](./packages/backend/package.json)
- data: [README](./packages/data/README.md) / [package.json](./packages/data/package.json)
- web: [README](apps/web/README.md) / [package.json](./packages/web/package.json)
- web: [README](apps/nuxt/README.md) / [package.json](./packages/web/package.json)

Scripts can be triggered with:

Expand Down
19 changes: 0 additions & 19 deletions apps/backend-e2e/jest.config.ts

This file was deleted.

17 changes: 0 additions & 17 deletions apps/backend-e2e/project.json

This file was deleted.

10 changes: 0 additions & 10 deletions apps/backend-e2e/src/backend/backend.spec.ts

This file was deleted.

10 changes: 0 additions & 10 deletions apps/backend-e2e/src/support/global-setup.ts

This file was deleted.

7 changes: 0 additions & 7 deletions apps/backend-e2e/src/support/global-teardown.ts

This file was deleted.

10 changes: 0 additions & 10 deletions apps/backend-e2e/src/support/test-setup.ts

This file was deleted.

13 changes: 0 additions & 13 deletions apps/backend-e2e/tsconfig.json

This file was deleted.

9 changes: 0 additions & 9 deletions apps/backend-e2e/tsconfig.spec.json

This file was deleted.

27 changes: 0 additions & 27 deletions apps/backend/.env.example

This file was deleted.

18 changes: 0 additions & 18 deletions apps/backend/.eslintrc.json

This file was deleted.

11 changes: 0 additions & 11 deletions apps/backend/jest.config.ts

This file was deleted.

60 changes: 0 additions & 60 deletions apps/backend/project.json

This file was deleted.

54 changes: 0 additions & 54 deletions apps/backend/src/app.ts

This file was deleted.

Loading
Loading