@systemfsoftware/oxlint-plugin-effect-platform 2.0.0 → 2.1.5
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 +2 -40
- package/package.json +17 -25
package/CHANGELOG.md
CHANGED
|
@@ -1,43 +1,5 @@
|
|
|
1
1
|
# @systemfsoftware/oxlint-plugin-effect-platform
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# @systemfsoftware/oxlint-plugin-effect-platform@2.1.5
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
- Require `effect` `^4` (stable 4.0.0). Release candidates are no longer supported: imports follow 4.0.0's module layout (`effect/http`, `effect/rpc`, `effect/http-api`, `effect/cluster`, `effect/process`, `effect/socket`, `effect/persistence`, `effect/reactivity`, `effect/encoding`, `effect/Arbitrary`), which does not exist in any 4.0.0 RC.
|
|
8
|
-
|
|
9
|
-
## 1.4.1
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- The recommended config's no-unported-time-source ports name effect-schema-law, trace-spec, and vitest at their new packages/<family>/ paths.
|
|
14
|
-
|
|
15
|
-
## 1.4.0
|
|
16
|
-
|
|
17
|
-
### Minor Changes
|
|
18
|
-
|
|
19
|
-
- `no-unported-time-source` accepts the virtual clock shipped by `@systemfsoftware/vitest` as a registered port, so that clock's host-timer call is not reported as an unported time source.
|
|
20
|
-
|
|
21
|
-
- Adds `no-unported-time-source`, enabled at `error` in the recommended config. Production source can no longer call `Date.now`, `performance.now`, `process.hrtime`, `Math.random`, `crypto.getRandomValues`, `crypto.randomUUID`, `setTimeout`, `setInterval`, or `setImmediate`, construct an argument-less `new Date()`, or import `node:timers` or `node:timers/promises`.
|
|
22
|
-
|
|
23
|
-
Route those reads through the module that owns the source, and register that module as a port by naming its path, or a path suffix, in the rule's `ports` option. A source injected as a parameter, a local, or an import is not reported, `queueMicrotask` and `new Date(arg)` are not reported, and test and fixture files are outside the rule.
|
|
24
|
-
|
|
25
|
-
## 1.3.1
|
|
26
|
-
|
|
27
|
-
### Patch Changes
|
|
28
|
-
|
|
29
|
-
- Update peer and runtime dependency on `effect` and companion packages to `4.0.0-rc.117`.
|
|
30
|
-
|
|
31
|
-
## 1.3.0
|
|
32
|
-
|
|
33
|
-
### Minor Changes
|
|
34
|
-
|
|
35
|
-
- `runtime-construction-placement` no longer reports `Cell.provide`, which `@systemfsoftware/effect-cell-types` has removed. Its replacement, `Cell.provideContext`, takes a context that was already built, so calling it inside a function rebuilds nothing and is not reported.
|
|
36
|
-
|
|
37
|
-
## 1.2.0
|
|
38
|
-
|
|
39
|
-
### Minor Changes
|
|
40
|
-
|
|
41
|
-
- Publish standalone domain-aligned oxlint plugins and shareable configurations for Effect Schema, DMMF workflows, Effect Platform runtime entrypoints, test discipline, and Cell Architecture.
|
|
42
|
-
|
|
43
|
-
Consolidates and supersedes the 12 retired legacy packages (`@systemfsoftware/all`, `@systemfsoftware/oxlint-config`, `@systemfsoftware/oxlint-plugin`, `@systemfsoftware/oxlint-plugin-recommended`, `@systemfsoftware/oxlint-plugin-effect-dmmf`, `@systemfsoftware/oxlint-plugin-effect-native`, `@systemfsoftware/oxlint-plugin-effect-entrypoint`, `@systemfsoftware/oxlint-plugin-effect-workflow`, `@systemfsoftware/oxlint-plugin-property-testing`, `@systemfsoftware/oxlint-plugin-structure`, `@systemfsoftware/oxlint-plugin-tag-discipline`, `@systemfsoftware/oxlint-plugin-test-hygiene`, `@systemfsoftware/oxlint-plugin-test-placement`).
|
|
5
|
+
The oxlint configs and plugins now require oxlint ~1.93.0 and oxlint-tsgolint 7.0.2006 (and @effect/tsgo ^0.69.0 where they depend on it). The other packages only build and lint with the new tools; what they publish is unchanged.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/oxlint-plugin-effect-platform",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.1.5",
|
|
5
5
|
"author": "Ryan Lee <drdgvhbh@gmail.com>",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -37,36 +37,30 @@
|
|
|
37
37
|
"./package.json": "./package.json"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@oxc-project/types": "^0.
|
|
41
|
-
"@oxlint/plugins": "~1.
|
|
42
|
-
"oxlint": "~1.
|
|
40
|
+
"@oxc-project/types": "^0.155.0",
|
|
41
|
+
"@oxlint/plugins": "~1.93.0",
|
|
42
|
+
"oxlint": "~1.93.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@microsoft/api-extractor": "^7.59.
|
|
45
|
+
"@microsoft/api-extractor": "^7.59.4",
|
|
46
46
|
"@systemfsoftware/arethetypeswrong-cli": "^4.2.0",
|
|
47
|
+
"@systemfsoftware/oxlint-config-rule-authoring": "^3.0.2",
|
|
47
48
|
"@systemfsoftware/oxlint-import-origin": "^0.1.0",
|
|
48
|
-
"@systemfsoftware/
|
|
49
|
-
"@systemfsoftware/
|
|
50
|
-
"@systemfsoftware/
|
|
51
|
-
"@
|
|
52
|
-
"@
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"@systemfsoftware/tsdown-config": "^0.1.0",
|
|
57
|
-
"@systemfsoftware/vitest-config": "^0.1.0",
|
|
58
|
-
"@types/node": "^26",
|
|
59
|
-
"@vitest/coverage-v8": "^5",
|
|
60
|
-
"effect": "^4",
|
|
61
|
-
"fast-check": "^4",
|
|
62
|
-
"oxlint": "~1.82.0",
|
|
49
|
+
"@systemfsoftware/tsconfig": "^2.1.0",
|
|
50
|
+
"@systemfsoftware/tsdown-config": "^0.1.2",
|
|
51
|
+
"@systemfsoftware/vitest-config": "^0.1.3",
|
|
52
|
+
"@types/node": "^26.6.5",
|
|
53
|
+
"@vitest/coverage-v8": "^5.1.0",
|
|
54
|
+
"effect": "^4.1.2",
|
|
55
|
+
"fast-check": "^4.10.2",
|
|
56
|
+
"oxlint": "~1.93.0",
|
|
63
57
|
"rimraf": "^6.1.3",
|
|
64
58
|
"tsdown": "^0.23.0",
|
|
65
|
-
"typescript": "^7",
|
|
66
|
-
"vitest": "^5"
|
|
59
|
+
"typescript": "^7.0.2",
|
|
60
|
+
"vitest": "^5.1.0"
|
|
67
61
|
},
|
|
68
62
|
"peerDependencies": {
|
|
69
|
-
"effect": "^4",
|
|
63
|
+
"effect": "^4.1.2",
|
|
70
64
|
"typescript": ">=5.0.0"
|
|
71
65
|
},
|
|
72
66
|
"publishConfig": {
|
|
@@ -78,8 +72,6 @@
|
|
|
78
72
|
"clean": "rimraf dist",
|
|
79
73
|
"typecheck": "tsc -b",
|
|
80
74
|
"test": "vitest run",
|
|
81
|
-
"mutation": "stryker run",
|
|
82
|
-
"mutation:full": "stryker run --force",
|
|
83
75
|
"lint": "f=${OXLINT_FORMAT:-${AGENT:+agent}}; oxlint . --format=${f:-default}",
|
|
84
76
|
"attw": "attw --pack .",
|
|
85
77
|
"api:check": "api-extractor-quiet run",
|