@asyncapi/cli 0.58.0 → 0.58.2

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.58.0",
2
+ "version": "0.58.2",
3
3
  "commands": {
4
4
  "bundle": {
5
5
  "id": "bundle",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@asyncapi/cli",
3
3
  "description": "All in one CLI for all AsyncAPI tools",
4
- "version": "0.58.0",
4
+ "version": "0.58.2",
5
5
  "author": "@asyncapi",
6
6
  "bin": {
7
7
  "asyncapi": "./bin/run"
@@ -12,7 +12,7 @@
12
12
  "@asyncapi/bundler": "^0.3.8",
13
13
  "@asyncapi/converter": "^1.3.1",
14
14
  "@asyncapi/diff": "^0.4.1",
15
- "@asyncapi/generator": "^1.12.0",
15
+ "@asyncapi/generator": "^1.13.0",
16
16
  "@asyncapi/modelina": "^1.9.0",
17
17
  "@asyncapi/openapi-schema-parser": "^3.0.3",
18
18
  "@asyncapi/optimizer": "^0.2.1",
@@ -47,16 +47,14 @@
47
47
  "devDependencies": {
48
48
  "@asyncapi/minimaltemplate": "./test/fixtures/minimaltemplate",
49
49
  "@babel/core": "^7.19.3",
50
- "@jest/types": "^29.1.0",
51
50
  "@oclif/test": "^2",
52
51
  "@swc/core": "^1.3.2",
53
- "@swc/jest": "^0.2.22",
54
- "@types/chai": "^4.3.3",
52
+ "@types/chai": "^4.3.6",
55
53
  "@types/fs-extra": "^11.0.1",
56
54
  "@types/inquirer": "^8.1.3",
57
- "@types/jest": "^29.0.3",
58
55
  "@types/js-yaml": "^4.0.5",
59
56
  "@types/lodash.template": "^4.4.4",
57
+ "@types/mocha": "^10.0.2",
60
58
  "@types/node": "^10.17.60",
61
59
  "@types/node-fetch": "^2.5.12",
62
60
  "@types/rimraf": "^3.0.2",
@@ -76,8 +74,9 @@
76
74
  "eslint-plugin-security": "^1.4.0",
77
75
  "eslint-plugin-sonarjs": "^0.15.0",
78
76
  "globby": "^10.0.2",
79
- "jest": "^29.1.0",
80
77
  "markdown-toc": "^1.2.0",
78
+ "mocha": "^10.2.0",
79
+ "nyc": "^15.1.0",
81
80
  "react": "^16.14.0",
82
81
  "react-dom": "^16.14.0",
83
82
  "rimraf": "^3.0.2",
@@ -147,11 +146,12 @@
147
146
  "pack:windows": "oclif pack win && npm run pack:rename",
148
147
  "pack:rename": "node scripts/releasePackagesRename.js",
149
148
  "prepublishOnly": "npm run build",
149
+ "pretest": "npm run build",
150
150
  "pretest:coverage": "npm run build",
151
+ "posttest": "rimraf ./test.asyncapi-cli",
151
152
  "release": "semantic-release",
152
- "pretest": "npm run build",
153
153
  "test": "npm run test:unit",
154
- "test:unit": "cross-env NODE_ENV=development TEST=1 CUSTOM_CONTEXT_FILENAME=\"test.asyncapi-cli\" CUSTOM_CONTEXT_FILE_LOCATION=\"\" jest --coverage -i",
154
+ "test:unit": "cross-env NODE_ENV=development TEST=1 CUSTOM_CONTEXT_FILENAME=\"test.asyncapi-cli\" CUSTOM_CONTEXT_FILE_LOCATION=\"\" nyc --extension .ts mocha --require ts-node/register --require test/helpers/init.js --reporter spec --timeout 100000 \"test/**/*.test.ts\"",
155
155
  "get-version": "echo $npm_package_version"
156
156
  },
157
157
  "types": "lib/index.d.ts"