Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nuxt/scripts
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.10.5
Choose a base ref
...
head repository: nuxt/scripts
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.11.0
Choose a head ref

Commits on Feb 22, 2025

  1. docs: broken links

    harlan-zw committed Feb 22, 2025
    Copy the full SHA
    329d77a View commit details

Commits on Feb 24, 2025

  1. doc: nuxt content v3 fixes

    harlan-zw committed Feb 24, 2025
    Copy the full SHA
    ada5954 View commit details
  2. chore: ohash v1

    harlan-zw committed Feb 24, 2025
    Copy the full SHA
    4b42ae0 View commit details
  3. chore: broken license

    harlan-zw committed Feb 24, 2025
    Copy the full SHA
    f96f7b5 View commit details

Commits on Mar 1, 2025

  1. Copy the full SHA
    ef10079 View commit details
  2. Copy the full SHA
    dd1f844 View commit details
  3. chore: artifact

    harlan-zw committed Mar 1, 2025
    Copy the full SHA
    ea6e45b View commit details
  4. Copy the full SHA
    8d956fc View commit details
  5. Copy the full SHA
    b71b0cf View commit details
  6. chore: tsc

    harlan-zw committed Mar 1, 2025
    Copy the full SHA
    c8db8fb View commit details
  7. chore: tsc

    harlan-zw committed Mar 1, 2025
    Copy the full SHA
    3db185a View commit details
  8. Copy the full SHA
    a7b2da2 View commit details
  9. Copy the full SHA
    199164d View commit details
  10. Copy the full SHA
    a9f79da View commit details
  11. Copy the full SHA
    0568e4a View commit details
  12. Copy the full SHA
    dbad4c1 View commit details
  13. Copy the full SHA
    18f65e5 View commit details

Commits on Mar 3, 2025

  1. Copy the full SHA
    573c414 View commit details

Commits on Mar 4, 2025

  1. Copy the full SHA
    56bc072 View commit details
  2. Copy the full SHA
    d7ad1fc View commit details
  3. Copy the full SHA
    b494283 View commit details

