Merged in feature/tsgo (pull request #3069)
Use tsgo for typechecking * switch to tsgo for type-checking * Merged in chore/remove-cypress (pull request #3066) chore: remove unused dependencies * chore: remove cypress * remove unused deps * update yarn.lock after removing unused deps Approved-by: Anton Gunnarsson * use tsgo for typechecking * use tsgo for type-checking * yarn install * fix(BOOK-496): Slowed down the MarqueeText component animation Approved-by: Matilda Landström * switch to tsgo for type-checking * use tsgo for typechecking * use tsgo for type-checking * yarn install * Merge branch 'feature/tsgo' of bitbucket.org:scandic-swap/web into feature/tsgo * switch to use yarn check-types in lint-staged * Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/tsgo Approved-by: Linus Flood
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const config = {
|
||||
"*.{ts,tsx}": [
|
||||
() => "yarn lint",
|
||||
() => "tsc -p tsconfig.json --noEmit",
|
||||
() => "yarn check-types",
|
||||
"prettier --write",
|
||||
],
|
||||
"*.{js,cjs,mjs}": "prettier --write",
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
"main": "index.ts",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"check-types": "tsc --noEmit",
|
||||
"lint": "eslint . --max-warnings 0 && tsc --noEmit",
|
||||
"lint:fix": "eslint . --fix && tsc --noEmit",
|
||||
"check-types": "tsgo --noEmit",
|
||||
"lint": "eslint . --max-warnings 0 && tsgo --noEmit",
|
||||
"lint:fix": "eslint . --fix && tsgo --noEmit",
|
||||
"test": "vitest run --passWithNoTests",
|
||||
"test:watch": "vitest",
|
||||
"format": "prettier --write ."
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const config = {
|
||||
"*.{ts,tsx}": [
|
||||
() => "yarn lint",
|
||||
() => "tsc -p tsconfig.json --noEmit",
|
||||
() => "yarn type-check",
|
||||
"prettier --write",
|
||||
],
|
||||
"*.{json,md}": "prettier --write",
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
"scripts": {
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest",
|
||||
"check-types": "tsc --noEmit",
|
||||
"lint": "eslint . --max-warnings 0 && tsc --noEmit",
|
||||
"check-types": "tsgo --noEmit",
|
||||
"lint": "eslint . --max-warnings 0 && tsgo --noEmit",
|
||||
"format": "prettier --write ."
|
||||
},
|
||||
"exports": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const config = {
|
||||
'*.{ts,tsx}': [
|
||||
() => 'yarn lint',
|
||||
() => 'tsc -p tsconfig.json --noEmit',
|
||||
() => 'yarn check-types',
|
||||
'prettier --write',
|
||||
],
|
||||
'*.{json,md}': 'prettier --write',
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
"test:watch": "vitest",
|
||||
"prepack": "yarn run build",
|
||||
"prepare": "husky && yarn run build",
|
||||
"check-types": "tsc --noEmit",
|
||||
"check-types": "tsgo --noEmit",
|
||||
"test:browser": "vitest --config=vitest.browser.config.ts",
|
||||
"include:shared": "jiti ../../scripts/copyFiles.ts ../../shared public/_static/shared"
|
||||
},
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"compilerOptions": {
|
||||
"allowImportingTsExtensions": true,
|
||||
"noEmit": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {}
|
||||
},
|
||||
"include": ["example", "lib"],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const config = {
|
||||
"*.{ts,tsx}": [
|
||||
() => "yarn lint",
|
||||
() => "tsc -p tsconfig.json --noEmit",
|
||||
() => "yarn check-types",
|
||||
"prettier --write",
|
||||
],
|
||||
"*.{json,md}": "prettier --write",
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
"scripts": {
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest",
|
||||
"check-types": "tsc --noEmit",
|
||||
"lint": "eslint . --max-warnings 0 && tsc --noEmit",
|
||||
"check-types": "tsgo --noEmit",
|
||||
"lint": "eslint . --max-warnings 0 && tsgo --noEmit",
|
||||
"format": "prettier --write ."
|
||||
},
|
||||
"exports": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const config = {
|
||||
"*.{ts,tsx}": [
|
||||
() => "yarn lint",
|
||||
() => "tsc -p tsconfig.json --noEmit",
|
||||
() => "yarn check-types",
|
||||
"prettier --write",
|
||||
],
|
||||
"*.{js,cjs,mjs}": "prettier --write",
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
"main": "index.ts",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"check-types": "tsc --noEmit",
|
||||
"lint": "eslint . --max-warnings 0 && tsc --noEmit",
|
||||
"lint:fix": "eslint . --fix && tsc --noEmit",
|
||||
"check-types": "tsgo --noEmit",
|
||||
"lint": "eslint . --max-warnings 0 && tsgo --noEmit",
|
||||
"lint:fix": "eslint . --fix && tsgo --noEmit",
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest",
|
||||
"format": "prettier --write ."
|
||||
|
||||
Reference in New Issue
Block a user