Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
da8abdb
Run npm update
razor-x Feb 25, 2025
3e39f6b
1.5.1
seambot Feb 25, 2025
a66e314
Merge branch 'main' into public
razor-x Feb 25, 2025
fb8ad89
Remove stale.yml
razor-x Mar 10, 2025
a28732c
1.5.2
seambot Mar 10, 2025
5b5ef33
Only enable stale pull requests
razor-x Mar 10, 2025
e5264e5
1.5.3
seambot Mar 10, 2025
701e050
Merge branch 'main' into public
razor-x Mar 10, 2025
07042f2
Update to Node.js v22
razor-x May 22, 2025
f27f08a
Update dependencies
razor-x May 22, 2025
8c2cfa7
Add @swc/core
razor-x May 22, 2025
72a9b61
1.6.0
seambot May 22, 2025
e6ffbd5
Merge branch 'main' into public
razor-x May 22, 2025
224746a
Remove extra space
razor-x May 23, 2025
7fc570c
1.6.1
seambot May 23, 2025
6ec88c1
Support Node 20
razor-x Jun 5, 2025
ea396e3
Update lockfile
razor-x Jun 5, 2025
9c4dc20
1.6.2
seambot Jun 5, 2025
6100954
Merge branch 'main' into public
razor-x Jun 5, 2025
7274503
Only run semantic-release CI on release branches
razor-x Jul 8, 2025
6d992e7
Run eslint before prettier
razor-x Jul 8, 2025
ee657a0
Remove extra exclude from tsconfig.build.json
razor-x Jul 8, 2025
f89ea2f
1.6.3
seambot Jul 8, 2025
a34e708
Merge branch 'main' into public
razor-x Jul 8, 2025
a365d57
Update LICENSE year
razor-x Jul 17, 2025
d5d4c23
Update workflow action versions
razor-x Jul 17, 2025
ba10c7d
Update .gitignore
razor-x Jul 17, 2025
7cd8600
Run eslint before prettier
razor-x Jul 17, 2025
842bc2c
Update to ESLint v10
razor-x Jul 17, 2025
622d0ff
Update to typescript 5.8.3
razor-x Jul 17, 2025
1beda7d
2.0.0
seambot Jul 17, 2025
3e18a27
Merge branch 'main' into public
razor-x Jul 17, 2025
f246e72
Use neostandard
razor-x Jul 22, 2025
549f3dd
Do not package test directory
razor-x Jul 22, 2025
7431c08
Fix tsconfig schema url
razor-x Jul 22, 2025
8f61410
Enable skipLibCheck
razor-x Jul 22, 2025
409e95d
Update target to es2023
razor-x Jul 22, 2025
992aa37
2.1.0
seambot Jul 23, 2025
e047444
Merge branch 'main' into public
razor-x Jul 23, 2025
fa917ca
Merge remote-tracking branch 'makenew/public' into node-min-version
razor-x Aug 19, 2025
45c0daa
ci: Format code
seambot Aug 19, 2025
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 .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VARIANT="20"
ARG VARIANT="22"

FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:${VARIANT}

Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "20"
"VARIANT": "22"
}
},
"extensions": [
Expand Down
62 changes: 0 additions & 62 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
node_version:
description: The Node.js version.
required: false
default: '20'
default: '22'
registry_url:
description: The Node.js package registry URL.
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
description: The Node.js version.
type: string
required: false
default: '20'
default: '22'
outputs:
artifact_name:
description: The artifact name.
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
os:
- ubuntu-latest
node:
- '18'
- '20'
- '22'
include:
- os: ubuntu-latest
os_name: Linux
Expand All @@ -42,8 +42,8 @@ jobs:
fail-fast: false
matrix:
node:
- '18'
- '20'
- '22'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -67,8 +67,8 @@ jobs:
os:
- ubuntu-latest
node:
- '18'
- '20'
- '22'
include:
- os: ubuntu-latest
os_name: Linux
Expand All @@ -83,7 +83,7 @@ jobs:
name: ${{ needs.build.outputs.artifact_name }}
path: .
- name: Find packages
uses: tj-actions/glob@v21
uses: tj-actions/glob@v22
id: packages
with:
files: '*.tgz'
Expand Down Expand Up @@ -113,8 +113,8 @@ jobs:
fail-fast: false
matrix:
node:
- '18'
- '20'
- '22'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Format
run: npm run format
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v5
uses: stefanzweifel/git-auto-commit-action@v6
if: always()
with:
commit_message: 'ci: Format code'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Generate code
run: npm run generate
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v5
uses: stefanzweifel/git-auto-commit-action@v6
with:
commit_message: 'ci: Generate code'
commit_user_name: ${{ secrets.GIT_USER_NAME }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ run-name: Semantic Release from ${{ github.ref_name }}
on:
push:
branches:
- '**'
- 'main'
- 'next'
- 'next-major'
- 'beta'
- 'alpha'
- '*.x'

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
Expand Down
44 changes: 27 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ package
# Temporary development files
tmp

# Yarn lockfile (only package-lock.json supported)
# Other lockfiles (only package-lock.json supported)
pnpm-lock.yaml
yarn.lock

# Logs
Expand All @@ -38,7 +39,6 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand Down Expand Up @@ -90,12 +90,6 @@ web_modules/
# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

Expand All @@ -107,10 +101,8 @@ web_modules/

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
.env.*
!.env.example

# parcel-bundler cache (https://parceljs.org/)
.cache
Expand All @@ -137,6 +129,15 @@ dist
.temp
.cache

# Sveltekit cache directory
.svelte-kit/

# vitepress build output
**/.vitepress/dist

# vitepress cache directory
**/.vitepress/cache

# Docusaurus cache and generated files
.docusaurus

Expand All @@ -149,18 +150,27 @@ dist
# DynamoDB Local files
.dynamodb/

# Firebase cache directory
.firebase/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
# yarn v3
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Vite logs files
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

# Windows

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
73 changes: 73 additions & 0 deletions eslint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
import { globalIgnores } from 'eslint/config'
import importPlugin from 'eslint-plugin-import'
import simpleImportSort from 'eslint-plugin-simple-import-sort'
import unusedImports from 'eslint-plugin-unused-imports'
import neostandard, { resolveIgnoresFromGitignore } from 'neostandard'

const files = ['**/*.{ts,tsx}']

export default [
globalIgnores(resolveIgnoresFromGitignore()),
...neostandard({ ts: true, noStyle: true }),
{
files,
rules: {
'no-console': 'error',
'@typescript-eslint/no-non-null-assertion': 'error',
},
},
{
files,
plugins: {
'unused-imports': unusedImports,
import: importPlugin,
},
rules: {
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-import-type-side-effects': 'error',
'@typescript-eslint/consistent-type-imports': [
'error',
{
fixStyle: 'inline-type-imports',
},
],
'import/extensions': ['error', 'ignorePackages'],
'import/no-duplicates': ['error', { 'prefer-inline': true }],
'import/no-relative-parent-imports': 'error',
'unused-imports/no-unused-imports': 'error',
'unused-imports/no-unused-vars': [
'error',
{
vars: 'all',
varsIgnorePattern: '^_',
args: 'after-used',
argsIgnorePattern: '^_',
ignoreRestSiblings: true,
},
],
},
},
{
files,
plugins: {
'simple-import-sort': simpleImportSort,
},
rules: {
'simple-import-sort/imports': [
'error',
{
groups: [
['^\\u0000'],
['^node:'],
['^@?\\w'],
['@seamapi/makenew-tsmodule'],
['^lib/'],
['^'],
['^\\.'],
],
},
],
'simple-import-sort/exports': 'error',
},
},
]
1 change: 0 additions & 1 deletion examples/devices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { Builder, Command, Describe } from 'landlubber'

import type { Handler } from './index.js'

// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface Options {}

export const command: Command = 'devices'
Expand Down
1 change: 0 additions & 1 deletion examples/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import landlubber, {
type Handler as DefaultHandler,
type MiddlewareFunction,
} from 'landlubber'

import { Seam } from 'seam'

import * as device from './device.js'
Expand Down
1 change: 0 additions & 1 deletion examples/lock.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { Builder, Command, Describe } from 'landlubber'

import {
isSeamActionAttemptFailedError,
isSeamActionAttemptTimeoutError,
Expand Down
1 change: 0 additions & 1 deletion examples/unlock.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { Builder, Command, Describe } from 'landlubber'

import {
isSeamActionAttemptFailedError,
isSeamActionAttemptTimeoutError,
Expand Down
Loading