Skip to content

Commit

Permalink
Merge pull request #1 from niekvangogh/master
Browse files Browse the repository at this point in the history
Fixed npm publish
  • Loading branch information
JamesHawkinss authored Mar 5, 2021
2 parents 48023f8 + 4102eaa commit d97f30d
Show file tree
Hide file tree
Showing 6 changed files with 277 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish
- run: npm publish ./dist
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
274 changes: 272 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "whmcs-node",
"version": "1.0.4",
"version": "1.0.5",
"description": "",
"main": "src/index.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/interface/billing/update-invoice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface UpdateInvoiceRequest {
date?: string;
duedate?: string;
datepaid?: string;
notes?: StorageManager;
notes?: string;
itemdescription?: string[];
itemamount?: number[];
itemtaxed?: boolean[];
Expand Down
2 changes: 1 addition & 1 deletion src/interface/support/add-announcement.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export interface AddAnnouncementRequest {
date: string;
title: string;
announcement: SVGAnimatedString;
announcement: string;
published?: boolean;
}

Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"lib": [ "es2015" ],
"module": "commonjs",
"declaration": true,
"alwaysStrict": true,
Expand Down

0 comments on commit d97f30d

Please sign in to comment.