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: vikejs/vike
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.4.138
Choose a base ref
...
head repository: vikejs/vike
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.139
Choose a head ref
  • 4 commits
  • 109 files changed
  • 1 contributor

Commits on Aug 26, 2023

  1. Copy the full SHA
    9fd3748 View commit details
  2. update gh actions

    brillout committed Aug 26, 2023
    Copy the full SHA
    0eb160e View commit details
  3. Copy the full SHA
    8192d28 View commit details
  4. release: v0.4.139

    brillout committed Aug 26, 2023
    Copy the full SHA
    da95174 View commit details
Showing with 146 additions and 115 deletions.
  1. +2 −2 .github/workflows/ci.yml
  2. +1 −1 .github/workflows/docs.yml
  3. +10 −0 CHANGELOG.md
  4. +1 −1 boilerplates/boilerplate-react-ts/package.json
  5. +1 −1 boilerplates/boilerplate-react/package.json
  6. +1 −1 boilerplates/boilerplate-vue-ts/package.json
  7. +1 −1 boilerplates/boilerplate-vue/package.json
  8. +1 −1 boilerplates/package.json
  9. +1 −1 docs/package.json
  10. +1 −1 docs/utils/projectInfo.tsx
  11. +1 −1 examples/auth/package.json
  12. +1 −1 examples/base-url-cdn-v1/package.json
  13. +1 −1 examples/base-url-cdn/package.json
  14. +1 −1 examples/base-url-server-v1/package.json
  15. +1 −1 examples/base-url-server/package.json
  16. +1 −1 examples/base-url-v1/package.json
  17. +1 −1 examples/base-url/package.json
  18. +1 −1 examples/cloudflare-workers-react-full-v1/package.json
  19. +1 −1 examples/cloudflare-workers-react-full/package.json
  20. +1 −1 examples/cloudflare-workers-react-v1/package.json
  21. +1 −1 examples/cloudflare-workers-react/package.json
  22. +1 −1 examples/cloudflare-workers-vue-v1/package.json
  23. +1 −1 examples/cloudflare-workers-vue/package.json
  24. +1 −1 examples/custom-preload-v1/package.json
  25. +1 −1 examples/file-structure-domain-driven-v1/package.json
  26. +1 −1 examples/file-structure-domain-driven/package.json
  27. +1 −1 examples/graphql-apollo-react-v1/package.json
  28. +1 −1 examples/graphql-apollo-react/package.json
  29. +1 −1 examples/graphql-apollo-vue-v1/package.json
  30. +1 −1 examples/graphql-apollo-vue/package.json
  31. +1 −1 examples/html-fragments-v1/package.json
  32. +1 −1 examples/html-fragments/package.json
  33. +1 −1 examples/i18n-v1/package.json
  34. +1 −1 examples/i18n/package.json
  35. +1 −1 examples/layouts-react-v1/package.json
  36. +1 −1 examples/layouts-react/package.json
  37. +1 −1 examples/layouts-vue-v1/package.json
  38. +1 −1 examples/layouts-vue/package.json
  39. +1 −1 examples/path-aliases-v1/package.json
  40. +1 −1 examples/path-aliases/package.json
  41. +1 −1 examples/preact-client-routing-v1/package.json
  42. +1 −1 examples/preact-client-routing/package.json
  43. +1 −1 examples/preact-server-routing-v1/package.json
  44. +1 −1 examples/preact-server-routing/package.json
  45. +1 −1 examples/react-17-v1/package.json
  46. +1 −1 examples/react-17/package.json
  47. +1 −1 examples/react-full-v1/package.json
  48. +1 −1 examples/react-full/package.json
  49. +1 −1 examples/react-router-v1/package.json
  50. +1 −1 examples/react-router/package.json
  51. +1 −1 examples/react-streaming-v1/package.json
  52. +1 −1 examples/react-streaming/package.json
  53. +1 −1 examples/react-v1/package.json
  54. +1 −1 examples/react/package.json
  55. +1 −1 examples/redux-v1/package.json
  56. +1 −1 examples/redux/package.json
  57. +1 −1 examples/render-modes-v1/package.json
  58. +1 −1 examples/render-modes/package.json
  59. +1 −1 examples/solid-spa-v1/package.json
  60. +1 −1 examples/solid-spa/package.json
  61. +1 −1 examples/solid-ssr-v1/package.json
  62. +1 −1 examples/solid-ssr/package.json
  63. +1 −1 examples/stem-react/package.json
  64. +1 −1 examples/svelte-v1/package.json
  65. +1 −1 examples/telefunc-v1/package.json
  66. +1 −1 examples/telefunc/package.json
  67. +1 −1 examples/urql-v1/package.json
  68. +1 −1 examples/urql/package.json
  69. +1 −1 examples/vanilla-v1/package.json
  70. +1 −1 examples/vike-react-simple/package.json
  71. +1 −1 examples/vike-react/package.json
  72. +1 −1 examples/vue-full-v1/package.json
  73. +1 −1 examples/vue-full/package.json
  74. +1 −1 examples/vue-pinia-v1/package.json
  75. +1 −1 examples/vue-pinia/package.json
  76. +1 −1 examples/vue-router-v1/package.json
  77. +1 −1 examples/vue-router/package.json
  78. +1 −1 examples/vue-v1/package.json
  79. +1 −1 examples/vue/package.json
  80. +1 −1 examples/vuex-v1/package.json
  81. +1 −1 examples/vuex/package.json
  82. +1 −1 examples/webpack-v1/package.json
  83. +1 −1 test/abort-v1/package.json
  84. +1 −1 test/build.outDir-v1/package.json
  85. +1 −1 test/build.outDir/package.json
  86. +1 −1 test/cjs/package.json
  87. +1 −1 test/config-file-paths-v1/package.json
  88. +1 −1 test/config-side-export/package.json
  89. +1 −1 test/contra-v1/package.json
  90. +1 −1 test/contra/package.json
  91. +1 −1 test/disableAutoImporter-v1/package.json
  92. +1 −1 test/disableAutoImporter/package.json
  93. +1 −1 test/env/package.json
  94. +1 −1 test/hook-override/package.json
  95. +1 −1 test/includeAssetsImportedByServer-v1/package.json
  96. +1 −1 test/includeAssetsImportedByServer/package.json
  97. +1 −1 test/pageFlesSrc/package.json
  98. +1 −1 test/preload-v1/package.json
  99. +1 −1 test/renderPage-v1/package.json
  100. +1 −1 test/renderPage/package.json
  101. +1 −1 test/require-shim-v1/package.json
  102. +1 −1 test/require-shim/package.json
  103. +1 −1 test/stream-v1/package.json
  104. +1 −1 test/stream/package.json
  105. +12 −1 vite-plugin-ssr/node/plugin/plugins/extractAssetsPlugin.ts
  106. +1 −1 vite-plugin-ssr/package.json
  107. +3 −8 vite-plugin-ssr/shared/route/loadPageRoutes.ts
  108. +15 −0 vite-plugin-ssr/shared/route/resolveRouteFunction.ts
  109. +1 −1 vite-plugin-ssr/utils/projectInfo.ts
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -38,13 +38,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Set node version to ${{ matrix.node_version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: "pnpm"
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## [0.4.139](https://github.com/brillout/vite-plugin-ssr/compare/v0.4.138...v0.4.139) (2023-08-26)


### Bug Fixes

* forbid vite-tsconfig-paths (fix [#1060](https://github.com/brillout/vite-plugin-ssr/issues/1060)) ([8192d28](https://github.com/brillout/vite-plugin-ssr/commit/8192d2822064d4e391c78eb8c21e1dd617cdd01b))
* show iKnowThePerformanceRisksOfAsyncRouteFunctions deprecation warning ([9fd3748](https://github.com/brillout/vite-plugin-ssr/commit/9fd37484e10890f8c4f4d887ecd2452eda1c5d2d))



## [0.4.138](https://github.com/brillout/vite-plugin-ssr/compare/v0.4.137...v0.4.138) (2023-08-24)


2 changes: 1 addition & 1 deletion boilerplates/boilerplate-react-ts/package.json
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"vite": "^4.4.9",
"vite-plugin-ssr": "^0.4.138"
"vite-plugin-ssr": "^0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion boilerplates/boilerplate-react/package.json
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
"react-dom": "^18.2.0",
"sirv": "^2.0.3",
"vite": "^4.4.9",
"vite-plugin-ssr": "^0.4.138"
"vite-plugin-ssr": "^0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion boilerplates/boilerplate-vue-ts/package.json
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"vite": "^4.4.9",
"vite-plugin-ssr": "^0.4.138",
"vite-plugin-ssr": "^0.4.139",
"vue": "^3.3.4"
},
"type": "module"
2 changes: 1 addition & 1 deletion boilerplates/boilerplate-vue/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"express": "^4.18.2",
"sirv": "^2.0.3",
"vite": "^4.4.9",
"vite-plugin-ssr": "^0.4.138",
"vite-plugin-ssr": "^0.4.139",
"vue": "^3.3.4"
},
"type": "module"
2 changes: 1 addition & 1 deletion boilerplates/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-vite-plugin-ssr",
"version": "0.0.299",
"version": "0.0.300",
"license": "MIT",
"bin": {
"create-vite-plugin-ssr": "index.js"
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion docs/utils/projectInfo.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const PROJECT_VERSION = '0.4.138'
const PROJECT_VERSION = '0.4.139'

import React from 'react'

2 changes: 1 addition & 1 deletion examples/auth/package.json
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
"typescript": "^5.0.2",
"vike-react": "^0.1.6",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/base-url-cdn-v1/package.json
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/base-url-cdn/package.json
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/base-url-server-v1/package.json
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/base-url-server/package.json
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/base-url-v1/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/base-url/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/cloudflare-workers-react-full-v1/package.json
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
"react-dom": "^18.2.0",
"react-streaming": "^0.3.9",
"vite": "^4.1.1",
"vite-plugin-ssr": "0.4.138",
"vite-plugin-ssr": "0.4.139",
"wrangler": "^2.9.1"
},
"type": "module"
2 changes: 1 addition & 1 deletion examples/cloudflare-workers-react-full/package.json
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
"react-dom": "^18.2.0",
"react-streaming": "^0.3.9",
"vite": "^4.1.1",
"vite-plugin-ssr": "0.4.138",
"vite-plugin-ssr": "0.4.139",
"wrangler": "^2.9.1"
},
"type": "module"
2 changes: 1 addition & 1 deletion examples/cloudflare-workers-react-v1/package.json
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.1.1",
"vite-plugin-ssr": "0.4.138",
"vite-plugin-ssr": "0.4.139",
"wrangler": "^2.9.1"
},
"type": "module"
2 changes: 1 addition & 1 deletion examples/cloudflare-workers-react/package.json
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.1.1",
"vite-plugin-ssr": "0.4.138",
"vite-plugin-ssr": "0.4.139",
"wrangler": "^2.9.1"
},
"type": "module"
2 changes: 1 addition & 1 deletion examples/cloudflare-workers-vue-v1/package.json
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
"@vue/compiler-sfc": "^3.2.47",
"@vue/server-renderer": "^3.2.47",
"vite": "^4.1.1",
"vite-plugin-ssr": "0.4.138",
"vite-plugin-ssr": "0.4.139",
"vue": "^3.2.47",
"wrangler": "^2.9.1"
},
2 changes: 1 addition & 1 deletion examples/cloudflare-workers-vue/package.json
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
"@vue/compiler-sfc": "^3.2.47",
"@vue/server-renderer": "^3.2.47",
"vite": "^4.1.1",
"vite-plugin-ssr": "0.4.138",
"vite-plugin-ssr": "0.4.139",
"vue": "^3.2.47",
"wrangler": "^2.9.1"
},
2 changes: 1 addition & 1 deletion examples/custom-preload-v1/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/file-structure-domain-driven-v1/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/file-structure-domain-driven/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/graphql-apollo-react-v1/package.json
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.1.4",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/graphql-apollo-react/package.json
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.1.4",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/graphql-apollo-vue-v1/package.json
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
"express": "^4.18.2",
"graphql": "^16.6.0",
"vite": "^4.1.4",
"vite-plugin-ssr": "0.4.138",
"vite-plugin-ssr": "0.4.139",
"vue": "^3.2.47"
},
"type": "module"
2 changes: 1 addition & 1 deletion examples/graphql-apollo-vue/package.json
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
"express": "^4.18.2",
"graphql": "^16.6.0",
"vite": "^4.1.4",
"vite-plugin-ssr": "0.4.138",
"vite-plugin-ssr": "0.4.139",
"vue": "^3.2.47"
},
"type": "module"
2 changes: 1 addition & 1 deletion examples/html-fragments-v1/package.json
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
"dependencies": {
"typescript": "^4.6.4",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/html-fragments/package.json
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
"dependencies": {
"typescript": "^4.6.4",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/i18n-v1/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/i18n/package.json
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/layouts-react-v1/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/layouts-react/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/layouts-vue-v1/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"@vue/compiler-sfc": "^3.2.33",
"@vue/server-renderer": "^3.2.33",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138",
"vite-plugin-ssr": "0.4.139",
"vue": "^3.2.33"
},
"type": "module"
2 changes: 1 addition & 1 deletion examples/layouts-vue/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"@vue/compiler-sfc": "^3.2.33",
"@vue/server-renderer": "^3.2.33",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138",
"vite-plugin-ssr": "0.4.139",
"vue": "^3.2.33"
},
"type": "module"
2 changes: 1 addition & 1 deletion examples/path-aliases-v1/package.json
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
"ts-node": "^10.9.1",
"typescript": "^4.6.4",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/path-aliases/package.json
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
"ts-node": "^10.9.1",
"typescript": "^4.6.4",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/preact-client-routing-v1/package.json
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
"preact": "^10.10.0",
"preact-render-to-string": "^5.2.1",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/preact-client-routing/package.json
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
"preact": "^10.10.0",
"preact-render-to-string": "^5.2.1",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/preact-server-routing-v1/package.json
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
"preact": "^10.10.0",
"preact-render-to-string": "^5.2.1",
"vite": "^4.0.3",
"vite-plugin-ssr": "0.4.138"
"vite-plugin-ssr": "0.4.139"
},
"type": "module"
}
Loading