@bobfrankston/miscinfo 1.0.2 → 1.0.4
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/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +3 -2
- package/ports.d.ts +1 -1
- package/ports.js +2 -1
package/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default_fqdn, ports, mqtt } from './ports.js';
|
|
1
|
+
export { default_fqdn, ports, mqtt, endsWithFQDN } from './ports.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default_fqdn, ports, mqtt } from './ports.js';
|
|
1
|
+
export { default_fqdn, ports, mqtt, endsWithFQDN } from './ports.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bobfrankston/miscinfo",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Browser-compatible shared constants including port definitions and MQTT configuration",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"prerelease:local": "git add -A && (git diff-index --quiet HEAD || git commit -m \"Pre-release commit\")",
|
|
12
12
|
"preversion": "npm run build && git add -A",
|
|
13
13
|
"postversion": "git push && git push --tags",
|
|
14
|
-
"release": "
|
|
14
|
+
"release": "npmglobalize",
|
|
15
|
+
"old-release": "npm run prerelease:local && npm version patch && npm publish"
|
|
15
16
|
},
|
|
16
17
|
"keywords": [],
|
|
17
18
|
"author": "",
|
package/ports.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** Default fully qualified domain name */
|
|
2
2
|
export declare const default_fqdn = "aaz.lt";
|
|
3
|
+
export declare function endsWithFQDN(dns: string): boolean;
|
|
3
4
|
/** Centralized port definitions for all services */
|
|
4
5
|
export declare const ports: {
|
|
5
6
|
jserve2: number;
|
|
@@ -30,7 +31,6 @@ export declare const ports: {
|
|
|
30
31
|
backts: number;
|
|
31
32
|
backserve: number;
|
|
32
33
|
syncer: number;
|
|
33
|
-
lifxer: number;
|
|
34
34
|
itemw: number;
|
|
35
35
|
pinst: number;
|
|
36
36
|
stephanie: number;
|
package/ports.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** Default fully qualified domain name */
|
|
2
2
|
export const default_fqdn = 'aaz.lt';
|
|
3
|
+
export function endsWithFQDN(dns) { return /\.aaz\.lt$/i.test(dns); }
|
|
3
4
|
/** Centralized port definitions for all services */
|
|
4
5
|
export const ports = {
|
|
5
6
|
jserve2: 10080,
|
|
@@ -30,7 +31,7 @@ export const ports = {
|
|
|
30
31
|
backts: 9315,
|
|
31
32
|
backserve: 9316,
|
|
32
33
|
syncer: 9317,
|
|
33
|
-
lifxer: 9318,
|
|
34
|
+
// lifxer: 9318,
|
|
34
35
|
itemw: 9319,
|
|
35
36
|
pinst: 9299, // Used for my pings server [currently it has a local value because --install-links isn't cooperating]
|
|
36
37
|
stephanie: 9320, // For testing stephanie site locally
|