Skip to content

Commit

Permalink
chore: pack ts and js from subfolders (#60)
Browse files Browse the repository at this point in the history
# Motivation

It's currently NOT an issue for this library but, in the Oisy Signer JS
lib I noticed that TS types might be generated in subfolders. That's why
for future proof, it's better to also set the `package.json` to include
potential subfolders when publishing.

# Changes

- Update `files` wildcard in `package.json`.
  • Loading branch information
peterpeterparker authored Sep 10, 2024
1 parent d5e1bb0 commit cf72fab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"files": [
"README.md",
"LICENSE",
"*.js",
"*.js.map",
"*.d.ts",
"*.d.ts.map"
"**/*.js",
"**/*.js.map",
"**/*.d.ts",
"**/*.d.ts.map"
],
"engines": {
"node": ">=v20.11.1"
Expand Down

0 comments on commit cf72fab

Please sign in to comment.