@hyoretsu/configs 1.2.7 → 1.2.9

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.
@@ -1,2 +1,2 @@
1
- "use strict";var y=Object.create;var i=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty;var b=(t,e)=>{for(var s in e)i(t,s,{get:e[s],enumerable:!0})},p=(t,e,s,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of g(e))!j.call(t,n)&&n!==s&&i(t,n,{get:()=>e[n],enumerable:!(r=u(e,n))||r.enumerable});return t};var f=(t,e,s)=>(s=t!=null?y(x(t)):{},p(e||!t||!t.__esModule?i(s,"default",{value:t,enumerable:!0}):s,t)),h=t=>p(i({},"__esModule",{value:!0}),t);var w={};b(w,{default:()=>k,generateIgnores:()=>v});module.exports=h(w);var l=require("node:fs"),c=f(require("node:path"),1),a=f(require("@eslint/js"),1),d=require("eslint/config"),m=f(require("eslint-config-biome"),1),o=f(require("typescript-eslint"),1);const v=(t=".gitignore")=>({ignores:(0,l.readFileSync)(c.default.resolve(t),"utf-8").split(`
2
- `).filter(e=>e!==""&&e[0]!=="#"&&e[0]!=="!").map(e=>`**/${e}`)});var k=(0,d.defineConfig)([{ignores:["**/.next/**","**/build/**","**/dist/**","**/node_modules/**"]},a.default.configs.recommended,{extends:[o.default.configs.strict,o.default.configs.stylistic],files:["**/*.ts","**/*.tsx"],languageOptions:{parser:o.default.parser},plugins:{"@typescript-eslint":o.default.plugin},rules:{"@typescript-eslint/ban-ts-comment":"off","@typescript-eslint/no-confusing-void-expression":"off","@typescript-eslint/no-duplicate-enum-values":"off","@typescript-eslint/no-empty-function":"warn"}},{extends:[o.default.configs.disableTypeChecked],files:["**/*.js","**/*.jsx"],rules:{"no-undef":"off"}},{extends:[m.default],rules:{"@typescript-eslint/array-type":"off","@typescript-eslint/consistent-indexed-object-style":"off","@typescript-eslint/consistent-type-definitions":"off","@typescript-eslint/no-dynamic-delete":"off","@typescript-eslint/no-empty-object-type":"off","@typescript-eslint/no-namespace":"off","@typescript-eslint/no-non-null-asserted-optional-chain":"off","@typescript-eslint/no-unused-vars":"off","@typescript-eslint/prefer-for-of":"off","@typescript-eslint/require-await":"off","jest/max-nested-describe":"off","jest/no-disabled-tests":"off","jest/no-done-callback":"off","jest/no-duplicate-hooks":"off","jest/no-export":"off","jest/no-focused-tests":"off","jest/no-standalone-expect":"off","sort-imports":"off"}}]);0&&(module.exports={generateIgnores});
1
+ "use strict";var y=Object.create;var i=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty;var b=(t,e)=>{for(var s in e)i(t,s,{get:e[s],enumerable:!0})},r=(t,e,s,p)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of g(e))!j.call(t,n)&&n!==s&&i(t,n,{get:()=>e[n],enumerable:!(p=u(e,n))||p.enumerable});return t};var f=(t,e,s)=>(s=t!=null?y(x(t)):{},r(e||!t||!t.__esModule?i(s,"default",{value:t,enumerable:!0}):s,t)),h=t=>r(i({},"__esModule",{value:!0}),t);var w={};b(w,{default:()=>k,generateIgnores:()=>v});module.exports=h(w);var l=require("node:fs"),c=f(require("node:path"),1),a=f(require("@eslint/js"),1),d=require("eslint/config"),m=f(require("eslint-config-biome"),1),o=f(require("typescript-eslint"),1);const v=(t=".gitignore")=>({ignores:(0,l.readFileSync)(c.default.resolve(t),"utf-8").split(`
2
+ `).filter(e=>e!==""&&e[0]!=="#"&&e[0]!=="!").map(e=>`**/${e}`)});var k=(0,d.defineConfig)([{ignores:["**/.next/**","**/build/**","**/dist/**","**/node_modules/**"]},a.default.configs.recommended,{extends:[o.default.configs.strict,o.default.configs.stylistic],files:["**/*.ts","**/*.tsx"],languageOptions:{parser:o.default.parser},plugins:{"@typescript-eslint":o.default.plugin},rules:{"@typescript-eslint/ban-ts-comment":"off","@typescript-eslint/no-confusing-void-expression":"off","@typescript-eslint/no-duplicate-enum-values":"off","@typescript-eslint/no-empty-function":"warn","@typescript-eslint/no-namespace":"off"}},{extends:[o.default.configs.disableTypeChecked],files:["**/*.js","**/*.jsx"],rules:{"no-undef":"off"}},{extends:[m.default],rules:{"@typescript-eslint/array-type":"off","@typescript-eslint/consistent-indexed-object-style":"off","@typescript-eslint/consistent-type-definitions":"off","@typescript-eslint/no-dynamic-delete":"off","@typescript-eslint/no-empty-object-type":"off","@typescript-eslint/no-namespace":"off","@typescript-eslint/no-non-null-asserted-optional-chain":"off","@typescript-eslint/no-unused-vars":"off","@typescript-eslint/prefer-for-of":"off","@typescript-eslint/require-await":"off","jest/max-nested-describe":"off","jest/no-disabled-tests":"off","jest/no-done-callback":"off","jest/no-duplicate-hooks":"off","jest/no-export":"off","jest/no-focused-tests":"off","jest/no-standalone-expect":"off","sort-imports":"off"}}]);0&&(module.exports={generateIgnores});
@@ -1,2 +1,2 @@
1
- import{readFileSync as o}from"node:fs";import n from"node:path";import i from"@eslint/js";import{defineConfig as f}from"eslint/config";import r from"eslint-config-biome";import t from"typescript-eslint";const y=(s=".gitignore")=>({ignores:o(n.resolve(s),"utf-8").split(`
2
- `).filter(e=>e!==""&&e[0]!=="#"&&e[0]!=="!").map(e=>`**/${e}`)});var u=f([{ignores:["**/.next/**","**/build/**","**/dist/**","**/node_modules/**"]},i.configs.recommended,{extends:[t.configs.strict,t.configs.stylistic],files:["**/*.ts","**/*.tsx"],languageOptions:{parser:t.parser},plugins:{"@typescript-eslint":t.plugin},rules:{"@typescript-eslint/ban-ts-comment":"off","@typescript-eslint/no-confusing-void-expression":"off","@typescript-eslint/no-duplicate-enum-values":"off","@typescript-eslint/no-empty-function":"warn"}},{extends:[t.configs.disableTypeChecked],files:["**/*.js","**/*.jsx"],rules:{"no-undef":"off"}},{extends:[r],rules:{"@typescript-eslint/array-type":"off","@typescript-eslint/consistent-indexed-object-style":"off","@typescript-eslint/consistent-type-definitions":"off","@typescript-eslint/no-dynamic-delete":"off","@typescript-eslint/no-empty-object-type":"off","@typescript-eslint/no-namespace":"off","@typescript-eslint/no-non-null-asserted-optional-chain":"off","@typescript-eslint/no-unused-vars":"off","@typescript-eslint/prefer-for-of":"off","@typescript-eslint/require-await":"off","jest/max-nested-describe":"off","jest/no-disabled-tests":"off","jest/no-done-callback":"off","jest/no-duplicate-hooks":"off","jest/no-export":"off","jest/no-focused-tests":"off","jest/no-standalone-expect":"off","sort-imports":"off"}}]);export{u as default,y as generateIgnores};
1
+ import{readFileSync as o}from"node:fs";import n from"node:path";import i from"@eslint/js";import{defineConfig as f}from"eslint/config";import p from"eslint-config-biome";import t from"typescript-eslint";const y=(s=".gitignore")=>({ignores:o(n.resolve(s),"utf-8").split(`
2
+ `).filter(e=>e!==""&&e[0]!=="#"&&e[0]!=="!").map(e=>`**/${e}`)});var u=f([{ignores:["**/.next/**","**/build/**","**/dist/**","**/node_modules/**"]},i.configs.recommended,{extends:[t.configs.strict,t.configs.stylistic],files:["**/*.ts","**/*.tsx"],languageOptions:{parser:t.parser},plugins:{"@typescript-eslint":t.plugin},rules:{"@typescript-eslint/ban-ts-comment":"off","@typescript-eslint/no-confusing-void-expression":"off","@typescript-eslint/no-duplicate-enum-values":"off","@typescript-eslint/no-empty-function":"warn","@typescript-eslint/no-namespace":"off"}},{extends:[t.configs.disableTypeChecked],files:["**/*.js","**/*.jsx"],rules:{"no-undef":"off"}},{extends:[p],rules:{"@typescript-eslint/array-type":"off","@typescript-eslint/consistent-indexed-object-style":"off","@typescript-eslint/consistent-type-definitions":"off","@typescript-eslint/no-dynamic-delete":"off","@typescript-eslint/no-empty-object-type":"off","@typescript-eslint/no-namespace":"off","@typescript-eslint/no-non-null-asserted-optional-chain":"off","@typescript-eslint/no-unused-vars":"off","@typescript-eslint/prefer-for-of":"off","@typescript-eslint/require-await":"off","jest/max-nested-describe":"off","jest/no-disabled-tests":"off","jest/no-done-callback":"off","jest/no-duplicate-hooks":"off","jest/no-export":"off","jest/no-focused-tests":"off","jest/no-standalone-expect":"off","sort-imports":"off"}}]);export{u as default,y as generateIgnores};
package/dist/ts/base.json CHANGED
@@ -3,16 +3,15 @@
3
3
  "allowImportingTsExtensions": true,
