Skip to content

Commit

Permalink
chore: export @agoric/store types (#10917)
Browse files Browse the repository at this point in the history
refs: #6343

## Description

Properly expose TypeScript definitions from `@agoric/store` package by adding TypeScript build steps in `package.json` which generate the definitions.

### Security Considerations
No security impact - only affects TypeScript type definitions which are stripped at compile time.

### Scaling Considerations
No scaling impact - changes only affect development-time TypeScript support.

### Documentation Considerations
No documentation updates needed - this is a developer-facing change for TypeScript users.

### Testing Considerations
Existing type coverage tests continue to pass. No additional testing needed as this only affects type definition exposure.

### Upgrade Considerations
No upgrade impact - purely development-time TypeScript support changes.
  • Loading branch information
mergify[bot] authored Jan 30, 2025
2 parents d504b42 + 12d7e38 commit 16940ff
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions packages/store/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
]
}
1 change: 0 additions & 1 deletion packages/store/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {},
"include": [
"exported.js",
"src/**/*.js",
"test/**/*.js",
],
Expand Down

0 comments on commit 16940ff

Please sign in to comment.