diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a847216..27eba0d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,6 +25,10 @@ jobs: - name: Install dependencies run: yarn --non-interactive --frozen-lockfile + - name: Build + run: yarn build + working-directory: ./ + - name: Publish run: npm publish --access public working-directory: ./ diff --git a/package.json b/package.json index 4fa5e8e..b6a2c96 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,22 @@ { "name": "@ironfish/multisig-broker", - "version": "0.1.0", + "version": "0.1.1", "description": "Broker server and client supporting coordination between Iron Fish multisig accounts", "repository": "https://github.com/iron-fish/multisig-broker.git", "author": "Iron Fish (https://ironfish.network)", + "main": "build/src/index.js", + "types": "build/src/index.d.ts", "license": "MPL-2.0", "homepage": "https://ironfish.network", "engines": { "node": ">=18" }, + "files": [ + "/build/**/*.js", + "/build/**/*.d.ts", + "/build/**/*.d.ts.map", + "/build/**/*.json" + ], "dependencies": { "@ironfish/rust-nodejs": "^2.7.0", "@ironfish/sdk": "^2.8.1", diff --git a/tsconfig.json b/tsconfig.json index b39cc66..56de046 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,5 +20,5 @@ "tsBuildInfoFile": "./build/tsconfig.tsbuildinfo" }, "include": ["src", "package.json", "start.ts"], - "exclude": ["build"] + "exclude": ["build", "node_modules"] }