@data-fair/app-calendar 1.2.13 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.html CHANGED
@@ -1,26 +1,36 @@
1
1
  <!DOCTYPE html>
2
- <html lang="fr">
2
+ <html><!-- pas de lang : posé par le proxy data-fair -->
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <meta name="x-capture" content="trigger" />
7
- <meta name="df:sync-state" content="true">
6
+
7
+ <!-- ordre des cascade layers épinglé avant tout style : Vuetify 4 livre son CSS
8
+ en layers, la priorité dépend de l'ordre de première déclaration des noms -->
9
+ <style>@layer vuetify-core, vuetify-components, vuetify-overrides, vuetify-utilities, vuetify-final;</style>
10
+ <link href="/simple-directory/api/sites/_theme.css" rel="stylesheet">
11
+ <script src="/simple-directory/api/sites/_public.js"></script>
12
+
13
+ <title>Calendar</title>
14
+
15
+ <!-- contrat data-fair, lu à l'exécution -->
16
+ <meta name="df:vjsf" content="3" />
8
17
  <meta name="df:filter-concepts" content="true" />
9
- <meta name="df:overflow" content="true">
10
- <meta name="thumbnail" content="thumbnail.png" />
11
- <meta name="{VERSION}" content="trigger" />
12
- <meta name="application-name" content="Application Calendrier">
13
- <meta name="description" lang="fr" content="Une application de type calendrier">
14
- <meta name="keywords" lang="fr" content="Calendrier">
15
- <title lang="fr">Calendrier</title>
16
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito:300,400,500,700,400italic" />
17
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@7.x/css/materialdesignicons.min.css" />
18
- <!-- Capture a global variable defined by data-fair's reverse proxy. -->
18
+ <meta name="df:sync-config" content="true" />
19
+ <meta name="df:sync-state" content="true" />
20
+ <meta name="df:overflow" content="true" />
21
+ <meta name="df:capture-delay" content="5" />
22
+
23
+ <!-- catalogue, lu à l'import -->
24
+ <meta name="application-name" content="Application Calendrier" />
25
+ <meta name="description" content="Une application de type calendrier" />
26
+
27
+ <!-- contrat data-fair : global posé par le proxy (substitution de %APPLICATION%) -->
19
28
  <script type="text/javascript">window.APPLICATION=%APPLICATION%;</script>
20
- <script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@data-fair/app-calendar@1.2.13/dist/assets/index-DWmVTbRH.js"></script>
21
- <link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/npm/@data-fair/app-calendar@1.2.13/dist/assets/index-BhUGjgE1.css">
29
+ <script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@data-fair/app-calendar@1.3.0/dist/assets/index-DXp72Wqb.js"></script>
30
+ <link rel="modulepreload" crossorigin href="https://cdn.jsdelivr.net/npm/@data-fair/app-calendar@1.3.0/dist/assets/rolldown-runtime-C0FnF6B9.js">
31
+ <link rel="stylesheet" crossorigin href="https://cdn.jsdelivr.net/npm/@data-fair/app-calendar@1.3.0/dist/assets/index-BlvcGW_j.css">
22
32
  </head>
23
33
  <body>
24
- <div id="app"></div>
34
+ <main id="app" style="height:100vh"></main>
25
35
  </body>
26
36
  </html>
