npm-package-json-loader 2.0.7 → 2.0.10

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,30 @@
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.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)
7
+
8
+ **Note:** Version bump only for package npm-package-json-loader
9
+
10
+
11
+
12
+
13
+
14
+ ## [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)
15
+
16
+ **Note:** Version bump only for package npm-package-json-loader
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.0.8](https://github.com/bluelovers/ws-yarn-workspaces/compare/npm-package-json-loader@2.0.7...npm-package-json-loader@2.0.8) (2022-08-13)
23
+
24
+ **Note:** Version bump only for package npm-package-json-loader
25
+
26
+
27
+
28
+
29
+
6
30
  ## [2.0.7](https://github.com/bluelovers/ws-yarn-workspaces/compare/npm-package-json-loader@2.0.6...npm-package-json-loader@2.0.7) (2022-08-13)
7
31
 
8
32
 
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.7",
3
+ "version": "2.0.10",
4
4
  "private": false,
5
5
  "description": "Find and load configuration from a package.json",
6
6
  "keywords": [
@@ -46,18 +46,18 @@
46
46
  "dependencies": {
47
47
  "@bluelovers/fs-json": "^1.0.9",
48
48
  "@ts-type/package-dts": "^2.0.5",
49
- "@yarn-tool/pkg-entry-util": "^2.0.7",
50
- "@yarn-tool/resolve-package": "^2.0.1",
49
+ "@yarn-tool/pkg-entry-util": "^2.0.10",
50
+ "@yarn-tool/resolve-package": "^2.0.2",
51
51
  "bind-decorator": "^1.0.11",
52
52
  "fs-extra": "^10.1.0",
53
53
  "sort-package-json": "^1.57.0",
54
- "sort-package-json3": "^2.0.2",
54
+ "sort-package-json3": "^2.0.3",
55
55
  "ts-type": "^2.1.10",
56
56
  "tslib": "^2"
57
57
  },
58
58
  "bundleDependencies": [],
59
59
  "preferGlobal": true,
60
60
  "publishConfig": {},
61
- "gitHead": "e34c95f09bf1ad26e3a721028a28f6b8bfb44510",
61
+ "gitHead": "04b0e35bd37a6cbe152fd6564f0ec2439625270a",
62
62
  "licenses": []
63
63
  }
@@ -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
+ };