@pobammer-ts/small-rules 2.4.1 → 2.5.0

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +13 -0
  2. package/dist/index.js +13 -27332
  3. package/package.json +57 -57
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pobammer-ts/small-rules",
3
- "version": "2.4.1",
3
+ "version": "2.5.0",
4
4
  "description": "Various Oxlint-native rules for linting roblox-ts projects.",
5
5
  "keywords": [
6
6
  "lint",
@@ -39,19 +39,19 @@
39
39
  "biome": "biome",
40
40
  "build": "tsdown",
41
41
  "build-json": "bun run scripts/generate-default-properties.ts",
42
- "build:local": "nr build --minify && cp dist/index.js plugins/small-rules.js",
43
- "build:local:dev": "nr build && cp dist/index.js plugins/small-rules.js",
42
+ "build:local": "node --run build -- --minify && cp dist/index.js plugins/small-rules.js",
43
+ "build:local:dev": "node --run build && cp dist/index.js plugins/small-rules.js",
44
44
  "changelogithub": "changelogithub",
45
45
  "commitlint": "commitlint",
46
- "format": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); nr biome check --fix $a && nr oxfmt $a' _",
47
- "format:check": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); nr biome check --no-errors-on-unmatched $a && nr oxfmt --no-error-on-unmatched-pattern --check $a' _",
48
- "format:safe": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); nr biome check --no-errors-on-unmatched --fix $a && nr oxfmt --no-error-on-unmatched-pattern $a' _",
46
+ "format": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run biome -- check --fix $a && node --run oxfmt -- $a' _",
47
+ "format:check": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run biome -- check --no-errors-on-unmatched $a && node --run oxfmt -- --no-error-on-unmatched-pattern --check $a' _",
48
+ "format:safe": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run biome -- check --no-errors-on-unmatched --fix $a && node --run oxfmt -- --no-error-on-unmatched-pattern $a' _",
49
49
  "hooks:install": "hk install --mise",
50
50
  "hooks:validate": "hk validate",
51
51
  "jscpd": "jscpd",
52
52
  "knip": "knip-bun",
53
- "lint": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); nr oxlint $a && nr biome check $a' _",
54
- "lint:agent": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); nr oxlint --format agent $a && nr biome check --reporter concise $a' _",
53
+ "lint": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run oxlint -- --no-error-on-unmatched-pattern $a && node --run biome -- check --no-errors-on-unmatched $a' _",
54
+ "lint:agent": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run oxlint -- --no-error-on-unmatched-pattern --format agent $a && node --run biome -- check --no-errors-on-unmatched --reporter concise $a' _",
55
55
  "lint:json": "bun run --bun scripts/lint-json.ts",
56
56
  "oxfmt": "oxfmt",
57
57
  "oxlint": "oxlint",
@@ -68,56 +68,56 @@
68
68
  "type-check:agent": "tsgo --noEmit --pretty false"
69
69
  },
70
70
  "dependencies": {
71
- "arktype": "2.2.1",
72
- "ignore": "7.0.5",
73
- "minimatch": "10.2.5",
74
- "oxc-parser": "0.138.0",
75
- "oxc-resolver": "11.21.3",
76
- "oxlint-plugin-utilities": "1.1.0"
71
+ "arktype": "catalog:prod",
72
+ "ignore": "catalog:prod",
73
+ "minimatch": "catalog:prod",
74
+ "oxc-parser": "catalog:prod",
75
+ "oxc-resolver": "catalog:prod",
76
+ "oxlint-plugin-utilities": "catalog:prod"
77
77
  },
