npm-package-json-loader 2.0.8 → 2.0.11

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,32 @@
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.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)
7
+
8
+
9
+
10
+ ### 🚨 Tests
11
+
12
+ * **snapshot:** snapshots updated ([50bff7c](https://github.com/bluelovers/ws-yarn-workspaces/commit/50bff7c13e1b01eb551c9b2252cfe3d971da8db8))
13
+
14
+
15
+
16
+ ## [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)
17
+
18
+ **Note:** Version bump only for package npm-package-json-loader
19
+
20
+
21
+
22
+
23
+
24
+ ## [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)
25
+
26
+ **Note:** Version bump only for package npm-package-json-loader
27
+
28
+
29
+
30
+
31
+
6
32
  ## [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)
7
33
 
8
34
  **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.8",
3
+ "version": "2.0.11",
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.8",
49
+ "@yarn-tool/pkg-entry-util": "^2.0.13",
50
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.3",
54
+ "sort-package-json3": "^2.0.4",
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": "1e294e0d844e53ead65f2cd9a501229de44d4bb5",
61
+ "gitHead": "3484e0721f85ac8235922ab980cf60993cdcbcd9",
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
+ };