From 56abb9295959df1f54d28f8e403d9f4a550207b3 Mon Sep 17 00:00:00 2001 From: 3y3 <3y3@ya.ru> Date: Tue, 24 Sep 2024 15:17:40 +0300 Subject: [PATCH] fix: Fix release scripts --- .github/workflows/quality.yaml | 2 +- .github/workflows/tests.yaml | 2 +- package-lock.json | 4 ++-- package.json | 4 +++- tsconfig.json | 1 + 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index c877e74..e1f665a 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -1,4 +1,4 @@ -name: OpenAPI code quality +name: Search code quality on: pull_request: diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c0fda50..c0f75b6 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -1,4 +1,4 @@ -name: OpenAPI tests +name: Search tests on: pull_request: diff --git a/package-lock.json b/package-lock.json index 186a335..1c451e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,8 @@ "@esbuild-plugins/tsconfig-paths": "^0.1.2", "@types/lunr": "^2.3.7", "esbuild": "^0.19.10", - "esbuild-node-externals": "^1.14.0" + "esbuild-node-externals": "^1.14.0", + "typescript": "^5.6.2" }, "peerDependencies": { "@diplodoc/client": "^2.8.0", @@ -9029,7 +9030,6 @@ "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" diff --git a/package.json b/package.json index 233654f..0c4de36 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "build:clean": "rm -rf lib", "prepublishOnly": "npm run build", "test": "exit 0", + "typecheck": "tsc --noEmit", "lint": "lint update && lint", "lint:fix": "lint update && lint fix", "pre-commit": "lint update && lint-staged", @@ -32,7 +33,8 @@ "@esbuild-plugins/tsconfig-paths": "^0.1.2", "@types/lunr": "^2.3.7", "esbuild": "^0.19.10", - "esbuild-node-externals": "^1.14.0" + "esbuild-node-externals": "^1.14.0", + "typescript": "^5.6.2" }, "dependencies": { "lunr": "^2.3.9", diff --git a/tsconfig.json b/tsconfig.json index 6dfb76b..dd8896d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "@diplodoc/tsconfig", "compilerOptions": { + "target": "es2019", "moduleResolution": "bundler", "jsx": "react", "declaration": true,