@inzombieland/nuxt-common 1.0.2 → 1.16.1

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.
Files changed (118) hide show
  1. package/README.md +6 -0
  2. package/{module.json → dist/module.json} +1 -1
  3. package/{module.mjs → dist/module.mjs} +1 -1
  4. package/{runtime → dist/runtime}/packages/api/package.json +1 -1
  5. package/{runtime → dist/runtime}/packages/helpers/package.json +1 -1
  6. package/{runtime → dist/runtime}/packages/layer-manager/package.json +1 -1
  7. package/package.json +77 -7
  8. /package/{module.cjs → dist/module.cjs} +0 -0
  9. /package/{module.d.mts → dist/module.d.mts} +0 -0
  10. /package/{module.d.ts → dist/module.d.ts} +0 -0
  11. /package/{runtime → dist/runtime}/AppProvider.vue +0 -0
  12. /package/{runtime → dist/runtime}/SidebarProvider.vue +0 -0
  13. /package/{runtime → dist/runtime}/api/account/account.get.d.ts +0 -0
  14. /package/{runtime → dist/runtime}/api/account/account.get.mjs +0 -0
  15. /package/{runtime → dist/runtime}/api/account/authcheck.get.d.ts +0 -0
  16. /package/{runtime → dist/runtime}/api/account/authcheck.get.mjs +0 -0
  17. /package/{runtime → dist/runtime}/api/account/default-handler.d.ts +0 -0
  18. /package/{runtime → dist/runtime}/api/account/default-handler.mjs +0 -0
  19. /package/{runtime → dist/runtime}/api/account/middleware.d.ts +0 -0
  20. /package/{runtime → dist/runtime}/api/account/middleware.mjs +0 -0
  21. /package/{runtime → dist/runtime}/api/account/token.get.d.ts +0 -0
  22. /package/{runtime → dist/runtime}/api/account/token.get.mjs +0 -0
  23. /package/{runtime → dist/runtime}/api/index.d.ts +0 -0
  24. /package/{runtime → dist/runtime}/api/index.mjs +0 -0
  25. /package/{runtime → dist/runtime}/api/user-actions.d.ts +0 -0
  26. /package/{runtime → dist/runtime}/api/user-actions.mjs +0 -0
  27. /package/{runtime → dist/runtime}/composables/use-active-sessions.d.ts +0 -0
  28. /package/{runtime → dist/runtime}/composables/use-active-sessions.mjs +0 -0
  29. /package/{runtime → dist/runtime}/composables/use-api-fetch.d.ts +0 -0
  30. /package/{runtime → dist/runtime}/composables/use-api-fetch.mjs +0 -0
  31. /package/{runtime → dist/runtime}/composables/use-helpers.d.ts +0 -0
  32. /package/{runtime → dist/runtime}/composables/use-helpers.mjs +0 -0
  33. /package/{runtime → dist/runtime}/composables/use-layer-manager.d.ts +0 -0
  34. /package/{runtime → dist/runtime}/composables/use-layer-manager.mjs +0 -0
  35. /package/{runtime → dist/runtime}/composables/use-subscribe.d.ts +0 -0
  36. /package/{runtime → dist/runtime}/composables/use-subscribe.mjs +0 -0
  37. /package/{runtime → dist/runtime}/composables/use-toggle-sidebar.d.ts +0 -0
  38. /package/{runtime → dist/runtime}/composables/use-toggle-sidebar.mjs +0 -0
  39. /package/{runtime → dist/runtime}/composables/use-user-actions.d.ts +0 -0
  40. /package/{runtime → dist/runtime}/composables/use-user-actions.mjs +0 -0
  41. /package/{runtime → dist/runtime}/composables/use-user.d.ts +0 -0
  42. /package/{runtime → dist/runtime}/composables/use-user.mjs +0 -0
  43. /package/{runtime → dist/runtime}/composables/use-validators.d.ts +0 -0
  44. /package/{runtime → dist/runtime}/composables/use-validators.mjs +0 -0
  45. /package/{runtime → dist/runtime}/middleware/auth.d.ts +0 -0
  46. /package/{runtime → dist/runtime}/middleware/auth.mjs +0 -0
  47. /package/{runtime → dist/runtime}/middleware/guest.d.ts +0 -0
  48. /package/{runtime → dist/runtime}/middleware/guest.mjs +0 -0
  49. /package/{runtime → dist/runtime}/middleware/index.d.ts +0 -0
  50. /package/{runtime → dist/runtime}/middleware/index.mjs +0 -0
  51. /package/{runtime → dist/runtime}/middleware/locale.global.d.ts +0 -0
  52. /package/{runtime → dist/runtime}/middleware/locale.global.mjs +0 -0
  53. /package/{runtime → dist/runtime}/packages/api/api-client.d.ts +0 -0
  54. /package/{runtime → dist/runtime}/packages/api/api-client.mjs +0 -0
  55. /package/{runtime → dist/runtime}/packages/api/bus.d.ts +0 -0
  56. /package/{runtime → dist/runtime}/packages/api/bus.mjs +0 -0
  57. /package/{runtime → dist/runtime}/packages/api/comet-client.d.ts +0 -0
  58. /package/{runtime → dist/runtime}/packages/api/comet-client.mjs +0 -0
  59. /package/{runtime → dist/runtime}/packages/api/get-user.d.ts +0 -0
  60. /package/{runtime → dist/runtime}/packages/api/get-user.mjs +0 -0
  61. /package/{runtime → dist/runtime}/packages/api/get-visitor.d.ts +0 -0
  62. /package/{runtime → dist/runtime}/packages/api/get-visitor.mjs +0 -0
  63. /package/{runtime → dist/runtime}/packages/api/helpers/api-helper.d.ts +0 -0
  64. /package/{runtime → dist/runtime}/packages/api/helpers/api-helper.mjs +0 -0
  65. /package/{runtime → dist/runtime}/packages/api/helpers/current-device.d.ts +0 -0
  66. /package/{runtime → dist/runtime}/packages/api/helpers/current-device.mjs +0 -0
  67. /package/{runtime → dist/runtime}/packages/api/helpers/date-helper.d.ts +0 -0
  68. /package/{runtime → dist/runtime}/packages/api/helpers/date-helper.mjs +0 -0
  69. /package/{runtime → dist/runtime}/packages/api/helpers/index.d.ts +0 -0
  70. /package/{runtime → dist/runtime}/packages/api/helpers/index.mjs +0 -0
  71. /package/{runtime → dist/runtime}/packages/api/index.d.ts +0 -0
  72. /package/{runtime → dist/runtime}/packages/api/index.mjs +0 -0
  73. /package/{runtime → dist/runtime}/packages/api/refresh-token.d.ts +0 -0
  74. /package/{runtime → dist/runtime}/packages/api/refresh-token.mjs +0 -0
  75. /package/{runtime → dist/runtime}/packages/api/types.d.ts +0 -0
  76. /package/{runtime → dist/runtime}/packages/api/types.mjs +0 -0
  77. /package/{runtime → dist/runtime}/packages/api/use-api-actions.d.ts +0 -0
  78. /package/{runtime → dist/runtime}/packages/api/use-api-actions.mjs +0 -0
  79. /package/{runtime → dist/runtime}/packages/api/use-user.d.ts +0 -0
  80. /package/{runtime → dist/runtime}/packages/api/use-user.mjs +0 -0
  81. /package/{runtime → dist/runtime}/packages/helpers/index.d.ts +0 -0
  82. /package/{runtime → dist/runtime}/packages/helpers/index.mjs +0 -0
  83. /package/{runtime → dist/runtime}/packages/helpers/phone-helper.d.ts +0 -0
  84. /package/{runtime → dist/runtime}/packages/helpers/phone-helper.mjs +0 -0
  85. /package/{runtime → dist/runtime}/packages/helpers/string-helper.d.ts +0 -0
  86. /package/{runtime → dist/runtime}/packages/helpers/string-helper.mjs +0 -0
  87. /package/{runtime → dist/runtime}/packages/layer-manager/LayerComponent.vue +0 -0
  88. /package/{runtime → dist/runtime}/packages/layer-manager/LayersProvider.vue +0 -0
  89. /package/{runtime → dist/runtime}/packages/layer-manager/index.d.ts +0 -0
  90. /package/{runtime → dist/runtime}/packages/layer-manager/index.mjs +0 -0
  91. /package/{runtime → dist/runtime}/packages/layer-manager/types.d.ts +0 -0
  92. /package/{runtime → dist/runtime}/packages/layer-manager/types.mjs +0 -0
  93. /package/{runtime → dist/runtime}/packages/layer-manager/use-layer-actions.d.ts +0 -0
  94. /package/{runtime → dist/runtime}/packages/layer-manager/use-layer-actions.mjs +0 -0
  95. /package/{runtime → dist/runtime}/plugin.d.ts +0 -0
  96. /package/{runtime → dist/runtime}/plugin.mjs +0 -0
  97. /package/{runtime → dist/runtime}/plugins/device.d.ts +0 -0
  98. /package/{runtime → dist/runtime}/plugins/device.mjs +0 -0
  99. /package/{runtime → dist/runtime}/plugins/otp-input.d.ts +0 -0
  100. /package/{runtime → dist/runtime}/plugins/otp-input.mjs +0 -0
  101. /package/{runtime → dist/runtime}/plugins/sanitize-html.d.ts +0 -0
  102. /package/{runtime → dist/runtime}/plugins/sanitize-html.mjs +0 -0
  103. /package/{runtime → dist/runtime}/plugins/sanitize-url.d.ts +0 -0
  104. /package/{runtime → dist/runtime}/plugins/sanitize-url.mjs +0 -0
  105. /package/{runtime → dist/runtime}/server/middleware/basic-auth.d.ts +0 -0
  106. /package/{runtime → dist/runtime}/server/middleware/basic-auth.mjs +0 -0
  107. /package/{runtime → dist/runtime}/thirdparty/helpers/index.d.mts +0 -0
  108. /package/{runtime → dist/runtime}/thirdparty/helpers/index.d.ts +0 -0
  109. /package/{runtime → dist/runtime}/thirdparty/helpers/index.mjs +0 -0
  110. /package/{runtime → dist/runtime}/thirdparty/helpers/index.mjs.map +0 -0
  111. /package/{runtime → dist/runtime}/thirdparty/sanitize-url/index.d.mts +0 -0
  112. /package/{runtime → dist/runtime}/thirdparty/sanitize-url/index.d.ts +0 -0
  113. /package/{runtime → dist/runtime}/thirdparty/sanitize-url/index.mjs +0 -0
  114. /package/{runtime → dist/runtime}/thirdparty/sanitize-url/index.mjs.map +0 -0
  115. /package/{runtime → dist/runtime}/ui/varlet.d.ts +0 -0
  116. /package/{runtime → dist/runtime}/ui/varlet.mjs +0 -0
  117. /package/{types.d.mts → dist/types.d.mts} +0 -0
  118. /package/{types.d.ts → dist/types.d.ts} +0 -0
