Skip to content
Merged
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
42 changes: 0 additions & 42 deletions .eslintrc.json

This file was deleted.

5 changes: 1 addition & 4 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>cucumber/renovate-config",
":automergeMajor"
]
"extends": ["github>cucumber/renovate-config", ":automergeMajor"]
}
6 changes: 3 additions & 3 deletions .github/workflows/codeql-javascript.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: codeql-javascript

permissions: { }
permissions: {}

on:
push:
Expand All @@ -10,7 +10,7 @@ on:
branches:
- main
schedule:
- cron: '38 5 * * 1'
- cron: "38 5 * * 1"

concurrency:
# Cancels in-progress runs only for pull requests
Expand All @@ -20,7 +20,7 @@ concurrency:
jobs:
analyze:
name: Analyze JavaScript
runs-on: 'ubuntu-latest'
runs-on: "ubuntu-latest"
permissions:
security-events: write
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release GitHub

on:
push:
branches: [release/*]
branches: [ release/* ]

jobs:
create-github-release:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ permissions: {}

on:
push:
branches: [release/*]
branches: [ release/* ]

jobs:
publish-npm:
Expand All @@ -20,8 +20,8 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: '26.x'
registry-url: 'https://registry.npmjs.org'
node-version: "26.x"
registry-url: "https://registry.npmjs.org"
package-manager-cache: false
- run: npm install-ci-test
- run: npm publish
19 changes: 16 additions & 3 deletions .github/workflows/test-javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- macos-latest
- ubuntu-latest
- windows-latest
node-version: ['22.x', '24.x', '26.x']
node-version: [ "22.x", "24.x", "26.x" ]

steps:
- name: set git core.autocrlf to 'input'
Expand All @@ -33,11 +33,24 @@ jobs:
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: "npm"
cache-dependency-path: package-lock.json
- run: npm ci
if: ${{ matrix.os != 'windows-latest' }}
- run: npm ci --no-optional
if: ${{ matrix.os == 'windows-latest' }}
- run: npm test
- run: npm run eslint

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 26.x
cache: "npm"
cache-dependency-path: package-lock.json
- run: npm ci
- run: npm run lint
6 changes: 3 additions & 3 deletions .github/workflows/zizmor-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on:
push:
branches:
- main
- 'releases/**'
- "releases/**"
paths:
- '.github/**'
- ".github/**"
pull_request:
paths:
- '.github/**'
- ".github/**"

permissions: {}

Expand Down
1 change: 0 additions & 1 deletion .prettierignore

This file was deleted.

6 changes: 0 additions & 6 deletions .prettierrc.json

This file was deleted.

3 changes: 1 addition & 2 deletions bin/cucumber-language-server.cjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/usr/bin/env node
/* eslint-disable @typescript-eslint/no-var-requires */
require('source-map-support').install()
const { startStandaloneServer } = require('../dist/cjs/src/wasm/startStandaloneServer')
const { NodeFiles } = require('../dist/cjs/src/node/NodeFiles')
const path = require('path')
const path = require('node:path')
const { version } = require('../dist/cjs/src/version')

const wasmBasePath = path.resolve(`${__dirname}/../node_modules/@cucumber/language-service/dist`)
Expand Down
7 changes: 7 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"extends": ["./node_modules/@cucumber/biome-config/base.json"],
"files": {
"includes": ["!CHANGELOG.md", "!testdata"]
}
}
Loading
Loading