Skip to content

Commit

Permalink
build: use vitest instead of jest (#180)
Browse files Browse the repository at this point in the history
* build: use vitest

* test: add coverage
  • Loading branch information
jpoehnelt committed Dec 20, 2022
1 parent 16d6546 commit 2831e9e
Show file tree
Hide file tree
Showing 16 changed files with 4,344 additions and 23,702 deletions.
5 changes: 2 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"plugins": ["jest", "prettier", "@typescript-eslint"],
"plugins": ["prettier", "@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 9,
Expand All @@ -13,7 +13,6 @@
},
"env": {
"node": true,
"es6": true,
"jest/globals": true
"es6": true
}
}
21 changes: 0 additions & 21 deletions __tests__/index.test.ts

This file was deleted.

122 changes: 0 additions & 122 deletions dist/index.d.ts

This file was deleted.

160 changes: 0 additions & 160 deletions dist/index.js

This file was deleted.

10 changes: 5 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#### Defined in

[index.ts:25](https://github.com/google/semantic-release-replace-plugin/blob/1579d05/src/index.ts#L25)
[index.ts:26](https://github.com/google/semantic-release-replace-plugin/blob/16d6546/src/index.ts#L26)

___

Expand All @@ -53,7 +53,7 @@ ___

#### Defined in

[index.ts:26](https://github.com/google/semantic-release-replace-plugin/blob/1579d05/src/index.ts#L26)
[index.ts:27](https://github.com/google/semantic-release-replace-plugin/blob/16d6546/src/index.ts#L27)

___

Expand All @@ -63,7 +63,7 @@ ___

#### Defined in

[index.ts:27](https://github.com/google/semantic-release-replace-plugin/blob/1579d05/src/index.ts#L27)
[index.ts:31](https://github.com/google/semantic-release-replace-plugin/blob/16d6546/src/index.ts#L31)

___

Expand All @@ -88,7 +88,7 @@ ___

#### Defined in

[index.ts:28](https://github.com/google/semantic-release-replace-plugin/blob/1579d05/src/index.ts#L28)
[index.ts:32](https://github.com/google/semantic-release-replace-plugin/blob/16d6546/src/index.ts#L32)

## Functions

Expand All @@ -109,4 +109,4 @@ ___

#### Defined in

[index.ts:161](https://github.com/google/semantic-release-replace-plugin/blob/1579d05/src/index.ts#L161)
[index.ts:163](https://github.com/google/semantic-release-replace-plugin/blob/16d6546/src/index.ts#L163)
2 changes: 1 addition & 1 deletion docs/interfaces/PluginConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ An array of replacements to be made.

#### Defined in

[index.ts:128](https://github.com/google/semantic-release-replace-plugin/blob/1579d05/src/index.ts#L128)
[index.ts:132](https://github.com/google/semantic-release-replace-plugin/blob/16d6546/src/index.ts#L132)

0 comments on commit 2831e9e

Please sign in to comment.