nightingale-types 11.7.1 → 12.0.1
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/.eslintrc.json +1 -1
- package/CHANGELOG.md +43 -0
- package/dist/index-browser.cjs.js +7 -0
- package/dist/index-browser.cjs.js.map +1 -1
- package/dist/index-browser.es.js +1 -1
- package/dist/index-browsermodern.es.js +1 -1
- package/dist/index-node14.cjs.js +10 -0
- package/dist/index-node14.cjs.js.map +1 -0
- package/dist/index-node14.mjs +2 -0
- package/dist/index-node14.mjs.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/package.json +17 -41
- package/rollup.config.mjs +3 -0
- package/src/.eslintrc.json +18 -1
- package/src/index.ts +2 -2
- package/dist/index-browser-dev.cjs.js +0 -3
- package/dist/index-browser-dev.cjs.js.map +0 -1
- package/dist/index-browser-dev.es.js +0 -2
- package/dist/index-browser-dev.es.js.map +0 -1
- package/dist/index-browsermodern-dev.es.js +0 -2
- package/dist/index-browsermodern-dev.es.js.map +0 -1
- package/dist/index-node10-dev.cjs +0 -3
- package/dist/index-node10-dev.cjs.js +0 -3
- package/dist/index-node10-dev.cjs.js.map +0 -1
- package/dist/index-node10-dev.cjs.map +0 -1
- package/dist/index-node10-dev.mjs +0 -2
- package/dist/index-node10-dev.mjs.map +0 -1
- package/dist/index-node10.cjs +0 -3
- package/dist/index-node10.cjs.js +0 -3
- package/dist/index-node10.cjs.js.map +0 -1
- package/dist/index-node10.cjs.map +0 -1
- package/dist/index-node10.mjs +0 -2
- package/dist/index-node10.mjs.map +0 -1
- package/dist/index-node12-dev.cjs.js +0 -3
- package/dist/index-node12-dev.cjs.js.map +0 -1
- package/dist/index-node12-dev.mjs +0 -2
- package/dist/index-node12-dev.mjs.map +0 -1
- package/dist/index-node12.cjs.js +0 -3
- package/dist/index-node12.cjs.js.map +0 -1
- package/dist/index-node12.mjs +0 -2
- package/dist/index-node12.mjs.map +0 -1
- package/index.js +0 -6
package/.eslintrc.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,49 @@
|
|
|
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
|
+
## [12.0.1](https://github.com/christophehurpeau/nightingale/compare/v12.0.0...v12.0.1) (2021-12-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package nightingale-types
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [12.0.0](https://github.com/christophehurpeau/nightingale/compare/v11.9.0...v12.0.0) (2021-12-11)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Build System
|
|
18
|
+
|
|
19
|
+
* node 14 and remove dev builds ([432ecd1](https://github.com/christophehurpeau/nightingale/commit/432ecd1faafd0419f57dea00fce560e4cccc207f))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### BREAKING CHANGES
|
|
23
|
+
|
|
24
|
+
* requires node 14
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [11.7.4](https://github.com/christophehurpeau/nightingale/compare/v11.7.3...v11.7.4) (2021-11-27)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* build all packages ([dbb4785](https://github.com/christophehurpeau/nightingale/commit/dbb4785cbb8c75942935c4a5935df32fd2e93690))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## [11.7.2](https://github.com/christophehurpeau/nightingale/compare/v11.7.1...v11.7.2) (2021-11-27)
|
|
42
|
+
|
|
43
|
+
**Note:** Version bump only for package nightingale-types
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
6
49
|
## [11.7.1](https://github.com/christophehurpeau/nightingale/compare/v11.7.0...v11.7.1) (2021-06-29)
|
|
7
50
|
|
|
8
51
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-browser.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index-browser.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/index-browser.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export { Level } from 'nightingale-levels';
|
|
2
2
|
//# sourceMappingURL=index-browser.es.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export { Level } from 'nightingale-levels';
|
|
2
2
|
//# sourceMappingURL=index-browsermodern.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-node14.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-node14.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type Level from 'nightingale-levels';
|
|
2
|
-
export
|
|
1
|
+
import type { Level } from 'nightingale-levels';
|
|
2
|
+
export { Level } from 'nightingale-levels';
|
|
3
3
|
export declare type Styles = string[] | undefined;
|
|
4
4
|
export interface Metadata {
|
|
5
5
|
context?: Record<string, unknown>;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,K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,SAAS,GAAG,CAAC,CAAC,SAAS,QAAQ,EACzC,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,EAC9B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC9B,IAAI,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nightingale-types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.1",
|
|
4
4
|
"description": "Nightingale types for typescript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"logger"
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
"directory": "packages/nightingale-types"
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://github.com/christophehurpeau/nightingale",
|
|
16
|
+
"type": "commonjs",
|
|
16
17
|
"engines": {
|
|
17
|
-
"node": ">=
|
|
18
|
+
"node": "^14.13.1 || >=16.0.0"
|
|
18
19
|
},
|
|
19
20
|
"browserslist": [
|
|
20
21
|
"defaults",
|
|
@@ -23,48 +24,35 @@
|
|
|
23
24
|
"not safari < 10",
|
|
24
25
|
"not ios_saf < 10"
|
|
25
26
|
],
|
|
26
|
-
"main": "./index.js",
|
|
27
|
+
"main": "./dist/index-node14.cjs.js",
|
|
27
28
|
"types": "./dist/index.d.ts",
|
|
28
29
|
"module": "./dist/index-browser.es.js",
|
|
29
30
|
"browser": "./dist/index-browser.es.js",
|
|
30
31
|
"exports": {
|
|
32
|
+
"./package.json": "./package.json",
|
|
31
33
|
".": {
|
|
32
34
|
"node": {
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
"require": "./dist/index-node12-dev.cjs.js"
|
|
36
|
-
},
|
|
37
|
-
"import": "./dist/index-node12.mjs",
|
|
38
|
-
"require": "./dist/index-node12.cjs.js"
|
|
35
|
+
"import": "./dist/index-node14.mjs",
|
|
36
|
+
"require": "./dist/index-node14.cjs.js"
|
|
39
37
|
},
|
|
40
38
|
"browser": {
|
|
41
39
|
"browser:modern": {
|
|
42
|
-
"development": {
|
|
43
|
-
"import": "./dist/index-browsermodern-dev.es.js"
|
|
44
|
-
},
|
|
45
40
|
"import": "./dist/index-browsermodern.es.js"
|
|
46
41
|
},
|
|
47
|
-
"development": {
|
|
48
|
-
"import": "./dist/index-browser-dev.es.js",
|
|
49
|
-
"require": "./dist/index-browser-dev.cjs.js"
|
|
50
|
-
},
|
|
51
42
|
"import": "./dist/index-browser.es.js",
|
|
52
43
|
"require": "./dist/index-browser.cjs.js"
|
|
53
44
|
}
|
|
54
45
|
}
|
|
55
46
|
},
|
|
56
|
-
"module:node": "./dist/index-
|
|
57
|
-
"module:node-dev": "./dist/index-node12-dev.mjs",
|
|
58
|
-
"module:browser": "./dist/index-browser.es.js",
|
|
59
|
-
"module:browser-dev": "./dist/index-browser-dev.es.js",
|
|
47
|
+
"module:node": "./dist/index-node14.mjs",
|
|
60
48
|
"module:modern-browsers": "./dist/index-browsermodern.es.js",
|
|
61
|
-
"module:modern-browsers-dev": "./dist/index-browsermodern-dev.es.js",
|
|
62
49
|
"sideEffects": false,
|
|
63
50
|
"scripts": {
|
|
64
51
|
"build": "pob-build && yarn run build:definitions",
|
|
65
52
|
"build:definitions": "tsc -p tsconfig.build.json",
|
|
53
|
+
"clean": "rm -Rf dist",
|
|
66
54
|
"lint": "yarn run lint:eslint",
|
|
67
|
-
"lint:eslint": "
|
|
55
|
+
"lint:eslint": "cd ../.. && yarn run eslint --report-unused-disable-directives --resolve-plugins-relative-to . --quiet packages/nightingale-types",
|
|
68
56
|
"watch": "pob-watch"
|
|
69
57
|
},
|
|
70
58
|
"prettier": {
|
|
@@ -76,7 +64,7 @@
|
|
|
76
64
|
"babelEnvs": [
|
|
77
65
|
{
|
|
78
66
|
"target": "node",
|
|
79
|
-
"version": "
|
|
67
|
+
"version": "14",
|
|
80
68
|
"formats": [
|
|
81
69
|
"cjs",
|
|
82
70
|
"es"
|
|
@@ -102,26 +90,14 @@
|
|
|
102
90
|
]
|
|
103
91
|
},
|
|
104
92
|
"dependencies": {
|
|
105
|
-
"nightingale-levels": "
|
|
93
|
+
"nightingale-levels": "12.0.1"
|
|
106
94
|
},
|
|
107
95
|
"devDependencies": {
|
|
108
|
-
"@babel/core": "7.
|
|
109
|
-
"@babel/preset-env": "7.
|
|
110
|
-
"@pob/eslint-config": "43.2.0",
|
|
111
|
-
"@pob/eslint-config-node": "43.2.0",
|
|
112
|
-
"@pob/eslint-config-typescript": "43.2.0",
|
|
113
|
-
"@typescript-eslint/eslint-plugin": "4.28.1",
|
|
114
|
-
"@typescript-eslint/parser": "4.28.1",
|
|
115
|
-
"babel-preset-latest-node": "5.5.1",
|
|
96
|
+
"@babel/core": "7.16.0",
|
|
97
|
+
"@babel/preset-env": "7.16.4",
|
|
116
98
|
"babel-preset-modern-browsers": "15.0.2",
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"eslint-plugin-import": "2.23.4",
|
|
120
|
-
"eslint-plugin-node": "11.1.0",
|
|
121
|
-
"eslint-plugin-unicorn": "29.0.0",
|
|
122
|
-
"pob-babel": "27.0.3",
|
|
123
|
-
"rollup": "2.52.3",
|
|
124
|
-
"typescript": "4.3.4"
|
|
99
|
+
"pob-babel": "29.4.2",
|
|
100
|
+
"typescript": "4.5.3"
|
|
125
101
|
},
|
|
126
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "bb3da283ed9e19d2c1dcdb5e130c86b4835d8500"
|
|
127
103
|
}
|
package/src/.eslintrc.json
CHANGED
|
@@ -6,5 +6,22 @@
|
|
|
6
6
|
},
|
|
7
7
|
"plugins": ["@typescript-eslint"],
|
|
8
8
|
"extends": ["@pob/eslint-config-typescript"],
|
|
9
|
-
"ignorePatterns": ["*.d.ts"]
|
|
9
|
+
"ignorePatterns": ["*.d.ts"],
|
|
10
|
+
"overrides": [
|
|
11
|
+
{
|
|
12
|
+
"files": ["**/*.test.ts", "__tests__/**/*.ts"],
|
|
13
|
+
"extends": ["@pob/eslint-config-typescript/test"],
|
|
14
|
+
"env": {
|
|
15
|
+
"jest": true
|
|
16
|
+
},
|
|
17
|
+
"rules": {
|
|
18
|
+
"import/no-extraneous-dependencies": [
|
|
19
|
+
"error",
|
|
20
|
+
{
|
|
21
|
+
"devDependencies": true
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
]
|
|
10
27
|
}
|
package/src/index.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-browser-dev.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-browser-dev.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-browsermodern-dev.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-node10-dev.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-node10-dev.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-node10-dev.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index-node10.cjs
DELETED
package/dist/index-node10.cjs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-node10.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-node10.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
package/dist/index-node10.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-node10.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-node12-dev.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-node12-dev.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index-node12.cjs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-node12.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
package/dist/index-node12.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-node12.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|