@atlaspack/lsp-protocol 2.12.1-dev.3368 → 2.12.1-dev.3401

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/lib/index.js CHANGED
@@ -38,25 +38,25 @@ import type {Diagnostic, DocumentUri} from 'vscode-languageserver';
38
38
  * @type {RequestType<DocumentUri, Array<DocumentUri> | null, void>}
39
39
  */
40
40
  // Request: LSP Server -> Reporter
41
- const RequestImporters /*: RequestType<DocumentUri, Array<DocumentUri> | null, void> */ = exports.RequestImporters = new RequestType('atlaspack/request-importers');
41
+ const RequestImporters /*: RequestType<DocumentUri, Array<DocumentUri> | null, void> */ = exports.RequestImporters = new RequestType('parcel/request-importers');
42
42
 
43
43
  /**
44
44
  * @type {RequestType<DocumentUri, Array<Diagnostic> | undefined, void>}
45
45
  */
46
46
  // Request: LSP Server -> Reporter
47
- const RequestDocumentDiagnostics /*: RequestType<DocumentUri, Array<Diagnostic> | void, void> */ = exports.RequestDocumentDiagnostics = new RequestType('atlaspack/request-document-diagnostics');
47
+ const RequestDocumentDiagnostics /*: RequestType<DocumentUri, Array<Diagnostic> | void, void> */ = exports.RequestDocumentDiagnostics = new RequestType('parcel/request-document-diagnostics');
48
48
 
49
49
  /**
50
50
  * @type {NotificationType<Array<PublishDiagnostic>>}
51
51
  */
52
52
  // Notification: Reporter -> LSP Server
53
- const NotificationWorkspaceDiagnostics /*: NotificationType<Array<PublishDiagnostic>> */ = exports.NotificationWorkspaceDiagnostics = new NotificationType('atlaspack/notification-workspace-diagnostics');
53
+ const NotificationWorkspaceDiagnostics /*: NotificationType<Array<PublishDiagnostic>> */ = exports.NotificationWorkspaceDiagnostics = new NotificationType('parcel/notification-workspace-diagnostics');
54
54
 
55
55
  /**
56
56
  * @type {NotificationType2<'start' | 'progress' | 'end', string | void>}
57
57
  */
58
58
  // Notification: Reporter -> LSP Server
59
- const NotificationBuildStatus /*: NotificationType2<'start' | 'progress' | 'end', string | void> */ = exports.NotificationBuildStatus = new NotificationType2('atlaspack/notification-build-status');
59
+ const NotificationBuildStatus /*: NotificationType2<'start' | 'progress' | 'end', string | void> */ = exports.NotificationBuildStatus = new NotificationType2('parcel/notification-build-status');
60
60
 
61
61
  // --------------------------------
62
62
 
@@ -64,4 +64,4 @@ const NotificationBuildStatus /*: NotificationType2<'start' | 'progress' | 'end'
64
64
  /**
65
65
  * @type {import('vscode-languageserver').NotificationType0}
66
66
  */
