From b6ad144afa99b4cb3ae15c74734823276f0ba8dc Mon Sep 17 00:00:00 2001 From: koros Date: Mon, 10 Jun 2024 19:08:06 +0300 Subject: [PATCH] include tsc-alias in the build command --- packages/abstractions/package.json | 2 +- packages/authentication/azure/package.json | 2 +- packages/authentication/spfx/package.json | 2 +- packages/http/fetch/package.json | 2 +- packages/serialization/form/package.json | 2 +- packages/serialization/json/package.json | 2 +- packages/serialization/multipart/package.json | 2 +- packages/serialization/text/package.json | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/abstractions/package.json b/packages/abstractions/package.json index f72e79677..da38803f9 100644 --- a/packages/abstractions/package.json +++ b/packages/abstractions/package.json @@ -8,7 +8,7 @@ "type": "module", "scripts": { "build": "npm run build:esm", - "build:esm": "tsc", + "build:esm": "tsc && tsc-alias", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "clean": "rimraf ./dist", diff --git a/packages/authentication/azure/package.json b/packages/authentication/azure/package.json index 36c583ba1..04224cbdb 100644 --- a/packages/authentication/azure/package.json +++ b/packages/authentication/azure/package.json @@ -8,7 +8,7 @@ "type": "module", "scripts": { "build": "npm run build:esm", - "build:esm": "tsc", + "build:esm": "tsc && tsc-alias", "test:node": "vitest run", "test:browser": "vitest run --browser.name=chrome --browser.headless", "test": "npm run test:node && npm run test:browser", diff --git a/packages/authentication/spfx/package.json b/packages/authentication/spfx/package.json index 786f8c080..b5f80a0d4 100644 --- a/packages/authentication/spfx/package.json +++ b/packages/authentication/spfx/package.json @@ -8,7 +8,7 @@ "type": "module", "scripts": { "build": "npm run build:esm", - "build:esm": "tsc", + "build:esm": "tsc && tsc-alias", "test:browser": "vitest run --browser.name=chrome --browser.headless", "test:node": "vitest --run", "test": "npm run test:node && npm run test:browser", diff --git a/packages/http/fetch/package.json b/packages/http/fetch/package.json index 92da07a46..39ef7d1df 100644 --- a/packages/http/fetch/package.json +++ b/packages/http/fetch/package.json @@ -24,7 +24,7 @@ "type": "module", "scripts": { "build": "npm run build:esm", - "build:esm": "tsc", + "build:esm": "tsc && tsc-alias", "clean": "rimraf ./dist", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", diff --git a/packages/serialization/form/package.json b/packages/serialization/form/package.json index bd3a38d14..b6ab45c8a 100644 --- a/packages/serialization/form/package.json +++ b/packages/serialization/form/package.json @@ -12,7 +12,7 @@ "type": "module", "scripts": { "build": "npm run build:esm", - "build:esm": "tsc -b", + "build:esm": "tsc -b && tsc-alias", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "clean": "rimraf ./dist", diff --git a/packages/serialization/json/package.json b/packages/serialization/json/package.json index 546fe3bfd..f8a6a4840 100644 --- a/packages/serialization/json/package.json +++ b/packages/serialization/json/package.json @@ -12,7 +12,7 @@ "types": "dist/es/src/index.d.ts", "scripts": { "build": "npm run clean && npm run build:esm", - "build:esm": "tsc -b", + "build:esm": "tsc -b && tsc-alias", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "clean": "rimraf ./dist", diff --git a/packages/serialization/multipart/package.json b/packages/serialization/multipart/package.json index b9f04f560..56d949959 100644 --- a/packages/serialization/multipart/package.json +++ b/packages/serialization/multipart/package.json @@ -8,7 +8,7 @@ "type": "module", "scripts": { "build": "npm run build:esm", - "build:esm": "tsc -b", + "build:esm": "tsc -b && tsc-alias", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "clean": "rimraf -rf ./dist", diff --git a/packages/serialization/text/package.json b/packages/serialization/text/package.json index 18d0a2cea..ba6d5e72e 100644 --- a/packages/serialization/text/package.json +++ b/packages/serialization/text/package.json @@ -12,7 +12,7 @@ "type": "module", "scripts": { "build": "npm run build:esm", - "build:esm": "tsc", + "build:esm": "tsc && tsc-alias", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "clean": "rimraf -rf ./dist",