Binary file
package/package.json CHANGED
@@ -1,15 +1,23 @@
1
1
  {
2
2
  "name": "@data-fair/app-calendar",
3
- "version": "1.2.13",
3
+ "version": "1.3.0",
4
4
  "type": "module",
5
5
  "scripts": {
6
- "dev": "zellij --layout .zellij.kdl",
7
- "dev-server": "APP_URL=http://localhost:3000/app/ df-dev-server",
6
+ "dev": "df-dev-env && dotenv -- zellij --layout .zellij.kdl",
8
7
  "dev-app": "vite",
8
+ "dev-server": "df-dev-server",
9
9
  "build": "PUBLIC_URL=https://cdn.jsdelivr.net/npm/@data-fair/app-calendar@${npm_package_version}/dist vite build",
10
10
  "build-test": "PUBLIC_URL=https://staging-koumoul.com/apps/calendar/master/ vite build",
11
+ "build-types": "df-build-types && cp src/config/.type/resolved-schema.json public/config-schema.json",
11
12
  "preview": "vite preview",
12
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
13
+ "lint": "eslint .",
14
+ "lint-fix": "eslint --fix .",
15
+ "prepare": "husky || true",
16
+ "type-check": "vue-tsc --noEmit",
17
+ "test": "npm run test-unit && df-dev-env && dotenv -- playwright test --max-failures=1",
18
+ "test-unit": "vitest run",
19
+ "test-e2e": "df-dev-env && dotenv -- playwright test",
20
+ "quality": "npm run lint && npm run build-types && npm run type-check && npm run build && npm test && npm audit --omit=dev --audit-level=critical"
13
21
  },
14
22
  "files": [
15
23
  "dist"
@@ -21,35 +29,49 @@
21
29
  "not ie 11"
22
30
  ],
23
31
  "dependencies": {
24
- "@data-fair/lib-utils": "^1.6.1",
25
- "@data-fair/lib-vue": "^1.23.5",
26
- "@data-fair/lib-vuetify": "^1.13.1",
27
- "@fullcalendar/core": "^6.1.10",
28
- "@fullcalendar/daygrid": "^6.1.10",
29
- "@fullcalendar/interaction": "^6.1.10",
30
- "@fullcalendar/list": "^6.1.14",
31
- "@fullcalendar/timegrid": "^6.1.10",
32
- "@fullcalendar/vue3": "^6.1.10",
33
- "@koumoul/vjsf": "^3.20.4",
34
- "@koumoul/vjsf-markdown": "^0.3.2",
35
- "@vueuse/core": "^10.7.2",
32
+ "@data-fair/frame": "^0.18.5",
33
+ "@data-fair/lib-utils": "^1.10.2",
34
+ "@data-fair/lib-vue": "^1.27.2",
35
+ "@data-fair/lib-vuetify": "^2.3.0",
36
+ "@koumoul/vjsf": "^4.3.1",
37
+ "@koumoul/vjsf-markdown": "^0.5.1",
38
+ "@vueuse/core": "^14.4.0",
36
39
  "@wojtekmaj/opening-hours-utils": "^1.0.0",
37
40
  "ajv-formats": "^3.0.1",
38
- "chroma-js": "^2.4.2",
41
+ "chroma-js": "^3.2.0",
39
42
  "dayjs": "^1.11.13",
40
43
  "ofetch": "^1.3.4",
41
- "vue": "^3.5.27",
42
- "vuetify": "^3.11.7"
44
+ "vue": "^3.4.29",
45
+ "vue-i18n": "^11.4.10",
46
+ "vuetify": "^4.0.6"
43
47
  },
44
48
  "devDependencies": {
45
- "@data-fair/dev-server": "^2.0.24",
46
- "@vitejs/plugin-vue": "^6.0.0",
47
- "eslint": "^8.57.0",
48
- "eslint-config-standard": "^17.1.0",
49
- "eslint-plugin-import": "^2.29.1",
50
- "eslint-plugin-vue": "^9.26.0",
49
+ "@commitlint/cli": "^19.8.1",
50
+ "@commitlint/config-conventional": "^19.8.1",
51
+ "@data-fair/dev-server": "^2.5.0",
52
+ "@data-fair/lib-types-builder": "^1.12.0",
53
+ "@intlify/unplugin-vue-i18n": "^11.2.5",
54
+ "@playwright/test": "^1.61.1",
55
+ "@types/chroma-js": "^3.1.2",
56
+ "@types/node": "^25.6.0",
57
+ "@typescript-eslint/parser": "^8.59.1",
58
+ "@vitejs/plugin-vue": "^6.0.6",
59
+ "@vue/test-utils": "^2.4.11",
60
+ "dotenv-cli": "^11.0.0",
61
+ "eslint": "^9.0.0",
62
+ "eslint-plugin-vue": "^10.2.0",
63
+ "eslint-plugin-vuetify": "^2.5.2",
64
+ "happy-dom": "^20.11.6",
65
+ "husky": "^9.1.7",
66
+ "neostandard": "^0.13.0",
67
+ "rollup-plugin-visualizer": "^7.0.1",
51
68
  "sass": "^1.77.6",
52
- "vite": "npm:rolldown-vite@^7.2.5",
53
- "vite-plugin-vuetify": "^2.1.3"
69
+ "sass-embedded": "^1.103.1",
70
+ "typescript": "^6.0.3",
71
+ "vite": "^8.0.10",
72
+ "vite-plugin-vuetify": "^2.1.3",
73
+ "vitest": "^4.1.11",
74
+ "vue-eslint-parser": "^10.0.0",
75
+ "vue-tsc": "^3.2.7"
54
76
  }
55
77
  }