Skip to content

Commit ded4388

Browse files
committed
Merge branch 'master' into feature-task-3634-tdei-theme
2 parents 302ed32 + 16db3da commit ded4388

5 files changed

Lines changed: 6538 additions & 7181 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212

1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v4
1616

1717
- name: Set up Node.js
18-
uses: actions/setup-node@v4
18+
uses: actions/setup-node@v4
1919
with:
20-
node-version: '20'
20+
node-version: '24'
2121

2222
- name: Install dependencies
2323
run: npm ci
2424

2525
- name: Run lint script
26-
run: npm run lint
26+
run: npm run lint

nuxt.config.ts

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,43 @@ export default defineNuxtConfig({
5252
debug: (process.env.ENV === 'dev' || process.env.ENV === 'local'),
5353
environment: process.env.ENV || 'unknown',
5454
},
55-
})
55+
vite: {
56+
server: {
57+
allowedHosts: [
58+
'workspaces.local',
59+
],
60+
},
61+
optimizeDeps: {
62+
// Pre-bundle these dependencies to avoid reloads during development:
63+
include: [
64+
'@osmcha/maplibre-adiff-viewer',
65+
'@osmcha/osmchange-parser',
66+
'@sindresorhus/slugify',
67+
'@vue/devtools-core',
68+
'@vue/devtools-kit',
69+
'@zip.js/zip.js',
70+
'ajv', // CJS
71+
'ajv-formats', // CJS
72+
'bootstrap-vue-next',
73+
'bootstrap-vue-next/components/BAlert',
74+
'bootstrap-vue-next/components/BApp',
75+
'bootstrap-vue-next/components/BBadge',
76+
'bootstrap-vue-next/components/BButton',
77+
'bootstrap-vue-next/components/BCard',
78+
'bootstrap-vue-next/components/BContainer',
79+
'bootstrap-vue-next/components/BDropdown',
80+
'bootstrap-vue-next/components/BFormInput',
81+
'bootstrap-vue-next/components/BListGroup',
82+
'bootstrap-vue-next/components/BModal',
83+
'bootstrap-vue-next/components/BPopover',
84+
'bootstrap-vue-next/composables/useModal',
85+
'dayjs', // CJS
86+
'dayjs/plugin/relativeTime', // CJS
87+
'maplibre-gl', // CJS
88+
'papaparse', // CJS
89+
'vue-qrcode',
90+
'vue3-toastify',
91+
],
92+
},
93+
},
94+
});

0 commit comments

Comments
 (0)