@opinionated-ts/config 1.5.0 → 1.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/README.md CHANGED
@@ -37,6 +37,7 @@ See the configuration guides for each tool:
37
37
  - [Oxfmt](./docs/oxfmt.md)
38
38
  - [Oxlint](./docs/oxlint.md)
39
39
  - [Lefthook](./docs/lefthook.md)
40
+ - [GitHub Actions](./docs/github-actions.md)
40
41
 
41
42
  ## Philosophy
42
43
 
package/lefthook.yml CHANGED
@@ -37,3 +37,14 @@ pre-push:
37
37
  fail_text: |
38
38
  Security vulnerabilities detected.
39
39
  Run `bun audit fix` manually to try resolving them.
40
+
41
+ # Lint is repeated here, but over the WHOLE project instead of {staged_files}.
42
+ # Reason: in pre-commit, lint only runs on staged files, so a type change in
43
+ # one file can break integration/type-check in other files that weren't
44
+ # touched in that commit and therefore never went through the linter. Before
45
+ # pushing (once you have the full picture of all commits), it's worth
46
+ # running lint over the whole repo to catch those cross-file breakages
47
+ # before they reach the remote.
48
+ run-lint-full:
49
+ run: bun oxlint .
50
+ glob: "*.{ts,tsx,js,jsx}"
package/package.json CHANGED
@@ -87,5 +87,5 @@
87
87
  "node": "^26.2.0"
88
88
  },
89
89
  "packageManager": "bun@1.4.0",
90
- "version": "1.5.0"
90
+ "version": "1.6.0"
91
91
  }
package/tsconfig.json CHANGED
@@ -37,6 +37,5 @@
37
37
  // "react-dom/*": ["./node_modules/preact/compat/*"]
38
38
  // },
39
39
  },
40
- "include": ["src", "tests", "*.config.*"],
41
- "exclude": []
40
+ "include": ["src", "tests", "scripts", "*.config.*"]
42
41
  }