@hydranium/conformance 1.0.0-next.22 → 1.0.0-next.220

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 CHANGED
@@ -1,30 +1,37 @@
1
1
  {
2
2
  "name": "@hydranium/conformance",
3
- "version": "1.0.0-next.22",
3
+ "version": "1.0.0-next.220",
4
4
  "description": "Protocol conformance kit (TCK) for hydranium adopters. Per-head slices (/data, /lsp, /glsp) of fixture-parameterized, protocol-only smoke checks an adopter runs against its own server.",
5
5
  "keywords": [
6
+ "conformance",
6
7
  "hydranium",
7
8
  "langium",
8
9
  "language-server",
9
10
  "lsp",
10
- "testing",
11
- "conformance"
11
+ "testing"
12
12
  ],
13
13
  "homepage": "https://github.com/eclipse-emfcloud/hydranium/tree/main/packages/conformance",
14
14
  "bugs": {
15
15
  "url": "https://github.com/eclipse-emfcloud/hydranium/issues"
16
16
  },
17
+ "license": "MIT",
18
+ "author": {
19
+ "name": "Hydranium Team"
20
+ },
17
21
  "repository": {
18
22
  "type": "git",
19
23
  "url": "https://github.com/eclipse-emfcloud/hydranium.git",
20
24
  "directory": "packages/conformance"
21
25
  },
22
- "license": "MIT",
23
- "author": {
24
- "name": "Hydranium Team"
25
- },
26
- "sideEffects": false,
26
+ "files": [
27
+ "lib",
28
+ "src",
29
+ "!lib/**/*.tsbuildinfo"
30
+ ],
27
31
  "type": "module",
32
+ "sideEffects": false,
33
+ "main": "lib/index.js",
34
+ "types": "lib/index.d.ts",
28
35
  "exports": {
29
36
  ".": {
30
37
  "types": "./lib/index.d.ts",
@@ -34,71 +41,47 @@
34
41
  "types": "./lib/data/index.d.ts",
35
42
  "default": "./lib/data/index.js"
36
43
  },
37
- "./lib/data": {
38
- "types": "./lib/data/index.d.ts",
39
- "default": "./lib/data/index.js"
40
- },
41
44
  "./lsp": {
42
45
  "types": "./lib/lsp/index.d.ts",
43
46
  "default": "./lib/lsp/index.js"
44
47
  },
45
- "./lib/lsp": {
46
- "types": "./lib/lsp/index.d.ts",
47
- "default": "./lib/lsp/index.js"
48
- },
49
48
  "./glsp": {
50
49
  "types": "./lib/glsp/index.d.ts",
51
50
  "default": "./lib/glsp/index.js"
52
51
  },
53
- "./lib/glsp": {
54
- "types": "./lib/glsp/index.d.ts",
55
- "default": "./lib/glsp/index.js"
56
- },
57
52
  "./jest": {
58
53
  "types": "./lib/jest/index.d.ts",
59
54
  "default": "./lib/jest/index.js"
60
55
  },
61
- "./lib/jest": {
62
- "types": "./lib/jest/index.d.ts",
63
- "default": "./lib/jest/index.js"
64
- },
65
56
  "./vitest": {
66
57
  "types": "./lib/vitest/index.d.ts",
67
58
  "default": "./lib/vitest/index.js"
68
- },
69
- "./lib/vitest": {
70
- "types": "./lib/vitest/index.d.ts",
71
- "default": "./lib/vitest/index.js"
72
59
  }
73
60
  },
74
- "main": "lib/index.js",
75
- "types": "lib/index.d.ts",
76
- "files": [
77
- "lib",
78
- "src",
79
- "!lib/**/*.tsbuildinfo"
80
- ],
61
+ "publishConfig": {
62
+ "access": "public"
63
+ },
81
64
  "scripts": {
82
65
  "build": "tsc -b",
83
66
  "clean": "rimraf lib tsconfig.tsbuildinfo",
84
- "lint": "eslint src test --max-warnings 0",
67
+ "lint": "oxlint --format stylish --config ../../oxlint.config.cjs src test --max-warnings 0",
85
68
  "prepack": "node -e \"const m=require('./package.json'),fs=require('node:fs');const missing=[m.main,...Object.values(m.bin||{})].filter(entry=>entry&&!fs.existsSync(entry));if(missing.length){console.error('prepack '+m.name+': not built ('+missing.join(', ')+' missing). Run the build before packing: a files entry that matches nothing is skipped silently, so the tarball would ship src only.');process.exit(1);}\"",
86
69
  "test": "npm run typecheck:test && vitest run && cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest",
87
70
  "typecheck:test": "tsc --noEmit -p tsconfig.test.json",
88
71
  "watch": "tsc -b -w --preserveWatchOutput"
89
72
  },
90
73
  "devDependencies": {
91
- "@hydranium/protocol": "1.0.0-next.22",
74
+ "@hydranium/protocol": "1.0.0-next.220",
92
75
  "@jest/globals": "^29.7.0",
93
76
  "@types/jest": "^29.5.12",
77
+ "esbuild": "^0.28.0",
94
78
  "jest": "^29.7.0",
95
79
  "rimraf": "^5.0.0",
96
- "ts-jest": "^29.2.0",
97
- "typescript": "^5.8.0",
80
+ "typescript": "^7.0.2",
98
81
  "vitest": "^4.0.0"
99
82
  },
100
83
  "peerDependencies": {
101
- "@hydranium/protocol": "1.0.0-next.22",
84
+ "@hydranium/protocol": "1.0.0-next.220",
102
85
  "@jest/globals": "^29.0.0",
103
86
  "vitest": "^4.0.0"
104
87
  },
@@ -113,8 +96,5 @@
113
96
  "engines": {
114
97
  "node": ">=22.13"
115
98
  },
116
- "publishConfig": {
117
- "access": "public"
118
- },
119
- "//prepack": "The publish guard, and it deliberately is NOT a `prepare`: npm runs a workspace `prepare` BEFORE the root `postinstall` that applies patches/vscode-jsonrpc+9.0.1.patch, so building there fails on a cold clone and npm rolls the entire install back. `prepack` runs only when a tarball is made (`npm pack`, `npm publish`) and never on install, so it cannot break the install it has no business touching. It FAILS rather than rebuilds, because the rebuild is exactly the part that ordering defeats. What it defends against: `files` lists `lib`, `lib` is gitignored, and a `files` entry matching nothing is skipped SILENTLY — so `npm publish` from an unbuilt tree emits a tarball of `src` and nothing else, with no error."
99
+ "//prepack": "The publish guard, a `prepack` rather than a `prepare`: `prepack` runs only when a tarball is made (`npm pack`, `npm publish`) and never on install, so it cannot break the install it has no business touching. What it defends against: `files` lists `lib`, `lib` is gitignored, and a `files` entry matching nothing is skipped SILENTLY — so `npm publish` from an unbuilt tree emits a tarball of `src` and nothing else, with no error."
120
100
  }