nightingale-types 16.0.0 → 18.0.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,28 @@
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.0.0](https://github.com/christophehurpeau/nightingale/compare/v17.0.1...v18.0.0) (2025-11-15)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * drop node 20
11
+
12
+ ### Features
13
+
14
+ * update dependencies
15
+
16
+ Version bump for dependency: nightingale-levels
17
+
18
+
19
+ ## [17.0.0](https://github.com/christophehurpeau/nightingale/compare/v16.2.0...v17.0.0) (2025-10-20)
20
+
21
+ ### Features
22
+
23
+ * add export for react-native ([4098304](https://github.com/christophehurpeau/nightingale/commit/4098304ff9b6665930b7316fe05e0baf0b2e3fe5))
24
+
25
+ Version bump for dependency: nightingale-levels
26
+
27
+
6
28
  ## [16.0.0](https://github.com/christophehurpeau/nightingale/compare/v15.0.0...v16.0.0) (2025-03-30)
7
29
 
8
30
  ### ⚠ BREAKING CHANGES
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "nightingale-types",
3
- "version": "16.0.0",
3
+ "version": "18.0.0",
4
4
  "description": "Nightingale types for typescript",
5
5
  "keywords": [
6
6
  "logger"
@@ -15,10 +15,10 @@
15
15
  "homepage": "https://github.com/christophehurpeau/nightingale",
16
16
  "type": "module",
17
17
  "engines": {
18
- "node": ">=20.9.0"
18
+ "node": ">=22.18.0"
19
19
  },
20
20
  "sideEffects": false,
21
- "main": "./dist/index-node20.mjs",
21
+ "main": "./dist/index-node22.mjs",
22
22
  "types": "./dist/definitions/index.d.ts",
23
23
  "module": "./dist/index-browser.es.js",
24
24
  "browser": "./dist/index-browser.es.js",
@@ -27,7 +27,10 @@
27
27
  ".": {
28
28
  "types": "./dist/definitions/index.d.ts",
29
29
  "node": {
30
- "import": "./dist/index-node20.mjs"
30
+ "import": "./dist/index-node22.mjs"
31
+ },
32
+ "react-native": {
33
+ "import": "./dist/index-react-native.es.js"
31
34
  },
32
35
  "browser": {
33
36
  "import": "./dist/index-browser.es.js"
@@ -42,7 +45,7 @@
42
45
  "build": "yarn clean:build && rollup --config rollup.config.mjs && yarn run build:definitions",
43
46
  "build:definitions": "tsc -p tsconfig.json",
44
47
  "clean": "yarn clean:build",
45
- "clean:build": "pob-babel-clean-out dist",
48
+ "clean:build": "pob-esbuild-clean-out dist",
46
49
  "lint": "yarn run lint:eslint",
47
50
  "lint:eslint": "yarn ../.. run eslint --quiet packages/nightingale-types",
48
51
  "watch": "yarn clean:build && rollup --config rollup.config.mjs --watch"
@@ -57,28 +60,30 @@
57
60
  ]
58
61
  },
59
62
  "pob": {
60
- "bundler": "rollup-babel",
63
+ "bundler": "rollup-esbuild",
61
64
  "entries": [
62
65
  "index"
63
66
  ],
64
67
  "envs": [
65
68
  {
66
69
  "target": "node",
67
- "version": "20"
70
+ "version": "22"
71
+ },
72
+ {
73
+ "target": "react-native"
68
74
  },
69
75
  {
70
76
  "target": "browser"
71
77
  }
72
- ]
78
+ ],
79
+ "typescript": true
73
80
  },
74
81
  "prettier": "@pob/root/prettier-config",
75
82
  "dependencies": {
76
- "nightingale-levels": "16.0.0"
83
+ "nightingale-levels": "18.0.0"
77
84
  },
78
85
  "devDependencies": {
79
- "@babel/core": "7.26.10",
80
- "@babel/preset-env": "7.26.9",
81
- "pob-babel": "43.4.0",
82
- "typescript": "5.8.2"
86
+ "@pob/rollup-esbuild": "7.3.2",
87
+ "typescript": "5.9.3"
83
88
  }
84
89
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-node20.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}