@golemio/raw 1.2.1-dev.2635556840 → 1.2.1-dev.2647637760

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/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * as InputGateway from "#ig/index";
1
+ export * as InputGateway from "./input-gateway/index";
package/dist/index.js CHANGED
@@ -35,5 +35,5 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.InputGateway = void 0;
37
37
  // Library exports
38
- exports.InputGateway = __importStar(require("#ig/index"));
38
+ exports.InputGateway = __importStar(require("./input-gateway/index"));
39
39
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kBAAkB;AAClB,0DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kBAAkB;AAClB,sEAA0C"}
package/package.json CHANGED
@@ -1,29 +1,22 @@
1
1
  {
2
2
  "name": "@golemio/raw",
3
- "version": "1.2.1-dev.2635556840",
3
+ "version": "1.2.1-dev.2647637760",
4
4
  "description": "Golemio Raw Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
- "imports": {
8
- "#ig": {
9
- "development": "./src/input-gateway/index.ts",
10
- "default": "./dist/input-gateway/index.js"
11
- },
12
- "#ig/*": {
13
- "development": "./src/input-gateway/*.ts",
14
- "default": "./dist/input-gateway/*.js"
15
- }
16
- },
17
7
  "scripts": {
18
- "build": "rimraf ./dist && tsc -p ./tsconfig.build.json",
8
+ "build": "rimraf ./dist && tspc -p ./tsconfig.build.json",
19
9
  "build-minimal": "run-s 'build -- --sourceMap false --declaration false'",
20
10
  "build-watch": "run-s 'build -- --watch --preserveWatchOutput'",
21
11
  "prepare-db": "",
22
- "test": "cross-env NODE_ENV=test NODE_OPTIONS=\"--conditions=development --import=tsx\" mocha --exit --check-leaks --timeout 120000 -r dotenv/config --file 'test/setup.ts' 'test/**/*.test.ts'",
12
+ "typecheck": "tsc --noEmit -p tsconfig.json",
13
+ "test:only": "cross-env NODE_ENV=test mocha --exit --check-leaks --timeout 120000 -r @swc-node/register --file 'test/setup.ts' 'test/**/*.test.ts'",
14
+ "test": "run-s prepare-db typecheck test:only",
23
15
  "apidocs-test": "npm run apidocs-test-input",
24
- "apidocs-test-input": "cross-env NODE_ENV=test NODE_OPTIONS=\"--conditions=development --import=tsx\" golemio swagger api-test --oas docs/openapi-input.yaml --script test/api-docs/input-gateway/server.js",
25
- "test-debug": "run-s 'test -- --inspect-brk=9230'",
26
- "code-coverage": "nyc run-s 'test -- -r source-map-support/register'",
16
+ "apidocs-test-input": "cross-env NODE_ENV=test golemio swagger api-test --oas docs/openapi-input.yaml --script test/api-docs/input-gateway/server.js",
17
+ "test-debug": "run-s 'test:only -- --inspect-brk=9230'",
18
+ "coverage:only": "nyc run-s 'test:only -- -r source-map-support/register'",
19
+ "code-coverage": "run-s prepare-db typecheck coverage:only",
27
20
  "generate-docs": "typedoc --out docs/typedoc src",
28
21
  "lint": "eslint \"{src,test}/**/*.ts\""
29
22
  },
@@ -45,8 +38,9 @@
45
38
  "@commitlint/cli": "^11.0.0",
46
39
  "@commitlint/config-conventional": "^11.0.0",
47
40
  "@golemio/cli": "1.11.2",
48
- "@golemio/core": "3.2.2-dev.2622707631",
41
+ "@golemio/core": "4.0.0-dev.2647379566",
49
42
  "@golemio/eslint-config": "1.1.4",
43
+ "@swc-node/register": "^1.11.1",
50
44
  "@swc/core": "^1.15.33",
51
45
  "@types/body-parser": "^1.19.6",
52
46
  "@types/chai": "^5.2.3",
@@ -70,12 +64,13 @@
70
64
  "sinon": "^21.0.1",
71
65
  "source-map-support": "0.5.21",
72
66
  "supertest": "^7.1.4",
73
- "tsx": "^4.20.6",
74
- "typedoc": "^0.24.8",
75
- "typescript": "6.0.3"
67
+ "ts-patch": "^4.0.1",
68
+ "typedoc": "^0.28.19",
69
+ "typescript": "6.0.3",
70
+ "typescript-transform-paths": "^4.0.0"
76
71
  },
77
72
  "peerDependencies": {
78
- "@golemio/core": ">=1.7.0"
73
+ "@golemio/core": ">=4.0.0"
79
74
  },
80
75
  "dependencies": {
81
76
  "body-parser": "^2.2.1"