Skip to content

Commit

Permalink
2.0.0 Release
Browse files Browse the repository at this point in the history
WarstekHUN committed Dec 23, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 6d40c94 commit 4039a59
Showing 4 changed files with 5 additions and 22 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -39,22 +39,4 @@ jobs:
- name: Publish to npm
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 }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
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",
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 4039a59

Please sign in to comment.