@rline/schema 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +29 -3
- package/package.json +1 -1
package/README.md
CHANGED
@@ -1,17 +1,43 @@
|
|
1
1
|
# @rline/schema
|
2
2
|
|
3
|
-
-
|
3
|
+
- Commonly used schemas
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
+
You do not need to install the package to use schemas
|
8
|
+
|
7
9
|
```shell
|
8
10
|
pnpm add @rline/schema
|
9
11
|
```
|
10
12
|
|
11
13
|
## Usage
|
12
14
|
|
13
|
-
|
15
|
+
JSON
|
16
|
+
|
17
|
+
```json
|
18
|
+
{
|
19
|
+
"$schema": "https://raw.githubusercontent.com/rbrightline/common/refs/heads/main/libs/schema/schema-config.schema.json"
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
23
|
+
YAML
|
24
|
+
|
25
|
+
```yaml
|
26
|
+
# yaml-language-server: $schema=https://raw.githubusercontent.com/rbrightline/common/refs/heads/main/libs/schema/schema-config.schema.json
|
27
|
+
```
|
28
|
+
|
29
|
+
## Local Usage
|
30
|
+
|
31
|
+
JSON
|
32
|
+
|
33
|
+
```json
|
34
|
+
{
|
35
|
+
"$schema": "./node_modules/@rline/schema/schema-config.schema.json"
|
36
|
+
}
|
37
|
+
```
|
14
38
|
|
15
|
-
|
39
|
+
YAML
|
16
40
|
|
41
|
+
```yaml
|
42
|
+
# yaml-language-server: $schema=./node_modules/@rline/schema/schema-config.schema.json
|
17
43
|
```
|