@knit/needle
Advanced tools
Comparing version 0.7.2 to 0.8.0
27
index.js
"use strict"; | ||
var _assign = require("babel-runtime/core-js/object/assign"); | ||
var _assign2 = _interopRequireDefault(_assign); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
require("dotenv").config(); | ||
var readPkgUp = require("read-pkg-up"); | ||
const readPkgUp = require("read-pkg-up"); | ||
var pathJoin = require("@knit/path-join"); | ||
const pathJoin = require("@knit/path-join"); | ||
var pkg = (readPkgUp.sync() || {}).pkg || {}; | ||
var ROOT_DIR = process.env.PWD || ""; | ||
var WORKING_DIR = pathJoin(process.env.KNIT_WORKING_DIR || "src/packages"); | ||
var OUTPUT_DIR = pathJoin(process.env.KNIT_OUTPUT_DIR || "dist"); | ||
const pkg = (readPkgUp.sync() || {}).packageJson || {}; | ||
const ROOT_DIR = process.env.PWD || process.cwd() || ""; | ||
const WORKING_DIR = pathJoin(process.env.KNIT_WORKING_DIR || "src/packages"); | ||
const OUTPUT_DIR = pathJoin(process.env.KNIT_OUTPUT_DIR || "dist"); | ||
module.exports = { | ||
@@ -29,8 +21,9 @@ paths: { | ||
}, | ||
pkg: (0, _assign2.default)({ | ||
pkg: { | ||
dependencies: {}, | ||
devDependencies: {}, | ||
peerDependencies: {}, | ||
optionalDependencies: {} | ||
}, pkg) | ||
optionalDependencies: {}, | ||
...pkg | ||
} | ||
}; |
@@ -21,8 +21,8 @@ { | ||
"description": "Knitting needle", | ||
"version": "0.7.2", | ||
"version": "0.8.0", | ||
"dependencies": { | ||
"@knit/path-join": "0.7.2", | ||
"dotenv": "4.0.0", | ||
"read-pkg-up": "2.0.0" | ||
"dotenv": "8.1.0", | ||
"read-pkg-up": "7.0.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69125
23
+ Added@babel/code-frame@7.26.2(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@types/normalize-package-data@2.4.4(transitive)
+ Addeddotenv@8.1.0(transitive)
+ Addedfind-up@4.1.0(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedjson-parse-even-better-errors@2.3.1(transitive)
+ Addedlines-and-columns@1.2.4(transitive)
+ Addedlocate-path@5.0.0(transitive)
+ Addedp-limit@2.3.0(transitive)
+ Addedp-locate@4.1.0(transitive)
+ Addedp-try@2.2.0(transitive)
+ Addedparse-json@5.2.0(transitive)
+ Addedpath-exists@4.0.0(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedread-pkg@5.2.0(transitive)
+ Addedread-pkg-up@7.0.0(transitive)
+ Addedtype-fest@0.6.00.8.1(transitive)
- Removeddotenv@4.0.0(transitive)
- Removedfind-up@2.1.0(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedload-json-file@2.0.0(transitive)
- Removedlocate-path@2.0.0(transitive)
- Removedp-limit@1.3.0(transitive)
- Removedp-locate@2.0.0(transitive)
- Removedp-try@1.0.0(transitive)
- Removedparse-json@2.2.0(transitive)
- Removedpath-exists@3.0.0(transitive)
- Removedpath-type@2.0.0(transitive)
- Removedpify@2.3.0(transitive)
- Removedread-pkg@2.0.0(transitive)
- Removedread-pkg-up@2.0.0(transitive)
- Removedstrip-bom@3.0.0(transitive)
Updateddotenv@8.1.0
Updatedread-pkg-up@7.0.0