@pobammer-ts/small-rules 2.5.2 → 2.6.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/dist/index.d.ts +33 -0
- package/dist/index.js +10 -10
- package/package.json +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pobammer-ts/small-rules",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.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,8 @@
|
|
|
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:default-properties": "nub scripts/generate-default-properties.ts",
|
|
108
|
+
"generate:roblox-yielding-members": "nub scripts/generate-roblox-yielding-members.ts && node --run format:safe -- src/generated/roblox-yielding-members.ts",
|
|
108
109
|
"hooks:install": "hk install --mise",
|
|
109
110
|
"hooks:validate": "hk validate",
|
|
110
111
|
"jscpd": "jscpd",
|