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.
@@ -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
@@ -0,0 +1,3 @@
1
+ import type { ServicePlugin } from '@volar/language-service';
2
+ export declare function create(): ServicePlugin;
3
+ //# sourceMappingURL=empty.d.ts.map
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.21",
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
- "out/**/*.js",
15
- "out/**/*.d.ts"
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.21",
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
- "./out/index.js": "./out/empty.js"
38
+ "./index.js": "./empty.js"
40
39
  },
41
- "gitHead": "d4023ed503951199b1a9a4b7efe82f4edba42141"
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