4
4
  "allowJs": true,
5
5
  "checkJs": true,
6
- "composite": true,
7
6
  "downlevelIteration": true,
8
7
  "esModuleInterop": true,
9
8
  "exactOptionalPropertyTypes": true,
10
- "incremental": true,
11
9
  "jsx": "react-jsx",
12
10
  "lib": [
13
11
  "ESNext"
14
12
  ],
15
13
  "module": "Preserve",
14
+ "moduleResolution": "bundler",
16
15
  "noEmit": true,
17
16
  "noFallthroughCasesInSwitch": true,
18
17
  "noImplicitOverride": true,
@@ -3,11 +3,9 @@
3
3
  "allowImportingTsExtensions": true,
4
4
  "allowJs": true,
5
5
  "checkJs": true,
6
- "composite": true,
7
6
  "downlevelIteration": true,
8
7
  "esModuleInterop": true,
9
8
  "exactOptionalPropertyTypes": true,
10
- "incremental": true,
11
9
  "jsx": "react-jsx",
12
10
  "lib": [
13
11
  "DOM",
@@ -15,6 +13,7 @@
15
13
  "ESNext"
16
14
  ],
17
15
  "module": "Preserve",
16
+ "moduleResolution": "bundler",
18
17
  "noEmit": true,
19
18
  "noFallthroughCasesInSwitch": true,
