Skip to content

Commit

Permalink
refactor(settings): remove unnecessary settings
Browse files Browse the repository at this point in the history
- tsconfig
  - declarationDir
  - forceConsistentCasingInFileNames
- .npmrc -> fix scope name(@channel-io -> @channel.io)
  • Loading branch information
jeff-tbd committed Nov 24, 2023
1 parent e35e35f commit b4a5c8b
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -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}
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "CommonJS",
"outDir": "./dist"
},
"include": ["src/**/*"],
}
2 changes: 0 additions & 2 deletions tsconfig.esm.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "ESNext",
"outDir": "./dist"
},
"include": ["src/**/*"],
}
2 changes: 0 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
},
Expand Down

0 comments on commit b4a5c8b

Please sign in to comment.