From 5d590aae911ad5c353b5d7066f9d35d83bd7f179 Mon Sep 17 00:00:00 2001 From: Dimitris Marlagkoutsos Date: Thu, 30 Jan 2025 22:06:56 +0100 Subject: [PATCH] chore: export @agoric/store types --- packages/store/package.json | 4 +++- packages/store/tsconfig.build.json | 6 ++++++ packages/store/tsconfig.json | 1 - 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 packages/store/tsconfig.build.json diff --git a/packages/store/package.json b/packages/store/package.json index c5231640315..5cce1ba6385 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -14,7 +14,9 @@ "lint-fix": "yarn lint:eslint --fix", "lint": "run-s --continue-on-error lint:*", "lint:types": "tsc", - "lint:eslint": "eslint ." + "lint:eslint": "eslint .", + "prepack": "tsc --build tsconfig.build.json", + "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'" }, "repository": { "type": "git", diff --git a/packages/store/tsconfig.build.json b/packages/store/tsconfig.build.json new file mode 100644 index 00000000000..fe5ea57d603 --- /dev/null +++ b/packages/store/tsconfig.build.json @@ -0,0 +1,6 @@ +{ + "extends": [ + "./tsconfig.json", + "../../tsconfig-build-options.json" + ] +} diff --git a/packages/store/tsconfig.json b/packages/store/tsconfig.json index e0cc1b5ab48..4a8091d83af 100644 --- a/packages/store/tsconfig.json +++ b/packages/store/tsconfig.json @@ -3,7 +3,6 @@ "extends": "../../tsconfig.json", "compilerOptions": {}, "include": [ - "exported.js", "src/**/*.js", "test/**/*.js", ],