67
- const NotificationBuild /*: mixed */ = exports.NotificationBuild = new NotificationType0('atlaspack/notification-build');
67
+ const NotificationBuild /*: mixed */ = exports.NotificationBuild = new NotificationType0('parcel/notification-build');
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;iDACM;kDAAA;kDAAA;4CAAA;AAkCC,MAAMK,0CAAiB,8DAAA,MAC5B,0CAAgB;AAMX,MAAMC,0CAA2B,6DAAA,MACtC,0CAAgB;AAMX,MAAMC,0CAAiC,+CAAA,MAC5C,+CAAqB;AAMhB,MAAMC,0CAAwB,mEAAA,MACnC,gDAAsB;AAQjB,MAAMC,0CAAkB,UAAA,MAAe,gDAC5C","sources":["packages/utils/atlaspack-lsp-protocol/src/index.js"],"sourcesContent":["// @flow\nconst {\n NotificationType,\n NotificationType0,\n NotificationType2,\n RequestType,\n} = require('vscode-jsonrpc/node');\n\n// -------------------------------- Typescript-specific definitions\n\n/**\n * @typedef {import(\"vscode-languageserver\")} lsp\n *\n * @typedef PublishDiagnostic\n * @prop {import('vscode-languageserver').DocumentUri} uri\n * @prop {Array<import('vscode-languageserver').Diagnostics>} diagnostics\n */\n\n// -------------------------------- Flow-specific defintions\n\n/*::\nexport type PublishDiagnostic = {|\n uri: DocumentUri,\n diagnostics: Array<Diagnostic>,\n|};\n\nimport type {Diagnostic, DocumentUri} from 'vscode-languageserver';\n*/\n\n// --------------------------------\n\n/**\n * @type {RequestType<DocumentUri, Array<DocumentUri> | null, void>}\n */\n// Request: LSP Server -> Reporter\nexport const RequestImporters /*: RequestType<DocumentUri, Array<DocumentUri> | null, void> */ =\n new RequestType('atlaspack/request-importers');\n\n/**\n * @type {RequestType<DocumentUri, Array<Diagnostic> | undefined, void>}\n */\n// Request: LSP Server -> Reporter\nexport const RequestDocumentDiagnostics /*: RequestType<DocumentUri, Array<Diagnostic> | void, void> */ =\n new RequestType('atlaspack/request-document-diagnostics');\n\n/**\n * @type {NotificationType<Array<PublishDiagnostic>>}\n */\n// Notification: Reporter -> LSP Server\nexport const NotificationWorkspaceDiagnostics /*: NotificationType<Array<PublishDiagnostic>> */ =\n new NotificationType('atlaspack/notification-workspace-diagnostics');\n\n/**\n * @type {NotificationType2<'start' | 'progress' | 'end', string | void>}\n */\n// Notification: Reporter -> LSP Server\nexport const NotificationBuildStatus /*: NotificationType2<'start' | 'progress' | 'end', string | void> */ =\n new NotificationType2('atlaspack/notification-build-status');\n\n// --------------------------------\n\n// Notification: LSP Server -> VSC Extension\n/**\n * @type {import('vscode-languageserver').NotificationType0}\n */\nexport const NotificationBuild /*: mixed */ = new NotificationType0(\n 'atlaspack/notification-build',\n);\n"],"names":["NotificationType","NotificationType0","NotificationType2","RequestType","require","RequestImporters","RequestDocumentDiagnostics","NotificationWorkspaceDiagnostics","NotificationBuildStatus","NotificationBuild"],"version":3,"file":"index.js.map","sourceRoot":"../../../../"}
1
+ {"mappings":";;;;;;;;;;;;;iDACM;kDAAA;kDAAA;4CAAA;AAkCC,MAAMK,0CAAiB,8DAAA,MAC5B,0CAAgB;AAMX,MAAMC,0CAA2B,6DAAA,MACtC,0CAAgB;AAMX,MAAMC,0CAAiC,+CAAA,MAC5C,+CAAqB;AAMhB,MAAMC,0CAAwB,mEAAA,MACnC,gDAAsB;AAQjB,MAAMC,0CAAkB,UAAA,MAAe,gDAC5C","sources":["packages/utils/atlaspack-lsp-protocol/src/index.js"],"sourcesContent":["// @flow\nconst {\n NotificationType,\n NotificationType0,\n NotificationType2,\n RequestType,\n} = require('vscode-jsonrpc/node');\n\n// -------------------------------- Typescript-specific definitions\n\n/**\n * @typedef {import(\"vscode-languageserver\")} lsp\n *\n * @typedef PublishDiagnostic\n * @prop {import('vscode-languageserver').DocumentUri} uri\n * @prop {Array<import('vscode-languageserver').Diagnostics>} diagnostics\n */\n\n// -------------------------------- Flow-specific defintions\n\n/*::\nexport type PublishDiagnostic = {|\n uri: DocumentUri,\n diagnostics: Array<Diagnostic>,\n|};\n\nimport type {Diagnostic, DocumentUri} from 'vscode-languageserver';\n*/\n\n// --------------------------------\n\n/**\n * @type {RequestType<DocumentUri, Array<DocumentUri> | null, void>}\n */\n// Request: LSP Server -> Reporter\nexport const RequestImporters /*: RequestType<DocumentUri, Array<DocumentUri> | null, void> */ =\n new RequestType('parcel/request-importers');\n\n/**\n * @type {RequestType<DocumentUri, Array<Diagnostic> | undefined, void>}\n */\n// Request: LSP Server -> Reporter\nexport const RequestDocumentDiagnostics /*: RequestType<DocumentUri, Array<Diagnostic> | void, void> */ =\n new RequestType('parcel/request-document-diagnostics');\n\n/**\n * @type {NotificationType<Array<PublishDiagnostic>>}\n */\n// Notification: Reporter -> LSP Server\nexport const NotificationWorkspaceDiagnostics /*: NotificationType<Array<PublishDiagnostic>> */ =\n new NotificationType('parcel/notification-workspace-diagnostics');\n\n/**\n * @type {NotificationType2<'start' | 'progress' | 'end', string | void>}\n */\n// Notification: Reporter -> LSP Server\nexport const NotificationBuildStatus /*: NotificationType2<'start' | 'progress' | 'end', string | void> */ =\n new NotificationType2('parcel/notification-build-status');\n\n// --------------------------------\n\n// Notification: LSP Server -> VSC Extension\n/**\n * @type {import('vscode-languageserver').NotificationType0}\n */\nexport const NotificationBuild /*: mixed */ = new NotificationType0(\n 'parcel/notification-build',\n);\n"],"names":["NotificationType","NotificationType0","NotificationType2","RequestType","require","RequestImporters","RequestDocumentDiagnostics","NotificationWorkspaceDiagnostics","NotificationBuildStatus","NotificationBuild"],"version":3,"file":"index.js.map","sourceRoot":"../../../../"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/lsp-protocol",
3
- "version": "2.12.1-dev.3368+af1db7f65",
3
+ "version": "2.12.1-dev.3401+b483af77f",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -27,5 +27,5 @@
27
27
  "targets": {
28
28
  "types": false
29
29
  },
30
- "gitHead": "af1db7f65c4816917ddf83716deedc536a1b8b27"
30
+ "gitHead": "b483af77f02d1258c8dad156e097b94f83671d8e"
31
31
  }
