Skip to content

Commit

Permalink
Merge pull request #2 from AndrewLemons/dev
Browse files Browse the repository at this point in the history
v1.1.1
  • Loading branch information
AndrewLemons authored Feb 12, 2024
2 parents aceda6c + b1486a5 commit cc15181
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Publish to NPM
run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
- name: Checkout
uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Publish to NPM
run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bambu-js",
"version": "1.1.0",
"version": "1.1.1",
"description": "Tools to interact with Bambu Lab printers over MQTT and FTP.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import BambuPrinter from "./classes/BambuPrinter";
import BambuState from "./interfaces/BambuState";
import * as errors from "./utilities/errors";

export { BambuPrinter, errors };
export { BambuPrinter, BambuState, errors };

0 comments on commit cc15181

Please sign in to comment.