Skip to content

Commit

Permalink
chore: upgraded versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shairez committed Mar 1, 2023
1 parent 938b999 commit eb0a387
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 19 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm run format:fix
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.13.0
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ git checkout -b my-fix-branch master

### ✅ 4. Make sure you add / modify tests

Run `yarn test:full` to make sure there aren't any errors
Run `pnpm test:full` to make sure there aren't any errors

.

Expand All @@ -63,7 +63,7 @@ Run `yarn test:full` to make sure there aren't any errors
Instead of `git commit` use the following command:

```shell
yarn commit
pnpm commit
```

It will then ask you a bunch of questions.
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"lint:commitmsg": "commitlint -E HUSKY_GIT_PARAMS",
"test": "lerna run test",
"test:full": "run-s lint:fix test",
"postinstall": "lerna bootstrap"
"postinstall": "lerna bootstrap",
"prepare": "husky install"
},
"workspaces": [
"packages/*"
Expand All @@ -32,8 +33,8 @@
},
"husky": {
"hooks": {
"pre-commit": "yarn format:fix",
"commit-msg": "yarn lint:commitmsg"
"pre-commit": "pnpm format:fix",
"commit-msg": "pnpm lint:commitmsg"
}
},
"keywords": [
Expand All @@ -56,12 +57,12 @@
"@typescript-eslint/parser": "^5.8.1",
"all-contributors-cli": "6.19.0",
"awesome-typescript-loader": "^5.2.1",
"commitizen": "4.2.0",
"cz-conventional-changelog": "3.2.1",
"commitizen": "4.3.0",
"cz-conventional-changelog": "3.3.0",
"doctoc": "1.4.0",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0",
"husky": "4.2.5",
"husky": "8.0.3",
"istanbul-instrumenter-loader": "3.0.1",
"karma": "^6.3.9",
"karma-chrome-launcher": "3.1.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/auto-spies-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
"devDependencies": {
"@hirez_io/jest-given": "1.0.3",
"@types/deep-equal": "1.0.1",
"@types/jest": "27.4.0",
"@types/node": "17.0.5",
"jest": "27.4.5",
"@types/jest": "29.4.0",
"@types/node": "18.14.2",
"jest": "29.4.3",
"npm-run-all": "4.1.5",
"prettier": "2.5.1",
"rimraf": "3.0.2",
"rxjs": "^7.5.1",
"ts-jest": "27.1.2",
"ts-jest": "29.0.5",
"ts-node": "^10.4.0",
"typescript": "^4.5.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/jasmine-auto-spies/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Easy and type safe way to write spies for jasmine tests, for both sync and async
## Installation

```console
yarn add -D jasmine-auto-spies
pnpm add -D jasmine-auto-spies
```

or
Expand Down
2 changes: 1 addition & 1 deletion packages/jasmine-auto-spies/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@types/jasmine": "^3.10.2",
"@types/node": "17.0.5",
"@types/node": "18.14.2",
"jasmine-core": "4.0.1",
"rimraf": "3.0.2",
"rxjs": "^7.5.1",
Expand Down
7 changes: 3 additions & 4 deletions packages/jest-auto-spies/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Easy and type safe way to write spies for jest tests, for both sync and async (p
## Installation

```console
yarn add -D jest-auto-spies
pnpm add -D jest-auto-spies
```

or
Expand Down Expand Up @@ -608,9 +608,8 @@ function getResultsObservable(): Observable<number> {
// TEST:

it('should ...', () => {
const functionSpy = createFunctionSpy<typeof getResultsObservable>(
'getResultsObservable'
);
const functionSpy =
createFunctionSpy<typeof getResultsObservable>('getResultsObservable');

functionSpy.nextWith(4);

Expand Down
2 changes: 1 addition & 1 deletion packages/jest-auto-spies/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"devDependencies": {
"@types/jest": "29.4.0",
"@types/node": "17.0.5",
"@types/node": "18.14.2",
"jest": "29.4.3",
"rxjs": "^7.5.1",
"ts-jest": "29.0.5",
Expand Down

0 comments on commit eb0a387

Please sign in to comment.