Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v15 #7581

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18] # This should be LTS
node-version: [22] # This should be LTS

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-config-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node-version: [18] # This should be LTS
node-version: [22] # This should be LTS

steps:
- name: Checkout code
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18] # This should be LTS
node-version: [22] # This should be LTS

steps:
- name: Checkout code
Expand All @@ -61,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18] # This should be LTS
node-version: [22] # This should be LTS

steps:
- name: Checkout code
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18] # This should be LTS
node-version: [22] # This should be LTS

steps:
- name: Checkout code
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18] # This should be LTS
node-version: [22] # This should be LTS

steps:
- name: Checkout code
Expand All @@ -232,7 +232,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18, 20]
node-version: [20, 22]
os: [ubuntu-latest]
shard: [1/4, 2/4, 3/4, 4/4]

Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18, 20]
node-version: [20, 22]
os: [ubuntu-latest]

steps:
Expand Down Expand Up @@ -300,7 +300,7 @@ jobs:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# node-version: [18] # This should be LTS
# node-version: [22] # This should be LTS

# steps:
# - name: Checkout code
Expand Down Expand Up @@ -348,7 +348,7 @@ jobs:

strategy:
matrix:
node-version: [18] # This should be LTS
node-version: [22] # This should be LTS

steps:
- name: Checkout code
Expand Down Expand Up @@ -383,7 +383,7 @@ jobs:

strategy:
matrix:
node-version: [18] # This should be LTS
node-version: [22] # This should be LTS

steps:
- name: Checkout code
Expand Down Expand Up @@ -425,7 +425,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18] # This should be LTS
node-version: [22] # This should be LTS

steps:
- name: Checkout code
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/zwave-js-bot_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: [ubuntu-latest]
strategy:
matrix:
node-version: [18] # This should be LTS
node-version: [22] # This should be LTS

steps:
- uses: actions/github-script@v7
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
runs-on: [ubuntu-latest]
strategy:
matrix:
node-version: [18] # This should be LTS
node-version: [22] # This should be LTS

steps:
- name: Checkout master branch
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
runs-on: [ubuntu-latest]
strategy:
matrix:
node-version: [18] # This should be LTS
node-version: [22] # This should be LTS

steps:
- name: Checkout master branch
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
# runs-on: [ubuntu-latest]
# strategy:
# matrix:
# node-version: [18] # This should be LTS
# node-version: [22] # This should be LTS

# steps:
# - name: Checkout master branch
Expand Down Expand Up @@ -380,7 +380,7 @@ jobs:
runs-on: [ubuntu-latest]
strategy:
matrix:
node-version: [18] # This should be LTS
node-version: [22] # This should be LTS

steps:
- name: Checkout master branch
Expand Down Expand Up @@ -484,7 +484,7 @@ jobs:
runs-on: [ubuntu-latest]
strategy:
matrix:
node-version: [18] # This should be LTS
node-version: [22] # This should be LTS

steps:
- name: Checkout master branch
Expand Down Expand Up @@ -600,7 +600,7 @@ jobs:
runs-on: [ubuntu-latest]
strategy:
matrix:
node-version: [18] # This should be LTS
node-version: [22] # This should be LTS

steps:
- name: Checkout master branch
Expand Down
2 changes: 2 additions & 0 deletions .vscode/typescript.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -1000,6 +1000,7 @@
"\t\tthrow new Error(\"not implemented\");",
"\t}",
"\tpublic static from(raw: CCRaw, ctx: CCParsingContext): ${1}CC${2} {",
"\t\t// Note: This method can also be async",
"\t\t// TODO: Deserialize payload",
"\t\tthrow new ZWaveError(",
"\t\t\t`${this.name}: deserialization not implemented`,",
Expand Down Expand Up @@ -1043,6 +1044,7 @@
"\t}",
"",
"\tpublic static from(raw: CCRaw, ctx: CCParsingContext): ${1}CC${2} {",
"\t\t// Note: This method can also be async",
"\t\t// TODO: Deserialize payload",
"\t\tthrow new ZWaveError(",
"\t\t\t`${this.name}: deserialization not implemented`,",
Expand Down
4 changes: 4 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ import { fileURLToPath } from "node:url";
const __dirname = dirname(fileURLToPath(import.meta.url));

export default tseslint.config(
// Ignore the browser bindings for now
{
ignores: ["packages/bindings-browser/**/*.ts"],
},
...tseslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
{
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"@dprint/typescript": "^0.93.3",
"@microsoft/api-extractor": "^7.48.0",
"@monorepo-utils/workspaces-to-typescript-project-references": "^2.10.4",
"@tsconfig/node18": "^18.2.4",
"@types/node": "^18.19.63",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.17.16",
"@types/semver": "^7.5.8",
"@types/source-map-support": "^0.5.10",
"@types/xml2js": "^0.4.14",
Expand Down
59 changes: 59 additions & 0 deletions packages/bindings-browser/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"name": "@zwave-js/bindings-browser",
"version": "14.3.7",
"description": "zwave-js: Host bindings for the browser",
"keywords": [],
"publishConfig": {
"access": "public"
},
"type": "module",
"exports": {
"./db": {
"@@dev": "./src/db/browser.ts",
"default": "./build/db/browser.js"
},
"./fs": {
"@@dev": "./src/fs/browser.ts",
"default": "./build/fs/browser.js"
},
"./serial": {
"@@dev": "./src/serial/browser.ts",
"default": "./build/serial/browser.js"
}
},
"files": [
"build/**/*.{js,cjs,mjs,d.ts,d.cts,d.mts,map}",
"build/**/package.json"
],
"author": {
"name": "AlCalzone",
"email": "[email protected]"
},
"license": "MIT",
"homepage": "https://github.com/zwave-js/node-zwave-js#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/zwave-js/node-zwave-js.git"
},
"bugs": {
"url": "https://github.com/zwave-js/node-zwave-js/issues"
},
"funding": {
"url": "https://github.com/sponsors/AlCalzone/"
},
"engines": {
"node": ">= 20"
},
"scripts": {
"build": "tsc -b tsconfig.json --pretty",
"clean": "del-cli build/ \"*.tsbuildinfo\""
},
"devDependencies": {
"@types/w3c-web-serial": "^1.0.7",
"@zwave-js/serial": "workspace:*",
"@zwave-js/shared": "workspace:*",
"del-cli": "^6.0.0",
"typescript": "5.7.3",
"zwave-js": "workspace:*"
}
}
Loading
Loading