@nemigo/logger 2.0.1 → 2.2.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/atoms.js +2 -0
- package/package.json +8 -10
package/dist/atoms.js
CHANGED
|
@@ -10,5 +10,7 @@ export const formatHeader = (caller, options) => {
|
|
|
10
10
|
};
|
|
11
11
|
export const print = (caller, message, options = {}) => {
|
|
12
12
|
const header = formatHeader(caller, options);
|
|
13
|
+
// oxlint-disable-next-line no-console
|
|
14
|
+
// eslint-disable-next-line no-console
|
|
13
15
|
console.log(header, JSON.stringify(message === undefined ? "undefined" : message, null, 2));
|
|
14
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nemigo/logger",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Vlad Logvin",
|
|
@@ -8,14 +8,12 @@
|
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
10
|
"scripts": {
|
|
11
|
-
"build": "svelte-package && rimraf .svelte-kit",
|
|
11
|
+
"build": "bunx --bun svelte-package && bunx --bun rimraf .svelte-kit",
|
|
12
12
|
"check": "bunx --bun tsc --noemit",
|
|
13
13
|
"eslint": "bunx --bun eslint ./",
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"lint:fix:unsafe": "biome lint --fix --unsafe",
|
|
18
|
-
"format": "biome check --write --linter-enabled=false"
|
|
14
|
+
"oxlint": "bunx --bun oxlint --config .././../oxlintrc.jsonc --ignore-path ../configs/.eslint.ignore ./",
|
|
15
|
+
"bilint": "bunx --bun biome lint",
|
|
16
|
+
"format": "bunx --bun biome check --write --linter-enabled=false"
|
|
19
17
|
},
|
|
20
18
|
"exports": {
|
|
21
19
|
"./atoms": {
|
|
@@ -36,7 +34,7 @@
|
|
|
36
34
|
}
|
|
37
35
|
},
|
|
38
36
|
"peerDependencies": {
|
|
39
|
-
"@nemigo/helpers": ">=2.
|
|
37
|
+
"@nemigo/helpers": ">=2.2.0",
|
|
40
38
|
"chalk": "^5.6.0"
|
|
41
39
|
},
|
|
42
40
|
"peerDependenciesMeta": {
|
|
@@ -45,7 +43,7 @@
|
|
|
45
43
|
}
|
|
46
44
|
},
|
|
47
45
|
"devDependencies": {
|
|
48
|
-
"@nemigo/configs": "2.
|
|
49
|
-
"@nemigo/helpers": "2.0
|
|
46
|
+
"@nemigo/configs": "2.2.0",
|
|
47
|
+
"@nemigo/helpers": "2.2.0"
|
|
50
48
|
}
|
|
51
49
|
}
|