diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 32a416ac8e..dc22b16aa5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -2,11 +2,11 @@ # We start with defining ownership globally and later on can get more granular. # General content -* @renejeglinsky @danjoa +* @smahati @danjoa -node.js/ @smahati @renejeglinsky @danjoa -java/ @smahati @renejeglinsky @danjoa -tools/ @chgeo @swaldmann @renejeglinsky +node.js/ @smahati @danjoa +java/ @smahati @danjoa +tools/ @chgeo @swaldmann @smahati # Infra .github/ @chgeo @swaldmann diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b8a996c671..36fe73a71f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,13 +25,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup Pages - uses: actions/configure-pages@v5 + uses: actions/configure-pages@v6 - name: Use Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 cache: 'npm' - run: npm ci - run: npm run lint @@ -58,4 +58,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 diff --git a/.vitepress/config.js b/.vitepress/config.js index b2baa5b6a7..d8e16645a3 100644 --- a/.vitepress/config.js +++ b/.vitepress/config.js @@ -97,11 +97,6 @@ const config = defineConfig({ vite: { plugins: [...playground.plugins()], - esbuild: { - supported: { - 'top-level-await': true //browsers can handle top-level-await features in special cases - }, - }, build: { chunkSizeWarningLimit: 6000, // chunk for local search index dominates }, @@ -139,8 +134,8 @@ const siteURL = new URL(process.env.SITE_HOSTNAME || 'http://localhost:4173/docs if (!siteURL.pathname.endsWith('/')) siteURL.pathname += '/' config.themeConfig.capire = { versions: { - java_services: '5.0.0', - java_cds4j: '5.0.0', + java_services: '5.0.2', + java_cds4j: '5.0.2', cloud_sec_ams: '3.8.1' }, gotoLinks: [], @@ -169,7 +164,7 @@ config.themeConfig.search = { tokenize: text => text.split( /[\n\r #%*,=/:;?[\]{}()&]+/u ), // simplified charset: removed [-_.@] and non-english chars (diacritics etc.) processTerm: (term, fieldName) => { term = term.trim().toLowerCase().replace(/^\.+/, '').replace(/\.+$/, '') - const stopWords = ['frontmatter', '$frontmatter.synopsis', 'and', 'about', 'but', 'now', 'the', 'with', 'you'] + const stopWords = ['frontmatter', '$frontmatter.description', 'and', 'about', 'but', 'now', 'the', 'with', 'you'] if (term.length < 2 || stopWords.includes(term)) return false if (fieldName === 'text') { diff --git a/.vitepress/theme/components/ConfigInspect.vue b/.vitepress/theme/components/ConfigInspect.vue index 617720ef7b..73f4be5104 100644 --- a/.vitepress/theme/components/ConfigInspect.vue +++ b/.vitepress/theme/components/ConfigInspect.vue @@ -120,7 +120,7 @@ pkgStr.value = JSON.stringify(pkg, null, 2) rcJsonStr.value = JSON.stringify(pkg.cds??{}, null, 2) - rcJsStr.value = 'exports.' + Object.keys(pkg.cds??{})[0] + ' = ' + (JSON.stringify(Object.values(pkg.cds??{})[0], null, 2)??'').replaceAll('"', '') + rcJsStr.value = 'exports.' + Object.keys(pkg.cds??{})[0] + ' = ' + (JSON.stringify(Object.values(pkg.cds??{})[0], null, 2)??'').replace(/"([^"]+)":/g, '$1:') rcYmlStr.value = yaml.stringify(pkg.cds) let envKey = fqn.replaceAll('_', '__').replaceAll(keyDel, '_') diff --git a/.vitepress/theme/components/IndexList.vue b/.vitepress/theme/components/IndexList.vue index 9ad27c66b7..dea64e8b64 100644 --- a/.vitepress/theme/components/IndexList.vue +++ b/.vitepress/theme/components/IndexList.vue @@ -11,7 +11,7 @@
diff --git a/.vitepress/theme/components/ShortcutsList.vue b/.vitepress/theme/components/ShortcutsList.vue index 7b88de875d..40f068f785 100644 --- a/.vitepress/theme/components/ShortcutsList.vue +++ b/.vitepress/theme/components/ShortcutsList.vue @@ -6,7 +6,7 @@ ×
Keyboard Shortcuts
-