@atlaspack/lsp-protocol 2.14.1-canary.21 → 2.14.1-canary.210
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/CHANGELOG.md +7 -0
- package/lib/index.d.ts +27 -0
- package/package.json +8 -7
- package/src/{index.js → index.ts} +0 -1
- package/tsconfig.json +2 -12
- package/lib/index.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaspack/lsp-protocol
|
|
2
2
|
|
|
3
|
+
## 2.14.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#478](https://github.com/atlassian-labs/atlaspack/pull/478) [`570493b`](https://github.com/atlassian-labs/atlaspack/commit/570493beaf754e7985aebc7daaaf6dfcfa8fe56b) Thanks [@yamadapc](https://github.com/yamadapc)! - The first attempt at Version Packages didn't include the built artifacts.
|
|
8
|
+
This has hopefully been fixed, so this change will force those packages to re-release.
|
|
9
|
+
|
|
3
10
|
## 2.14.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {import("vscode-languageserver")} lsp
|
|
3
|
+
*
|
|
4
|
+
* @typedef PublishDiagnostic
|
|
5
|
+
* @prop {import('vscode-languageserver').DocumentUri} uri
|
|
6
|
+
* @prop {Array<import('vscode-languageserver').Diagnostics>} diagnostics
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @type {RequestType<DocumentUri, Array<DocumentUri> | null, void>}
|
|
10
|
+
*/
|
|
11
|
+
export declare const RequestImporters: any;
|
|
12
|
+
/**
|
|
13
|
+
* @type {RequestType<DocumentUri, Array<Diagnostic> | undefined, void>}
|
|
14
|
+
*/
|
|
15
|
+
export declare const RequestDocumentDiagnostics: any;
|
|
16
|
+
/**
|
|
17
|
+
* @type {NotificationType<Array<PublishDiagnostic>>}
|
|
18
|
+
*/
|
|
19
|
+
export declare const NotificationWorkspaceDiagnostics: any;
|
|
20
|
+
/**
|
|
21
|
+
* @type {NotificationType2<'start' | 'progress' | 'end', string | void>}
|
|
22
|
+
*/
|
|
23
|
+
export declare const NotificationBuildStatus: any;
|
|
24
|
+
/**
|
|
25
|
+
* @type {import('vscode-languageserver').NotificationType0}
|
|
26
|
+
*/
|
|
27
|
+
export declare const NotificationBuild: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/lsp-protocol",
|
|
3
|
-
"version": "2.14.1-canary.
|
|
3
|
+
"version": "2.14.1-canary.210+1671f630d",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -9,11 +9,12 @@
|
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "https://github.com/atlassian-labs/atlaspack.git"
|
|
11
11
|
},
|
|
12
|
-
"main": "lib/index.js",
|
|
13
|
-
"source": "src/index.
|
|
14
|
-
"types": "
|
|
12
|
+
"main": "./lib/index.js",
|
|
13
|
+
"source": "./src/index.ts",
|
|
14
|
+
"types": "./lib/index.d.ts",
|
|
15
15
|
"scripts": {
|
|
16
|
-
"watch": "tsc -watch -p ./"
|
|
16
|
+
"watch": "tsc -watch -p ./",
|
|
17
|
+
"check-ts": "tsc --emitDeclarationOnly --rootDir src"
|
|
17
18
|
},
|
|
18
19
|
"engines": {
|
|
19
20
|
"node": ">= 16.0.0"
|
|
@@ -28,5 +29,5 @@
|
|
|
28
29
|
"types": false
|
|
29
30
|
},
|
|
30
31
|
"type": "commonjs",
|
|
31
|
-
"gitHead": "
|
|
32
|
-
}
|
|
32
|
+
"gitHead": "1671f630d50d47ee18d525fb6a3615bda4102f87"
|
|
33
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
"target": "es6",
|
|
5
|
-
"outDir": "lib",
|
|
6
|
-
"lib": ["es6"],
|
|
7
|
-
"sourceMap": true,
|
|
8
|
-
"rootDir": "src",
|
|
9
|
-
"strict": true,
|
|
10
|
-
"allowJs": true
|
|
11
|
-
},
|
|
12
|
-
"include": ["src/*"],
|
|
13
|
-
"exclude": ["node_modules", ".vscode-test"]
|
|
2
|
+
"extends": "../../../tsconfig.json",
|
|
3
|
+
"include": ["src"]
|
|
14
4
|
}
|
package/lib/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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":"../../../../"}
|