Skip to content

Commit

Permalink
feat: upgrade packages
Browse files Browse the repository at this point in the history
Upgrades all packages.

closes #148
  • Loading branch information
janhesters committed Jan 13, 2023
1 parent caa9d3f commit c464349
Show file tree
Hide file tree
Showing 5 changed files with 2,927 additions and 3,486 deletions.
4 changes: 1 addition & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
"plugin:import/warnings",
"plugin:prettier/recommended",
"plugin:unicorn/recommended",
"prettier",
"prettier/unicorn",
"prettier/@typescript-eslint"
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
Expand Down
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line unicorn/prefer-module
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
Expand Down
52 changes: 28 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,36 @@
"url": "https://janhesters.com"
},
"dependencies": {
"@types/ramda": "0.27.38",
"ramda": "0.27.1"
"@types/ramda": "0.28.20",
"ramda": "0.28.0"
},
"description": "A simple mock function to mock functions.",
"devDependencies": {
"@commitlint/cli": "12.0.1",
"@commitlint/config-conventional": "11.0.0",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.0",
"@typescript-eslint/eslint-plugin": "4.16.1",
"@typescript-eslint/parser": "4.16.1",
"eslint": "7.20.0",
"eslint-config-prettier": "7.1.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-simple-import-sort": "7.0.0",
"eslint-plugin-unicorn": "28.0.2",
"husky": "4.3.8",
"lint-staged": "10.5.4",
"prettier": "2.2.1",
"riteway": "6.2.1",
"semantic-release": "17.4.1",
"@commitlint/cli": "17.4.2",
"@commitlint/config-conventional": "17.4.2",
"@semantic-release/changelog": "6.0.2",
"@semantic-release/git": "10.0.1",
"@typescript-eslint/eslint-plugin": "5.48.1",
"@typescript-eslint/parser": "5.48.1",
"eslint": "8.31.0",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-import": "2.27.4",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-simple-import-sort": "8.0.0",
"eslint-plugin-unicorn": "45.0.2",
"husky": "8.0.3",
"lint-staged": "13.1.0",
"prettier": "2.8.2",
"riteway": "7.0.0",
"semantic-release": "19.0.5",
"tap-nirvana": "1.1.0",
"ts-node": "9.1.1",
"typescript": "4.2.3",
"ts-node": "10.9.1",
"typescript": "4.9.4",
"watch": "1.0.2"
},
"engines": {
"node": ">=16"
},
"files": [
"dist/**/*"
],
Expand All @@ -40,13 +43,13 @@
"pre-commit": "lint-staged && yarn type-check"
}
},
"license": "MIT",
"lint-staged": {
"*.@(ts|tsx)": [
"yarn lint",
"yarn format"
]
},
"license": "MIT",
"main": "dist/index.js",
"name": "mock-function",
"private": false,
Expand Down Expand Up @@ -75,11 +78,12 @@
"build": "tsc",
"format": "prettier --write .",
"lint": "eslint --cache . --ext ts --ext tsx --ext js",
"semantic-release": "semantic-release",
"test": "NODE_ENV=test riteway -r ts-node/register/transpile-only 'src/**/*.test.ts' | tap-nirvana",
"type-check": "tsc --pretty --noEmit",
"semantic-release": "semantic-release",
"watch": "watch 'clear && yarn test' src"
},
"sideEffects": false,
"types": "dist/index.d.ts",
"version": "2.1.0"
}
}
4 changes: 1 addition & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
import mockFunction from './mock-function';

export default mockFunction;
export { default } from './mock-function';
Loading

0 comments on commit c464349

Please sign in to comment.