diff --git a/LICENSE.md b/LICENSE.md index dd2a5dc..1aef080 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ # MIT License -Copyright (c) 2023 Open Web Foundation +Copyright (c) 2024 Open Web Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/commitlint.config.js b/commitlint.config.cjs similarity index 96% rename from commitlint.config.js rename to commitlint.config.cjs index 7bf431c..dbaaddb 100644 --- a/commitlint.config.js +++ b/commitlint.config.cjs @@ -5,7 +5,8 @@ module.exports = { rules: { // @see: https://commitlint.js.org/#/reference-rules 'scope-enum': [ - 2, 'always', + 2, + 'always', scopes, ], }, @@ -55,8 +56,8 @@ module.exports = { allowCustomIssuePrefixes: true, allowEmptyIssuePrefixes: true, confirmColorize: true, - maxHeaderLength: Infinity, - maxSubjectLength: Infinity, + maxHeaderLength: Number.POSITIVE_INFINITY, + maxSubjectLength: Number.POSITIVE_INFINITY, minSubjectLength: 0, scopeOverrides: undefined, defaultBody: '', diff --git a/eslint.config.cjs b/eslint.config.js similarity index 100% rename from eslint.config.cjs rename to eslint.config.js diff --git a/package.json b/package.json index bd0fd41..54ee7cc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bun-ts-starter", - "version": "0.2.0", "type": "module", + "version": "0.2.0", "description": "A simple TypeScript starter kit using Bun.", "author": "Chris Breuer ", "license": "MIT", diff --git a/tsconfig.json b/tsconfig.json index 13e4a9b..78fda8a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,24 +1,23 @@ { "compilerOptions": { "target": "esnext", - "module": "esnext", "lib": [ "esnext" ], + "moduleDetection": "force", + "module": "esnext", "moduleResolution": "bundler", - "noEmit": true, + "resolveJsonModule": true, + "types": [ + "node" + ], "allowImportingTsExtensions": true, - "moduleDetection": "force", - "esModuleInterop": true, "strict": true, "strictNullChecks": true, - "resolveJsonModule": true, + "noEmit": true, + "esModuleInterop": true, "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, "skipDefaultLibCheck": true, - "types": [ - "node", - "bun-types" - ] + "skipLibCheck": true } }