package/README.md ADDED
@@ -0,0 +1,6 @@
1
+ # Frontend Nuxt Common Module
2
+
3
+ ## Development
4
+
5
+ - Run `npm run dev:prepare` to generate type stubs.
6
+ - Use `npm run dev` to start [playground](./playground) in development mode.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inzombieland/nuxt-common",
3
- "version": "1.0.2",
3
+ "version": "1.16.0",
4
4
  "configKey": "nuxt-common",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.6.0",
@@ -2,7 +2,7 @@ import { fileURLToPath } from 'node:url';
2
2
  import { defineNuxtModule, createResolver, addServerHandler, addImportsDir, addPlugin, addComponent } from '@nuxt/kit';
3
3
 
4
4
  const name = "@inzombieland/nuxt-common";
5
- const version = "1.0.2";
5
+ const version = "1.16.0";
6
6
 
7
7
  const module = defineNuxtModule({
8
8
  meta: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inzombieland/api",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "type": "module",
5
5
  "license": "ISC",
6
6
  "main": "./index.mjs",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inzombieland/helpers",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "type": "module",
5
5
  "license": "ISC",
6
6
  "main": "./index.mjs",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inzombieland/layer-manager",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "type": "module",
5
5
  "license": "ISC",
6
6
  "main": "./index.mjs",
package/package.json CHANGED
@@ -1,21 +1,91 @@
1
1
  {
2
2
  "name": "@inzombieland/nuxt-common",
3
- "version": "1.0.2",
4
- "type": "module",
3
+ "version": "1.16.1",
5
4
  "license": "ISC",
5
+ "type": "module",
6
6
  "exports": {
7
7
  ".": {
8
- "import": "./module.mjs",
9
- "require": "./module.cjs"
8
+ "import": "./dist/module.mjs",
9
+ "require": "./dist/module.cjs"
10
10
  },
11
11
  "./assets/": "./assets/",
12
- "./helpers": "./runtime/thirdparty/helpers/index.mjs"
12
+ "./helpers": "./dist/runtime/thirdparty/helpers/index.mjs"
13
+ },
14
+ "main": "./dist/module.cjs",
15
+ "types": "./dist/types.d.ts",
16
+ "files": [
17
+ "dist",
18
+ "assets"
19
+ ],
20
+ "workspaces": {
21
+ "packages": [
22
+ "packages/*"
23
+ ]
24
+ },
25
+ "scripts": {
26
+ "build": "nuxt-module-build build",
27
+ "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
28
+ "dev": "nuxi dev playground --dotenv .env.dev",
29
+ "dev:build:dev": "nuxi build playground --dotenv .env.dev",
30
+ "dev:build:prod": "nuxi build playground --dotenv .env.prod",
31
+ "rollup": "rollup -c",
32
+ "lint": "eslint --config=eslint.config.js ./src",
33
+ "lint:fix": "eslint --config=eslint.config.js --fix ./src",
34
+ "test:types": "vue-tsc --noEmit",
35
+ "packages:build": "lerna run build --no-private --stream",
36
+ "packages:publish": "lerna publish from-package --dist-tag latest -y"
13
37
  },
14
- "main": "./module.mjs",
15
- "types": "./types.d.ts",
16
38
  "dependencies": {
17
39
  "centrifuge": "^5.3.4",
18
40
  "rxjs": "^7.8.2",
19
41
  "ultrahtml": "^1.5.2"
42
+ },
43
+ "devDependencies": {
44
+ "@braintree/sanitize-url": "^7.1.1",
45
+ "@fingerprintjs/fingerprintjs": "^4.6.2",
46
+ "@nuxt/devtools": "latest",
47
+ "@nuxt/kit": "^3.16.0",
48
+ "@nuxt/module-builder": "^0.6.0",
49
+ "@nuxt/schema": "^3.16.0",
50
+ "@nuxtjs/i18n": "^9.3.1",
51
+ "@nuxtjs/tailwindcss": "^6.12.2",
52
+ "@pinia/colada": "^0.13.7",
53
+ "@pinia/colada-nuxt": "^0.0.6",
54
+ "@pinia/nuxt": "^0.10.1",
55
+ "@primeuix/themes": "^1.0.0",
56
+ "@primevue/nuxt-module": "^4.3.2",
57
+ "@rollup/plugin-commonjs": "^26.0.3",
58
+ "@rollup/plugin-node-resolve": "^15.3.1",
59
+ "@rollup/plugin-typescript": "^11.1.6",
60
+ "@sxzz/eslint-config": "^3.17.4",
61
+ "@types/node": "^20.17.10",
62
+ "@vant/nuxt": "^1.0.6",
63
+ "@vant/touch-emulator": "^1.4.0",
64
+ "@varlet/ui": "^3.9.0",
65
+ "@vite-pwa/assets-generator": "^0.2.6",
66
+ "@vite-pwa/nuxt": "^0.10.6",
67
+ "@vueuse/nuxt": "^10.5.0",
68
+ "autoprefixer": "^10.4.20",
69
+ "changelogen": "^0.5.7",
70
+ "config": "^3.3.12",
71
+ "eslint": "^8.57.1",
72
+ "lerna": "^8.2.2",
73
+ "nuxt": "^3.16.0",
74
+ "ofetch": "^1.4.1",
75
+ "pinia": "^3.0.1",
76
+ "postcss": "^8.4.49",
77
+ "postcss-pxtorem": "^6.1.0",
78
+ "prettier": "^3.4.2",
79
+ "primeicons": "^7.0.0",
80
+ "primevue": "^4.3.2",
81
+ "rollup": "^4.29.1",
82
+ "rollup-plugin-dts": "^6.1.1",
83
+ "sass": "^1.83.0",
84
+ "tailwindcss": "^3.4.17",
85
+ "vant": "^4.9.17",
86
+ "vue": "^3.5.13",
87
+ "vue-tsc": "^2.2.0",
88
+ "vue3-otp-input": "^0.5.21",
89
+ "zod": "^3.24.3"
20
90
  }
21
91
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes