@absolutejs/absolute 0.19.0-beta.109 → 0.19.0-beta.110
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/.absolutejs/tsconfig.tsbuildinfo +1 -1
- package/dist/angular/index.js +19 -1
- package/dist/angular/index.js.map +2 -2
- package/dist/build.js +27 -7
- package/dist/build.js.map +3 -3
- package/dist/cli/index.js +275 -67
- package/dist/index.js +163 -9
- package/dist/index.js.map +6 -5
- package/dist/react/hooks/index.js +19 -1
- package/dist/react/hooks/index.js.map +2 -2
- package/dist/react/index.js +19 -1
- package/dist/react/index.js.map +2 -2
- package/dist/src/dev/devCert.d.ts +8 -0
- package/dist/src/utils/logger.d.ts +1 -0
- package/dist/src/utils/startupBanner.d.ts +1 -0
- package/dist/svelte/index.js +19 -1
- package/dist/svelte/index.js.map +2 -2
- package/dist/types/build.d.ts +3 -0
- package/dist/vue/index.js +19 -1
- package/dist/vue/index.js.map +2 -2
- package/package.json +1 -1
- package/types/build.ts +5 -0
package/dist/build.js
CHANGED
|
@@ -3,6 +3,7 @@ var __create = Object.create;
|
|
|
3
3
|
var __getProtoOf = Object.getPrototypeOf;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
8
|
function __accessProp(key) {
|
|
8
9
|
return this[key];
|
|
@@ -29,6 +30,23 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
29
30
|
cache.set(mod, to);
|
|
30
31
|
return to;
|
|
31
32
|
};
|
|
33
|
+
var __toCommonJS = (from) => {
|
|
34
|
+
var entry = (__moduleCache ??= new WeakMap).get(from), desc;
|
|
35
|
+
if (entry)
|
|
36
|
+
return entry;
|
|
37
|
+
entry = __defProp({}, "__esModule", { value: true });
|
|
38
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
39
|
+
for (var key of __getOwnPropNames(from))
|
|
40
|
+
if (!__hasOwnProp.call(entry, key))
|
|
41
|
+
__defProp(entry, key, {
|
|
42
|
+
get: __accessProp.bind(from, key),
|
|
43
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
__moduleCache.set(from, entry);
|
|
47
|
+
return entry;
|
|
48
|
+
};
|
|
49
|
+
var __moduleCache;
|
|
32
50
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
33
51
|
var __returnValue = (v) => v;
|
|
34
52
|
function __exportSetter(name, newValue) {
|
|
@@ -1072,14 +1090,14 @@ var colors, MONTHS, formatTimestamp = () => {
|
|
|
1072
1090
|
hours = hours % HOURS_IN_HALF_DAY || HOURS_IN_HALF_DAY;
|
|
1073
1091
|
return `${month} ${day} ${hours}:${minutes}:${seconds} ${ampm}`;
|
|
1074
1092
|
}, startupBanner = (options) => {
|
|
1075
|
-
const { version, duration, port, host, networkUrl } = options;
|
|
1093
|
+
const { version, duration, port, host, networkUrl, protocol = "http" } = options;
|
|
1076
1094
|
const name = `${colors.cyan}${colors.bold}ABSOLUTEJS${colors.reset}`;
|
|
1077
1095
|
const ver = `${colors.dim}v${version}${colors.reset}`;
|
|
1078
1096
|
const time = `${colors.dim}ready in${colors.reset} ${colors.bold}${getDurationString(duration)}${colors.reset}`;
|
|
1079
1097
|
console.log("");
|
|
1080
1098
|
console.log(` ${name} ${ver} ${time}`);
|
|
1081
1099
|
console.log("");
|
|
1082
|
-
console.log(` ${colors.green}\u279C${colors.reset} ${colors.bold}Local:${colors.reset}
|
|
1100
|
+
console.log(` ${colors.green}\u279C${colors.reset} ${colors.bold}Local:${colors.reset} ${protocol}://${host === "0.0.0.0" ? "localhost" : host}:${port}/`);
|
|
1083
1101
|
if (networkUrl) {
|
|
1084
1102
|
console.log(` ${colors.green}\u279C${colors.reset} ${colors.bold}Network:${colors.reset} ${networkUrl}`);
|
|
1085
1103
|
}
|
|
@@ -1142,6 +1160,8 @@ var colors2, frameworkColors, formatPath = (filePath) => {
|
|
|
1142
1160
|
console.error(`${timestamp} ${tag} ${fullMessage}`);
|
|
1143
1161
|
}, logHmrUpdate = (path, framework, duration) => {
|
|
1144
1162
|
log("hmr update", { duration, framework, path });
|
|
1163
|
+
}, logInfo = (message) => {
|
|
1164
|
+
log(message);
|
|
1145
1165
|
}, logScriptUpdate = (path, framework, duration) => {
|
|
1146
1166
|
log("script update", { duration, framework, path });
|
|
1147
1167
|
}, logServerReload = () => {
|
|
@@ -1748,7 +1768,7 @@ var require_typescript = __commonJS((exports, module) => {
|
|
|
1748
1768
|
var ts = {};
|
|
1749
1769
|
((module2) => {
|
|
1750
1770
|
var __defProp2 = Object.defineProperty;
|
|
1751
|
-
var
|
|
1771
|
+
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
1752
1772
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
1753
1773
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
1754
1774
|
var __export2 = (target, all) => {
|
|
@@ -1759,11 +1779,11 @@ var require_typescript = __commonJS((exports, module) => {
|
|
|
1759
1779
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
1760
1780
|
for (let key of __getOwnPropNames2(from))
|
|
1761
1781
|
if (!__hasOwnProp2.call(to, key) && key !== except)
|
|
1762
|
-
__defProp2(to, key, { get: () => from[key], enumerable: !(desc =
|
|
1782
|
+
__defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
|
1763
1783
|
}
|
|
1764
1784
|
return to;
|
|
1765
1785
|
};
|
|
1766
|
-
var
|
|
1786
|
+
var __toCommonJS2 = (mod) => (__copyProps, mod);
|
|
1767
1787
|
var typescript_exports = {};
|
|
1768
1788
|
__export2(typescript_exports, {
|
|
1769
1789
|
ANONYMOUS: () => ANONYMOUS,
|
|
@@ -4011,7 +4031,7 @@ var require_typescript = __commonJS((exports, module) => {
|
|
|
4011
4031
|
writeFileEnsuringDirectories: () => writeFileEnsuringDirectories,
|
|
4012
4032
|
zipWith: () => zipWith
|
|
4013
4033
|
});
|
|
4014
|
-
module2.exports =
|
|
4034
|
+
module2.exports = __toCommonJS2(typescript_exports);
|
|
4015
4035
|
var versionMajorMinor = "5.9";
|
|
4016
4036
|
var version = "5.9.3";
|
|
4017
4037
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
@@ -204913,5 +204933,5 @@ export {
|
|
|
204913
204933
|
build
|
|
204914
204934
|
};
|
|
204915
204935
|
|
|
204916
|
-
//# debugId=
|
|
204936
|
+
//# debugId=67AFA7870CF5D48764756E2164756E21
|
|
204917
204937
|
//# sourceMappingURL=build.js.map
|