Skip to content

Commit

Permalink
2.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
WarstekHUN committed Dec 23, 2023
1 parent 130946a commit cdbbf61
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 21 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,3 @@ jobs:
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
publishGHP:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .npmrc file to publish to GitHub Packages
uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@zilaws'
- name: Install modules
run: npm ci
- name: Build and generate coverage badges
run: npm run build
- name: Publish to GitHub Packages
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.PAT }}
4 changes: 2 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,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package",
"name": "zilaws-server",
"version": "1.1.2",
"version": "2.0.0",
"description": "ZilaWS is a blazingly fast and very lightweight library that provides an extremely easy-to-use way to transmit data via websockets between client-side and server-side using eventhandlers and async waiters.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ export class ZilaServer<T extends ZilaClient = ZilaClient> {
}
});

/* istanbul ignore next */
this.baseServer.on("listening", async () => {
const newestVersion = await this.getNewestVersion();
const currentVersion = (await import("../package.json")).version;
Expand Down

0 comments on commit cdbbf61

Please sign in to comment.