diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 8ff2758..c426d35 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -1,30 +1,30 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
- "name": "Node.js & TypeScript",
- // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
- "image": "mcr.microsoft.com/devcontainers/typescript-node:0-18",
- "features": {
- "ghcr.io/devcontainers/features/github-cli:1": {
- "installDirectlyFromGitHubRelease": true,
- "version": "latest"
- },
- "ghcr.io/devcontainers/features/node:1": {
- "nodeGypDependencies": true,
- "version": "lts"
- }
- },
- // Features to add to the dev container. More info: https://containers.dev/features.
- // "features": {},
- // Use 'forwardPorts' to make a list of ports inside the container available locally.
- "forwardPorts": [
- 3000
- ],
- // Use 'postCreateCommand' to run commands after the container is created.
- "postCreateCommand": "pnpm install",
- "postStartCommand": "pnpm run dev",
- // Configure tool-specific properties.
- // "customizations": {},
- // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
- // "remoteUser": "root"
+ "name": "Node.js & TypeScript",
+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
+ "image": "mcr.microsoft.com/devcontainers/typescript-node:0-18",
+ "features": {
+ "ghcr.io/devcontainers/features/github-cli:1": {
+ "installDirectlyFromGitHubRelease": true,
+ "version": "latest"
+ },
+ "ghcr.io/devcontainers/features/node:1": {
+ "nodeGypDependencies": true,
+ "version": "lts"
+ }
+ },
+ // Features to add to the dev container. More info: https://containers.dev/features.
+ // "features": {},
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
+ "forwardPorts": [
+ 3000
+ ],
+ // Use 'postCreateCommand' to run commands after the container is created.
+ "postCreateCommand": "pnpm install",
+ "postStartCommand": "pnpm run dev"
+ // Configure tool-specific properties.
+ // "customizations": {},
+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
+ // "remoteUser": "root"
}
diff --git a/.eslintrc b/.eslintrc
deleted file mode 100644
index 665efa6..0000000
--- a/.eslintrc
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "extends": "@antfu",
- "rules": {
- "yml/no-empty-mapping-value": "off"
- }
-}
diff --git a/README.md b/README.md
index 415b53c..c6ebdb1 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,3 @@
-
# ArmoniK Docs Theme
[![NPM version](https://img.shields.io/npm/v/@aneoconsultingfr/armonik-docs-theme?color=3AB9D4&label=)](https://www.npmjs.com/package/@aneoconsultingfr/armonik-docs-theme)
diff --git a/components/content/ProseImg.vue b/components/content/ProseImg.vue
index 3fd90a8..0d78d94 100644
--- a/components/content/ProseImg.vue
+++ b/components/content/ProseImg.vue
@@ -36,7 +36,7 @@ const refinedSrc = computed(() => {
diff --git a/components/global/Logo.vue b/components/global/Logo.vue
index ef0a53f..21dfd69 100644
--- a/components/global/Logo.vue
+++ b/components/global/Logo.vue
@@ -148,10 +148,10 @@
diff --git a/eslint.config.mjs b/eslint.config.mjs
new file mode 100644
index 0000000..fc2a34d
--- /dev/null
+++ b/eslint.config.mjs
@@ -0,0 +1,7 @@
+import antfu from '@antfu/eslint-config'
+
+export default antfu().prepend({
+ rules: {
+ 'yml/no-empty-mapping-value': 'off',
+ },
+})
diff --git a/package.json b/package.json
index e561d61..55ec2bb 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,6 @@
"name": "@aneoconsultingfr/armonik-docs-theme",
"type": "module",
"version": "0.6.13",
- "packageManager": "pnpm@9.1.2",
"description": "A theme to harmonize and easily maintain each ArmoniK Documentation.",
"homepage": "https://github.com/aneoconsulting/armonik-docs-theme#readme",
"repository": {
@@ -14,10 +13,10 @@
},
"main": "nuxt.config.ts",
"files": [
- "components",
- "composables",
"app.config.ts",
"app.vue",
+ "components",
+ "composables",
"nuxt.config.ts",
"tokens.config.ts"
],
@@ -43,6 +42,7 @@
},
"devDependencies": {
"@antfu/eslint-config": "^2.18.1",
+ "@nuxt/eslint-config": "^0.3.13",
"@parcel/watcher": "^2.2.0",
"bumpp": "^9.1.1",
"case-police": "^0.6.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index a1bb218..12327b8 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -13,7 +13,7 @@ importers:
version: 1.14.3(axios@0.27.2)(change-case@4.1.2)(nuxt@3.6.5(@parcel/watcher@2.2.0)(@types/node@20.4.5)(encoding@0.1.13)(eslint@9.3.0)(optionator@0.9.3)(rollup@3.26.3)(terser@5.19.2)(typescript@5.1.6))(postcss@8.4.27)(rollup@3.26.3)(vue@3.3.4)
'@nuxt/devtools':
specifier: ^1.3.1
- version: 1.3.1(@unocss/reset@0.50.8)(axios@0.27.2)(change-case@4.1.2)(floating-vue@5.2.2(@nuxt/kit@3.11.2(rollup@3.26.3))(vue@3.3.4))(fuse.js@6.6.2)(nuxt@3.6.5(@parcel/watcher@2.2.0)(@types/node@20.4.5)(encoding@0.1.13)(eslint@9.3.0)(optionator@0.9.3)(rollup@3.26.3)(terser@5.19.2)(typescript@5.1.6))(rollup@3.26.3)(unocss@0.60.3(postcss@8.4.27)(rollup@3.26.3)(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2)))(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2))(vue@3.3.4)
+ version: 1.3.1(@unocss/reset@0.60.3)(axios@0.27.2)(change-case@4.1.2)(floating-vue@5.2.2(@nuxt/kit@3.11.2(rollup@3.26.3))(vue@3.3.4))(fuse.js@6.6.2)(nuxt@3.6.5(@parcel/watcher@2.2.0)(@types/node@20.4.5)(encoding@0.1.13)(eslint@9.3.0)(optionator@0.9.3)(rollup@3.26.3)(terser@5.19.2)(typescript@5.1.6))(rollup@3.26.3)(unocss@0.60.3(postcss@8.4.27)(rollup@3.26.3)(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2)))(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2))(vue@3.3.4)
mermaid:
specifier: ^10.3.0
version: 10.3.0
@@ -30,6 +30,9 @@ importers:
'@antfu/eslint-config':
specifier: ^2.18.1
version: 2.18.1(@vue/compiler-sfc@3.3.4)(eslint@9.3.0)(typescript@5.1.6)
+ '@nuxt/eslint-config':
+ specifier: ^0.3.13
+ version: 0.3.13(eslint@9.3.0)(typescript@5.1.6)
'@parcel/watcher':
specifier: ^2.2.0
version: 2.2.0
@@ -924,6 +927,16 @@ packages:
nuxt: ^3.9.0
vite: '*'
+ '@nuxt/eslint-config@0.3.13':
+ resolution: {integrity: sha512-xnMkcrz9vFjtIuKsfOPhNOKFVD51JZClj/16raciHVOK9eiqZuQjbxaf60b7ffk7cmD1EDhlQhbSxaLAJm/QYg==}
+ peerDependencies:
+ eslint: ^8.57.0 || ^9.0.0
+
+ '@nuxt/eslint-plugin@0.3.13':
+ resolution: {integrity: sha512-8LW9QJgVSARgO7QZmRy6vmWjDdHiAy/GNN3zKFPBetQxj5ECXsK0Ggfn8RiSi9rgqJSQjXDvMMHFpHiDETXgSQ==}
+ peerDependencies:
+ eslint: ^8.57.0 || ^9.0.0
+
'@nuxt/kit@3.11.2':
resolution: {integrity: sha512-yiYKP0ZWMW7T3TCmsv4H8+jEsB/nFriRAR8bKoSqSV9bkVYWPE36sf7JDux30dQ91jSlQG6LQkB3vCHYTS2cIg==}
engines: {node: ^14.18.0 || >=16.10.0}
@@ -1147,6 +1160,9 @@ packages:
rollup:
optional: true
+ '@rushstack/eslint-patch@1.10.3':
+ resolution: {integrity: sha512-qC/xYId4NMebE6w/V33Fh9gWxLgURiNYgVNObbJl2LZv0GUUItCcCqC5axQSwRaAgaxl2mELq1rMzlswaQ0Zxg==}
+
'@shikijs/core@1.5.2':
resolution: {integrity: sha512-wSAOgaz48GmhILFElMCeQypSZmj6Ru6DttOOtl3KNkdJ17ApQuGNCfzpk4cClasVrnIu45++2DBwG4LNMQAfaA==}
@@ -5547,6 +5563,9 @@ packages:
tslib@2.6.1:
resolution: {integrity: sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==}
+ tslib@2.6.2:
+ resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}
+
tuf-js@2.2.1:
resolution: {integrity: sha512-GwIJau9XaA8nLVbUXsN3IlFi7WmQ48gBUrl3FTkkL/XLu/POhBzfmX9hd33FNMX1qAsfl6ozO1iMmW9NC8YniA==}
engines: {node: ^16.14.0 || >=18.0.0}
@@ -6532,7 +6551,7 @@ snapshots:
'@babel/core': 7.24.5
'@babel/helper-module-transforms': 7.24.5(@babel/core@7.24.5)
'@babel/helper-plugin-utils': 7.24.5
- '@babel/helper-simple-access': 7.22.5
+ '@babel/helper-simple-access': 7.24.5
'@babel/plugin-transform-typescript@7.22.9(@babel/core@7.22.9)':
dependencies:
@@ -7171,13 +7190,13 @@ snapshots:
rc9: 2.1.2
semver: 7.6.2
- '@nuxt/devtools@1.3.1(@unocss/reset@0.50.8)(axios@0.27.2)(change-case@4.1.2)(floating-vue@5.2.2(@nuxt/kit@3.11.2(rollup@3.26.3))(vue@3.3.4))(fuse.js@6.6.2)(nuxt@3.6.5(@parcel/watcher@2.2.0)(@types/node@20.4.5)(encoding@0.1.13)(eslint@9.3.0)(optionator@0.9.3)(rollup@3.26.3)(terser@5.19.2)(typescript@5.1.6))(rollup@3.26.3)(unocss@0.60.3(postcss@8.4.27)(rollup@3.26.3)(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2)))(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2))(vue@3.3.4)':
+ '@nuxt/devtools@1.3.1(@unocss/reset@0.60.3)(axios@0.27.2)(change-case@4.1.2)(floating-vue@5.2.2(@nuxt/kit@3.11.2(rollup@3.26.3))(vue@3.3.4))(fuse.js@6.6.2)(nuxt@3.6.5(@parcel/watcher@2.2.0)(@types/node@20.4.5)(encoding@0.1.13)(eslint@9.3.0)(optionator@0.9.3)(rollup@3.26.3)(terser@5.19.2)(typescript@5.1.6))(rollup@3.26.3)(unocss@0.60.3(postcss@8.4.27)(rollup@3.26.3)(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2)))(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2))(vue@3.3.4)':
dependencies:
'@antfu/utils': 0.7.8
'@nuxt/devtools-kit': 1.3.1(nuxt@3.6.5(@parcel/watcher@2.2.0)(@types/node@20.4.5)(encoding@0.1.13)(eslint@9.3.0)(optionator@0.9.3)(rollup@3.26.3)(terser@5.19.2)(typescript@5.1.6))(rollup@3.26.3)(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2))
'@nuxt/devtools-wizard': 1.3.1
'@nuxt/kit': 3.11.2(rollup@3.26.3)
- '@vue/devtools-applet': 7.2.1(@unocss/reset@0.50.8)(axios@0.27.2)(change-case@4.1.2)(floating-vue@5.2.2(@nuxt/kit@3.11.2(rollup@3.26.3))(vue@3.3.4))(fuse.js@6.6.2)(unocss@0.60.3(postcss@8.4.27)(rollup@3.26.3)(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2)))(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2))(vue@3.3.4)
+ '@vue/devtools-applet': 7.2.1(@unocss/reset@0.60.3)(axios@0.27.2)(change-case@4.1.2)(floating-vue@5.2.2(@nuxt/kit@3.11.2(rollup@3.26.3))(vue@3.3.4))(fuse.js@6.6.2)(unocss@0.60.3(postcss@8.4.27)(rollup@3.26.3)(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2)))(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2))(vue@3.3.4)
'@vue/devtools-core': 7.2.1(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2))(vue@3.3.4)
'@vue/devtools-kit': 7.2.1(vue@3.3.4)
birpc: 0.2.17
@@ -7236,6 +7255,39 @@ snapshots:
- utf-8-validate
- vue
+ '@nuxt/eslint-config@0.3.13(eslint@9.3.0)(typescript@5.1.6)':
+ dependencies:
+ '@eslint/js': 9.3.0
+ '@nuxt/eslint-plugin': 0.3.13(eslint@9.3.0)(typescript@5.1.6)
+ '@rushstack/eslint-patch': 1.10.3
+ '@stylistic/eslint-plugin': 2.1.0(eslint@9.3.0)(typescript@5.1.6)
+ '@typescript-eslint/eslint-plugin': 7.10.0(@typescript-eslint/parser@7.10.0(eslint@9.3.0)(typescript@5.1.6))(eslint@9.3.0)(typescript@5.1.6)
+ '@typescript-eslint/parser': 7.10.0(eslint@9.3.0)(typescript@5.1.6)
+ eslint: 9.3.0
+ eslint-config-flat-gitignore: 0.1.5
+ eslint-flat-config-utils: 0.2.5
+ eslint-plugin-import-x: 0.5.0(eslint@9.3.0)(typescript@5.1.6)
+ eslint-plugin-jsdoc: 48.2.5(eslint@9.3.0)
+ eslint-plugin-regexp: 2.5.0(eslint@9.3.0)
+ eslint-plugin-unicorn: 53.0.0(eslint@9.3.0)
+ eslint-plugin-vue: 9.26.0(eslint@9.3.0)
+ globals: 15.3.0
+ pathe: 1.1.2
+ tslib: 2.6.2
+ vue-eslint-parser: 9.4.2(eslint@9.3.0)
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+
+ '@nuxt/eslint-plugin@0.3.13(eslint@9.3.0)(typescript@5.1.6)':
+ dependencies:
+ '@typescript-eslint/types': 7.10.0
+ '@typescript-eslint/utils': 7.10.0(eslint@9.3.0)(typescript@5.1.6)
+ eslint: 9.3.0
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+
'@nuxt/kit@3.11.2(rollup@3.26.3)':
dependencies:
'@nuxt/schema': 3.11.2(rollup@3.26.3)
@@ -7328,7 +7380,7 @@ snapshots:
dependencies:
defu: 6.1.2
hookable: 5.5.3
- pathe: 1.1.1
+ pathe: 1.1.2
pkg-types: 1.0.3
postcss-import-resolver: 2.0.0
std-env: 3.3.3
@@ -7610,6 +7662,8 @@ snapshots:
optionalDependencies:
rollup: 3.26.3
+ '@rushstack/eslint-patch@1.10.3': {}
+
'@shikijs/core@1.5.2': {}
'@shuding/opentype.js@1.4.0-beta.0':
@@ -8201,12 +8255,12 @@ snapshots:
'@vue/devtools-api@6.5.0': {}
- '@vue/devtools-applet@7.2.1(@unocss/reset@0.50.8)(axios@0.27.2)(change-case@4.1.2)(floating-vue@5.2.2(@nuxt/kit@3.11.2(rollup@3.26.3))(vue@3.3.4))(fuse.js@6.6.2)(unocss@0.60.3(postcss@8.4.27)(rollup@3.26.3)(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2)))(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2))(vue@3.3.4)':
+ '@vue/devtools-applet@7.2.1(@unocss/reset@0.60.3)(axios@0.27.2)(change-case@4.1.2)(floating-vue@5.2.2(@nuxt/kit@3.11.2(rollup@3.26.3))(vue@3.3.4))(fuse.js@6.6.2)(unocss@0.60.3(postcss@8.4.27)(rollup@3.26.3)(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2)))(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2))(vue@3.3.4)':
dependencies:
'@vue/devtools-core': 7.2.1(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2))(vue@3.3.4)
'@vue/devtools-kit': 7.2.1(vue@3.3.4)
'@vue/devtools-shared': 7.2.1
- '@vue/devtools-ui': 7.2.1(@unocss/reset@0.50.8)(axios@0.27.2)(change-case@4.1.2)(floating-vue@5.2.2(@nuxt/kit@3.11.2(rollup@3.26.3))(vue@3.3.4))(fuse.js@6.6.2)(unocss@0.60.3(postcss@8.4.27)(rollup@3.26.3)(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2)))(vue@3.3.4)
+ '@vue/devtools-ui': 7.2.1(@unocss/reset@0.60.3)(axios@0.27.2)(change-case@4.1.2)(floating-vue@5.2.2(@nuxt/kit@3.11.2(rollup@3.26.3))(vue@3.3.4))(fuse.js@6.6.2)(unocss@0.60.3(postcss@8.4.27)(rollup@3.26.3)(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2)))(vue@3.3.4)
lodash-es: 4.17.21
perfect-debounce: 1.0.0
shiki: 1.5.2
@@ -8256,9 +8310,9 @@ snapshots:
dependencies:
rfdc: 1.3.1
- '@vue/devtools-ui@7.2.1(@unocss/reset@0.50.8)(axios@0.27.2)(change-case@4.1.2)(floating-vue@5.2.2(@nuxt/kit@3.11.2(rollup@3.26.3))(vue@3.3.4))(fuse.js@6.6.2)(unocss@0.60.3(postcss@8.4.27)(rollup@3.26.3)(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2)))(vue@3.3.4)':
+ '@vue/devtools-ui@7.2.1(@unocss/reset@0.60.3)(axios@0.27.2)(change-case@4.1.2)(floating-vue@5.2.2(@nuxt/kit@3.11.2(rollup@3.26.3))(vue@3.3.4))(fuse.js@6.6.2)(unocss@0.60.3(postcss@8.4.27)(rollup@3.26.3)(vite@4.3.9(@types/node@20.4.5)(terser@5.19.2)))(vue@3.3.4)':
dependencies:
- '@unocss/reset': 0.50.8
+ '@unocss/reset': 0.60.3
'@vue/devtools-shared': 7.2.1
'@vueuse/components': 10.9.0(vue@3.3.4)
'@vueuse/core': 10.9.0(vue@3.3.4)
@@ -8564,7 +8618,7 @@ snapshots:
dependencies:
'@babel/parser': 7.22.7
'@rollup/pluginutils': 5.0.2(rollup@3.26.3)
- pathe: 1.1.1
+ pathe: 1.1.2
transitivePeerDependencies:
- rollup
@@ -8572,7 +8626,7 @@ snapshots:
dependencies:
'@babel/parser': 7.22.7
'@rollup/pluginutils': 5.0.2(rollup@3.26.3)
- pathe: 1.1.1
+ pathe: 1.1.2
transitivePeerDependencies:
- rollup
@@ -11365,7 +11419,7 @@ snapshots:
jiti: 1.19.1
mlly: 1.4.0
mri: 1.2.0
- pathe: 1.1.1
+ pathe: 1.1.2
optionalDependencies:
typescript: 5.1.6
@@ -13095,6 +13149,8 @@ snapshots:
tslib@2.6.1: {}
+ tslib@2.6.2: {}
+
tuf-js@2.2.1:
dependencies:
'@tufjs/models': 2.0.1
@@ -13159,7 +13215,7 @@ snapshots:
mkdist: 1.3.0(typescript@5.1.6)
mlly: 1.4.0
mri: 1.2.0
- pathe: 1.1.1
+ pathe: 1.1.2
pkg-types: 1.0.3
pretty-bytes: 6.1.1
rollup: 3.26.3