Merge branch 'sidv/3061_monorepo' into 3061_making_a_monorepo

* sidv/3061_monorepo:
  fix types for mermaid-mindmap
This commit is contained in:
Sidharth Vinod 2022-09-23 17:52:11 +05:30
commit c32e76a870
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
3 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@
"scripts": {
"clean": "rimraf dist",
"build:vite": "ts-node-esm --transpileOnly --project=.vite/tsconfig.json .vite/build.ts",
"build:types": "tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly",
"build:types": "concurrently \"tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly\" \"tsc -p ./packages/mermaid-mindmap/tsconfig.json --emitDeclarationOnly\"",
"build:watch": "yarn build:code --watch",
"build": "yarn clean; concurrently \"yarn build:vite\" \"yarn build:types\"",
"dev": "concurrently \"yarn build:vite --watch\" \"ts-node-esm .vite/server\"",

View File

@ -4,5 +4,5 @@
"rootDir": "./src",
"outDir": "./dist"
},
"include": ["./src/**/*.ts", "./package.json"]
"include": ["./src/**/*.ts"]
}

View File

@ -28,7 +28,7 @@
/* Modules */
"module": "ES6" /* Specify what module code is generated. */,
"rootDir": "./packages" /* Specify the root folder within your source files. */,
// "rootDir": "./packages" /* Specify the root folder within your source files. */,
"moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */,
// "baseUrl": "./src" /* Specify the base directory to resolve non-relative module names. */,
// "paths": {} /* Specify a set of entries that re-map imports to additional lookup locations. */,
@ -53,7 +53,7 @@
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output. */
"outDir": "./dist" /* Specify an output folder for all emitted files. */,
// "outDir": "./dist" /* Specify an output folder for all emitted files. */,
// "removeComments": true, /* Disable emitting comments. */
// "noEmit": true, /* Disable emitting files from a compilation. */
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */