tstyche 1.1.0 → 2.0.0-beta.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "tstyche",
3
- "version": "1.1.0",
3
+ "version": "2.0.0-beta.1",
4
4
  "description": "The Essential Type Testing Tool.",
5
5
  "keywords": [
6
6
  "typescript",
@@ -38,48 +38,42 @@
38
38
  "bench": "./benchmarks/tstyche.bench.sh",
39
39
  "build": "rollup --config rollup.config.js",
40
40
  "build:watch": "yarn build --sourcemap --watch",
41
- "check": "yarn check:spelling && yarn check:formatting",
42
- "check:formatting": "dprint check",
41
+ "check": "yarn check:spelling && yarn check:types",
43
42
  "check:spelling": "cspell --config cspell.config.json --quiet",
44
43
  "check:types": "tsc --noEmit --project tsconfig.json",
45
44
  "clean": "rm -rf build",
46
- "format": "dprint fmt",
45
+ "format": "biome format . --write",
47
46
  "generate": "yarn generate:schema && yarn generate:types",
48
47
  "generate:schema": "node ./models/__scripts__/generate-schema.js",
49
48
  "generate:types": "node ./models/__scripts__/generate-types.js",
50
- "lint": "eslint ./ --config eslint.config.json --ext .js,.cts,.ts,.tsx",
49
+ "lint": "biome lint . --apply",
51
50
  "prepack": "yarn clean && yarn build",
52
51
  "prepublish": "yarn test",
53
- "test": "yarn test:unit && yarn test:schema && yarn test:e2e",
52
+ "test": "yarn test:unit && yarn test:e2e",
54
53
  "test:coverage": "yarn build --sourcemap && c8 --config c8.config.json yarn test:e2e",
55
- "test:e2e": "mocha tests/*.js --config mocha.config.json",
54
+ "test:e2e": "yarn test:e2e:parallel && yarn test:e2e:serial",
55
+ "test:e2e:parallel": "yarn test:run tests/*.test.* --exclude tests/feature-watch.test.js --parallel --reporter dot",
56
+ "test:e2e:serial": "yarn test:run tests/feature-watch.test.js --reporter dot",
56
57
  "test:examples": "tstyche examples",
57
- "test:schema": "mocha models/__tests__/*.js --config mocha.config.json",
58
- "test:types": "tstyche tests",
59
- "test:unit": "mocha source/*/__tests__/*.js --config mocha.config.json"
58
+ "test:run": "mocha --config mocha.config.json",
59
+ "test:types": "tstyche typetests",
60
+ "test:unit": "yarn test:run **/__tests__/*.test.* --parallel --reporter dot"
60
61
  },
61
62
  "devDependencies": {
63
+ "@biomejs/biome": "1.7.3",
62
64
  "@rollup/plugin-typescript": "11.1.6",
63
65
  "@types/mocha": "10.0.6",
64
- "@types/node": "20.11.20",
65
- "@typescript-eslint/eslint-plugin": "7.1.0",
66
- "@typescript-eslint/parser": "7.1.0",
67
- "ajv": "8.12.0",
66
+ "@types/node": "20.12.12",
67
+ "ajv": "8.14.0",
68
68
  "c8": "9.1.0",
69
- "cspell": "8.4.1",
70
- "dprint": "0.45.0",
71
- "eslint": "8.57.0",
72
- "eslint-import-resolver-typescript": "3.6.1",
73
- "eslint-plugin-import": "2.29.1",
74
- "eslint-plugin-mocha": "10.3.0",
75
- "eslint-plugin-simple-import-sort": "12.0.0",
76
- "magic-string": "0.30.7",
77
- "mocha": "10.3.0",
69
+ "cspell": "8.8.3",
70
+ "magic-string": "0.30.10",
71
+ "mocha": "10.4.0",
78
72
  "pretty-ansi": "2.0.0",
79
- "rollup": "4.12.0",
80
- "rollup-plugin-dts": "6.1.0",
73
+ "rollup": "4.18.0",
74
+ "rollup-plugin-dts": "6.1.1",
81
75
  "tslib": "2.6.2",
82
- "typescript": "5.3.3"
76
+ "typescript": "5.4.5"
83
77
  },
84
78
  "peerDependencies": {
85
79
  "typescript": "4.x || 5.x"
@@ -89,8 +83,8 @@
89
83
  "optional": true
90
84
  }
91
85
  },
92
- "packageManager": "yarn@3.8.0",
86
+ "packageManager": "yarn@3.8.2",
93
87
  "engines": {
94
- "node": ">=14.17"
88
+ "node": ">=16.14"
95
89
  }
96
- }
90
+ }