Skip to content

Commit

Permalink
chore(npm): bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcrea committed Mar 20, 2023
1 parent 4a98ac3 commit f679e60
Show file tree
Hide file tree
Showing 8 changed files with 232 additions and 198 deletions.
6 changes: 2 additions & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"parser": "@typescript-eslint/parser",
"extends": ["plugin:@typescript-eslint/recommended", "prettier"],
"plugins": ["@typescript-eslint", "prettier"],
"ignorePatterns": ["node_modules/*"]
"root": true,
"extends": ["@mgcrea/node"]
}
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['lts/-1', 'lts/*']
node: ["lts/-1", "lts/*"]
name: Test on node@v${{ matrix.node }}
steps:
- name: Checkout 🛎️
Expand All @@ -26,7 +26,7 @@ jobs:
with:
node-version: ${{ matrix.node }}
check-latest: true
cache: 'pnpm'
cache: "pnpm"
- name: Install 🪄
run: pnpm install --frozen-lockfile
- name: Lint 🔍
Expand All @@ -35,11 +35,13 @@ jobs:
run: pnpm run prettycheck
- name: TypeScript 🔍
run: pnpm run typecheck
- name: Vitest 🔍
run: pnpm run spec
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['lts/-1', 'lts/*']
node: ["lts/-1", "lts/*"]
name: Build on node@v${{ matrix.node }}
steps:
- name: Checkout 🛎️
Expand All @@ -53,7 +55,7 @@ jobs:
with:
node-version: ${{ matrix.node }}
check-latest: true
cache: 'pnpm'
cache: "pnpm"
- name: Install 🪄
run: pnpm install --frozen-lockfile
- name: Build 💎
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.DS_Store
data/
dist/
lib/
node_modules/
.vscode/
.idea/
*.tsbuildinfo
.env
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ Fast sodium-based crypto for [@mgcrea/fastify-session](https://github.com/mgcrea

- Support both encrypted stateless sessions and signed stateful session with an external store.
- Relies on [sodium-native](https://github.com/sodium-friends/sodium-native) to perform crypto.
- Built with [TypeScript](https://www.typescriptlang.org/) for static type checking with exported types along the
library.
- Built with [TypeScript](https://www.typescriptlang.org/) for static type checking with exported types along the library.

## Usage

Expand Down Expand Up @@ -155,7 +154,7 @@ Heavily inspired from
```txt
The MIT License
Copyright (c) 2020 Olivier Louvignes <olivier@mgcrea.io>
Copyright (c) 2023 Olivier Louvignes <olivier@mgcrea.io>
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
25 changes: 10 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"author": "Olivier Louvignes <olivier@mgcrea.io>",
"repository": "github:mgcrea/fastify-session-sodium-crypto",
"license": "MIT",
"access": "public",
"type": "module",
"exports": {
".": {
Expand Down Expand Up @@ -49,24 +48,20 @@
"@mgcrea/fastify-session": "^1.0.0"
},
"devDependencies": {
"@mgcrea/fastify-session": "^1.0.1",
"@mgcrea/eslint-config-node": "^0.2.3",
"@mgcrea/fastify-session": "^1.1.0",
"@tsconfig/node-lts-strictest-esm": "^18.12.1",
"@types/benchmark": "^2.1.2",
"@types/node": "^18.13.0",
"@types/node": "^18.15.3",
"@types/sodium-native": "^2.3.5",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"benchmark": "^2.1.4",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.4",
"eslint": "^8.36.0",
"prettier": "^2.8.5",
"prettier-plugin-organize-imports": "^3.2.2",
"shebang-trim": "^1.1.0",
"tsup": "^6.6.3",
"tsx": "^3.12.3",
"typescript": "^4.9.5",
"vitest": "^0.28.5"
"shebang-trim": "^1.2.0",
"tsup": "^6.7.0",
"tsx": "^3.12.5",
"typescript": "^5.0.2",
"vitest": "^0.29.3"
}
}
Loading

0 comments on commit f679e60

Please sign in to comment.