Skip to content

Commit

Permalink
version 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikzogg committed Jan 3, 2025
1 parent b5820f2 commit 028e31e
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 44 deletions.
9 changes: 0 additions & 9 deletions .eslintrc.cjs

This file was deleted.

26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,40 +9,40 @@ on:
- cron: '0 0 * * *'

jobs:
node16:
name: Node 16
runs-on: ubuntu-22.04
node18:
name: Node 18
runs-on: ubuntu-24.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: checkout node
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '18'
- run: npm install
- run: npm test -- --run --no-cache
node18:
name: Node 18
runs-on: ubuntu-22.04
node20:
name: Node 20
runs-on: ubuntu-24.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: checkout node
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
- run: npm install
- run: npm test -- --run --no-cache
node20:
name: Node 20
runs-on: ubuntu-22.04
node22:
name: Node 22
runs-on: ubuntu-24.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: checkout node
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
- run: npm install
- run: npm run lint
- run: npm run cs
Expand All @@ -55,7 +55,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: sonarcloud.io
uses: sonarsource/sonarcloud-github-action@master
uses: sonarsource/sonarqube-scan-action@v4.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2024 Dominik Zogg
Copyright (c) 2025 Dominik Zogg

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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ A simple negotiation library.

## Requirements

* node: 16
* node: 18

## Installation

Through [NPM](https://www.npmjs.com) as [@chubbyts/chubbyts-negotiation][1].

```ts
npm i @chubbyts/chubbyts-negotiation@^3.2.2
npm i @chubbyts/chubbyts-negotiation@^3.3.0
```

## Usage
Expand Down Expand Up @@ -64,6 +64,6 @@ const value = negotiator.negotiate('application/xml; charset=UTF-8');

## Copyright

2024 Dominik Zogg
2025 Dominik Zogg

[1]: https://www.npmjs.com/package/@chubbyts/chubbyts-negotiation
1 change: 0 additions & 1 deletion build.js

This file was deleted.

1 change: 1 addition & 0 deletions build.mjs
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '@chubbyts/chubbyts-eslint/dist/eslint.config';
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@chubbyts/chubbyts-negotiation",
"type": "module",
"version": "3.2.2",
"version": "3.3.0",
"description": "A simple negotiation library.",
"keywords": [
"chubbyts",
Expand All @@ -14,11 +14,11 @@
"license": "MIT",
"repository": "chubbyts/chubbyts-negotiation",
"scripts": {
"build": "node ./build.js",
"build": "node ./build.mjs",
"cs-fix": "prettier --write src tests",
"cs": "prettier --check src tests",
"infection": "stryker run",
"lint-fix": "eslint src tests --fix",
"lint-fix": "eslint src tests eslint.config.mjs vitest.config.ts --fix",
"lint": "eslint src tests",
"prepare": "npm run build",
"test": "vitest"
Expand All @@ -41,19 +41,19 @@
}
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"dependencies": {},
"devDependencies": {
"@chubbyts/chubbyts-eslint": "^2.0.7",
"@chubbyts/chubbyts-packaging": "^2.0.7",
"@stryker-mutator/core": "^8.2.6",
"@stryker-mutator/vitest-runner": "^8.2.6",
"@types/node": "^20.14.2",
"@vitest/coverage-v8": "^1.6.0",
"prettier": "^3.3.2",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
"@chubbyts/chubbyts-eslint": "^3.0.1",
"@chubbyts/chubbyts-packaging": "^3.0.0",
"@stryker-mutator/core": "^8.7.1",
"@stryker-mutator/vitest-runner": "^8.7.1",
"@types/node": "^22.10.5",
"@vitest/coverage-v8": "^2.1.8",
"prettier": "^3.4.2",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"publishConfig": {
"access": "public"
Expand Down
1 change: 0 additions & 1 deletion tsconfig.cjs.json

This file was deleted.

4 changes: 3 additions & 1 deletion tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"extends": "./tsconfig.json",
"include": [
"eslint.config.mjs",
"vitest.config.ts",
"src",
"tests"
],
]
}
1 change: 0 additions & 1 deletion tsconfig.esm.json

This file was deleted.

1 change: 0 additions & 1 deletion tsconfig.types.json

This file was deleted.

0 comments on commit 028e31e

Please sign in to comment.