@pobammer-ts/small-rules 2.5.2 → 2.7.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pobammer-ts/small-rules",
3
- "version": "2.5.2",
3
+ "version": "2.7.0",
4
4
  "description": "Various Oxlint-native rules for linting roblox-ts projects.",
5
5
  "keywords": [
6
6
  "lint",
@@ -97,7 +97,6 @@
97
97
  "scripts": {
98
98
  "biome": "biome",
99
99
  "build": "tsdown",
100
- "build-json": "bun run scripts/generate-default-properties.ts",
101
100
  "build:local": "node --run build -- --minify && cp dist/index.js plugins/small-rules.js",
102
101
  "build:local:dev": "node --run build && cp dist/index.js plugins/small-rules.js",
103
102
  "changelogithub": "changelogithub",
@@ -105,6 +104,9 @@
105
104
  "format": "bash -c 'a=$(bash scripts/get-defaults.sh \"$@\"); node --run biome -- check --fix $a && node --run oxfmt -- $a' _",
106
105
  "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' _",
107
106
  "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' _",
107
+ "generate:compact-default-properties": "nub scripts/generate-compact-default-properties.ts",
108
+ "generate:default-properties": "nub scripts/generate-default-properties.ts",
109
+ "generate:roblox-yielding-members": "nub scripts/generate-roblox-yielding-members.ts && node --run format:safe -- src/generated/roblox-yielding-members.ts",
108
110
  "hooks:install": "hk install --mise",
109
111
  "hooks:validate": "hk validate",
110
112
  "jscpd": "jscpd",
@@ -114,7 +116,6 @@
114
116
  "lint:json": "bun run --bun scripts/lint-json.ts",
115
117
  "oxfmt": "oxfmt",
116
118
  "oxlint": "oxlint",
117
- "prepublish": "tsdown --minify",
118
119
  "release": "bumpp",
119
120
  "skills": "skills",
120
121
  "test": "vitest run",