@tunnckocore/utils
Advanced tools
Comparing version 0.8.4 to 0.9.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.9.0](https://github.com/tunnckoCore/opensource/tree/master/@tunnckocore/utils/compare/@tunnckocore/utils@0.8.4...@tunnckocore/utils@0.9.0) (2019-10-02) | ||
### Features | ||
* merge configs repo here, unify pkg json, fmt ([0dd53f2](https://github.com/tunnckoCore/opensource/tree/master/@tunnckocore/utils/commit/0dd53f2)) | ||
## [0.8.4](https://github.com/tunnckoCore/opensource/tree/master/@tunnckocore/utils/compare/@tunnckocore/utils@0.8.3...@tunnckocore/utils@0.8.4) (2019-10-02) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"version": "0.8.4", | ||
"name": "@tunnckocore/utils", | ||
"version": "0.9.0", | ||
"description": "Utility functions and helpers for internal usage and monorepos", | ||
"repository": "https://github.com/tunnckoCore/opensource/tree/master/@tunnckocore/utils", | ||
"homepage": "https://tunnckocore.com/opensource", | ||
"author": "Charlike Mike Reagent <opensource@tunnckocore.com> (https://tunnckocore.com)", | ||
"homepage": "https://tunnckocore.com/opensource", | ||
"repository": "https://github.com/tunnckoCore/opensource/tree/master/@tunnckocore/utils", | ||
"license": "MPL-2.0", | ||
"licenseStart": 2019, | ||
"main": "src/index.js", | ||
"types": "src/index.d.ts", | ||
"scripts": {}, | ||
"publishConfig": { | ||
"access": "public", | ||
"tag": "latest" | ||
}, | ||
"engines": { | ||
"node": ">=8.11" | ||
}, | ||
"main": "src/index.js", | ||
"module": "src/index.js", | ||
"types": "src/index.d.ts", | ||
"files": [ | ||
@@ -24,13 +19,19 @@ "src" | ||
"keywords": [ | ||
"tunnckocorehq", | ||
"develop", | ||
"hela", | ||
"tunnckocore", | ||
"helpers", | ||
"monorepo", | ||
"monorepo helpers", | ||
"helpers", | ||
"utils", | ||
"utilities" | ||
"tunnckocore", | ||
"tunnckocorehq", | ||
"utilities", | ||
"utils" | ||
], | ||
"gitHead": "42cfba00d80e86d51108ae5d134d96a4cd651b51" | ||
"scripts": {}, | ||
"publishConfig": { | ||
"access": "public", | ||
"tag": "latest" | ||
}, | ||
"licenseStart": 2019, | ||
"gitHead": "7d24fbc72fa22884fba5c60abb8439dff2826016" | ||
} |
@@ -29,4 +29,5 @@ const fs = require('fs'); | ||
*/ | ||
function createAliases(cwd = process.cwd(), sourceDirectory) { | ||
const result = getWorkspacesAndExtensions(cwd); | ||
function createAliases(cwd, sourceDirectory) { | ||
const CWD = cwd || process.cwd(); | ||
const result = getWorkspacesAndExtensions(CWD); | ||
@@ -37,3 +38,3 @@ const info = {}; | ||
.reduce((acc, ws) => { | ||
const workspace = path.join(cwd, ws); | ||
const workspace = path.join(CWD, ws); | ||
@@ -123,3 +124,3 @@ const packages = fs | ||
.map((ws) => path.dirname(ws)); | ||
// console.log('workspaces', workspaces); | ||
let exts = [].concat(packageJson.extensions).filter(Boolean); | ||
@@ -126,0 +127,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
8867