@mono-labs/shared 0.1.259

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,2 @@
1
+ export declare function writeLog(...args: unknown[]): void;
2
+ //# sourceMappingURL=writeLog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"writeLog.d.ts","sourceRoot":"","sources":["../src/writeLog.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAIjD"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.writeLog = writeLog;
4
+ function writeLog(...args) {
5
+ if (process.env.MONO_DEV_LOGS === '1') {
6
+ console.log(...args);
7
+ }
8
+ }
package/package.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "@mono-labs/shared",
3
+ "version": "0.1.259",
4
+ "type": "commonjs",
5
+ "description": "Shared utilities for mono-labs",
6
+ "main": "dist/writeLog.js",
7
+ "types": "dist/writeLog.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/writeLog.d.ts",
11
+ "require": "./dist/writeLog.js",
12
+ "default": "./dist/writeLog.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist/"
17
+ ],
18
+ "scripts": {
19
+ "build": "tsc",
20
+ "deploy": "tsc && npm publish --access public --registry https://registry.npmjs.org/",
21
+ "release:patch": "npm version patch -m \"chore: release %s\" && npm publish --access public",
22
+ "release:minor": "npm version minor -m \"chore: release %s\" && npm publish --access public",
23
+ "release:major": "npm version major -m \"chore: release %s\" && npm publish --access public"
24
+ },
25
+ "license": "MIT",
26
+ "devDependencies": {
27
+ "@types/node": "^25.1.0",
28
+ "typescript": "^5.9.3"
29
+ }
30
+ }