From b4a5c8b879cfa7bd789f102e380168683ac6186b Mon Sep 17 00:00:00 2001 From: jeff-tbd Date: Tue, 7 Nov 2023 11:45:10 +0900 Subject: [PATCH] refactor(settings): remove unnecessary settings - tsconfig - declarationDir - forceConsistentCasingInFileNames - .npmrc -> fix scope name(@channel-io -> @channel.io) --- .npmrc | 2 +- package.json | 4 +--- tsconfig.cjs.json | 2 -- tsconfig.esm.json | 2 -- tsconfig.json | 2 -- 5 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.npmrc b/.npmrc index e9729be..b59cb36 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,2 @@ -@channel-io:registry=https://registry.npmjs.org/ +@channel.io:registry=https://registry.npmjs.org/ //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN} \ No newline at end of file diff --git a/package.json b/package.json index 8ddfbb9..b1dd756 100644 --- a/package.json +++ b/package.json @@ -27,9 +27,7 @@ "commit": "git-cz", "build:typedoc": "typedoc src/index.ts" }, - "files": [ - "dist" - ], + "files": ["dist"], "repository": { "type": "git", "url": "git+https://github.com/channel-io/channel-web-sdk-loader.git" diff --git a/tsconfig.cjs.json b/tsconfig.cjs.json index 8de86eb..f60b637 100644 --- a/tsconfig.cjs.json +++ b/tsconfig.cjs.json @@ -2,7 +2,5 @@ "extends": "./tsconfig.json", "compilerOptions": { "module": "CommonJS", - "outDir": "./dist" }, - "include": ["src/**/*"], } \ No newline at end of file diff --git a/tsconfig.esm.json b/tsconfig.esm.json index f30ea3a..c91b56e 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -2,7 +2,5 @@ "extends": "./tsconfig.json", "compilerOptions": { "module": "ESNext", - "outDir": "./dist" }, - "include": ["src/**/*"], } \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index e2881b5..2daf2ec 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,9 +9,7 @@ "outDir": "./dist", /* Specify an output folder for all emitted files. */ /* Interop Constraints */ "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ - "declarationDir": "./dist", /* Specify an output folder for generated declaration files. */ "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ - "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ /* Type Checking */ "strict": true, /* Enable all strict type-checking options. */ },