standard-monorepo
Advanced tools
Comparing version 0.6.1-canary.35.2b5e82b.0 to 0.6.1-canary.35.f020c8c.0
@@ -8,3 +8,2 @@ "use strict"; | ||
const glob_1 = tslib_1.__importDefault(require("glob")); | ||
const app_root_path_1 = tslib_1.__importDefault(require("app-root-path")); | ||
const findByGlob = (context, glob) => { | ||
@@ -32,3 +31,3 @@ const packageJsonGlob = path_1.join(context, '/', glob, '/package.json'); | ||
}; | ||
const getAllPackages = (context = app_root_path_1.default.path) => { | ||
const getAllPackages = (context = process.cwd()) => { | ||
var _a; | ||
@@ -35,0 +34,0 @@ const pkg = require(path_1.join(context, 'package.json')); |
{ | ||
"name": "standard-monorepo", | ||
"version": "0.6.1-canary.35.2b5e82b.0", | ||
"version": "0.6.1-canary.35.f020c8c.0", | ||
"author": "Flávio Carvalho", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -83,3 +83,3 @@ # standard-monorepo | ||
$ standard-monorepo (-v|--version|version) | ||
standard-monorepo/0.6.1-canary.35.2b5e82b.0 linux-x64 node-v12.22.7 | ||
standard-monorepo/0.6.1-canary.35.f020c8c.0 linux-x64 node-v12.22.7 | ||
$ standard-monorepo --help [COMMAND] | ||
@@ -136,3 +136,3 @@ USAGE | ||
_See code: [src/commands/cache-key.ts](https://github.com/imflavio/standard-monorepo/blob/v0.6.1-canary.35.2b5e82b.0/src/commands/cache-key.ts)_ | ||
_See code: [src/commands/cache-key.ts](https://github.com/imflavio/standard-monorepo/blob/v0.6.1-canary.35.f020c8c.0/src/commands/cache-key.ts)_ | ||
@@ -155,3 +155,3 @@ ## `standard-monorepo circular-deps` | ||
_See code: [src/commands/circular-deps.ts](https://github.com/imflavio/standard-monorepo/blob/v0.6.1-canary.35.2b5e82b.0/src/commands/circular-deps.ts)_ | ||
_See code: [src/commands/circular-deps.ts](https://github.com/imflavio/standard-monorepo/blob/v0.6.1-canary.35.f020c8c.0/src/commands/circular-deps.ts)_ | ||
@@ -185,3 +185,3 @@ ## `standard-monorepo commit [COMMIT]` | ||
_See code: [src/commands/commit.ts](https://github.com/imflavio/standard-monorepo/blob/v0.6.1-canary.35.2b5e82b.0/src/commands/commit.ts)_ | ||
_See code: [src/commands/commit.ts](https://github.com/imflavio/standard-monorepo/blob/v0.6.1-canary.35.f020c8c.0/src/commands/commit.ts)_ | ||
@@ -248,3 +248,3 @@ ## `standard-monorepo help [COMMAND]` | ||
_See code: [src/commands/list.ts](https://github.com/imflavio/standard-monorepo/blob/v0.6.1-canary.35.2b5e82b.0/src/commands/list.ts)_ | ||
_See code: [src/commands/list.ts](https://github.com/imflavio/standard-monorepo/blob/v0.6.1-canary.35.f020c8c.0/src/commands/list.ts)_ | ||
<!-- commandsstop --> |
import { defaultTo, flattenDeep } from 'lodash' | ||
import { join } from 'path' | ||
import Glob from 'glob' | ||
import appRoot from 'app-root-path' | ||
@@ -45,3 +44,3 @@ import { Package, PackageJson } from './types' | ||
export const getAllPackages = (context: string = appRoot.path): Package[] => { | ||
export const getAllPackages = (context: string = process.cwd()): Package[] => { | ||
const pkg: PackageJson = require(join(context, 'package.json')) | ||
@@ -48,0 +47,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
108738
2761