exupery-core-dev 0.1.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
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./public/implement_me"), exports);
|
|
18
|
+
__exportStar(require("./public/log_debug_message"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* use this function as a placeholder when you want to compile but have not fully developed all functionality yet.
|
|
3
|
+
*
|
|
4
|
+
* this function should only be called from code that is in the development phase,
|
|
5
|
+
* before publishing, the usages should be removed
|
|
6
|
+
* @param message the string to be printed to stderr
|
|
7
|
+
*/
|
|
8
|
+
export declare function implement_me(): never;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
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
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.implement_me = implement_me;
|
|
27
|
+
const pi = __importStar(require("exupery-core-internals"));
|
|
28
|
+
/**
|
|
29
|
+
* use this function as a placeholder when you want to compile but have not fully developed all functionality yet.
|
|
30
|
+
*
|
|
31
|
+
* this function should only be called from code that is in the development phase,
|
|
32
|
+
* before publishing, the usages should be removed
|
|
33
|
+
* @param message the string to be printed to stderr
|
|
34
|
+
*/
|
|
35
|
+
function implement_me() {
|
|
36
|
+
throw new Error(`IMPLEMENT ME @ ${pi.location_to_string(pi.get_location_info(1))}`);
|
|
37
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* logs a debug message
|
|
3
|
+
* this function should only be called from code that is in the development phase,
|
|
4
|
+
* before publishing, the usages should be removed
|
|
5
|
+
* @param message the string to be printed to stdout
|
|
6
|
+
*/
|
|
7
|
+
export declare function log_debug_message(message: string): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.log_debug_message = log_debug_message;
|
|
4
|
+
/**
|
|
5
|
+
* logs a debug message
|
|
6
|
+
* this function should only be called from code that is in the development phase,
|
|
7
|
+
* before publishing, the usages should be removed
|
|
8
|
+
* @param message the string to be printed to stdout
|
|
9
|
+
*/
|
|
10
|
+
function log_debug_message(message) {
|
|
11
|
+
console.log("DEBUG", message);
|
|
12
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "exupery-core-dev",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"license": "ISC",
|
|
5
|
+
"description": "a exupery package that contains functions that are useful during development",
|
|
6
|
+
"author": "Corno",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"exupery",
|
|
9
|
+
"development",
|
|
10
|
+
"log_debug_message",
|
|
11
|
+
"implement_me"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://github.com/corno/exupery-core#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/corno/exupery-core/issues"
|
|
16
|
+
},
|
|
17
|
+
"main": "./dist/index.js",
|
|
18
|
+
"types": "dist/index.d.ts",
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/corno/exupery-core.git"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"exupery-core-internals": "^0.1.2"
|
|
28
|
+
}
|
|
29
|
+
}
|