Commits on Mar 7, 2025

  1. chore(deps): update all non-major dependencies (#266)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 7, 2025
    Copy the full SHA
    0464c19 View commit details

Commits on Mar 8, 2025

  1. Copy the full SHA
    e2154af View commit details
  2. fix!: require Nuxt v3.16

    harlan-zw committed Mar 8, 2025
    Copy the full SHA
    017e9f2 View commit details
  3. Copy the full SHA
    71e02aa View commit details
  4. chore: broken types

    harlan-zw committed Mar 8, 2025
    Copy the full SHA
    aadc40a View commit details
  5. chore: release v0.11.0

    harlan-zw committed Mar 8, 2025
    Copy the full SHA
    c2e0816 View commit details
Showing with 3,759 additions and 3,843 deletions.
  1. +1 −1 .github/workflows/reproduction-close.yml
  2. +1 −1 .github/workflows/reproduction.yml
  3. +5 −5 client/package.json
  4. +0 −80 docs/app.vue
  5. 0 docs/{ → app}/app.config.ts
  6. +63 −0 docs/app/app.vue
  7. +406 −0 docs/app/components/ContentSearch.vue
  8. 0 docs/{ → app}/components/Footer.vue
  9. 0 docs/{ → app}/components/Header.vue
  10. 0 docs/{ → app}/components/Logo.vue
  11. 0 docs/{ → app}/components/LogoScroller.vue
  12. 0 docs/{ → app}/components/OgImage/Docs.vue
  13. 0 docs/{ → app}/components/OgImage/Home.vue
  14. 0 docs/{ → app}/components/ShowcaseCard.vue
  15. 0 docs/{ → app}/components/UInputCopy.vue
  16. 0 docs/{ → app}/components/ads/Ads.vue
  17. 0 docs/{ → app}/components/ads/AdsFallback.vue
  18. 0 docs/{ → app}/components/content/Alert.vue
  19. 0 docs/{ → app}/components/content/Caution.vue
  20. 0 docs/{ → app}/components/content/CodeGroup.vue
  21. 0 docs/{ → app}/components/content/CrispDemo.vue
  22. 0 docs/{ → app}/components/content/FigureImage.vue
  23. 0 docs/{ → app}/components/content/GoogleMapsDemo.vue
  24. 0 docs/{ → app}/components/content/Important.vue
  25. 0 docs/{ → app}/components/content/IntercomDemo.vue
  26. 0 docs/{ → app}/components/content/LemonSqueezyDemo.vue
  27. 0 docs/{ → app}/components/content/Note.vue
  28. 0 docs/{ → app}/components/content/ProseCode.vue
  29. 0 docs/{ → app}/components/content/StripeDemo.vue
  30. 0 docs/{ → app}/components/content/TabComparison.vue
  31. 0 docs/{ → app}/components/content/Tip.vue
  32. 0 docs/{ → app}/components/content/VimeoDemo.vue
  33. 0 docs/{ → app}/components/content/Warning.vue
  34. 0 docs/{ → app}/components/content/YoutubeDemo.vue
  35. +1 −1 docs/{ → app}/composables/useScriptsRegistry.ts
  36. +34 −0 docs/app/error.vue
  37. +27 −0 docs/app/layouts/docs.vue
  38. +63 −0 docs/app/pages/[...slug].vue
  39. 0 docs/{ → app}/pages/index.vue
  40. 0 docs/{ → app}/pages/learn.vue
  41. 0 docs/{ → app}/pages/scripts/index.vue
  42. +3 −12 docs/content.config.ts
  43. +1 −1 docs/content/docs/1.guides/1.warmup.md
  44. +1 −1 docs/content/docs/1.guides/4.global.md
  45. +2 −2 docs/content/scripts/tracking/google-tag-manager.md
  46. +0 −44 docs/error.vue
  47. +0 −20 docs/layouts/docs.vue
  48. +19 −18 docs/nuxt.config.ts
  49. +0 −1 docs/nuxt.schema.ts
  50. +8 −7 docs/package.json
  51. +0 −71 docs/pages/docs/[...slug].vue
  52. +0 −71 docs/pages/scripts/[...slug].vue
  53. 0 docs/{content → }/snippets/_cookie-api.md
  54. 0 docs/{content → }/snippets/_magic-api.md
  55. +40 −34 package.json
  56. +1 −2 playground/package.json
  57. +2,901 −3,267 pnpm-lock.yaml
  58. +3 −3 pnpm-workspace.yaml
  59. +1 −1 src/kit.ts
  60. +4 −13 src/module.ts
  61. +1 −1 src/runtime/components/ScriptGoogleMaps.vue
  62. +1 −1 src/runtime/components/ScriptStripePricingTable.vue
  63. +22 −71 src/runtime/composables/useScript.ts
  64. +0 −1 src/runtime/registry/google-analytics.ts
  65. +4 −2 src/runtime/registry/google-maps.ts
  66. +0 −1 src/runtime/registry/google-tag-manager.ts
  67. +0 −6 src/runtime/registry/matomo-analytics.ts
  68. +0 −15 src/runtime/registry/segment.ts
  69. +2 −2 src/runtime/types.ts
  70. +2 −2 src/runtime/utils.ts
  71. +1 −1 test/e2e/base.test.ts
  72. +48 −50 test/e2e/basic.test.ts
  73. +70 −16 test/fixtures/basic/__runtime__/warmup.nuxt.test.ts
  74. +2 −4 test/fixtures/basic/pages/bundle-use-script.vue
  75. +2 −2 test/fixtures/basic/pages/index.vue
  76. +2 −2 test/fixtures/basic/pages/manual-trigger.vue
  77. +2 −2 test/fixtures/basic/pages/mouseover-trigger.vue
  78. +2 −2 test/fixtures/basic/pages/tpc/gtm.vue
  79. +2 −2 test/fixtures/basic/pages/visibility-trigger.vue
  80. +2 −2 test/fixtures/extend-registry/app.vue
  81. +2 −2 test/unit/transform.test.ts
  82. +7 −0 vitest.config.ts
2 changes: 1 addition & 1 deletion .github/workflows/reproduction-close.yml
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
with:
days-before-stale: -1 # Issues and PR will never be flagged stale automatically.
stale-issue-label: needs reproduction # Label that flags an issue as stale.
2 changes: 1 addition & 1 deletion .github/workflows/reproduction.yml
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ jobs:
reproduire:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: Hebilicious/reproduire@4b686ae9cbb72dad60f001d278b6e3b2ce40a9ac # v0.0.9-mp
with:
label: needs reproduction
10 changes: 5 additions & 5 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -11,11 +11,11 @@
"generate": "nuxi generate"
},
"devDependencies": {
"@iconify-json/carbon": "^1.2.7",
"@nuxt/devtools-kit": "^2.1.0",
"@nuxt/devtools-ui-kit": "^2.1.0",
"@nuxt/kit": "^3.15.4",
"nuxt": "^3.15.4",
"@iconify-json/carbon": "^1.2.8",
"@nuxt/devtools-kit": "^2.2.1",
"@nuxt/devtools-ui-kit": "^2.2.1",
"@nuxt/kit": "^3.16.0",
"nuxt": "^3.16.0",
"vue": "^3.5.13",
"vue-router": "latest"
}
80 changes: 0 additions & 80 deletions docs/app.vue

This file was deleted.

File renamed without changes.
63 changes: 63 additions & 0 deletions docs/app/app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<script setup lang="ts">
function recursiveContentFix(data: any) {
if (data.id && !data.path) {
data.path = data.id
}
data.to = data.path
data.label = data.title
if (data.children) {
data.children = data.children.map((nav) => {
return recursiveContentFix(nav)
})
}
return data
}
const { data: navigation } = await useAsyncData('navigation', () => queryCollectionNavigation('docs'), {
transform(data) {
return data.map(data => recursiveContentFix(data))
},
})
const { data: files } = await useAsyncData('search', () => queryCollectionSearchSections('docs'), {
transform(data) {
return data.map(data => recursiveContentFix(data))
},
})
provide('navigation', computed(() => {
return navigation.value || []
}))
provide('topGuides', computed(() => {
return (navigation.value || [])?.[0]?.children?.find(nav => nav.title === 'Guides')?.children || []
}))
</script>

<template>
<div class="bg-white dark:bg-gray-950">
<NuxtLoadingIndicator color="#FFF" />

<Header />

<NuxtLayout>
<NuxtPage />
</NuxtLayout>

<Footer />

<ClientOnly>
<LazyContentSearch
:files="files"
:navigation="navigation"
:fuse="{ resultLimit: 42 }"
/>
</ClientOnly>
<UNotifications />
</div>
</template>

<style>
body {
font-family: 'Inter var experimental', 'Inter var', 'Inter', sans-serif;
}
</style>
Loading