@swagger-api/apidom-parser-adapter-asyncapi-json-2 1.0.0-alpha.8 → 1.0.0-beta.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swagger-api/apidom-parser-adapter-asyncapi-json-2",
3
- "version": "1.0.0-alpha.8",
3
+ "version": "1.0.0-beta.0",
4
4
  "description": "Parser adapter for parsing JSON documents into AsyncAPI 2.x.y namespace.",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -9,29 +9,29 @@
9
9
  "type": "module",
10
10
  "sideEffects": false,
11
11
  "unpkg": "./dist/apidom-parser-apdater-asyncapi-json-2.browser.min.js",
12
- "main": "./cjs/adapter.cjs",
12
+ "main": "./src/adapter.cjs",
13
13
  "exports": {
14
14
  "types": "./types/dist.d.ts",
15
- "import": "./es/adapter.mjs",
16
- "require": "./cjs/adapter.cjs"
15
+ "import": "./src/adapter.mjs",
16
+ "require": "./src/adapter.cjs"
17
17
  },
18
18
  "types": "./types/dist.d.ts",
19
19
  "scripts": {
20
20
  "build": "npm run clean && run-p --max-parallel ${CPU_CORES:-2} typescript:declaration build:es build:cjs build:umd:browser",
21
- "build:es": "cross-env BABEL_ENV=es babel src --out-dir es --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward'",
22
- "build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir cjs --extensions '.ts' --out-file-extension '.cjs' --root-mode 'upward'",
21
+ "build:es": "cross-env BABEL_ENV=es babel src --out-dir src --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward'",
22
+ "build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir src --extensions '.ts' --out-file-extension '.cjs' --root-mode 'upward'",
23
23
  "build:umd:browser": "cross-env BABEL_ENV=browser webpack --config config/webpack/browser.config.js --progress",
24
24
  "lint": "eslint ./",
25
25
  "lint:fix": "eslint ./ --fix",
26
- "clean": "rimraf ./es ./cjs ./dist ./types",
27
- "typescript:check-types": "tsc --noEmit",
28
- "typescript:declaration": "tsc -p declaration.tsconfig.json && rollup -c config/rollup/types.dist.js",
29
- "test": "cross-env NODE_ENV=test BABEL_ENV=cjs mocha",
30
- "perf": "cross-env NODE_ENV=test BABEL_ENV=cjs node ./test/perf/index.cjs",
31
- "perf:lexical-analysis": "cross-env NODE_ENV=test BABEL_ENV=cjs node ./test/perf/lexical-analysis.cjs",
32
- "perf:syntactic-analysis": "cross-env NODE_ENV=test BABEL_ENV=cjs node ./test/perf/syntactic-analysis.cjs",
33
- "perf:refract": "cross-env NODE_ENV=test BABEL_ENV=cjs node ./test/perf/refract.cjs",
34
- "perf:parse": "cross-env NODE_ENV=test BABEL_ENV=cjs node ./test/perf/parse.cjs",
26
+ "clean": "rimraf --glob 'src/**/*.mjs' 'src/**/*.cjs' 'test/**/*.mjs' ./dist ./types",
27
+ "typescript:check-types": "tsc --noEmit && tsc -p ./test/tsconfig.json --noEmit",
28
+ "typescript:declaration": "tsc -p tsconfig.declaration.json && rollup -c config/rollup/types.dist.js",
29
+ "test": "npm run build:es && cross-env BABEL_ENV=es babel test --out-dir test --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward' && cross-env NODE_ENV=test mocha",
30
+ "perf": "cross-env BABEL_ENV=es babel ./test/perf/index.ts --out-file ./test/perf/index.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/index.mjs",
31
+ "perf:lexical-analysis": "cross-env BABEL_ENV=es babel ./test/perf/lexical-analysis.ts --out-file ./test/perf/lexical-analysis.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/lexical-analysis.mjs",
32
+ "perf:syntactic-analysis": "cross-env BABEL_ENV=es babel ./test/perf/syntactic-analysis.ts --out-file ./test/perf/syntactic-analysis.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/syntactic-analysis.mjs",
33
+ "perf:refract": "cross-env BABEL_ENV=es babel ./test/perf/refract.ts --out-file ./test/perf/refract.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/refract.mjs",
34
+ "perf:parse": "cross-env BABEL_ENV=es babel ./test/perf/parse.ts --out-file ./test/perf/parse.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/parse.mjs",
35
35
  "prepack": "copyfiles -u 3 ../../LICENSES/* LICENSES && copyfiles -u 2 ../../NOTICE .",
36
36
  "postpack": "rimraf NOTICE LICENSES"
37
37
  },
@@ -43,22 +43,22 @@
43
43
  "license": "Apache-2.0",
44
44
  "dependencies": {
45
45
  "@babel/runtime-corejs3": "^7.20.7",
46
- "@swagger-api/apidom-core": "^1.0.0-alpha.8",
47
- "@swagger-api/apidom-ns-asyncapi-2": "^1.0.0-alpha.8",
48
- "@swagger-api/apidom-parser-adapter-json": "^1.0.0-alpha.8",
46
+ "@swagger-api/apidom-core": "^1.0.0-beta.0",
47
+ "@swagger-api/apidom-ns-asyncapi-2": "^1.0.0-beta.0",
48
+ "@swagger-api/apidom-parser-adapter-json": "^1.0.0-beta.0",
49
49
  "@types/ramda": "~0.30.0",
50
50
  "ramda": "~0.30.0",
51
51
  "ramda-adjunct": "^5.0.0"
52
52
  },
53
53
  "files": [
54
- "cjs/",
54
+ "src/**/*.mjs",
55
+ "src/**/*.cjs",
55
56
  "dist/",
56
- "es/",
57
57
  "types/dist.d.ts",
58
58
  "LICENSES",
59
59
  "NOTICE",
60
60
  "README.md",
61
61
  "CHANGELOG.md"
62
62
  ],
63
- "gitHead": "525fb8dced08aeecac9e9ae57c0187f023c845da"
63
+ "gitHead": "ed1426743ba9d9d581146e617ec1762df670320c"
64
64
  }
File without changes
File without changes
File without changes
File without changes