nightingale-web-processor 11.7.1 → 11.7.2

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,14 @@
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.2](https://github.com/christophehurpeau/nightingale/compare/v11.7.1...v11.7.2) (2021-11-27)
7
+
8
+ **Note:** Version bump only for package nightingale-web-processor
9
+
10
+
11
+
12
+
13
+
6
14
  ## [11.7.1](https://github.com/christophehurpeau/nightingale/compare/v11.7.0...v11.7.1) (2021-06-29)
7
15
 
8
16
 
@@ -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.7.1",
3
+ "version": "11.7.2",
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.7.1"
68
+ "nightingale-types": "^11.7.2"
67
69
  },
68
70
  "devDependencies": {
69
- "@babel/core": "7.14.6",
70
- "@pob/eslint-config": "43.2.0",
71
- "@pob/eslint-config-node": "43.2.0",
72
- "@pob/eslint-config-typescript": "43.2.0",
73
- "@pob/eslint-config-typescript-node": "43.2.0",
74
- "@typescript-eslint/eslint-plugin": "4.28.1",
75
- "@typescript-eslint/parser": "4.28.1",
71
+ "@babel/core": "7.16.0",
76
72
  "babel-preset-latest-node": "5.5.1",
77
- "eslint": "7.29.0",
78
- "eslint-import-resolver-node": "0.3.4",
79
- "eslint-plugin-import": "2.23.4",
80
- "eslint-plugin-node": "11.1.0",
81
- "eslint-plugin-unicorn": "29.0.0",
82
- "pob-babel": "27.0.3",
83
- "rollup": "2.52.3",
84
- "typescript": "4.3.4"
73
+ "pob-babel": "28.5.0",
74
+ "rollup": "2.60.1",
75
+ "typescript": "4.5.2"
85
76
  },
86
- "gitHead": "325214aa6c7f87ace818389b77ce7b4208005c11"
77
+ "gitHead": "00b1ec6c7468b320e268a12eaac70d59a177787b"
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`);