@nuxt/modules 0.6.0-d622fc → 0.6.0-daf88c
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 +24 -9
- package/modules.json +0 -24
- package/package.json +15 -10
package/README.md
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
[![npm version][npm-version-src]][npm-version-href]
|
|
6
6
|
[![Volta][volta-src]][volta-href]
|
|
7
7
|
|
|
8
|
-
> Discover
|
|
8
|
+
> Discover Nuxt modules to supercharge your project! Created by the Nuxt team and community.
|
|
9
9
|
|
|
10
|
-
- 🔗 [Modules listing](https://nuxt.com/modules)
|
|
11
10
|
- 📖 [Module author guide](https://nuxt.com/docs/guide/going-further/modules)
|
|
11
|
+
- 🔗 [Modules listing](https://nuxt.com/modules)
|
|
12
12
|
|
|
13
13
|
## Modules Database
|
|
14
14
|
|
|
@@ -17,12 +17,12 @@ Metadata of nuxt modules are maintained in [yml](https://en.wikipedia.org/wiki/Y
|
|
|
17
17
|
### Add/Update a module
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
|
|
20
|
+
yarn sync <name> <repo>
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Example: `
|
|
23
|
+
Example: `yarn sync tailwindcss nuxt-community/tailwindcss-module`
|
|
24
24
|
|
|
25
|
-
To sync with a branch different than `
|
|
25
|
+
To sync with a branch different than `master`, suffix the repo with `#repo-branch`, example: `yarn sync tailwindcss nuxt-community/tailwindcss-module#dev`
|
|
26
26
|
|
|
27
27
|
### Contribution
|
|
28
28
|
|
|
@@ -44,8 +44,8 @@ You can use the `@nuxt/modules` package by installing it in your project:
|
|
|
44
44
|
# npm
|
|
45
45
|
npm install @nuxt/modules
|
|
46
46
|
|
|
47
|
-
#
|
|
48
|
-
|
|
47
|
+
# yarn
|
|
48
|
+
yarn add @nuxt/modules
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
Then you can directly import the list of modules:
|
|
@@ -81,15 +81,30 @@ Field Name | Auto sync | Description
|
|
|
81
81
|
### Auto update all current modules
|
|
82
82
|
|
|
83
83
|
```bash
|
|
84
|
-
|
|
84
|
+
yarn sync
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
### Generate `modules.json`
|
|
88
88
|
|
|
89
89
|
```bash
|
|
90
|
-
|
|
90
|
+
yarn build
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Website development
|
|
94
|
+
|
|
95
|
+
- Clone repository
|
|
96
|
+
- Install website depenedencies using `npx yarn install`
|
|
97
|
+
|
|
98
|
+
Start development:
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
npx yarn dev
|
|
91
102
|
```
|
|
92
103
|
|
|
104
|
+
Then visit http://localhost:3000
|
|
105
|
+
|
|
106
|
+
In the development, the npm downloads and GitHub stars will be mocked unless setting `USE_NUXT_API` variable.
|
|
107
|
+
|
|
93
108
|
## License
|
|
94
109
|
|
|
95
110
|
[MIT](./LICENSE) - Made by Nuxt Team
|
package/modules.json
CHANGED
|
@@ -3286,30 +3286,6 @@
|
|
|
3286
3286
|
"requires": {}
|
|
3287
3287
|
}
|
|
3288
3288
|
},
|
|
3289
|
-
{
|
|
3290
|
-
"name": "pinia-orm",
|
|
3291
|
-
"description": "The Pinia plugin to enable Object-Relational Mapping access to the Pinia Store.",
|
|
3292
|
-
"repo": "CodeDredd/pinia-orm#master/packages/nuxt",
|
|
3293
|
-
"npm": "@pinia-orm/nuxt",
|
|
3294
|
-
"icon": "pinia-orm.svg",
|
|
3295
|
-
"github": "https://github.com/CodeDredd/pinia-orm/tree/master/packages/nuxt",
|
|
3296
|
-
"website": "https://pinia-orm.codedredd.de/",
|
|
3297
|
-
"learn_more": "",
|
|
3298
|
-
"category": "Extensions",
|
|
3299
|
-
"type": "3rd-party",
|
|
3300
|
-
"maintainers": [
|
|
3301
|
-
{
|
|
3302
|
-
"name": "CodeDredd",
|
|
3303
|
-
"github": "CodeDredd"
|
|
3304
|
-
}
|
|
3305
|
-
],
|
|
3306
|
-
"compatibility": {
|
|
3307
|
-
"nuxt": "^2.0.0 || ^3.0.0",
|
|
3308
|
-
"requires": {
|
|
3309
|
-
"bridge": "optional"
|
|
3310
|
-
}
|
|
3311
|
-
}
|
|
3312
|
-
},
|
|
3313
3289
|
{
|
|
3314
3290
|
"name": "pinia",
|
|
3315
3291
|
"description": "The Vue Store that you will enjoy using",
|
package/package.json
CHANGED
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/modules",
|
|
3
|
-
"version": "0.6.0-
|
|
3
|
+
"version": "0.6.0-daf88c",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./modules.json",
|
|
6
6
|
"files": [
|
|
7
7
|
"modules.json"
|
|
8
8
|
],
|
|
9
9
|
"scripts": {
|
|
10
|
-
"build": "
|
|
10
|
+
"build": "yarn cli build",
|
|
11
11
|
"cli": "jiti ./lib/cli",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
12
|
+
"dev": "yarn website:dev",
|
|
13
|
+
"prepare": "nuxi prepare website",
|
|
14
|
+
"website:build": "yarn build && nuxi build website",
|
|
15
|
+
"website:dev": "yarn build && nuxi dev website",
|
|
14
16
|
"lint": "eslint --ext .vue,.ts .",
|
|
15
|
-
"release": "
|
|
16
|
-
"sync": "
|
|
17
|
-
"test": "
|
|
17
|
+
"release": "yarn cli version && npm publish",
|
|
18
|
+
"sync": "yarn cli sync",
|
|
19
|
+
"test": "yarn lint && yarn sync"
|
|
18
20
|
},
|
|
19
21
|
"devDependencies": {
|
|
20
|
-
"@
|
|
22
|
+
"@nuxtjs/eslint-config-typescript": "^11.0.0",
|
|
21
23
|
"@types/js-yaml": "^4.0.5",
|
|
22
24
|
"@types/node": "^18.8.5",
|
|
23
25
|
"defu": "^6.1.0",
|
|
@@ -27,8 +29,11 @@
|
|
|
27
29
|
"hasha": "^5.2.2",
|
|
28
30
|
"jiti": "^1.16.0",
|
|
29
31
|
"js-yaml": "^4.1.0",
|
|
32
|
+
"nuxt": "^3.0.0-rc.11",
|
|
30
33
|
"ohmyfetch": "^0.4.19",
|
|
31
|
-
"
|
|
34
|
+
"p-limit": "^4.0.0",
|
|
35
|
+
"typescript": "^4.8.4",
|
|
36
|
+
"ufo": "^1.0.0"
|
|
32
37
|
},
|
|
33
|
-
"packageManager": "
|
|
38
|
+
"packageManager": "yarn@3.2.3"
|
|
34
39
|
}
|