@stripe/extensibility-language-server 0.2.8

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/package.json ADDED
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "@stripe/extensibility-language-server",
3
+ "version": "0.2.8",
4
+ "description": "Language server and tsserver plugin for Stripe extensibility SDK",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/stripe/extensibility-sdk.git"
9
+ },
10
+ "author": "Stripe",
11
+ "type": "module",
12
+ "files": [
13
+ "dist",
14
+ "plugin.cjs"
15
+ ],
16
+ "exports": {
17
+ "./plugin": {
18
+ "types": "./dist/plugin/index.d.ts",
19
+ "import": "./dist/plugin.js",
20
+ "require": "./plugin.cjs"
21
+ },
22
+ "./server": {
23
+ "types": "./dist/server/index.d.ts",
24
+ "import": "./dist/server.js",
25
+ "require": "./dist/server.cjs"
26
+ }
27
+ },
28
+ "dependencies": {
29
+ "@formspec/language-server": "0.1.0-alpha.59",
30
+ "@formspec/ts-plugin": "0.1.0-alpha.59",
31
+ "vscode-languageserver": "^9.0.1",
32
+ "@stripe/extensibility-jsonschema-tools": "0.6.3"
33
+ },
34
+ "peerDependencies": {
35
+ "typescript": "^5.8.0"
36
+ },
37
+ "publishConfig": {
38
+ "access": "public"
39
+ },
40
+ "scripts": {
41
+ "build": "pnpm compile && pnpm generate:api-rollups && pnpm generate:api-report",
42
+ "check:api-report": "pnpm check:api-surface-report",
43
+ "check:api-surface-report": "tsx ../../scripts/src/api-report-generation/entrypoints/run-package-api-surface-report.ts",
44
+ "clean": "rimraf dist temp",
45
+ "compile": "tsc -p tsconfig.build.json --emitDeclarationOnly && tsup",
46
+ "format": "prettier --write .",
47
+ "generate:api-report": "pnpm generate:api-surface-report",
48
+ "generate:api-rollup-root": "api-extractor run --local --config api-extractor-rollup.json",
49
+ "generate:api-rollup-subpaths": "tsx ../../scripts/src/api-report-generation/entrypoints/run-package-api-subpath-rollups.ts --local",
50
+ "generate:api-rollups": "pnpm generate:api-rollup-root && pnpm generate:api-rollup-subpaths",
51
+ "generate:api-surface-report": "tsx ../../scripts/src/api-report-generation/entrypoints/run-package-api-surface-report.ts --local",
52
+ "lint": "pnpm lint:eslint && pnpm lint:typecheck && pnpm lint:format",
53
+ "lint:eslint": "eslint .",
54
+ "lint:format": "prettier --check .",
55
+ "lint:typecheck": "tsc --noEmit --incremental --tsBuildInfoFile ./dist/tsconfig.check.tsbuildinfo",
56
+ "normalize:declarations": "declaration-file-normalizer dist/index.d.ts",
57
+ "test": "vitest run",
58
+ "test:watch": "vitest"
59
+ }
60
+ }
package/plugin.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/plugin.cjs').init;