counterfact 0.20.5 → 0.20.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintrc.cjs CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  const rules = {
4
+ "n/shebang": "off",
4
5
  "putout/putout": "off",
5
6
  "import/prefer-default-export": "off",
6
7
  "@typescript-eslint/naming-convention": "off",
@@ -23,6 +23,6 @@ jobs:
23
23
  yarn test --forceExit
24
24
 
25
25
  - name: Coveralls
26
- uses: coverallsapp/github-action@v2.2.0
26
+ uses: coverallsapp/github-action@v2.2.1
27
27
  with:
28
28
  github-token: ${{ secrets.GITHUB_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # counterfact
2
2
 
3
+ ## 0.20.6
4
+
5
+ ### Patch Changes
6
+
7
+ - d975833: fix an issue where ts-node was not being used, which basically broke everything
8
+
3
9
  ## 0.20.5
4
10
 
5
11
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env ts-node
2
2
 
3
3
  import nodePath from "node:path";
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "counterfact",
3
- "version": "0.20.5",
3
+ "version": "0.20.6",
4
4
  "description": "a library for building a fake REST API for testing",
5
5
  "type": "module",
6
6
  "main": "./src/server/counterfact.js",
@@ -33,17 +33,17 @@
33
33
  "go:petstore": "yarn counterfact https://petstore3.swagger.io/api/v3/openapi.json out",
34
34
  "go:petstore2": "yarn counterfact https://petstore.swagger.io/v2/swagger.json out",
35
35
  "go:example": "yarn counterfact ./openapi-example.yaml out --open",
36
- "counterfact": "ts-node --esm --transpileOnly ./bin/counterfact.js"
36
+ "counterfact": "./bin/counterfact.js"
37
37
  },
38
38
  "devDependencies": {
39
- "@changesets/cli": "2.26.1",
40
- "@stryker-mutator/core": "7.0.2",
41
- "@stryker-mutator/jest-runner": "7.0.2",
39
+ "@changesets/cli": "2.26.2",
40
+ "@stryker-mutator/core": "7.1.1",
41
+ "@stryker-mutator/jest-runner": "7.1.1",
42
42
  "@testing-library/dom": "^9.3.0",
43
- "@types/koa": "2.13.6",
43
+ "@types/koa": "2.13.8",
44
44
  "@types/koa-static": "^4.0.2",
45
- "eslint": "8.42.0",
46
- "eslint-config-hardcore": "36.3.2",
45
+ "eslint": "8.46.0",
46
+ "eslint-config-hardcore": "36.4.0",
47
47
  "eslint-formatter-github-annotations": "0.1.0",
48
48
  "eslint-import-resolver-typescript": "^3.2.5",
49
49
  "eslint-plugin-etc": "^2.0.2",
@@ -52,11 +52,11 @@
52
52
  "eslint-plugin-jest": "^27.0.1",
53
53
  "eslint-plugin-jest-dom": "^5.0.1",
54
54
  "eslint-plugin-no-explicit-type-exports": "^0.12.1",
55
- "eslint-plugin-unused-imports": "^2.0.0",
55
+ "eslint-plugin-unused-imports": "^3.0.0",
56
56
  "husky": "8.0.3",
57
57
  "jest": "28.1.2",
58
58
  "node-mocks-http": "^1.12.2",
59
- "nodemon": "2.0.22",
59
+ "nodemon": "3.0.1",
60
60
  "stryker-cli": "1.0.2",
61
61
  "supertest": "6.3.3"
62
62
  },
@@ -64,7 +64,7 @@
64
64
  "@hapi/accept": "^6.0.0",
65
65
  "@types/json-schema": "^7.0.11",
66
66
  "chokidar": "^3.5.3",
67
- "commander": "^10.0.0",
67
+ "commander": "^11.0.0",
68
68
  "fetch": "^1.1.0",
69
69
  "fs-extra": "^11.0.0",
70
70
  "handlebars": "^4.7.7",