nightingale-web-processor 11.6.0 → 11.7.4

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "root": true,
3
- "extends": ["@pob/eslint-config/root", "@pob/eslint-config-node"],
3
+ "extends": ["@pob/eslint-config/root-commonjs"],
4
4
  "ignorePatterns": ["*.d.ts", "/dist"]
5
5
  }
package/CHANGELOG.md CHANGED
@@ -3,6 +3,41 @@
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
+ ## [11.7.4](https://github.com/christophehurpeau/nightingale/compare/v11.7.3...v11.7.4) (2021-11-27)
7
+
8
+ **Note:** Version bump only for package nightingale-web-processor
9
+
10
+
11
+
12
+
13
+
14
+ ## [11.7.2](https://github.com/christophehurpeau/nightingale/compare/v11.7.1...v11.7.2) (2021-11-27)
15
+
16
+ **Note:** Version bump only for package nightingale-web-processor
17
+
18
+
19
+
20
+
21
+
22
+ ## [11.7.1](https://github.com/christophehurpeau/nightingale/compare/v11.7.0...v11.7.1) (2021-06-29)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * update pob-babel to bring back webpack 4 support ([4887431](https://github.com/christophehurpeau/nightingale/commit/4887431b3b272496511f879af022638723b9056e))
28
+
29
+
30
+
31
+
32
+
33
+ # [11.7.0](https://github.com/christophehurpeau/nightingale/compare/v11.6.0...v11.7.0) (2021-03-29)
34
+
35
+ **Note:** Version bump only for package nightingale-web-processor
36
+
37
+
38
+
39
+
40
+
6
41
  # [11.6.0](https://github.com/christophehurpeau/nightingale/compare/v11.5.4...v11.6.0) (2021-03-21)
7
42
 
8
43
 
@@ -16,5 +16,5 @@ function webProcessor(record, context) {
16
16
  }
17
17
  }
18
18
 
19
- exports.default = webProcessor;
19
+ exports["default"] = webProcessor;
20
20
  //# sourceMappingURL=index-node12-dev.cjs.js.map
@@ -12,5 +12,5 @@ function webProcessor(record, context) {
12
12
  }
13
13
  }
14
14
 
15
- export default webProcessor;
15
+ export { webProcessor as default };
16
16
  //# sourceMappingURL=index-node12-dev.mjs.map
@@ -16,5 +16,5 @@ function webProcessor(record, context) {
16
16
  }
17
17
  }
18
18
 
19
- exports.default = webProcessor;
19
+ exports["default"] = webProcessor;
20
20
  //# sourceMappingURL=index-node12.cjs.js.map
@@ -12,5 +12,5 @@ function webProcessor(record, context) {
12
12
  }
13
13
  }
14
14
 
15
- export default webProcessor;
15
+ export { webProcessor as default };
16
16
  //# sourceMappingURL=index-node12.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nightingale-web-processor",
3
- "version": "11.6.0",
3
+ "version": "11.7.4",
4
4
  "description": "Nightingale web processor",
5
5
  "keywords": [
6
6
  "nightingale",
@@ -14,12 +14,14 @@
14
14
  "directory": "packages/nightingale-web-processor"
15
15
  },
16
16
  "homepage": "https://github.com/christophehurpeau/nightingale",
17
+ "type": "commonjs",
17
18
  "engines": {
18
- "node": ">=12.10.0"
19
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
19
20
  },
20
- "main": "./index.js",
21
+ "main": "./dist/index-node12.cjs.js",
21
22
  "types": "./dist/index.d.ts",
22
23
  "exports": {
24
+ "./package.json": "./package.json",
23
25
  ".": {
24
26
  "node": {
25
27
  "development": {
@@ -38,7 +40,7 @@
38
40
  "build": "pob-build && yarn run build:definitions",
39
41
  "build:definitions": "tsc -p tsconfig.build.json",
40
42
  "lint": "yarn run lint:eslint",
41
- "lint:eslint": "yarn --cwd ../.. run eslint --ext .js,.mjs,.ts --report-unused-disable-directives --quiet packages/nightingale-web-processor",
43
+ "lint:eslint": "cd ../.. && yarn run eslint --report-unused-disable-directives --resolve-plugins-relative-to . --quiet packages/nightingale-web-processor",
42
44
  "watch": "pob-watch"
43
45
  },
44
46
  "prettier": {
@@ -63,25 +65,14 @@
63
65
  },
64
66
  "dependencies": {
65
67
  "@types/node": ">=12.0.0",
66
- "nightingale-types": "^11.6.0"
68
+ "nightingale-types": "^11.7.4"
67
69
  },
68
70
  "devDependencies": {
69
- "@babel/core": "7.13.10",
70
- "@pob/eslint-config": "43.0.0",
71
- "@pob/eslint-config-node": "43.1.0",
72
- "@pob/eslint-config-typescript": "43.0.0",
73
- "@pob/eslint-config-typescript-node": "43.0.0",
74
- "@typescript-eslint/eslint-plugin": "4.18.0",
75
- "@typescript-eslint/parser": "4.18.0",
71
+ "@babel/core": "7.16.0",
76
72
  "babel-preset-latest-node": "5.5.1",
77
- "eslint": "7.22.0",
78
- "eslint-import-resolver-node": "0.3.4",
79
- "eslint-plugin-import": "2.22.1",
80
- "eslint-plugin-node": "11.1.0",
81
- "eslint-plugin-unicorn": "25.0.1",
82
- "pob-babel": "26.8.0",
83
- "rollup": "2.42.1",
84
- "typescript": "4.2.3"
73
+ "pob-babel": "28.5.0",
74
+ "rollup": "2.60.1",
75
+ "typescript": "4.5.2"
85
76
  },
86
- "gitHead": "56849d6762e917f29c20f932569973046a24f602"
77
+ "gitHead": "70f6b4ba634ff778fc94bef7e2455e8b6a7db06a"
87
78
  }
@@ -0,0 +1,3 @@
1
+ import createRollupConfig from 'pob-babel/createRollupConfig.js';
2
+
3
+ export default createRollupConfig({});
@@ -7,7 +7,7 @@
7
7
  "plugins": ["@typescript-eslint"],
8
8
  "extends": [
9
9
  "@pob/eslint-config-typescript",
10
- "@pob/eslint-config-typescript-node"
10
+ "@pob/eslint-config-typescript/node"
11
11
  ],
12
12
  "ignorePatterns": ["*.d.ts"]
13
13
  }
package/index.js DELETED
@@ -1,6 +0,0 @@
1
- /* eslint-disable import/no-dynamic-require */
2
-
3
- 'use strict';
4
-
5
- const production = process.env.NODE_ENV === 'production';
6
- module.exports = require(`./dist/index-node12${production ? '' : '-dev'}.cjs`);