@raftlabs/raftstack 1.7.0 → 1.7.2
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/.claude/skills/backend/SKILL.md +132 -1
- package/.claude/skills/code-quality/SKILL.md +53 -38
- package/.claude/skills/database/SKILL.md +55 -6
- package/.claude/skills/react/SKILL.md +112 -2
- package/.claude/skills/seo/SKILL.md +117 -5
- package/dist/cli.js +11 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2113,8 +2113,17 @@ async function updateProjectPackageJson(targetDir, config) {
|
|
|
2113
2113
|
let pkg = await readPackageJson(targetDir);
|
|
2114
2114
|
const scripts = {
|
|
2115
2115
|
prepare: "husky",
|
|
2116
|
-
commit: "czg"
|
|
2116
|
+
commit: "czg",
|
|
2117
|
+
// ESLint scripts (always added since we install ESLint)
|
|
2118
|
+
lint: "eslint .",
|
|
2119
|
+
"lint:fix": "eslint . --fix",
|
|
2120
|
+
// Prettier scripts (always added since we install Prettier)
|
|
2121
|
+
format: "prettier --write .",
|
|
2122
|
+
"format:check": "prettier --check ."
|
|
2117
2123
|
};
|
|
2124
|
+
if (config.usesTypeScript) {
|
|
2125
|
+
scripts.typecheck = "tsc --noEmit";
|
|
2126
|
+
}
|
|
2118
2127
|
pkg = mergeScripts(pkg, scripts, false);
|
|
2119
2128
|
const lintStagedConfig = getLintStagedConfig(
|
|
2120
2129
|
true,
|
|
@@ -2671,7 +2680,7 @@ ${pc4.bold("Branches")}
|
|
|
2671
2680
|
// package.json
|
|
2672
2681
|
var package_default = {
|
|
2673
2682
|
name: "@raftlabs/raftstack",
|
|
2674
|
-
version: "1.7.
|
|
2683
|
+
version: "1.7.2",
|
|
2675
2684
|
description: "CLI tool for setting up Git hooks, commit conventions, and GitHub integration",
|
|
2676
2685
|
type: "module",
|
|
2677
2686
|
main: "./dist/index.js",
|