Skip to content

Commit

Permalink
update +config.ts, vike version
Browse files Browse the repository at this point in the history
  • Loading branch information
nitedani committed Dec 27, 2023
1 parent a264f48 commit 695d86f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 217 deletions.
2 changes: 1 addition & 1 deletion examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@nitedani/vite-plugin-angular": "^17.0.11",
"rxjs": "^7.8.1",
"typescript": "5.2.2",
"vike": "^0.4.149",
"vike": "^0.4.152",
"vike-angular": "workspace:*",
"vite": "5.0.10",
"xhr2": "^0.2.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/vike-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
"peerDependencies": {
"@angular/core": "^17.0.0",
"@nitedani/vite-plugin-angular": "^17.0.11",
"vike": "^0.4.149",
"vike": "^0.4.152",
"vite": "^5.0.0"
},
"devDependencies": {
"@angular/core": "^17.0.0",
"@brillout/release-me": "^0.1.12",
"@types/node": "^18.17.18",
"typescript": "^5.2.2",
"vike": "^0.4.149"
"vike": "^0.4.152"
},
"dependencies": {},
"typesVersions": {
Expand Down
4 changes: 2 additions & 2 deletions packages/vike-angular/renderer/+config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ export default {
}
} satisfies Config

// We purposely define the ConfigVikeReact interface in this file: that way we ensure it's always applied whenever the user `import vikeAngular from 'vike-angular/config'`
// We purposely define the ConfigVikeAngular interface in this file: that way we ensure it's always applied whenever the user `import vikeAngular from 'vike-angular/config'`
import type { Component } from './types'
declare global {
namespace VikePackages {
interface ConfigVikeReact {
interface ConfigVikeAngular {
/** The page's root component */
Page?: Component
/** A component, usually common to several pages, that wraps the root component `Page` */
Expand Down
Loading

0 comments on commit 695d86f

Please sign in to comment.