npm-package-json-loader 2.0.9 → 2.0.12

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,34 @@
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
+ ## [2.0.12](https://github.com/bluelovers/ws-yarn-workspaces/compare/npm-package-json-loader@2.0.11...npm-package-json-loader@2.0.12) (2022-08-26)
7
+
8
+
9
+
10
+ ### 🔖 Miscellaneous
11
+
12
+ * . ([157d5dc](https://github.com/bluelovers/ws-yarn-workspaces/commit/157d5dc8959261d9326f6e633987182898ae9670))
13
+
14
+
15
+
16
+ ## [2.0.11](https://github.com/bluelovers/ws-yarn-workspaces/compare/npm-package-json-loader@2.0.10...npm-package-json-loader@2.0.11) (2022-08-25)
17
+
18
+
19
+
20
+ ### 🚨 Tests
21
+
22
+ * **snapshot:** snapshots updated ([50bff7c](https://github.com/bluelovers/ws-yarn-workspaces/commit/50bff7c13e1b01eb551c9b2252cfe3d971da8db8))
23
+
24
+
25
+
26
+ ## [2.0.10](https://github.com/bluelovers/ws-yarn-workspaces/compare/npm-package-json-loader@2.0.9...npm-package-json-loader@2.0.10) (2022-08-19)
27
+
28
+ **Note:** Version bump only for package npm-package-json-loader
29
+
30
+
31
+
32
+
33
+
6
34
  ## [2.0.9](https://github.com/bluelovers/ws-yarn-workspaces/compare/npm-package-json-loader@2.0.8...npm-package-json-loader@2.0.9) (2022-08-18)
7
35
 
8
36
  **Note:** Version bump only for package npm-package-json-loader
package/README.md ADDED
@@ -0,0 +1,12 @@
1
+ # README.md
2
+
3
+ <%= description %>
4
+
5
+ ## install
6
+
7
+ ```bash
8
+ yarn add <%= name %>
9
+ yarn-tool add <%= name %>
10
+ yt add <%= name %>
11
+ ```
12
+
package/now.json.tpl ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "version": 2,
3
+ "builds": [
4
+ {
5
+ "src": "index.js",
6
+ "use": "@now/node@canary"
7
+ }
8
+ ],
9
+ "routes": [
10
+ {
11
+ "headers": {
12
+ "Access-Control-Allow-Origin": "*",
13
+ "Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS",
14
+ "Access-Control-Allow-Headers": "X-Requested-With, Content-Type, Accept"
15
+ },
16
+ "src": "/.*",
17
+ "dest": "/index.js"
18
+ }
19
+ ],
20
+ "env": {
21
+ "VERSION": "1.0.0"
22
+ }
23
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-package-json-loader",
3
- "version": "2.0.9",
3
+ "version": "2.0.12",
4
4
  "private": false,
5
5
  "description": "Find and load configuration from a package.json",
6
6
  "keywords": [
@@ -35,6 +35,9 @@
35
35
  "scripts": {
36
36
  "lint": "eslint .",
37
37
  "test": "jest -u",
38
+ "test:jest": "jest --passWithNoTests",
39
+ "test:jest:snapshot": "yarn run test:jest -- -u",
40
+ "test:snapshot": "yarn run test -- -u",
38
41
  "preversion": "yarn run test",
39
42
  "prepublishOnly": "echo prepublishOnly",
40
43
  "postpublish_": "git commit -m \"chore(release): publish\" .",
@@ -46,18 +49,18 @@
46
49
  "dependencies": {
47
50
  "@bluelovers/fs-json": "^1.0.9",
48
51
  "@ts-type/package-dts": "^2.0.5",
49
- "@yarn-tool/pkg-entry-util": "^2.0.9",
50
- "@yarn-tool/resolve-package": "^2.0.2",
52
+ "@yarn-tool/pkg-entry-util": "^2.0.14",
53
+ "@yarn-tool/resolve-package": "^2.0.3",
51
54
  "bind-decorator": "^1.0.11",
52
55
  "fs-extra": "^10.1.0",
53
56
  "sort-package-json": "^1.57.0",
54
- "sort-package-json3": "^2.0.3",
57
+ "sort-package-json3": "^2.0.5",
55
58
  "ts-type": "^2.1.10",
56
59
  "tslib": "^2"
57
60
  },
58
61
  "bundleDependencies": [],
59
62
  "preferGlobal": true,
60
63
  "publishConfig": {},
61
- "gitHead": "43e4e36c013c2f68c7f4a485651276495da5039c",
64
+ "gitHead": "150365d3846067505842c6503564abe98ebe508d",
62
65
  "licenses": []
63
66
  }
@@ -0,0 +1,6 @@
1
+ {
2
+ "targets": [
3
+ { "extname": ".cjs", "module": "commonjs" },
4
+ { "extname": ".mjs", "module": "nodenext" }
5
+ ]
6
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": "@bluelovers/tsconfig/esm/module.json",
3
+ "compilerOptions": {
4
+ "sourceRoot": "./lib",
5
+ "outDir": "./esm",
6
+ "rootDir": "./lib",
7
+ "module": "esnext",
8
+ "noImplicitAny": true
9
+ }
10
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": "@bluelovers/tsconfig/esm/mapfile.json",
3
+ "compilerOptions": {
4
+ "importHelpers": true
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": "@bluelovers/tsconfig/tsdx/index.json",
3
+ "compilerOptions": {
4
+ "importHelpers": true,
5
+ }
6
+ }
@@ -0,0 +1,14 @@
1
+ // Not transpiled with TypeScript or Babel, so use plain Es6/Node.js!
2
+ module.exports = {
3
+
4
+ /**
5
+ * This function will run for each entry/format/env combination
6
+ */
7
+ rollup(config, options) {
8
+
9
+ config.output.preferConst = true;
10
+
11
+ return config;
12
+ },
13
+
14
+ };