From e2de1861588fd94a914506d6c193c0ae22ea4926 Mon Sep 17 00:00:00 2001 From: Romuald Brillout Date: Sun, 25 Aug 2024 13:55:19 +0200 Subject: [PATCH] add __internal prefix --- packages/vike-vue-pinia/integration/+config.ts | 6 +++--- packages/vike-vue-pinia/package.json | 12 ++++++------ packages/vike-vue-query/integration/+config.ts | 6 +++--- packages/vike-vue-query/package.json | 12 ++++++------ packages/vike-vue/package.json | 8 ++++---- packages/vike-vue/src/+config.ts | 4 ++-- 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/packages/vike-vue-pinia/integration/+config.ts b/packages/vike-vue-pinia/integration/+config.ts index 931df6ce..32d698d9 100644 --- a/packages/vike-vue-pinia/integration/+config.ts +++ b/packages/vike-vue-pinia/integration/+config.ts @@ -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 { diff --git a/packages/vike-vue-pinia/package.json b/packages/vike-vue-pinia/package.json index 283f2dcf..19b20110 100644 --- a/packages/vike-vue-pinia/package.json +++ b/packages/vike-vue-pinia/package.json @@ -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" ] } diff --git a/packages/vike-vue-query/integration/+config.ts b/packages/vike-vue-query/integration/+config.ts index e9ea476b..70188e19 100644 --- a/packages/vike-vue-query/integration/+config.ts +++ b/packages/vike-vue-query/integration/+config.ts @@ -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: { diff --git a/packages/vike-vue-query/package.json b/packages/vike-vue-query/package.json index a4199afc..214c2ef7 100644 --- a/packages/vike-vue-query/package.json +++ b/packages/vike-vue-query/package.json @@ -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" ] } diff --git a/packages/vike-vue/package.json b/packages/vike-vue/package.json index 1a02a6d4..676dbe9e 100644 --- a/packages/vike-vue/package.json +++ b/packages/vike-vue/package.json @@ -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": { @@ -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" ] } diff --git a/packages/vike-vue/src/+config.ts b/packages/vike-vue/src/+config.ts index 1397f4b4..ddb34887 100644 --- a/packages/vike-vue/src/+config.ts +++ b/packages/vike-vue/src/+config.ts @@ -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