@merkaly/nuxt 0.1.4

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/README.md ADDED
@@ -0,0 +1,23 @@
1
+ # @merkaly/nuxt
2
+
3
+ [![npm version][npm-version-src]][npm-version-href]
4
+ [![npm downloads][npm-downloads-src]][npm-downloads-href]
5
+ [![License][license-src]][license-href]
6
+ [![Nuxt][nuxt-src]][nuxt-href]
7
+
8
+ A Nuxt module that provides Auth0 authentication integration and API utilities for Merkaly applications.
9
+
10
+ - [✨  Release Notes](/CHANGELOG.md)
11
+
12
+ ## Features
13
+
14
+ - 🔐  **Auth0 Integration** - Built-in Auth0 authentication with client-side support
15
+ - 🌐  **API Plugin** - Global API client with lifecycle hooks (onBeforeSend, onSuccess, onError, etc.)
16
+ - 🎯  **Auto-imports** - Composables automatically available throughout your app
17
+ - 🔧  **TypeScript Support** - Full TypeScript definitions included
18
+ - 📦  **Bootstrap Vue Next** - Integrated Bootstrap Vue Next components
19
+ - 🎨  **VueUse Integration** - Includes @vueuse/core, @vueuse/components, and more
20
+
21
+ ## Quick Setup
22
+
23
+ Install the module to your Nuxt application:
@@ -0,0 +1,2 @@
1
+ export * from "/Users/kronhyx/www/merkaly/src/nuxt/src/module.js";
2
+ export { default } from "/Users/kronhyx/www/merkaly/src/nuxt/src/module.js";
@@ -0,0 +1,2 @@
1
+ export * from "/Users/kronhyx/www/merkaly/src/nuxt/src/module.js";
2
+ export { default } from "/Users/kronhyx/www/merkaly/src/nuxt/src/module.js";
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "@merkaly/nuxt",
3
+ "configKey": "merkaly",
4
+ "compatibility": {
5
+ "nuxt": ">=3.0.0"
6
+ },
7
+ "version": "0.1.4",
8
+ "builder": {
9
+ "@nuxt/module-builder": "1.0.2",
10
+ "unbuild": "3.6.1"
11
+ }
12
+ }
@@ -0,0 +1,18 @@
1
+ import { createJiti } from "file:///Users/kronhyx/www/merkaly/src/nuxt/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs";
2
+
3
+ const jiti = createJiti(import.meta.url, {
4
+ "interopDefault": true,
5
+ "alias": {
6
+ "@merkaly/nuxt": "/Users/kronhyx/www/merkaly/src/nuxt"
7
+ },
8
+ "transformOptions": {
9
+ "babel": {
10
+ "plugins": []
11
+ }
12
+ }
13
+ })
14
+
15
+ /** @type {import("/Users/kronhyx/www/merkaly/src/nuxt/src/module.js")} */
16
+ const _module = await jiti.import("/Users/kronhyx/www/merkaly/src/nuxt/src/module.ts");
17
+
18
+ export default _module?.default ?? _module;
@@ -0,0 +1,13 @@
1
+ import type { ModuleHooks, ModuleRuntimeHooks, ModuleRuntimeConfig, ModulePublicRuntimeConfig } from './module.mjs'
2
+
3
+ declare module '#app' {
4
+ interface RuntimeNuxtHooks extends ModuleRuntimeHooks {}
5
+ }
6
+
7
+ declare module '@nuxt/schema' {
8
+ interface NuxtHooks extends ModuleHooks {}
9
+ interface RuntimeConfig extends ModuleRuntimeConfig {}
10
+ interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
11
+ }
12
+
13
+ export * from "./module.mjs"
package/package.json ADDED
@@ -0,0 +1,81 @@
1
+ {
2
+ "name": "@merkaly/nuxt",
3
+ "version": "0.1.4",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "git+https://github.com/merkaly-io/nuxt.git"
7
+ },
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "license": "MIT",
12
+ "type": "module",
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/types.d.mts",
16
+ "import": "./dist/module.mjs"
17
+ }
18
+ },
19
+ "main": "./dist/module.mjs",
20
+ "typesVersions": {
21
+ "*": {
22
+ ".": [
23
+ "./dist/types.d.mts"
24
+ ]
25
+ }
26
+ },
27
+ "files": [
28
+ "dist"
29
+ ],
30
+ "dependencies": {
31
+ "@auth0/auth0-spa-js": "^2.11.0",
32
+ "@bootstrap-vue-next/nuxt": "^0.42.0",
33
+ "@nuxt/devtools": "^3.1.0",
34
+ "@nuxt/eslint": "1.12.1",
35
+ "@nuxt/eslint-config": "^1.12.1",
36
+ "@nuxt/fonts": "0.12.1",
37
+ "@nuxt/image": "^2.0.0",
38
+ "@nuxt/kit": "^4.2.0",
39
+ "@nuxtjs/plausible": "^2.0.1",
40
+ "@types/node": "latest",
41
+ "@types/vue-select": "^3.16.8",
42
+ "@vueuse/components": "^14.1.0",
43
+ "@vueuse/core": "^14.1.0",
44
+ "@vueuse/integrations": "^14.1.0",
45
+ "@vueuse/nuxt": "^14.1.0",
46
+ "bootstrap": "^5.3.8",
47
+ "bootstrap-vue-next": "^0.42.0",
48
+ "eslint": "^9.39.1",
49
+ "nuxt": "^4.2.0",
50
+ "sass": "^1.97.0",
51
+ "typescript": "~5.9.3",
52
+ "v-money3": "^3.24.1",
53
+ "vite-svg-loader": "^5.1.0",
54
+ "vue": "^3.5.22",
55
+ "vue-router": "^4.6.3",
56
+ "vue-select": "4.0.0-beta.6"
57
+ },
58
+ "devDependencies": {
59
+ "@nuxt/module-builder": "^1.0.2",
60
+ "@nuxt/schema": "^4.2.0",
61
+ "@nuxt/test-utils": "^3.23.0",
62
+ "changelogen": "^0.6.2",
63
+ "eslint-plugin-storybook": "^10.1.11",
64
+ "vitest": "^4.0.6",
65
+ "vue-tsc": "^3.2.1"
66
+ },
67
+ "engines": {
68
+ "node": ">=20.0.0"
69
+ },
70
+ "scripts": {
71
+ "build": "nuxt-module-build build --stub",
72
+ "dev": "pnpm dev:prepare && cd playground && pnpm storybook",
73
+ "dev:build": "nuxi build playground",
74
+ "dev:prepare": "pnpm build && nuxi prepare playground",
75
+ "lint": "eslint .",
76
+ "release": "pnpm lint && pnpm test && pnpm build && changelogen --release && npm publish --access public && git push --follow-tags",
77
+ "test": "vitest run",
78
+ "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
79
+ "test:watch": "vitest watch"
80
+ }
81
+ }