Skip to content

Commit

Permalink
add __internal prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Aug 25, 2024
1 parent 83ba4f2 commit e2de186
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions packages/vike-vue-pinia/integration/+config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export default {
require: {
'vike-vue': '>=0.7.0',
},
onCreateApp: 'import:vike-vue-pinia/integration/installPinia:installPinia',
onAfterRenderHtml: 'import:vike-vue-pinia/integration/dehydratePinia:dehydratePinia',
onBeforeRenderClient: 'import:vike-vue-pinia/integration/hydratePinia:hydratePinia',
onCreateApp: 'import:vike-vue-pinia/__internal/integration/installPinia:installPinia',
onAfterRenderHtml: 'import:vike-vue-pinia/__internal/integration/dehydratePinia:dehydratePinia',
onBeforeRenderClient: 'import:vike-vue-pinia/__internal/integration/hydratePinia:hydratePinia',
} satisfies Config

declare global {
Expand Down
12 changes: 6 additions & 6 deletions packages/vike-vue-pinia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@
},
"exports": {
"./config": "./dist/+config.js",
"./integration/installPinia": "./dist/installPinia.js",
"./integration/dehydratePinia": "./dist/dehydratePinia.js",
"./integration/hydratePinia": "./dist/hydratePinia.js"
"./__internal/integration/installPinia": "./dist/installPinia.js",
"./__internal/integration/dehydratePinia": "./dist/dehydratePinia.js",
"./__internal/integration/hydratePinia": "./dist/hydratePinia.js"
},
"typesVersions": {
"*": {
"config": [
"./dist/+config.d.ts"
],
"integration/installPinia": [
"__internal/integration/installPinia": [
"./dist/installPinia.d.ts"
],
"integration/dehydratePinia": [
"__internal/integration/dehydratePinia": [
"./dist/dehydratePinia.d.ts"
],
"integration/hydratePinia": [
"__internal/integration/hydratePinia": [
"./dist/hydratePinia.d.ts"
]
}
Expand Down
6 changes: 3 additions & 3 deletions packages/vike-vue-query/integration/+config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export default {
require: {
'vike-vue': '>=0.7.0',
},
onCreateApp: 'import:vike-vue-query/integration/installVueQuery:installVueQuery',
onAfterRenderHtml: 'import:vike-vue-query/integration/dehydrateVueQuery:dehydrateVueQuery',
onBeforeRenderClient: 'import:vike-vue-query/integration/hydrateVueQuery:hydrateVueQuery',
onCreateApp: 'import:vike-vue-query/__internal/integration/installVueQuery:installVueQuery',
onAfterRenderHtml: 'import:vike-vue-query/__internal/integration/dehydrateVueQuery:dehydrateVueQuery',
onBeforeRenderClient: 'import:vike-vue-query/__internal/integration/hydrateVueQuery:hydrateVueQuery',
meta: {
queryClientConfig: {
env: {
Expand Down
12 changes: 6 additions & 6 deletions packages/vike-vue-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@
},
"exports": {
"./config": "./dist/+config.js",
"./integration/installVueQuery": "./dist/installVueQuery.js",
"./integration/dehydrateVueQuery": "./dist/dehydrateVueQuery.js",
"./integration/hydrateVueQuery": "./dist/hydrateVueQuery.js"
"./__internal/integration/installVueQuery": "./dist/installVueQuery.js",
"./__internal/integration/dehydrateVueQuery": "./dist/dehydrateVueQuery.js",
"./__internal/integration/hydrateVueQuery": "./dist/hydrateVueQuery.js"
},
"typesVersions": {
"*": {
"config": [
"./dist/+config.d.ts"
],
"integration/installVueQuery": [
"__internal/integration/installVueQuery": [
"./dist/installVueQuery.d.ts"
],
"integration/dehydrateVueQuery": [
"__internal/integration/dehydrateVueQuery": [
"./dist/dehydrateVueQuery.d.ts"
],
"integration/hydrateVueQuery": [
"__internal/integration/hydrateVueQuery": [
"./dist/hydrateVueQuery.d.ts"
]
}
Expand Down
8 changes: 4 additions & 4 deletions packages/vike-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"types": "./dist/types/public.d.ts"
},
"./config": "./dist/+config.js",
"./integration/onRenderHtml": "./dist/integration/onRenderHtml.js",
"./integration/onRenderClient": "./dist/integration/onRenderClient.js"
"./__internal/integration/onRenderHtml": "./dist/integration/onRenderHtml.js",
"./__internal/integration/onRenderClient": "./dist/integration/onRenderClient.js"
},
"dependencies": {},
"peerDependencies": {
Expand Down Expand Up @@ -76,10 +76,10 @@
"clientOnly": [
"./dist/helpers/clientOnly.d.ts"
],
"integration/onRenderHtml": [
"__internal/integration/onRenderHtml": [
"./dist/integration/onRenderHtml.d.ts"
],
"integration/onRenderClient": [
"__internal/integration/onRenderClient": [
"./dist/integration/onRenderClient.d.ts"
]
}
Expand Down
4 changes: 2 additions & 2 deletions packages/vike-vue/src/+config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ const config = {
},

// https://vike.dev/onRenderHtml
onRenderHtml: 'import:vike-vue/integration/onRenderHtml:onRenderHtml',
onRenderHtml: 'import:vike-vue/__internal/integration/onRenderHtml:onRenderHtml',
// https://vike.dev/onRenderClient
onRenderClient: 'import:vike-vue/integration/onRenderClient:onRenderClient',
onRenderClient: 'import:vike-vue/__internal/integration/onRenderClient:onRenderClient',

// https://vike.dev/passToClient
// It is a cumulative config option, so a web app using vike-vue can extend
Expand Down

0 comments on commit e2de186

Please sign in to comment.