@mfdj/tsc-as-build-tool 2.9.0 → 2.10.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/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist-cjs/index.d.ts +4 -0
- package/dist-cjs/index.d.ts.map +1 -1
- package/dist-cjs/index.js +7 -1
- package/dist-cjs/index.js.map +1 -1
- package/package.json +8 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { EntryPoint } from "./EntryPoint.tsx";
|
|
2
|
+
import { enableLogging } from "./logging.ts";
|
|
3
|
+
import { Client } from "./Client.ts";
|
|
4
|
+
export { Client, EntryPoint, enableLogging };
|
|
1
5
|
export declare function usesCodeThatThrowsAnError({ rethrow }?: {
|
|
2
6
|
rethrow: boolean;
|
|
3
7
|
}): void | Error;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC,OAAO,EACL,MAAM,EACN,UAAU,EACV,aAAa,EACd,CAAC;AAEF,wBAAgB,yBAAyB,CACvC,EAAE,OAAO,EAAE,GAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAuB,GACrD,IAAI,GAAG,KAAK,CAkBd;AAED,qBAAa,WAAW;IAEtB,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAIrC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;CAG1C"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { throwAnError } from "./misc/throwAnError.js";
|
|
2
2
|
import { toLowercase } from "./misc/toLowercase.js";
|
|
3
|
+
import { EntryPoint } from "./EntryPoint.js";
|
|
4
|
+
import { enableLogging } from "./logging.js";
|
|
5
|
+
import { Client } from "./Client.js";
|
|
6
|
+
export { Client, EntryPoint, enableLogging };
|
|
3
7
|
export function usesCodeThatThrowsAnError({ rethrow } = { rethrow: false }) {
|
|
4
8
|
try {
|
|
5
9
|
throwAnError();
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC,OAAO,EACL,MAAM,EACN,UAAU,EACV,aAAa,EACd,CAAC;AAEF,MAAM,UAAU,yBAAyB,CACvC,EAAE,OAAO,KAA2B,EAAE,OAAO,EAAE,KAAK,EAAE;IAEtD,IAAI,CAAC;QACH,YAAY,EAAE,CAAC;IACjB,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,KAAK,GAAY,CAAC,CAAC;QACzB,sEAAsE;QACtE,MAAM,SAAS,GAAG,IAAI,KAAK,CAAC,0CAA0C,EAAE;YACtE,KAAK;SACN,CAAC,CAAC;QAEH,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,SAAS,CAAC;QAClB,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;AACT,CAAC;AAED,MAAM,OAAO,WAAW;IACtB,sCAAsC;IACtC,MAAM,CAAC,OAAO,CAAC,KAAa;QAC1B,OAAO,WAAW,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,KAAa;QAC9B,OAAO,WAAW,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;CACF"}
|
package/dist-cjs/index.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { EntryPoint } from "./EntryPoint.tsx";
|
|
2
|
+
import { enableLogging } from "./logging.ts";
|
|
3
|
+
import { Client } from "./Client.ts";
|
|
4
|
+
export { Client, EntryPoint, enableLogging };
|
|
1
5
|
export declare function usesCodeThatThrowsAnError({ rethrow }?: {
|
|
2
6
|
rethrow: boolean;
|
|
3
7
|
}): void | Error;
|
package/dist-cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC,OAAO,EACL,MAAM,EACN,UAAU,EACV,aAAa,EACd,CAAC;AAEF,wBAAgB,yBAAyB,CACvC,EAAE,OAAO,EAAE,GAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAuB,GACrD,IAAI,GAAG,KAAK,CAkBd;AAED,qBAAa,WAAW;IAEtB,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAIrC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;CAG1C"}
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CaseChanger = void 0;
|
|
3
|
+
exports.CaseChanger = exports.enableLogging = exports.EntryPoint = exports.Client = void 0;
|
|
4
4
|
exports.usesCodeThatThrowsAnError = usesCodeThatThrowsAnError;
|
|
5
5
|
const throwAnError_ts_1 = require("./misc/throwAnError.js");
|
|
6
6
|
const toLowercase_ts_1 = require("./misc/toLowercase.js");
|
|
7
|
+
const EntryPoint_tsx_1 = require("./EntryPoint.js");
|
|
8
|
+
Object.defineProperty(exports, "EntryPoint", { enumerable: true, get: function () { return EntryPoint_tsx_1.EntryPoint; } });
|
|
9
|
+
const logging_ts_1 = require("./logging.js");
|
|
10
|
+
Object.defineProperty(exports, "enableLogging", { enumerable: true, get: function () { return logging_ts_1.enableLogging; } });
|
|
11
|
+
const Client_ts_1 = require("./Client.js");
|
|
12
|
+
Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return Client_ts_1.Client; } });
|
|
7
13
|
function usesCodeThatThrowsAnError({ rethrow } = { rethrow: false }) {
|
|
8
14
|
try {
|
|
9
15
|
(0, throwAnError_ts_1.throwAnError)();
|
package/dist-cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAYA,8DAoBC;AAhCD,4DAAsD;AACtD,0DAAoD;AACpD,oDAA8C;AAM5C,2FANO,2BAAU,OAMP;AALZ,6CAA6C;AAM3C,8FANO,0BAAa,OAMP;AALf,2CAAoC;AAGlC,uFAHO,kBAAM,OAGP;AAKR,SAAgB,yBAAyB,CACvC,EAAE,OAAO,KAA2B,EAAE,OAAO,EAAE,KAAK,EAAE;IAEtD,IAAI,CAAC;QACH,IAAA,8BAAY,GAAE,CAAC;IACjB,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,KAAK,GAAY,CAAC,CAAC;QACzB,sEAAsE;QACtE,MAAM,SAAS,GAAG,IAAI,KAAK,CAAC,0CAA0C,EAAE;YACtE,KAAK;SACN,CAAC,CAAC;QAEH,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,SAAS,CAAC;QAClB,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;AACT,CAAC;AAED,MAAa,WAAW;IACtB,sCAAsC;IACtC,MAAM,CAAC,OAAO,CAAC,KAAa;QAC1B,OAAO,IAAA,4BAAW,EAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,KAAa;QAC9B,OAAO,IAAA,4BAAW,EAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;CACF;AATD,kCASC"}
|
package/package.json
CHANGED
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
"typescript": "^5.9.3"
|
|
14
14
|
},
|
|
15
15
|
"exports": {
|
|
16
|
-
".":
|
|
16
|
+
".": {
|
|
17
|
+
"require": "./dist-cjs/index.js",
|
|
18
|
+
"default": "./dist/index.js"
|
|
19
|
+
},
|
|
17
20
|
"./*.js": "./dist/*.js"
|
|
18
21
|
},
|
|
19
22
|
"files": [
|
|
@@ -24,12 +27,12 @@
|
|
|
24
27
|
],
|
|
25
28
|
"name": "@mfdj/tsc-as-build-tool",
|
|
26
29
|
"peerDependencies": {
|
|
27
|
-
"react": "
|
|
28
|
-
"react-dom": "
|
|
30
|
+
"react": ">=18",
|
|
31
|
+
"react-dom": ">=18"
|
|
29
32
|
},
|
|
30
33
|
"private": false,
|
|
31
34
|
"scripts": {
|
|
32
|
-
"build": "rm -rf dist/*; tsc --project tsconfig.json",
|
|
35
|
+
"build": "rm -rf dist/*; tsc --project tsconfig.json && tsc --project tsconfig.cjs.json",
|
|
33
36
|
"prepare": "npm run build",
|
|
34
37
|
"preversion": "npm run typecheck",
|
|
35
38
|
"server-start": "php -S localhost:3000 ./script/server.php",
|
|
@@ -37,6 +40,6 @@
|
|
|
37
40
|
"test:watch": "./script/test-watch.sh",
|
|
38
41
|
"typecheck": "tsc --build --noEmit"
|
|
39
42
|
},
|
|
40
|
-
"version": "2.
|
|
43
|
+
"version": "2.10.0",
|
|
41
44
|
"type": "module"
|
|
42
45
|
}
|