@jotx-labs/language 2.4.82 → 2.4.183
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 +5 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @jotx/language
|
|
1
|
+
# @jotx-labs/language
|
|
2
2
|
|
|
3
3
|
Platform-agnostic language support for jotx files (`.jot`, `.meet`).
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ Provides syntax highlighting and diagnostics for **both VS Code and Monaco Edito
|
|
|
19
19
|
## Installation
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
npm install @jotx/language
|
|
22
|
+
npm install @jotx-labs/language
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
---
|
|
@@ -30,7 +30,7 @@ npm install @jotx/language
|
|
|
30
30
|
|
|
31
31
|
```typescript
|
|
32
32
|
import * as vscode from 'vscode'
|
|
33
|
-
import { setupJotxLanguageForVSCode } from '@jotx/language'
|
|
33
|
+
import { setupJotxLanguageForVSCode } from '@jotx-labs/language'
|
|
34
34
|
|
|
35
35
|
export function activate(context: vscode.ExtensionContext) {
|
|
36
36
|
// Setup jotx language support (syntax + diagnostics)
|
|
@@ -48,7 +48,7 @@ export function activate(context: vscode.ExtensionContext) {
|
|
|
48
48
|
|
|
49
49
|
```typescript
|
|
50
50
|
import * as monaco from 'monaco-editor'
|
|
51
|
-
import { setupJotxLanguageForMonaco } from '@jotx/language'
|
|
51
|
+
import { setupJotxLanguageForMonaco } from '@jotx-labs/language'
|
|
52
52
|
|
|
53
53
|
// Setup jotx language
|
|
54
54
|
const languageProvider = setupJotxLanguageForMonaco(monaco)
|
|
@@ -74,7 +74,7 @@ editor.onDidChangeModelContent(() => {
|
|
|
74
74
|
### Platform-agnostic Validation
|
|
75
75
|
|
|
76
76
|
```typescript
|
|
77
|
-
import { DiagnosticProvider } from '@jotx/language'
|
|
77
|
+
import { DiagnosticProvider } from '@jotx-labs/language'
|
|
78
78
|
|
|
79
79
|
const provider = new DiagnosticProvider()
|
|
80
80
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jotx-labs/language",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.183",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"vscode"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@jotx-labs/core": "
|
|
25
|
+
"@jotx-labs/core": "^2.4.130"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^20.0.0",
|
|
29
29
|
"typescript": "^5.0.0"
|
|
30
30
|
},
|
|
31
31
|
"license": "Apache-2.0"
|
|
32
|
-
}
|
|
32
|
+
}
|