@hyoretsu/configs 1.1.27 → 1.1.29

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.
@@ -162,5 +162,10 @@
162
162
  }
163
163
  }
164
164
  },
165
- "root": false
165
+ "root": false,
166
+ "vcs": {
167
+ "clientKind": "git",
168
+ "enabled": true,
169
+ "useIgnoreFile": true
170
+ }
166
171
  }
@@ -162,5 +162,10 @@
162
162
  }
163
163
  }
164
164
  },
165
- "root": false
165
+ "root": false,
166
+ "vcs": {
167
+ "clientKind": "git",
168
+ "enabled": true,
169
+ "useIgnoreFile": true
170
+ }
166
171
  }
@@ -162,5 +162,10 @@
162
162
  }
163
163
  }
164
164
  },
165
- "root": false
165
+ "root": false,
166
+ "vcs": {
167
+ "clientKind": "git",
168
+ "enabled": true,
169
+ "useIgnoreFile": true
170
+ }
166
171
  }
@@ -1 +1 @@
1
- "use strict";var c=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var t=Object.getOwnPropertyNames;var e=Object.prototype.hasOwnProperty;var p=(n,a)=>{for(var o in a)c(n,o,{get:a[o],enumerable:!0})},m=(n,a,o,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of t(a))!e.call(n,s)&&s!==o&&c(n,s,{get:()=>a[s],enumerable:!(l=r(a,s))||l.enumerable});return n};var g=n=>m(c({},"__esModule",{value:!0}),n);var d={};p(d,{lintStagedConfig:()=>k});module.exports=g(d);const i={bun:[()=>"bun i --lockfile-only",()=>"git add bun.lock"],npm:[()=>"npm i --package-lock-only",()=>"git add package-lock.json"],pnpm:[()=>"pnpm i --lockfile-only",()=>"git add pnpm-lock.yaml"],yarn:[()=>"yarn install",()=>"git add yarn.lock"]},k=n=>({...n&&{"(bun.|package-|pnpm-|yarn.)lock*":i[n]},"*.(cjs|js|jsx|mjs|ts|tsx)":["bun run format:eslint"],"*.(css|graphql|cjs|js|jsx|mjs|json|jsonc|ts|tsx)":["bun run format:biome"],"**/schema.prisma":[()=>"bun run generate"]});0&&(module.exports={lintStagedConfig});
1
+ "use strict";var c=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var t=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var e=(n,a)=>{for(var s in a)c(n,s,{get:a[s],enumerable:!0})},m=(n,a,s,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let o of t(a))!p.call(n,o)&&o!==s&&c(n,o,{get:()=>a[o],enumerable:!(l=r(a,o))||l.enumerable});return n};var g=n=>m(c({},"__esModule",{value:!0}),n);var d={};e(d,{lintStagedConfig:()=>k});module.exports=g(d);const i={bun:[()=>"bun i --lockfile-only",()=>"git add bun.lock"],npm:[()=>"npm i --package-lock-only",()=>"git add package-lock.json"],pnpm:[()=>"pnpm i --lockfile-only",()=>"git add pnpm-lock.yaml"],yarn:[()=>"yarn install",()=>"git add yarn.lock"]},k=n=>({...n&&{"(bun.|package-|pnpm-|yarn.)lock*":i[n]},"*.(cjs|js|jsx|mjs|ts|tsx)":["bun run format:eslint"],"*.(css|graphql|cjs|js|jsx|mjs|json|jsonc|ts|tsx)":["bun run format:biome"],"**/*.prisma":[()=>"bun run generate"]});0&&(module.exports={lintStagedConfig});
@@ -2,7 +2,7 @@ type PackageManager = "bun" | "npm" | "pnpm" | "yarn";
2
2
  export declare const lintStagedConfig: (packageManager?: PackageManager) => {
3
3
  "*.(cjs|js|jsx|mjs|ts|tsx)": string[];
4
4
  "*.(css|graphql|cjs|js|jsx|mjs|json|jsonc|ts|tsx)": string[];
5
- "**/schema.prisma": (() => string)[];
5
+ "**/*.prisma": (() => string)[];
6
6
  "(bun.|package-|pnpm-|yarn.)lock*"?: (() => string)[];
7
7
  };
8
8
  export {};
@@ -1 +1 @@
1
- const a={bun:[()=>"bun i --lockfile-only",()=>"git add bun.lock"],npm:[()=>"npm i --package-lock-only",()=>"git add package-lock.json"],pnpm:[()=>"pnpm i --lockfile-only",()=>"git add pnpm-lock.yaml"],yarn:[()=>"yarn install",()=>"git add yarn.lock"]},s=n=>({...n&&{"(bun.|package-|pnpm-|yarn.)lock*":a[n]},"*.(cjs|js|jsx|mjs|ts|tsx)":["bun run format:eslint"],"*.(css|graphql|cjs|js|jsx|mjs|json|jsonc|ts|tsx)":["bun run format:biome"],"**/schema.prisma":[()=>"bun run generate"]});export{s as lintStagedConfig};
1
+ const a={bun:[()=>"bun i --lockfile-only",()=>"git add bun.lock"],npm:[()=>"npm i --package-lock-only",()=>"git add package-lock.json"],pnpm:[()=>"pnpm i --lockfile-only",()=>"git add pnpm-lock.yaml"],yarn:[()=>"yarn install",()=>"git add yarn.lock"]},o=n=>({...n&&{"(bun.|package-|pnpm-|yarn.)lock*":a[n]},"*.(cjs|js|jsx|mjs|ts|tsx)":["bun run format:eslint"],"*.(css|graphql|cjs|js|jsx|mjs|json|jsonc|ts|tsx)":["bun run format:biome"],"**/*.prisma":[()=>"bun run generate"]});export{o as lintStagedConfig};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyoretsu/configs",
3
- "version": "1.1.27",
3
+ "version": "1.1.29",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "files": [