diff --git a/bin/.samoyedrc.json b/bin/.samoyedrc.json new file mode 100644 index 0000000..6ba5617 --- /dev/null +++ b/bin/.samoyedrc.json @@ -0,0 +1,9 @@ +{ + "pre-commit": [{ + "scope": "^.*", + "commands": [ + "echo 'All match!'" + ] + }], + "commit-msg": [] +} diff --git a/bin/index.mjs b/bin/index.mjs index 8a920d0..10c4132 100644 --- a/bin/index.mjs +++ b/bin/index.mjs @@ -16,6 +16,10 @@ import { fileURLToPath } from "url"; fs.mkdirSync(path.join(__shell_path, pkg_name)); fs.mkdirSync(path.join(__shell_path, pkg_name, "githooks")); + fs.copyFile( + path.join(__dirname, ".samoyedrc.json"), + path.join(__shell_path, ".samoyedrc.json") + ) fs.copyFile( path.join(__dirname, "main.mjs"), path.join(__shell_path, pkg_name, "main.mjs") diff --git a/package.json b/package.json index 3414d07..17e61b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ilk-1/samoyed", - "version": "0.0.1-beta", + "version": "0.0.2-beta", "description": "", "main": "index.js", "bin": {