package/src/index.js CHANGED
@@ -34,28 +34,28 @@ import type {Diagnostic, DocumentUri} from 'vscode-languageserver';
34
34
  */
35
35
  // Request: LSP Server -> Reporter
36
36
  export const RequestImporters /*: RequestType<DocumentUri, Array<DocumentUri> | null, void> */ =
37
- new RequestType('atlaspack/request-importers');
37
+ new RequestType('parcel/request-importers');
38
38
 
39
39
  /**
40
40
  * @type {RequestType<DocumentUri, Array<Diagnostic> | undefined, void>}
41
41
  */
42
42
  // Request: LSP Server -> Reporter
43
43
  export const RequestDocumentDiagnostics /*: RequestType<DocumentUri, Array<Diagnostic> | void, void> */ =
44
- new RequestType('atlaspack/request-document-diagnostics');
44
+ new RequestType('parcel/request-document-diagnostics');
45
45
 
46
46
  /**
47
47
  * @type {NotificationType<Array<PublishDiagnostic>>}
48
48
  */
49
49
  // Notification: Reporter -> LSP Server
50
50
  export const NotificationWorkspaceDiagnostics /*: NotificationType<Array<PublishDiagnostic>> */ =
51
- new NotificationType('atlaspack/notification-workspace-diagnostics');
51
+ new NotificationType('parcel/notification-workspace-diagnostics');
52
52
 
53
53
  /**
54
54
  * @type {NotificationType2<'start' | 'progress' | 'end', string | void>}
55
55
  */
56
56
  // Notification: Reporter -> LSP Server
57
57
  export const NotificationBuildStatus /*: NotificationType2<'start' | 'progress' | 'end', string | void> */ =
58
- new NotificationType2('atlaspack/notification-build-status');
58
+ new NotificationType2('parcel/notification-build-status');
59
59
 
60
60
  // --------------------------------
61
61
 
@@ -64,5 +64,5 @@ export const NotificationBuildStatus /*: NotificationType2<'start' | 'progress'
64
64
  * @type {import('vscode-languageserver').NotificationType0}
65
65
  */
66
66
  export const NotificationBuild /*: mixed */ = new NotificationType0(
67
- 'atlaspack/notification-build',
67
+ 'parcel/notification-build',
68
68
  );