nightingale-types 17.0.0 → 18.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/CHANGELOG.md CHANGED
@@ -3,6 +3,24 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [18.2.0](https://github.com/christophehurpeau/nightingale/compare/v18.1.0...v18.2.0) (2026-06-12)
7
+
8
+ Version bump for dependency: nightingale-levels
9
+
10
+
11
+ ## [18.0.0](https://github.com/christophehurpeau/nightingale/compare/v17.0.1...v18.0.0) (2025-11-15)
12
+
13
+ ### ⚠ BREAKING CHANGES
14
+
15
+ * drop node 20
16
+
17
+ ### Features
18
+
19
+ * update dependencies
20
+
21
+ Version bump for dependency: nightingale-levels
22
+
23
+
6
24
  ## [17.0.0](https://github.com/christophehurpeau/nightingale/compare/v16.2.0...v17.0.0) (2025-10-20)
7
25
 
8
26
  ### Features
@@ -1,2 +1,2 @@
1
1
  export { Level } from 'nightingale-levels';
2
- //# sourceMappingURL=index-node20.mjs.map
2
+ //# sourceMappingURL=index-node22.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-node22.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { Level } from 'nightingale-levels';
2
+ //# sourceMappingURL=index-react-native.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-react-native.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,55 +1,63 @@
1
1
  {
2
2
  "name": "nightingale-types",
3
- "version": "17.0.0",
3
+ "version": "18.2.0",
4
4
  "description": "Nightingale types for typescript",
5
5
  "keywords": [
6
6
  "logger"
7
7
  ],
8
- "author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
8
+ "homepage": "https://github.com/christophehurpeau/nightingale",
9
+ "bugs": {
10
+ "url": "https://github.com/christophehurpeau/nightingale/issues"
11
+ },
9
12
  "license": "ISC",
13
+ "author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
10
14
  "repository": {
11
15
  "type": "git",
12
16
  "url": "https://github.com/christophehurpeau/nightingale.git",
13
17
  "directory": "packages/nightingale-types"
14
18
  },
15
- "homepage": "https://github.com/christophehurpeau/nightingale",
19
+ "files": [
20
+ "src",
21
+ "dist"
22
+ ],
16
23
  "type": "module",
17
- "engines": {
18
- "node": ">=20.11.0"
19
- },
20
24
  "sideEffects": false,
21
- "main": "./dist/index-node20.mjs",
22
- "types": "./dist/definitions/index.d.ts",
25
+ "main": "./dist/index-node22.mjs",
23
26
  "module": "./dist/index-browser.es.js",
24
27
  "browser": "./dist/index-browser.es.js",
28
+ "types": "./dist/definitions/index.d.ts",
25
29
  "exports": {
26
30
  "./package.json": "./package.json",
27
31
  ".": {
28
32
  "types": "./dist/definitions/index.d.ts",
29
33
  "node": {
30
- "import": "./dist/index-node20.mjs"
34
+ "import": "./dist/index-node22.mjs"
31
35
  },
32
36
  "react-native": {
33
- "import": "./dist/index-browser.es.js"
37
+ "import": "./dist/index-react-native.es.js"
34
38
  },
35
39
  "browser": {
36
40
  "import": "./dist/index-browser.es.js"
37
41
  }
38
42
  }
39
43
  },
40
- "files": [
41
- "src",
42
- "dist"
43
- ],
44
44
  "scripts": {
45
- "build": "yarn clean:build && rollup --config rollup.config.mjs && yarn run build:definitions",
45
+ "build": "yarn run clean:build && rollup --config rollup.config.mjs && yarn run build:definitions",
46
46
  "build:definitions": "tsc -p tsconfig.json",
47
47
  "clean": "yarn clean:build",
48
48
  "clean:build": "pob-esbuild-clean-out dist",
49
49
  "lint": "yarn run lint:eslint",
50
- "lint:eslint": "yarn ../.. run eslint --quiet packages/nightingale-types",
50
+ "lint:eslint": "yarn '../..' run eslint --quiet 'packages/nightingale-types'",
51
+ "tsc": "tsc",
51
52
  "watch": "yarn clean:build && rollup --config rollup.config.mjs --watch"
52
53
  },
54
+ "dependencies": {
55
+ "nightingale-levels": "18.2.0"
56
+ },
57
+ "devDependencies": {
58
+ "@pob/rollup-esbuild": "9.1.1",
59
+ "typescript": "6.0.3"
60
+ },
53
61
  "browserslist": {
54
62
  "production": [
55
63
  "defaults",
@@ -59,6 +67,9 @@
59
67
  "not ios_saf < 10"
60
68
  ]
61
69
  },
70
+ "engines": {
71
+ "node": ">=22.18.0"
72
+ },
62
73
  "pob": {
63
74
  "bundler": "rollup-esbuild",
64
75
  "entries": [
@@ -67,20 +78,15 @@
67
78
  "envs": [
68
79
  {
69
80
  "target": "node",
70
- "version": "20"
81
+ "version": "22"
82
+ },
83
+ {
84
+ "target": "react-native"
71
85
  },
72
86
  {
73
87
  "target": "browser"
74
88
  }
75
89
  ],
76
90
  "typescript": true
77
- },
78
- "prettier": "@pob/root/prettier-config",
79
- "dependencies": {
80
- "nightingale-levels": "17.0.0"
81
- },
82
- "devDependencies": {
83
- "@pob/rollup-esbuild": "6.7.0",
84
- "typescript": "5.9.2"
85
91
  }
86
92
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-node20.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}