From 6c06a572975962840da91efc5039ba0f00b3e1c0 Mon Sep 17 00:00:00 2001 From: Garrett Darnell <12160067+garrettld@users.noreply.github.com> Date: Wed, 21 Aug 2024 16:47:02 -0400 Subject: [PATCH] fix(angular-virtual): fix build & remove unused scripts Excluding .d.ts files from the package output results in TypeScript errors for consumers trying to install @tanstack/angular-virtual. --- packages/angular-virtual/package.json | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packages/angular-virtual/package.json b/packages/angular-virtual/package.json index 6481d00a..b83653fc 100644 --- a/packages/angular-virtual/package.json +++ b/packages/angular-virtual/package.json @@ -37,17 +37,12 @@ "node": ">=12" }, "files": [ - "build", - "!**/*.d.ts", - "!**/*.d.ts.map" + "build" ], "scripts": { "clean": "rimraf ./build", "test:types": "tsc --noEmit", - "build": "ng-packagr -p ng-package.json -c tsconfig.build.json", - "build-no-package-json": "pnpm run build && rimraf ./build/package.json", - "BAK": "ng-packagr -p ng-package.json -c tsconfig.build.json", - "build:types": "tsc --emitDeclarationOnly" + "build": "ng-packagr -p ng-package.json -c tsconfig.build.json" }, "dependencies": { "@tanstack/virtual-core": "workspace:*",