@community-release/nx-ui 0.0.3

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,4 @@
1
+ # nx-ui
2
+
3
+ Nuxt UI library
4
+
@@ -0,0 +1,5 @@
1
+ module.exports = function(...args) {
2
+ return import('./module.mjs').then(m => m.default.call(this, ...args))
3
+ }
4
+ const _meta = module.exports.meta = require('./module.json')
5
+ module.exports.getMeta = () => Promise.resolve(_meta)
@@ -0,0 +1,2 @@
1
+ export * from "E:/Work/Programming/Projects/nx-ui/src/module";
2
+ export { default } from "E:/Work/Programming/Projects/nx-ui/src/module";
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "ui",
3
+ "configKey": "ui",
4
+ "version": "0.0.3"
5
+ }
@@ -0,0 +1,12 @@
1
+ import jiti from "file:///E:/Work/Programming/Projects/nx-ui/node_modules/jiti/lib/index.js";
2
+
3
+ /** @type {import("E:/Work/Programming/Projects/nx-ui/src/module")} */
4
+ const _module = jiti(null, {
5
+ "esmResolve": true,
6
+ "interopDefault": true,
7
+ "alias": {
8
+ "@community-release/nx-ui": "E:/Work/Programming/Projects/nx-ui"
9
+ }
10
+ })("E:/Work/Programming/Projects/nx-ui/src/module.ts");
11
+
12
+ export default _module;
@@ -0,0 +1,25 @@
1
+
2
+ import type { ModuleOptions, ModuleHooks, RuntimeModuleHooks, ModuleRuntimeHooks, ModuleRuntimeConfig, ModulePublicRuntimeConfig } from './module.js'
3
+
4
+ declare module '#app' {
5
+ interface RuntimeNuxtHooks extends RuntimeModuleHooks, ModuleRuntimeHooks {}
6
+ }
7
+
8
+ declare module '@nuxt/schema' {
9
+ interface NuxtConfig { ['ui']?: Partial<ModuleOptions> }
10
+ interface NuxtOptions { ['ui']?: ModuleOptions }
11
+ interface NuxtHooks extends ModuleHooks {}
12
+ interface RuntimeConfig extends ModuleRuntimeConfig {}
13
+ interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
14
+ }
15
+
16
+ declare module 'nuxt/schema' {
17
+ interface NuxtConfig { ['ui']?: Partial<ModuleOptions> }
18
+ interface NuxtOptions { ['ui']?: ModuleOptions }
19
+ interface NuxtHooks extends ModuleHooks {}
20
+ interface RuntimeConfig extends ModuleRuntimeConfig {}
21
+ interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
22
+ }
23
+
24
+
25
+ export type { default } from './module.js'
@@ -0,0 +1,25 @@
1
+
2
+ import type { ModuleOptions, ModuleHooks, RuntimeModuleHooks, ModuleRuntimeHooks, ModuleRuntimeConfig, ModulePublicRuntimeConfig } from './module'
3
+
4
+ declare module '#app' {
5
+ interface RuntimeNuxtHooks extends RuntimeModuleHooks, ModuleRuntimeHooks {}
6
+ }
7
+
8
+ declare module '@nuxt/schema' {
9
+ interface NuxtConfig { ['ui']?: Partial<ModuleOptions> }
10
+ interface NuxtOptions { ['ui']?: ModuleOptions }
11
+ interface NuxtHooks extends ModuleHooks {}
12
+ interface RuntimeConfig extends ModuleRuntimeConfig {}
13
+ interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
14
+ }
15
+
16
+ declare module 'nuxt/schema' {
17
+ interface NuxtConfig { ['ui']?: Partial<ModuleOptions> }
18
+ interface NuxtOptions { ['ui']?: ModuleOptions }
19
+ interface NuxtHooks extends ModuleHooks {}
20
+ interface RuntimeConfig extends ModuleRuntimeConfig {}
21
+ interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
22
+ }
23
+
24
+
25
+ export type { default } from './module'
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@community-release/nx-ui",
3
+ "version": "0.0.3",
4
+ "description": "nx-ui - Nuxt UI library",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/community-release/nx-ui.git"
8
+ },
9
+ "license": "MIT",
10
+ "type": "module",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/types.d.ts",
14
+ "import": "./dist/module.mjs",
15
+ "require": "./dist/module.cjs"
16
+ }
17
+ },
18
+ "main": "./dist/module.cjs",
19
+ "types": "./dist/types.d.ts",
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "dependencies": {
24
+ "@nuxt/kit": "^3.12.1",
25
+ "@nuxtjs/color-mode": "^3.4.2",
26
+ "@nuxtjs/i18n": "^8.3.1",
27
+ "@pinia/nuxt": "^0.5.1",
28
+ "@vuedoc/md": "^4.0.0-beta8",
29
+ "@vuedoc/parser": "^4.0.0-beta14",
30
+ "ol": "^9.1.0",
31
+ "pinia": "^2.1.7"
32
+ },
33
+ "devDependencies": {
34
+ "@nuxt/devtools": "latest",
35
+ "@nuxt/module-builder": "^0.5.5",
36
+ "@nuxt/schema": "^3.11.2",
37
+ "@nuxt/test-utils": "^3.12.0",
38
+ "@types/node": "^20.12.4",
39
+ "@vitejs/plugin-vue": "^5.0.5",
40
+ "@vue/test-utils": "^2.4.6",
41
+ "changelogen": "^0.5.5",
42
+ "happy-dom": "^14.12.0",
43
+ "less": "^3.9.0",
44
+ "less-loader": "^5.0.0",
45
+ "nuxt": "^3.12.1",
46
+ "typescript": "^5.4.5",
47
+ "vite-raw-plugin": "^1.0.2",
48
+ "vitest": "^1.6.0",
49
+ "vue-docgen-cli": "^4.79.0"
50
+ },
51
+ "resolutions": {
52
+ "string-width": "4.2.3"
53
+ },
54
+ "scripts": {
55
+ "prepack": "nuxt-module-build build",
56
+ "dev": "nuxi dev docs",
57
+ "build": "nuxi build docs",
58
+ "prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare docs",
59
+ "release": "npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
60
+ "test": "vitest run",
61
+ "test:watch": "vitest watch",
62
+ "test:com": "vitest components run",
63
+ "test:genmocks": "node ./src/utils/generateTestMocks.mjs",
64
+ "docs:components": "vue-docgen"
65
+ }
66
+ }