volar-service-pug 0.0.21 → 0.0.23
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/{out/index.d.ts → index.d.ts} +1 -1
- package/{out/index.js → index.js} +1 -1
- package/lib/empty.d.ts +3 -0
- package/lib/empty.js +13 -0
- package/package.json +6 -7
- /package/{out/empty.d.ts → empty.d.ts} +0 -0
- /package/{out/empty.js → empty.js} +0 -0
- /package/{out → lib}/baseParse.d.ts +0 -0
- /package/{out → lib}/baseParse.js +0 -0
- /package/{out → lib}/languageService.d.ts +0 -0
- /package/{out → lib}/languageService.js +0 -0
- /package/{out → lib}/pugDocument.d.ts +0 -0
- /package/{out → lib}/pugDocument.js +0 -0
- /package/{out → lib}/services/completion.d.ts +0 -0
- /package/{out → lib}/services/completion.js +0 -0
- /package/{out → lib}/services/documentHighlight.d.ts +0 -0
- /package/{out → lib}/services/documentHighlight.js +0 -0
- /package/{out → lib}/services/documentLinks.d.ts +0 -0
- /package/{out → lib}/services/documentLinks.js +0 -0
- /package/{out → lib}/services/foldingRanges.d.ts +0 -0
- /package/{out → lib}/services/foldingRanges.js +0 -0
- /package/{out → lib}/services/hover.d.ts +0 -0
- /package/{out → lib}/services/hover.js +0 -0
- /package/{out → lib}/services/quoteComplete.d.ts +0 -0
- /package/{out → lib}/services/quoteComplete.js +0 -0
- /package/{out → lib}/services/scanner.d.ts +0 -0
- /package/{out → lib}/services/scanner.js +0 -0
- /package/{out → lib}/services/selectionRanges.d.ts +0 -0
- /package/{out → lib}/services/selectionRanges.js +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ServicePlugin } from '@volar/language-service';
|
|
2
2
|
import type * as html from 'vscode-html-languageservice';
|
|
3
3
|
import type { TextDocument } from 'vscode-languageserver-textdocument';
|
|
4
|
-
import * as pug from './languageService';
|
|
4
|
+
import * as pug from './lib/languageService';
|
|
5
5
|
export interface Provide {
|
|
6
6
|
'pug/pugDocument': (document: TextDocument) => pug.PugDocument | undefined;
|
|
7
7
|
'pug/languageService': () => pug.LanguageService;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.create = void 0;
|
|
4
4
|
const language_service_1 = require("@volar/language-service");
|
|
5
5
|
const volar_service_html_1 = require("volar-service-html");
|
|
6
|
-
const pug = require("./languageService");
|
|
6
|
+
const pug = require("./lib/languageService");
|
|
7
7
|
function create() {
|
|
8
8
|
const _htmlService = (0, volar_service_html_1.create)();
|
|
9
9
|
return {
|
package/lib/empty.d.ts
ADDED
package/lib/empty.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.create = void 0;
|
|
4
|
+
console.warn('volar-service-pug: this module is not yet supported for web.');
|
|
5
|
+
function create() {
|
|
6
|
+
return {
|
|
7
|
+
create() {
|
|
8
|
+
return {};
|
|
9
|
+
},
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
exports.create = create;
|
|
13
|
+
//# sourceMappingURL=empty.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "volar-service-pug",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"description": "Integrate Pug into Volar",
|
|
5
5
|
"homepage": "https://github.com/volarjs/services/tree/master/packages/pug",
|
|
6
6
|
"bugs": "https://github.com/volarjs/services/issues",
|
|
@@ -8,11 +8,10 @@
|
|
|
8
8
|
"keywords": [
|
|
9
9
|
"volar-service"
|
|
10
10
|
],
|
|
11
|
-
"main": "out/index.js",
|
|
12
11
|
"license": "MIT",
|
|
13
12
|
"files": [
|
|
14
|
-
"
|
|
15
|
-
"
|
|
13
|
+
"**/*.js",
|
|
14
|
+
"**/*.d.ts"
|
|
16
15
|
],
|
|
17
16
|
"repository": {
|
|
18
17
|
"type": "git",
|
|
@@ -28,7 +27,7 @@
|
|
|
28
27
|
"@volar/language-service": "next",
|
|
29
28
|
"pug-lexer": "^5.0.1",
|
|
30
29
|
"pug-parser": "^6.0.0",
|
|
31
|
-
"volar-service-html": "0.0.
|
|
30
|
+
"volar-service-html": "0.0.23",
|
|
32
31
|
"vscode-html-languageservice": "^5.1.0",
|
|
33
32
|
"vscode-languageserver-textdocument": "^1.0.11"
|
|
34
33
|
},
|
|
@@ -36,7 +35,7 @@
|
|
|
36
35
|
"@types/node": "latest"
|
|
37
36
|
},
|
|
38
37
|
"browser": {
|
|
39
|
-
"./
|
|
38
|
+
"./index.js": "./empty.js"
|
|
40
39
|
},
|
|
41
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "0090e6286c521d185e52e0f02c8eeb237ea4e54d"
|
|
42
41
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|