@golemio/raw 1.2.0 → 1.2.1-dev.2635556840

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 "./input-gateway/index";
1
+ export * as InputGateway from "#ig/index";
package/dist/index.js CHANGED
@@ -15,15 +15,25 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.InputGateway = void 0;
27
37
  // Library exports
28
- exports.InputGateway = __importStar(require("./input-gateway/index"));
38
+ exports.InputGateway = __importStar(require("#ig/index"));
29
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,sEAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kBAAkB;AAClB,0DAA0C"}
@@ -1,4 +1,3 @@
1
- /// <reference types="express" />
2
1
  import { Router } from "@golemio/core/dist/shared/express";
3
2
  export declare class RawRouter {
4
3
  router: Router;
@@ -1 +1 @@
1
- {"version":3,"file":"RawRouter.js","sourceRoot":"","sources":["../../src/input-gateway/RawRouter.ts"],"names":[],"mappings":";;;AAAA,+DAA4F;AAC5F,oEAAsG;AACtG,MAAM,UAAU,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;AAE1C,MAAa,SAAS;IAIlB;QAHA,iDAAiD;QAC1C,WAAM,GAAW,IAAA,gBAAM,GAAE,CAAC;QAMjC;;WAEG;QACK,eAAU,GAAG,GAAS,EAAE;YAC5B,MAAM,eAAe,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC;YAE1C,IAAI,CAAC,MAAM,CAAC,IAAI,CACZ,iBAAiB,EACjB,eAAe,EACf,IAAA,0CAA0B,EAAC,MAAM,CAAC,IAAI,CAAC,sCAAsB,CAAC,CAAC,EAC/D,IAAI,CAAC,IAAI,CACZ,CAAC;QACN,CAAC,CAAC;QAEM,SAAI,GAAG,KAAK,EAAE,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAiB,EAAE;YACpF,IAAI;gBACA,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;aACvB;YAAC,OAAO,GAAG,EAAE;gBACV,IAAI,CAAC,GAAG,CAAC,CAAC;aACb;QACL,CAAC,CAAC;QAvBE,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;CAuBJ;AA7BD,8BA6BC;AAED,MAAM,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC,MAAM,CAAC;AAEhC,8BAAS"}
1
+ {"version":3,"file":"RawRouter.js","sourceRoot":"","sources":["../../src/input-gateway/RawRouter.ts"],"names":[],"mappings":";;;AAAA,+DAA4F;AAC5F,oEAAsG;AACtG,MAAM,UAAU,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;AAE1C,MAAa,SAAS;IAIlB;QAHA,iDAAiD;QAC1C,WAAM,GAAW,IAAA,gBAAM,GAAE,CAAC;QAMjC;;WAEG;QACK,eAAU,GAAG,GAAS,EAAE;YAC5B,MAAM,eAAe,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC;YAE1C,IAAI,CAAC,MAAM,CAAC,IAAI,CACZ,iBAAiB,EACjB,eAAe,EACf,IAAA,0CAA0B,EAAC,MAAM,CAAC,IAAI,CAAC,sCAAsB,CAAC,CAAC,EAC/D,IAAI,CAAC,IAAI,CACZ,CAAC;QACN,CAAC,CAAC;QAEM,SAAI,GAAG,KAAK,EAAE,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAiB,EAAE;YACpF,IAAI,CAAC;gBACD,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;YACxB,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACX,IAAI,CAAC,GAAG,CAAC,CAAC;YACd,CAAC;QACL,CAAC,CAAC;QAvBE,IAAI,CAAC,UAAU,EAAE,CAAC;IACtB,CAAC;CAuBJ;AA7BD,8BA6BC;AAED,MAAM,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC,MAAM,CAAC;AAEhC,8BAAS"}
package/package.json CHANGED
@@ -1,17 +1,27 @@
1
1
  {
2
2
  "name": "@golemio/raw",
3
- "version": "1.2.0",
3
+ "version": "1.2.1-dev.2635556840",
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
+ },
7
17
  "scripts": {
8
- "build": "rimraf ./dist && tspc -p ./tsconfig.build.json",
18
+ "build": "rimraf ./dist && tsc -p ./tsconfig.build.json",
9
19
  "build-minimal": "run-s 'build -- --sourceMap false --declaration false'",
10
20
  "build-watch": "run-s 'build -- --watch --preserveWatchOutput'",
11
21
  "prepare-db": "",
12
- "test": "cross-env NODE_ENV=test mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r tsconfig-paths/register --file 'test/setup.ts' 'test/**/*.test.ts'",
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'",
13
23
  "apidocs-test": "npm run apidocs-test-input",
14
- "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",
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",
15
25
  "test-debug": "run-s 'test -- --inspect-brk=9230'",
16
26
  "code-coverage": "nyc run-s 'test -- -r source-map-support/register'",
17
27
  "generate-docs": "typedoc --out docs/typedoc src",
@@ -35,8 +45,9 @@
35
45
  "@commitlint/cli": "^11.0.0",
36
46
  "@commitlint/config-conventional": "^11.0.0",
37
47
  "@golemio/cli": "1.11.2",
38
- "@golemio/core": "3.1.1",
48
+ "@golemio/core": "3.2.2-dev.2622707631",
39
49
  "@golemio/eslint-config": "1.1.4",
50
+ "@swc/core": "^1.15.33",
40
51
  "@types/body-parser": "^1.19.6",
41
52
  "@types/chai": "^5.2.3",
42
53
  "@types/chai-as-promised": "^8.0.2",
@@ -59,12 +70,9 @@
59
70
  "sinon": "^21.0.1",
60
71
  "source-map-support": "0.5.21",
61
72
  "supertest": "^7.1.4",
62
- "ts-node": "^10.9.1",
63
- "ts-patch": "3.0.0-beta3",
64
- "tsconfig-paths": "^4.2.0",
73
+ "tsx": "^4.20.6",
65
74
  "typedoc": "^0.24.8",
66
- "typescript": "5.1.3",
67
- "typescript-transform-paths": "^3.4.6"
75
+ "typescript": "6.0.3"
68
76
  },
69
77
  "peerDependencies": {
70
78
  "@golemio/core": ">=1.7.0"