Skip to content

Commit

Permalink
use @chubbyts/chubbyts-packaging v2
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikzogg committed Jul 26, 2023
1 parent bf7ecbc commit 20a7f8f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ A CORS middleware for @chubbyts/chubbyts-http-types.
## Requirements

* node: 16
* [@chubbyts/chubbyts-http-types][2]: ^1.2.2
* [@chubbyts/chubbyts-http-types][2]: ^1.2.3

## Installation

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

```ts
npm i @chubbyts/chubbyts-cors@^1.2.0
npm i @chubbyts/chubbyts-cors@^1.2.1
```

## Usage
Expand Down
1 change: 1 addition & 0 deletions build.js
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@chubbyts/chubbyts-cors",
"type": "module",
"version": "1.2.0",
"version": "1.2.1",
"description": "A CORS middleware for @chubbyts/chubbyts-http-types.",
"keywords": [],
"author": "Dominik Zogg",
"license": "MIT",
"repository": "chubbyts/chubbyts-cors",
"scripts": {
"build": "rm -rf ./dist && tsc -b ./tsconfig.types.json ./tsconfig.esm.json ./tsconfig.cjs.json && node ./rename-commonjs.js",
"build": "node ./build.js",
"cs-fix": "prettier --write src tests",
"cs": "prettier --check src tests",
"infection": "stryker run",
Expand Down Expand Up @@ -42,20 +42,20 @@
"./*": {
"types": "./*.d.ts",
"require": "./*.cjs",
"import": "./*.js",
"default": "./*.js"
"import": "./*.mjs",
"default": "./*.mjs"
}
},
"engines": {
"node": ">=16"
},
"dependencies": {
"@chubbyts/chubbyts-http-types": "^1.2.2"
"@chubbyts/chubbyts-http-types": "^1.2.3"
},
"devDependencies": {
"@chubbyts/chubbyts-eslint": "^2.0.2",
"@chubbyts/chubbyts-function-mock": "^1.4.0",
"@chubbyts/chubbyts-packaging": "^1.0.3",
"@chubbyts/chubbyts-eslint": "^2.0.3",
"@chubbyts/chubbyts-function-mock": "^1.4.1",
"@chubbyts/chubbyts-packaging": "^2.0.4",
"@stryker-mutator/core": "^7.1.1",
"@stryker-mutator/jest-runner": "^7.1.1",
"@types/jest": "^29.5.3",
Expand Down
1 change: 0 additions & 1 deletion rename-commonjs.js

This file was deleted.

0 comments on commit 20a7f8f

Please sign in to comment.