Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sineverba committed Jan 7, 2023
1 parent 68b93c5 commit 4d45169
Show file tree
Hide file tree
Showing 9 changed files with 3,333 additions and 2,205 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v17.4.0
v18.13.0
2 changes: 1 addition & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ blocks:
- name: Test
matrix:
- env_var: NODE_VERSION
values: [ "10", "12", "14", "16" ]
values: [ "10", "12", "14", "16", "18" ]
commands:
- sem-version node $NODE_VERSION
- npm run test
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Next version
+ Refactor Semaphore
+ Upgrade dependencies

## 1.1.1
+ Fix unable to publish
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License

Copyright (c) 2020-2022 sineverba
Copyright (c) 2020-2023 sineverba

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
sonar-all:
docker-compose start sonarscanner && docker-compose logs -f sonarscanner

sonar:
docker-compose --profile scanner-only up
docker-compose up sonarscanner

upgrade:
npx ncu -u
Expand Down
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,3 @@ console.log(shorted); // returns This...
`npm run test` for simple test

`npm run cover` for coverage

### SonarQube (local Docker)
+ Copy `.env.bak` in `.env`
+ Spin images `docker-compose up -d`
+ Create a new project inside Sonarqube and grab the token
+ Replace the token in the ENV var of `docker-compose.yml` file
+ Replace the URL in the ENV var of `docker-compose.yml` file (optional, only if you change docker-compose or use your own Sonarqube)
+ Stop with `docker-compose stop` and restart with `docker-compose up -d`
+ Next spin with `make sonar`
19 changes: 2 additions & 17 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
version: "3.8"
services:
sonarqube:
profiles: ["all"]
image: sonarqube:9.2.4-community
container_name: npm-pkg-shortfield-sonarqube
volumes:
- ./data/sonarqube_conf:/opt/sonarqube/conf
- ./data/sonarqube_data:/opt/sonarqube/data
- ./data/sonarqube_extensions:/opt/sonarqube/extensions
- ./data/sonarqube_bundled-plugins:/opt/sonarqube/lib/bundled-plugins
ports:
- "9000:9000"
networks:
- npm-pkg-shortfield

sonarscanner:
profiles: ["scanner-only", "all"]
image: sonarsource/sonar-scanner-cli:4.6
sonarscanner:
image: sonarsource/sonar-scanner-cli:4.8.0
container_name: npm-pkg-shortfield-sonarscanner
volumes:
- ./:/usr/src
Expand Down

0 comments on commit 4d45169

Please sign in to comment.