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/module-builder
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.8.1
Choose a base ref
...
head repository: nuxt/module-builder
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.8.2
Choose a head ref

Commits on Jun 30, 2024

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

    renovate[bot] authored Jun 30, 2024
    Copy the full SHA
    ae8c18a View commit details

Commits on Jul 1, 2024

  1. chore(deps): update dependency pkg-types to ^1.1.2 (#304)

    renovate[bot] authored Jul 1, 2024
    Copy the full SHA
    d2abb67 View commit details
  2. chore(deps): lock file maintenance (#303)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 1, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1ec90f9 View commit details
  3. chore(deps): update devdependency typescript to ^5.5.3 (#305)

    renovate[bot] authored Jul 1, 2024
    Copy the full SHA
    e761491 View commit details

Commits on Jul 2, 2024

  1. chore(deps): update all non-major dependencies to ^3.12.3 (#306)

    renovate[bot] authored Jul 2, 2024
    Copy the full SHA
    2e89ce9 View commit details

Commits on Jul 3, 2024

  1. chore(deps): update dependency pkg-types to ^1.1.3 (#307)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 3, 2024
    Copy the full SHA
    072267d View commit details

Commits on Jul 4, 2024

  1. chore(deps): update devdependency vue-tsc to ^2.0.26 (#311)

    renovate[bot] authored Jul 4, 2024
    Copy the full SHA
    77bf321 View commit details
  2. perf: removed unnecessary hasTypeExport check (#310)

    matt-clegg authored Jul 4, 2024
    Copy the full SHA
    7ca6cdc View commit details

Commits on Jul 5, 2024

  1. chore(deps): update devdependency @types/node to ^20.14.10 (#312)

    renovate[bot] authored Jul 5, 2024
    Copy the full SHA
    c256d33 View commit details

Commits on Jul 8, 2024

  1. chore(deps): update vitest monorepo to v2 (major) (#315)

    renovate[bot] authored Jul 8, 2024
    Copy the full SHA
    3240107 View commit details

Commits on Jul 9, 2024

  1. chore(deps): lock file maintenance (#314)

    renovate[bot] authored Jul 9, 2024
    Copy the full SHA
    c320c55 View commit details
  2. chore(deps): update all non-major dependencies (#313)

    renovate[bot] authored Jul 9, 2024
    Copy the full SHA
    5c29219 View commit details

Commits on Jul 11, 2024

  1. chore(deps): update all non-major dependencies to ^2.0.2 (#316)

    renovate[bot] authored Jul 11, 2024
    Copy the full SHA
    a1087c0 View commit details

Commits on Jul 12, 2024

  1. chore(deps): update devdependency eslint to ^9.7.0 (#317)

    renovate[bot] authored Jul 12, 2024
    Copy the full SHA
    7de1491 View commit details

Commits on Jul 15, 2024

  1. chore(deps): update all non-major dependencies to ^2.0.3 (#319)

    renovate[bot] authored Jul 15, 2024
    Copy the full SHA
    94f0b6a View commit details
  2. chore(deps): lock file maintenance (#318)

    renovate[bot] authored Jul 15, 2024
    Copy the full SHA
    af42ac9 View commit details

Commits on Jul 18, 2024

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

    renovate[bot] authored Jul 18, 2024
    Copy the full SHA
    2f9417a View commit details

Commits on Jul 19, 2024

  1. chore(deps): update all non-major dependencies to ^3.12.4 (#322)

    renovate[bot] authored Jul 19, 2024
    Copy the full SHA
    3c224b0 View commit details
  2. chore(deps): update resolutions vue to ^3.4.33 (#323)

    renovate[bot] authored Jul 19, 2024
    Copy the full SHA
    85f0070 View commit details

Commits on Jul 22, 2024

  1. chore(deps): lock file maintenance (#325)

    renovate[bot] authored Jul 22, 2024
    Copy the full SHA
    863d37b View commit details
  2. chore(deps): update pnpm to v9.6.0 (#324)

    renovate[bot] authored Jul 22, 2024
    Copy the full SHA
    faa0895 View commit details
  3. chore(deps): update devdependency vue-tsc to ^2.0.28 (#326)

    renovate[bot] authored Jul 22, 2024
    Copy the full SHA
    3b70ab6 View commit details

Commits on Aug 5, 2024

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

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 5, 2024
    Copy the full SHA
    0f00258 View commit details
  2. chore(deps): lock file maintenance (#328)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 5, 2024
    Copy the full SHA
    da8df82 View commit details

Commits on Aug 11, 2024

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

    renovate[bot] authored Aug 11, 2024
    Copy the full SHA
    0e019fb View commit details

Commits on Aug 12, 2024

  1. chore(deps): lock file maintenance (#330)

    renovate[bot] authored Aug 12, 2024
    Copy the full SHA
    df5e8a5 View commit details

Commits on Aug 13, 2024

  1. fix(prepare): override compatibilityDate

    danielroe committed Aug 13, 2024
    Copy the full SHA
    b9b27c3 View commit details
  2. chore(release): v0.8.2

    danielroe committed Aug 13, 2024
    Copy the full SHA
    07f27bb View commit details
Showing with 1,968 additions and 2,957 deletions.
  1. +17 −0 CHANGELOG.md
  2. +4 −4 example/package.json
  3. +2 −2 example/playground/package.json
  4. +18 −18 package.json
  5. +1,924 −2,925 pnpm-lock.yaml
  6. +2 −8 src/commands/build.ts
  7. +1 −0 src/commands/prepare.ts
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,23 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## v0.8.2

[compare changes](https://github.com/nuxt/module-builder/compare/v0.8.1...v0.8.2)

### 🔥 Performance

- Removed unnecessary hasTypeExport check ([#310](https://github.com/nuxt/module-builder/pull/310))

### 🩹 Fixes

- **prepare:** Override `compatibilityDate` ([b9b27c3](https://github.com/nuxt/module-builder/commit/b9b27c3))

### ❤️ Contributors

- Daniel Roe ([@danielroe](http://github.com/danielroe))
- Matt ([@matt-clegg](http://github.com/matt-clegg))

## v0.8.1

[compare changes](https://github.com/nuxt/module-builder/compare/v0.8.0...v0.8.1)
8 changes: 4 additions & 4 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -31,13 +31,13 @@
"test:types": "vue-tsc --noEmit"
},
"dependencies": {
"@nuxt/kit": "^3.12.2"
"@nuxt/kit": "^3.12.4"
},
"devDependencies": {
"@nuxt/module-builder": "workspace:*",
"@nuxt/schema": "^3.12.2",
"@types/node": "^20.14.9",
"nuxt": "^3.12.2"
"@nuxt/schema": "^3.12.4",
"@types/node": "^20.14.15",
"nuxt": "^3.12.4"
},
"build": {
"entries": [
4 changes: 2 additions & 2 deletions example/playground/package.json
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
"nuxt": "latest"
},
"devDependencies": {
"typescript": "^5.5.2",
"vue-tsc": "^2.0.22"
"typescript": "^5.5.4",
"vue-tsc": "^2.0.29"
}
}
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nuxt/module-builder",
"version": "0.8.1",
"version": "0.8.2",
"repository": "nuxt/module-builder",
"description": "Complete solution for building Nuxt modules",
"license": "MIT",
@@ -30,41 +30,41 @@
"test": "pnpm vitest",
"test:types": "vue-tsc --noEmit && pnpm -r test:types"
},
"packageManager": "pnpm@9.4.0",
"packageManager": "pnpm@9.7.0",
"dependencies": {
"citty": "^0.1.6",
"consola": "^3.2.3",
"defu": "^6.1.4",
"magic-regexp": "^0.8.0",
"mlly": "^1.7.1",
"pathe": "^1.1.2",
"pkg-types": "^1.1.1",
"pkg-types": "^1.1.3",
"tsconfck": "^3.1.1",
"unbuild": "^2.0.0"
},
"peerDependencies": {
"@nuxt/kit": "^3.12.2",
"@nuxt/kit": "^3.12.4",
"nuxi": "^3.12.0"
},
"devDependencies": {
"@nuxt/eslint-config": "^0.3.13",
"@nuxt/kit": "^3.12.2",
"@nuxt/schema": "^3.12.2",
"@types/node": "^20.14.9",
"@vitest/coverage-v8": "^1.6.0",
"@nuxt/eslint-config": "^0.5.0",
"@nuxt/kit": "^3.12.4",
"@nuxt/schema": "^3.12.4",
"@types/node": "^20.14.15",
"@vitest/coverage-v8": "^2.0.5",
"changelogen": "^0.5.5",
"eslint": "^9.5.0",
"eslint": "^9.9.0",
"jiti": "^1.21.6",
"nuxi": "^3.12.0",
"nuxt": "^3.12.2",
"typescript": "^5.5.2",
"vitest": "^1.6.0",
"vue": "^3.4.31",
"vue-tsc": "^2.0.22"
"nuxt": "^3.12.4",
"typescript": "^5.5.4",
"vitest": "^2.0.5",
"vue": "^3.4.37",
"vue-tsc": "^2.0.29"
},
"resolutions": {
"@nuxt/kit": "^3.12.2",
"@nuxt/schema": "^3.12.2",
"vue": "^3.4.31"
"@nuxt/kit": "^3.12.4",
"@nuxt/schema": "^3.12.4",
"vue": "^3.4.37"
}
}
4,849 changes: 1,924 additions & 2,925 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

10 changes: 2 additions & 8 deletions src/commands/build.ts
Original file line number Diff line number Diff line change
@@ -217,14 +217,8 @@ async function writeTypes(distDir: string, isStub: boolean) {
}

if (hasTypeExport('ModuleRuntimeHooks')) {
const runtimeHooksInterfaces: string[] = []

if (hasTypeExport('ModuleRuntimeHooks')) {
runtimeHooksInterfaces.push('ModuleRuntimeHooks')
}

moduleImports.push(...runtimeHooksInterfaces)
appShims.push(` interface RuntimeNuxtHooks extends ${runtimeHooksInterfaces.join(', ')} {}`)
moduleImports.push('ModuleRuntimeHooks')
appShims.push(` interface RuntimeNuxtHooks extends ModuleRuntimeHooks {}`)
}

if (hasTypeExport('ModuleRuntimeConfig')) {
1 change: 1 addition & 0 deletions src/commands/prepare.ts
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@ export default defineCommand({

return runCommand('prepare', [cwd], {
overrides: {
compatibilityDate: '2024-04-03',
typescript: {
builder: 'shared',
},