@vueless/nuxt 0.0.1 → 0.0.2

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 CHANGED
@@ -7,23 +7,23 @@
7
7
 
8
8
  ## Quick Setup
9
9
 
10
- 1. Add `@vueless/module-nuxt` dependency to your project
10
+ 1. Add `@vueless/nuxt` dependency to your project.
11
11
 
12
12
  ```bash
13
- npx nuxi@latest module add vueless
13
+ npm i @vueless/nuxt
14
14
  ```
15
15
 
16
- 2. Add `@vueless/module-nuxt` to the `modules` section of `nuxt.config.{ts,js}`
16
+ 2. Add `@vueless/nuxt` to the `modules` section of `nuxt.config.{ts,js}`
17
17
 
18
18
  ```js
19
19
  {
20
20
  modules: [
21
- '@vueless/module-nuxt'
21
+ '@vueless/nuxt'
22
22
  ]
23
23
  }
24
24
  ```
25
25
 
26
- That's it! You can now use `@vueless/module-nuxt` in your Nuxt app ✨
26
+ That's it! You can now use `@vueless/nuxt` in your Nuxt app ✨
27
27
 
28
28
  <!-- Badges -->
29
29
  [npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=020420&colorB=00DC82
package/dist/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 vuelessjs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # Vueless Nuxt Module
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
+ ## Quick Setup
9
+
10
+ 1. Add `@vueless/nuxt` dependency to your project.
11
+
12
+ ```bash
13
+ npm i @vueless/nuxt
14
+ ```
15
+
16
+ 2. Add `@vueless/nuxt` to the `modules` section of `nuxt.config.{ts,js}`
17
+
18
+ ```js
19
+ {
20
+ modules: [
21
+ '@vueless/nuxt'
22
+ ]
23
+ }
24
+ ```
25
+
26
+ That's it! You can now use `@vueless/nuxt` in your Nuxt app ✨
27
+
28
+ <!-- Badges -->
29
+ [npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=020420&colorB=00DC82
30
+ [npm-version-href]: https://npmjs.com/package/my-module
31
+
32
+ [npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat&colorA=020420&colorB=00DC82
33
+ [npm-downloads-href]: https://npmjs.com/package/my-module
34
+
35
+ [license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat&colorA=020420&colorB=00DC82
36
+ [license-href]: https://npmjs.com/package/my-module
37
+
38
+ [nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
39
+ [nuxt-href]: https://nuxt.com
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.13.0"
6
6
  },
7
- "version": "0.0.1",
7
+ "version": "0.0.2",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "@vueless/nuxt",
3
+ "version": "0.0.2",
4
+ "license": "MIT",
5
+ "description": "Nuxt Styleless UI Component Library, powered by Tailwind CSS.",
6
+ "keywords": [
7
+ "vueless",
8
+ "nuxt",
9
+ "nuxt.js",
10
+ "nuxt3",
11
+ "ui library",
12
+ "component library",
13
+ "nuxt framework",
14
+ "design system",
15
+ "tailwind",
16
+ "tailwindcss",
17
+ "unstyled",
18
+ "styleless",
19
+ "headlessui",
20
+ "ui"
21
+ ],
22
+ "homepage": "https://vueless.com",
23
+ "author": "Johnny Grid",
24
+ "type": "module",
25
+ "publishConfig": {
26
+ "access": "public"
27
+ },
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/types.d.ts",
31
+ "import": "./dist/module.mjs",
32
+ "require": "./dist/module.cjs"
33
+ }
34
+ },
35
+ "main": "./dist/module.cjs",
36
+ "types": "./dist/types.d.ts",
37
+ "files": [
38
+ "dist"
39
+ ],
40
+ "scripts": {
41
+ "dev": "nuxi dev playground",
42
+ "dev:build": "nuxi build playground",
43
+ "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
44
+ "prepack": "nuxt-module-build build && cp package.json LICENSE README.md dist/",
45
+ "release:patch": "release-it patch --ci --npm.publish",
46
+ "release:minor": "release-it minor --ci --npm.publish --git.tag --github.release",
47
+ "release:major": "release-it major --ci --npm.publish --git.tag --github.release",
48
+ "lint": "eslint .",
49
+ "lint:ci": "eslint --no-fix --max-warnings=0",
50
+ "test": "vitest run",
51
+ "test:watch": "vitest watch",
52
+ "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
53
+ "install": "npx nuxi prepare"
54
+ },
55
+ "dependencies": {
56
+ "@nuxt/kit": "^3.13.1",
57
+ "@nuxtjs/tailwindcss": "^6.12.1",
58
+ "defu": "^6.1.4",
59
+ "pathe": "^1.1.2",
60
+ "vueless": "^0.0.481"
61
+ },
62
+ "devDependencies": {
63
+ "@material-symbols/svg-500": "^0.25.0",
64
+ "@nuxt/devtools": "^1.4.1",
65
+ "@nuxt/eslint-config": "^0.5.7",
66
+ "@nuxt/module-builder": "^0.8.4",
67
+ "@nuxt/schema": "^3.13.2",
68
+ "@nuxt/test-utils": "^3.14.1",
69
+ "@types/node": "latest",
70
+ "changelogen": "^0.5.5",
71
+ "eslint": "^9.12.0",
72
+ "nuxt": "^3.13.2",
73
+ "release-it": "^17.6.0",
74
+ "typescript": "latest",
75
+ "vitest": "^2.0.5",
76
+ "vue-tsc": "^2.1.6"
77
+ },
78
+ "repository": {
79
+ "type": "git",
80
+ "url": "git+https://github.com/vuelessjs/vueless-module-nuxt.git"
81
+ },
82
+ "bugs": {
83
+ "url": "https://github.com/vuelessjs/vueless-module-nuxt/issues"
84
+ },
85
+ "web-types": "./node_modules/vueless/web-types.json"
86
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueless/nuxt",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "license": "MIT",
5
5
  "description": "Nuxt Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -41,7 +41,7 @@
41
41
  "dev": "nuxi dev playground",
42
42
  "dev:build": "nuxi build playground",
43
43
  "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
44
- "prepack": "nuxt-module-build build",
44
+ "prepack": "nuxt-module-build build && cp package.json LICENSE README.md dist/",
45
45
  "release:patch": "release-it patch --ci --npm.publish",
46
46
  "release:minor": "release-it minor --ci --npm.publish --git.tag --github.release",
47
47
  "release:major": "release-it major --ci --npm.publish --git.tag --github.release",