chore: remove tsc build from local workspaces (#2020)

This commit is contained in:
Mo
2022-11-16 18:13:28 -06:00
committed by GitHub
parent 87e66e2342
commit 4fa8066402
31 changed files with 85 additions and 156 deletions

View File

@@ -1,11 +1,6 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const base = require('../../node_modules/@standardnotes/config/src/jest.json');
const base = require('../../common.jest.json')
module.exports = {
...base,
globals: {
'ts-jest': {
tsconfig: 'tsconfig.json',
},
}
};
}

View File

@@ -5,20 +5,12 @@
"node": ">=16.0.0 <17.0.0"
},
"description": "UI Services for Standard Notes clients",
"main": "dist/index.js",
"main": "./src/index.ts",
"author": "Standard Notes",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"private": true,
"license": "AGPL-3.0-or-later",
"scripts": {
"clean": "rm -fr dist",
"prestart": "yarn clean",
"start": "tsc -p tsconfig.json --watch",
"prebuild": "yarn clean",
"build": "tsc -p tsconfig.json",
"tsc": "tsc --project tsconfig.json",
"lint": "eslint src --ext .ts",
"test": "jest spec"
},

View File

@@ -1,14 +1,11 @@
{
"extends": "../../node_modules/@standardnotes/config/src/tsconfig.json",
"extends": "../../UILib.tsconfig.json",
"compilerOptions": {
"skipLibCheck": true,
"rootDir": "./src",
"outDir": "./dist",
"jsx": "react-jsx",
"jsx": "react-jsx"
},
"include": [
"src/**/*"
],
"references": [],
"exclude": ["**/*.spec.ts", "dist", "node_modules"]
"include": ["src/**/*"],
"exclude": ["**/*.spec.ts", "node_modules"]
}