nuxt-codemirror 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 +85 -86
- package/dist/module.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,86 +1,85 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# Nuxt
|
|
4
|
-
|
|
5
|
-
[![npm version][npm-version-src]][npm-version-href]
|
|
6
|
-
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
7
|
-
[![License][license-src]][license-href]
|
|
8
|
-
[![Nuxt][nuxt-src]][nuxt-href]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
- [
|
|
14
|
-
<!-- - [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
<
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
[npm-version-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
[npm-downloads-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
[license-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
[nuxt-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
For now write shamefully-hoist=true in your .npmrc file to solve this. We are working on a better solution
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# Nuxt-CodeMirror
|
|
4
|
+
|
|
5
|
+
[![npm version][npm-version-src]][npm-version-href]
|
|
6
|
+
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
7
|
+
[![License][license-src]][license-href]
|
|
8
|
+
[![Nuxt][nuxt-src]][nuxt-href]
|
|
9
|
+
|
|
10
|
+
My new Nuxt module for doing amazing things.
|
|
11
|
+
|
|
12
|
+
- [✨ Release Notes](/CHANGELOG.md)
|
|
13
|
+
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) -->
|
|
14
|
+
<!-- - [📖 Documentation](https://example.com) -->
|
|
15
|
+
|
|
16
|
+
## Features
|
|
17
|
+
|
|
18
|
+
<!-- Highlight some of the features your module provide here -->
|
|
19
|
+
- ⛰ Foo
|
|
20
|
+
- 🚠 Bar
|
|
21
|
+
- 🌲 Baz
|
|
22
|
+
|
|
23
|
+
## Quick Setup
|
|
24
|
+
|
|
25
|
+
Install the module to your Nuxt application with one command:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npx nuxi module add my-module
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
That's it! You can now use My Module in your Nuxt app ✨
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
## Contribution
|
|
35
|
+
|
|
36
|
+
<details>
|
|
37
|
+
<summary>Local development</summary>
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
# Install dependencies
|
|
41
|
+
npm install
|
|
42
|
+
|
|
43
|
+
# Generate type stubs
|
|
44
|
+
npm run dev:prepare
|
|
45
|
+
|
|
46
|
+
# Develop with the playground
|
|
47
|
+
npm run dev
|
|
48
|
+
|
|
49
|
+
# Build the playground
|
|
50
|
+
npm run dev:build
|
|
51
|
+
|
|
52
|
+
# Run ESLint
|
|
53
|
+
npm run lint
|
|
54
|
+
|
|
55
|
+
# Run Vitest
|
|
56
|
+
npm run test
|
|
57
|
+
npm run test:watch
|
|
58
|
+
|
|
59
|
+
# Release new version
|
|
60
|
+
npm run release
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
</details>
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
<!-- Badges -->
|
|
67
|
+
[npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat&colorA=020420&colorB=00DC82
|
|
68
|
+
[npm-version-href]: https://npmjs.com/package/my-module
|
|
69
|
+
|
|
70
|
+
[npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat&colorA=020420&colorB=00DC82
|
|
71
|
+
[npm-downloads-href]: https://npmjs.com/package/my-module
|
|
72
|
+
|
|
73
|
+
[license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat&colorA=020420&colorB=00DC82
|
|
74
|
+
[license-href]: https://npmjs.com/package/my-module
|
|
75
|
+
|
|
76
|
+
[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
|
|
77
|
+
[nuxt-href]: https://nuxt.com
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## TO write FAQ
|
|
82
|
+
|
|
83
|
+
- I get extension duplicate error: Fix Unrecognized extension value in extension set ([object Object]). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.
|
|
84
|
+
|
|
85
|
+
shamefully hoist solves it for now with pnpm together with a resolutions config for codemirror state
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-codemirror",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Nuxt codemirror module",
|
|
5
|
-
"repository": "
|
|
5
|
+
"repository": "your-org/my-module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"exports": {
|