qarpeo 0.0.0-alpha.10 → 0.0.0-alpha.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.mjs CHANGED
@@ -16,7 +16,7 @@ import 'drizzle-orm/node-sqlite';
16
16
  import 'node:process';
17
17
  import 'node:readline/promises';
18
18
 
19
- const version = "0.0.0-alpha.10";
19
+ const version = "0.0.0-alpha.12";
20
20
 
21
21
  function ensureDevEnv(rootDir) {
22
22
  const envPath = join(rootDir, ".env");
@@ -1,4 +1,5 @@
1
1
  import { ref } from "vue";
2
+ import { useRuntimeConfig } from "#imports";
2
3
  export function useApiTokens() {
3
4
  const runtimeConfig = useRuntimeConfig();
4
5
  const authConfig = runtimeConfig.public?.qarpeo?.auth || {};
@@ -1,4 +1,5 @@
1
1
  import { ref, computed } from "vue";
2
+ import { useRuntimeConfig, navigateTo, useUserSession } from "#imports";
2
3
  export function useAuth() {
3
4
  const { loggedIn, user, session, clear, fetch, ready } = useUserSession();
4
5
  const runtimeConfig = useRuntimeConfig();
@@ -1,4 +1,5 @@
1
1
  import { computed } from "vue";
2
+ import { useRoute, useCookie, navigateTo } from "#imports";
2
3
  export function useCMSPreview() {
3
4
  let route;
4
5
  let cookie;
@@ -1,4 +1,5 @@
1
1
  import { ref, computed } from "vue";
2
+ import { useRuntimeConfig } from "#imports";
2
3
  import { useCMSPreview } from "./cms-preview.mjs";
3
4
  export function useCMS(collectionId) {
4
5
  const runtimeConfig = useRuntimeConfig();
@@ -1,4 +1,5 @@
1
1
  import { ref, computed } from "vue";
2
+ import { useRoute, useRouter, useRuntimeConfig, navigateTo } from "#imports";
2
3
  export function useDocsVersion(options) {
3
4
  let route;
4
5
  let router;
@@ -1,4 +1,5 @@
1
1
  import { computed } from "vue";
2
+ import { useRuntimeConfig, useUserSession } from "#imports";
2
3
  export function useImpersonation() {
3
4
  const { session, fetch: refreshSession } = useUserSession();
4
5
  const runtimeConfig = useRuntimeConfig();
@@ -1,4 +1,5 @@
1
1
  import { ref, computed } from "vue";
2
+ import { useRuntimeConfig, useUserSession } from "#imports";
2
3
  export function useOrganization() {
3
4
  const { session, fetch: refreshSession } = useUserSession();
4
5
  const runtimeConfig = useRuntimeConfig();
@@ -1,4 +1,5 @@
1
1
  import { ref } from "vue";
2
+ import { useRuntimeConfig } from "#imports";
2
3
  import { useAuth } from "./auth.mjs";
3
4
  export function usePasskey() {
4
5
  const runtimeConfig = useRuntimeConfig();
@@ -1,4 +1,5 @@
1
1
  import { ref } from "vue";
2
+ import { useRuntimeConfig } from "#imports";
2
3
  import { useAuth } from "./auth.mjs";
3
4
  export function usePasswordless() {
4
5
  const runtimeConfig = useRuntimeConfig();
@@ -1,4 +1,5 @@
1
1
  import { computed } from "vue";
2
+ import { useRuntimeConfig, useAsyncData } from "#imports";
2
3
  export function useSubscription() {
3
4
  const runtimeConfig = useRuntimeConfig();
4
5
  const paymentsConfig = runtimeConfig.public?.qarpeo?.payments || {};
@@ -1,4 +1,5 @@
1
1
  import { computed } from "vue";
2
+ import { useRuntimeConfig, useRoute, useHead } from "#imports";
2
3
  export function useSite() {
3
4
  const runtimeConfig = useRuntimeConfig();
4
5
  return runtimeConfig.public?.qarpeo?.site || {};
@@ -1,4 +1,5 @@
1
1
  import { ref, computed, toValue } from "vue";
2
+ import { useRuntimeConfig } from "#imports";
2
3
  export function useStorage() {
3
4
  const runtimeConfig = useRuntimeConfig();
4
5
  const storageConfig = runtimeConfig.public?.qarpeo?.storage || runtimeConfig.public?.qarpeo?.blob || {};
@@ -1,4 +1,5 @@
1
1
  import { computed } from "vue";
2
+ import { useRuntimeConfig } from "#imports";
2
3
  export function useTurnstile() {
3
4
  const runtimeConfig = useRuntimeConfig();
4
5
  const siteKey = computed(() => {
@@ -1,4 +1,5 @@
1
1
  import { ref } from "vue";
2
+ import { useRuntimeConfig } from "#imports";
2
3
  export function useTwoFactor() {
3
4
  const runtimeConfig = useRuntimeConfig();
4
5
  const authConfig = runtimeConfig.public?.qarpeo?.auth || {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qarpeo",
3
- "version": "0.0.0-alpha.10",
3
+ "version": "0.0.0-alpha.12",
4
4
  "description": "Zero-config Cloudflare Edge Platform for Nuxt",
5
5
  "keywords": [
6
6
  "analytics-engine",
@@ -56,7 +56,7 @@
56
56
  "@comark/nuxt": "^0.8.1",
57
57
  "@comark/vue": "^0.8.1",
58
58
  "@nuxt/devtools-kit": "^4.1.0",
59
- "@nuxt/kit": "npm:@nuxt/kit-nightly@^5.0.0-2611041456-7ae6258",
59
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@^5.0.0-2611051431-8a89118",
60
60
  "@simplewebauthn/browser": "14.0.0",
61
61
  "@simplewebauthn/server": "14.0.3",
62
62
  "citty": "^0.2.2",
@@ -71,7 +71,7 @@
71
71
  "pathe": "^2.0.3",
72
72
  "shiki": "^4.6.0",
73
73
  "uqr": "0.1.3",
74
- "wrangler": "^4.157.0",
74
+ "wrangler": "^4.158.0",
75
75
  "yaml": "^2.9.1",
76
76
  "zod": "^4.6.7"
77
77
  },
@@ -81,11 +81,11 @@
81
81
  "@typescript/typescript6": "^6.0.2",
82
82
  "h3": "^2.0.8",
83
83
  "nitro": "3.0.261103-rc",
84
- "nuxt": "npm:nuxt-nightly@^5.0.0-2611041456-7ae6258",
84
+ "nuxt": "npm:nuxt-nightly@^5.0.0-2611051431-8a89118",
85
85
  "typescript": "^7.0.2",
86
86
  "unbuild": "^3.6.1",
87
87
  "vite-plus": "1.5.0",
88
- "vue": "^3.5.44",
88
+ "vue": "^3.6.0-rc.14",
89
89
  "vue-sfc-transformer": "^0.3.1"
90
90
  },
91
91
  "devEngines": {