Skip to content

Commit 3c3e8fe

Browse files
committed
Merge remote-tracking branch 'origin/deps'
2 parents b48c716 + e3a9ddb commit 3c3e8fe

File tree

4 files changed

+53
-20
lines changed

4 files changed

+53
-20
lines changed

.github/workflows/check.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
name: check
2-
on: [push]
2+
on:
3+
push:
4+
tags-ignore:
5+
- '[0-9]+.[0-9]+.[0-9]+'
6+
branches:
7+
- '**'
8+
39
jobs:
410
build:
511
runs-on: ubuntu-latest
612
steps:
7-
- uses: actions/checkout@main
8-
- uses: actions/setup-node@main
13+
- uses: actions/checkout@v5
14+
- uses: actions/setup-node@v6
915
with:
10-
node-version: 'lts/*'
11-
- run: yarn install
16+
node-version: lts/*
17+
- run: npm install
1218
- run: make check

.github/workflows/publish.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: publish
2+
3+
on:
4+
push:
5+
tags:
6+
- '[0-9]+.[0-9]+.[0-9]+'
7+
8+
permissions:
9+
id-token: write # Required for OIDC
10+
contents: read
11+
12+
jobs:
13+
publish:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v5
17+
- uses: actions/setup-node@v6
18+
with:
19+
node-version: 'lts/*'
20+
21+
# Ensure npm 11.5.1 or later is installed
22+
- name: update npm
23+
run: npm install -g npm@latest
24+
- run: npm install
25+
- run: make check
26+
- run: npm publish

biome.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"assist": {
44
"actions": {
55
"source": {
@@ -32,29 +32,30 @@
3232
"expand": "always"
3333
}
3434
},
35-
"html": {
36-
"formatter": {
37-
"enabled": true
38-
}
39-
},
4035
"linter": {
4136
"enabled": true,
37+
"domains": {
38+
"project": "recommended"
39+
},
4240
"rules": {
4341
"recommended": true,
4442
"correctness": {
43+
"noUndeclaredDependencies": "error",
4544
"noUndeclaredVariables": "error",
46-
"noUnusedVariables": "error"
45+
"noUnusedVariables": "error",
46+
"useImportExtensions": "error",
47+
"useJsonImportAttributes": "error"
4748
},
4849
"complexity": {
4950
"noForEach": "off"
5051
},
5152
"style": {
52-
"noParameterAssign": "off",
53-
"useDefaultParameterLast": "error",
54-
"useSingleVarDeclarator": "error",
5553
"noUnusedTemplateLiteral": "error",
54+
"noUselessElse": "error",
55+
"useBlockStatements": "error",
56+
"useDefaultParameterLast": "error",
5657
"useNumberNamespace": "error",
57-
"noUselessElse": "error"
58+
"useSingleVarDeclarator": "error"
5859
},
5960
"performance": {
6061
"noDelete": "off"

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
"geocode"
2121
],
2222
"dependencies": {
23-
"@furkot/geocode": "^3.2.1",
23+
"@furkot/geocode": "~4",
2424
"@melitele/awesomplete": "^2.0.2",
25-
"debounce": "^1.1.0||^2.0.0"
25+
"debounce": "~3"
2626
},
2727
"devDependencies": {
28-
"@biomejs/biome": "2.0.5",
29-
"jsdom": "~26",
28+
"@biomejs/biome": "2.3.13",
29+
"jsdom": "~27",
3030
"jsdom-global": "~3"
3131
},
3232
"scripts": {

0 commit comments

Comments
 (0)