@n3rdw1z4rd/core 0.6.4 → 0.7.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.
@@ -0,0 +1 @@
1
+ import './main.css';
package/dist/index.js CHANGED
@@ -1,8 +1,16 @@
1
1
  "use strict";
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
5
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __esm = (fn, res) => function __init() {
9
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
10
+ };
11
+ var __commonJS = (cb, mod) => function __require() {
12
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
13
+ };
6
14
  var __export = (target, all) => {
7
15
  for (var name in all)
8
16
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -15,8 +23,30 @@ var __copyProps = (to, from, except, desc) => {
15
23
  }
16
24
  return to;
17
25
  };
26
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
27
+ // If the importer is in node compatibility mode or this is not an ESM
28
+ // file that has been converted to a CommonJS file using a Babel-
29
+ // compatible transform (i.e. "__esModule" has not been set), then set
30
+ // "default" to the CommonJS "module.exports" for node compatibility.
31
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
32
+ mod
33
+ ));
18
34
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
35
 
36
+ // src/css/main.css
37
+ var init_main = __esm({
38
+ "src/css/main.css"() {
39
+ }
40
+ });
41
+
42
+ // src/css/index.ts
43
+ var require_css = __commonJS({
44
+ "src/css/index.ts"() {
45
+ "use strict";
46
+ init_main();
47
+ }
48
+ });
49
+
20
50
  // src/index.ts
21
51
  var index_exports = {};
22
52
  __export(index_exports, {
@@ -60,6 +90,7 @@ __export(index_exports, {
60
90
  xyz2key: () => xyz2key
61
91
  });
62
92
  module.exports = __toCommonJS(index_exports);
93
+ var import_css = __toESM(require_css());
63
94
 
64
95
  // src/clock-stats.ts
65
96
  var ClockStats = class {
package/dist/index.mjs CHANGED
@@ -1,3 +1,49 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __esm = (fn, res) => function __init() {
8
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
9
+ };
10
+ var __commonJS = (cb, mod) => function __require() {
11
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+
30
+ // src/css/main.css
31
+ var init_main = __esm({
32
+ "src/css/main.css"() {
33
+ }
34
+ });
35
+
36
+ // src/css/index.ts
37
+ var require_css = __commonJS({
38
+ "src/css/index.ts"() {
39
+ "use strict";
40
+ init_main();
41
+ }
42
+ });
43
+
44
+ // src/index.ts
45
+ var import_css = __toESM(require_css());
46
+
1
47
  // src/clock-stats.ts
2
48
  var ClockStats = class {
3
49
  divElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n3rdw1z4rd/core",
3
- "version": "0.6.4",
3
+ "version": "0.7.0",
4
4
  "description": "core library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -10,8 +10,7 @@
10
10
  ],
11
11
  "scripts": {
12
12
  "build": "tsup && shx cp -r ./src/css ./dist/",
13
- "dev": "tsup --watch",
14
- "prepublishOnly": "npm i && npm run build"
13
+ "dev": "tsup --watch"
15
14
  },
16
15
  "repository": {
17
16
  "type": "git",