Skip to content

Commit 5b20472

Browse files
committed
Merge remote-tracking branch 'origin/main' into feat/likes
2 parents 49ef2d6 + 49e1845 commit 5b20472

3 files changed

Lines changed: 5 additions & 9 deletions

File tree

app/composables/useCharts.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { MaybeRefOrGetter } from 'vue'
22
import { toValue } from 'vue'
3+
import { fetchNpmDownloadsRange } from '~/utils/npm/api'
34

45
export type PackumentLikeForTime = {
56
time?: Record<string, string>
@@ -45,12 +46,6 @@ export type PackageDownloadEvolutionOptions =
4546

4647
type DailyDownloadsResponse = { downloads: Array<{ day: string; downloads: number }> }
4748

48-
declare function fetchNpmDownloadsRange(
49-
packageName: string,
50-
startIso: string,
51-
endIso: string,
52-
): Promise<DailyDownloadsResponse>
53-
5449
function toIsoDateString(date: Date): string {
5550
return date.toISOString().slice(0, 10)
5651
}

modules/production.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ export default defineNuxtModule({
1111

1212
if (isCI && provider !== 'github_actions') {
1313
nuxt.options.debug = defu(nuxt.options.debug, { hydration: true })
14+
nuxt.options.sourcemap = {
15+
server: true,
16+
client: true,
17+
}
1418
}
1519
},
1620
})

nuxt.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,6 @@ export default defineNuxtConfig({
127127
compatibilityDate: '2026-01-31',
128128

129129
nitro: {
130-
experimental: {
131-
wasm: true,
132-
},
133130
externals: {
134131
inline: [
135132
'shiki',

0 commit comments

Comments
 (0)