feat: sdks and docs (#239)
* init * fix * update docs * bump: all sdks * rename types test
This commit is contained in:
committed by
GitHub
parent
790801b728
commit
83e223a496
@@ -144,7 +144,7 @@ const updatePackageJsonForRelease = (
|
||||
newPkgJson = {
|
||||
...newPkgJson,
|
||||
main: './dist/index.js',
|
||||
module: './dist/index.mjs',
|
||||
module: './dist/index.js',
|
||||
types: './dist/index.d.ts',
|
||||
files: ['dist'],
|
||||
exports: restPkgJson.exports ?? {
|
||||
|
||||
23
tooling/typescript/sdk.json
Normal file
23
tooling/typescript/sdk.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"compilerOptions": {
|
||||
"target": "ES2020",
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"allowJs": true,
|
||||
"checkJs": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"noEmit": true,
|
||||
"esModuleInterop": true,
|
||||
"module": "esnext",
|
||||
"moduleResolution": "bundler",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "preserve",
|
||||
"incremental": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"allowUnreachableCode": true
|
||||
},
|
||||
"exclude": ["node_modules", "build", "dist"]
|
||||
}
|
||||
Reference in New Issue
Block a user