20
19
  "noImplicitOverride": true,
package/dist/ts/lib.json CHANGED
@@ -9,12 +9,12 @@
9
9
  "emitDeclarationOnly": true,
10
10
  "esModuleInterop": true,
11
11
  "exactOptionalPropertyTypes": true,
12
- "incremental": false,
13
12
  "jsx": "react-jsx",
14
13
  "lib": [
15
14
  "ESNext"
16
15
  ],
17
16
  "module": "Preserve",
17
+ "moduleResolution": "bundler",
18
18
  "noEmit": false,
19
19
  "noFallthroughCasesInSwitch": true,
20
20
  "noImplicitOverride": true,
package/dist/ts/nest.json CHANGED
@@ -3,18 +3,17 @@
3
3
  "allowImportingTsExtensions": true,
4
4
  "allowJs": true,
5
5
  "checkJs": true,
6
- "composite": true,
7
6
  "downlevelIteration": true,
8
7
  "emitDecoratorMetadata": true,
9
8
  "esModuleInterop": true,
10
9
  "exactOptionalPropertyTypes": true,
11
10
  "experimentalDecorators": true,
12
- "incremental": true,
13
11
  "jsx": "react-jsx",
14
12
  "lib": [
15
13
  "ESNext"
16
14
  ],
17
15
  "module": "commonjs",
16
+ "moduleResolution": "bundler",
18
17
  "noEmit": false,
19
18
  "noFallthroughCasesInSwitch": true,
20
19
  "noImplicitOverride": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyoretsu/configs",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -26,7 +26,6 @@
26
26
  "require": "./dist/lint-staged/index.cjs"
27
27
  },
28
28
  "./ts": "./dist/ts/base.json",
29
- "./ts-backend": "./dist/ts/backend.json",
30
29
  "./ts-frontend": "./dist/ts/frontend.json",
31
30
  "./ts-nest": "./dist/ts/nest.json",
32
31
  "./ts-lib": "./dist/ts/lib.json"
@@ -1,36 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "allowImportingTsExtensions": true,
4
- "allowJs": true,
5
- "checkJs": true,
6
- "composite": true,
7
- "downlevelIteration": true,
8
- "emitDecoratorMetadata": true,
9
- "esModuleInterop": true,
10
- "exactOptionalPropertyTypes": true,
11
- "experimentalDecorators": true,
12
- "incremental": true,
13
- "jsx": "react-jsx",
14
- "lib": [
15
- "ESNext"
16
- ],
17
- "module": "Preserve",
18
- "noEmit": true,
19
- "noFallthroughCasesInSwitch": true,
20
- "noImplicitOverride": true,
21
- "noPropertyAccessFromIndexSignature": false,
22
- "noUncheckedIndexedAccess": true,
23
- "removeComments": true,
24
- "resolveJsonModule": true,
25
- "rewriteRelativeImportExtensions": true,
26
- "skipLibCheck": true,
27
- "sourceMap": true,
28
- "strict": true,
29
- "target": "ESNext",
30
- "typeRoots": [
31
- "./node_modules/@types",
32
- "src/@types"
33
- ],
34
- "verbatimModuleSyntax": true
35
- }
36
- }