Skip to content

Commit a4787bd

Browse files
committed
Update npm deps
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 93d9d65 commit a4787bd

40 files changed

+19055
-18977
lines changed

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
ocaml-compiler:
2424
- "5.2"
2525

26-
2726
runs-on: ${{ matrix.os }}
2827

2928
steps:
@@ -43,8 +42,7 @@ jobs:
4342
node-version: lts/*
4443

4544
- name: Install npm packages
46-
run: yarn --frozen-lockfile
47-
working-directory: ocaml-lsp-server/test/e2e
45+
run: yarn install --frozen-lockfile
4846

4947
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
5048
uses: ocaml/setup-ocaml@v3

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
_opam/
21
_build/
2+
_opam/
33
.idea/
44
.log/
55
.vscode/
6+
node_modules/
67
tmp/
78
.DS_Store
89
.merlin

Makefile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ TEST_E2E_DIR = ocaml-lsp-server/test/e2e
44

55
.PHONY: yarn-install
66
yarn-install:
7-
cd $(TEST_E2E_DIR) && yarn --frozen-lockfile
7+
yarn install --frozen-lockfile
88

99
-include Makefile.dev
1010

@@ -39,7 +39,6 @@ lock: ## Generate the lock files
3939
bench: ##
4040
dune exec ocaml-lsp-server/bench/ocaml_lsp_bench.exe --profile bench
4141

42-
4342
.PHONY: test-ocaml
4443
test-ocaml: ## Run the unit tests
4544
dune build @lsp/test/runtest @lsp-fiber/runtest @jsonrpc-fiber/runtest @ocaml-lsp-server/runtest
@@ -70,7 +69,6 @@ clean: ## Clean build artifacts and other generated files
7069
.PHONY: fmt
7170
fmt: ## Format the codebase with ocamlformat
7271
dune build @fmt --auto-promote
73-
cd $(TEST_E2E_DIR)
7472

7573
.PHONY: watch
7674
watch: ## Watch for the filesystem and rebuild on every change
@@ -89,15 +87,12 @@ release: ## Release on Opam
8987
dune-release opam submit
9088

9189
.PHONY: nix-tests
92-
nix-tests:
93-
(cd $(TEST_E2E_DIR) && yarn --frozen-lockfile)
90+
nix-tests: yarn-install
9491
make test
9592

9693
.PHONY: nix-fmt
97-
nix-fmt:
98-
$(MAKE) yarn-install
94+
nix-fmt: yarn-install
9995
dune build @fmt --auto-promote
100-
cd $(TEST_E2E_DIR)
10196

10297
.PHONY: coverage-deps
10398
coverage-deps:

biome.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"$schema": "node_modules/@biomejs/biome/configuration_schema.json",
3+
"files": {
4+
"ignore": ["package.json"]
5+
},
6+
"formatter": {
7+
"enabled": true,
8+
"useEditorconfig": true
9+
},
10+
"linter": {
11+
"enabled": true,
12+
"rules": {
13+
"recommended": true
14+
}
15+
},
16+
"organizeImports": {
17+
"enabled": true
18+
},
19+
"overrides": [
20+
{
21+
"include": ["ocaml-lsp-server/test/e2e/**"],
22+
"linter": {
23+
"enabled": false
24+
}
25+
}
26+
],
27+
"vcs": {
28+
"clientKind": "git",
29+
"enabled": true,
30+
"useIgnoreFile": true
31+
}
32+
}

0 commit comments

Comments
 (0)