78
78
  "devDependencies": {
79
- "@antfu/ni": "30.2.0",
80
- "@biomejs/biome": "2.5.1",
81
- "@cliffy/command": "npm:@jsr/cliffy__command@1.2.1",
82
- "@commitlint/config-conventional": "21.1.0",
83
- "@commitlint/types": "21.1.0",
84
- "@fast-check/vitest": "0.4.1",
85
- "@octokit/rest": "22.0.1",
86
- "@std/msgpack": "npm:@jsr/std__msgpack@1.0.3",
87
- "@stryker-mutator/api": "9.6.1",
88
- "@stryker-mutator/core": "9.6.1",
89
- "@stryker-mutator/vitest-runner": "9.6.1",
90
- "@total-typescript/ts-reset": "0.6.1",
91
- "@types/bun": "1.3.14",
92
- "@types/node": "25",
93
- "@typescript/native-preview": "7.0.0-dev.20260629.1",
94
- "@vitest/coverage-v8": "4.1.9",
95
- "@vitiate/core": "0.3.1",
96
- "@vitiate/fuzzed-data-provider": "0.3.1",
97
- "bumpp": "11.1.0",
98
- "changelogithub": "14.0.0",
99
- "commitlint": "21.1.0",
100
- "eslint": "10.6.0",
101
- "eslint-plugin-antfu": "3.2.3",
102
- "eslint-plugin-regexp": "3.1.1",
103
- "eslint-plugin-sonarjs": "4.1.0",
104
- "eslint-plugin-unused-imports": "4.4.1",
105
- "fast-check": "4.8.0",
106
- "fdir": "6.5.0",
107
- "get-tsconfig": "4.14.0",
108
- "jiti": "2.7.0",
109
- "jscpd": "5.0.11",
110
- "knip": "6.23.0",
111
- "oxfmt": "0.57.0",
112
- "oxlint": "1.72.0",
113
- "oxlint-tsgolint": "0.23.0",
114
- "package-manager-detector": "1.6.0",
115
- "sfw": "2.0.6",
116
- "skills": "1.5.14",
117
- "tsdown": "0.22.3",
118
- "type-fest": "5.7.0",
119
- "vitest": "4.1.9",
120
- "vitiate": "0.3.1"
79
+ "@biomejs/biome": "catalog:lint",
80
+ "@cliffy/command": "catalog:dev",
81
+ "@commitlint/config-conventional": "catalog:dev",
82
+ "@commitlint/types": "catalog:dev",
83
+ "@fast-check/vitest": "catalog:test",
84
+ "@octokit/rest": "catalog:dev",
85
+ "@std/msgpack": "catalog:dev",
86
+ "@stryker-mutator/api": "catalog:dev",
87
+ "@stryker-mutator/core": "catalog:dev",
88
+ "@stryker-mutator/vitest-runner": "catalog:test",
89
+ "@total-typescript/ts-reset": "catalog:dev",
90
+ "@types/bun": "catalog:types",
91
+ "@types/node": "catalog:types",
92
+ "@typescript/native-preview": "catalog:dev",
93
+ "@vitest/coverage-v8": "catalog:test",
94
+ "@vitiate/core": "catalog:dev",
95
+ "@vitiate/fuzzed-data-provider": "catalog:dev",
96
+ "bumpp": "catalog:dev",
97
+ "changelogithub": "catalog:dev",
98
+ "commitlint": "catalog:dev",
99
+ "eslint": "catalog:lint",
100
+ "eslint-plugin-antfu": "catalog:lint",
101
+ "eslint-plugin-regexp": "catalog:lint",
102
+ "eslint-plugin-sonarjs": "catalog:lint",
103
+ "eslint-plugin-unused-imports": "catalog:lint",
104
+ "fast-check": "catalog:dev",
105
+ "fdir": "catalog:dev",
106
+ "get-tsconfig": "catalog:dev",
107
+ "jiti": "catalog:dev",
108
+ "jscpd": "catalog:dev",
109
+ "knip": "catalog:lint",
110
+ "oxfmt": "catalog:dev",
111
+ "oxlint": "catalog:dev",
112
+ "oxlint-tsgolint": "catalog:dev",
113
+ "pncat": "catalog:dev",
114
+ "sfw": "catalog:dev",
115
+ "skills": "catalog:dev",
116
+ "tsdown": "catalog:build",
117
+ "type-fest": "catalog:dev",
118
+ "vitest": "catalog:test",
119
+ "vitiate": "catalog:dev",
120
+ "zx": "catalog:dev"
121
121
  },
122
122
  "peerDependencies": {
123
123
  "typescript": ">=5 <8"
@@ -125,5 +125,5 @@
125
125
  "engines": {
126
126
  "node": "^20.19.0 || >=22.12.0"
127
127
  },
128
- "packageManager": "aube@1.25.1"
128
+ "packageManager": "pnpm@11.10.0"
129
129
  }