Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v4
Comment thread
cyrossignol marked this conversation as resolved.
with:
node-version: '20'
node-version: '24'

- name: Install dependencies
run: npm ci

- name: Run lint script
run: npm run lint
run: npm run lint
41 changes: 40 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,43 @@ export default defineNuxtConfig({
debug: (process.env.ENV === 'dev' || process.env.ENV === 'local'),
environment: process.env.ENV || 'unknown',
},
})
vite: {
server: {
allowedHosts: [
'workspaces.local',
],
},
optimizeDeps: {
// Pre-bundle these dependencies to avoid reloads during development:
include: [
'@osmcha/maplibre-adiff-viewer',
'@osmcha/osmchange-parser',
'@sindresorhus/slugify',
'@vue/devtools-core',
'@vue/devtools-kit',
'@zip.js/zip.js',
'ajv', // CJS
'ajv-formats', // CJS
'bootstrap-vue-next',
'bootstrap-vue-next/components/BAlert',
'bootstrap-vue-next/components/BApp',
'bootstrap-vue-next/components/BBadge',
'bootstrap-vue-next/components/BButton',
'bootstrap-vue-next/components/BCard',
'bootstrap-vue-next/components/BContainer',
'bootstrap-vue-next/components/BDropdown',
'bootstrap-vue-next/components/BFormInput',
'bootstrap-vue-next/components/BListGroup',
'bootstrap-vue-next/components/BModal',
'bootstrap-vue-next/components/BPopover',
'bootstrap-vue-next/composables/useModal',
'dayjs', // CJS
'dayjs/plugin/relativeTime', // CJS
'maplibre-gl', // CJS
'papaparse', // CJS
'vue-qrcode',
'vue3-toastify',
],
},
},
});
Loading
Loading