rman 0.31.0 → 0.31.1

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.
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rman",
3
3
  "description": "Monorepo repository manager",
4
- "version": "0.31.0",
4
+ "version": "0.31.1",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
7
7
  "dependencies": {
@@ -14,26 +14,34 @@
14
14
  "is-ci": "^3.0.1",
15
15
  "js-yaml": "^4.1.0",
16
16
  "npmlog": "^7.0.1",
17
- "power-tasks": "^1.9.0",
17
+ "power-tasks": "^1.10.1",
18
18
  "putil-merge": "^3.13.0",
19
19
  "putil-varhelpers": "^1.6.5",
20
20
  "semver": "^7.6.3",
21
21
  "signal-exit": "^4.1.0",
22
- "strict-typed-events": "^2.6.0",
22
+ "strict-typed-events": "^2.7.2",
23
23
  "strip-color": "^0.1.0",
24
24
  "tslib": "^2.6.3",
25
25
  "yargs": "^17.7.2"
26
26
  },
27
- "main": "./cjs/index.js",
28
- "module": "./esm/index.js",
29
- "types": "./types/index.d.ts",
27
+ "type": "module",
30
28
  "exports": {
31
29
  ".": {
32
- "require": "./cjs/index.js",
33
- "import": "./esm/index.js",
34
- "types": "./types/index.d.ts"
35
- }
30
+ "import": {
31
+ "types": "./types/index.d.ts",
32
+ "default": "./esm/index.js"
33
+ },
34
+ "require": {
35
+ "types": "./types/index.d.ts",
36
+ "default": "./cjs/index.js"
37
+ },
38
+ "default": "./esm/index.js"
39
+ },
40
+ "./package.json": "./package.json"
36
41
  },
42
+ "main": "./cjs/index.js",
43
+ "module": "./esm/index.js",
44
+ "types": "./types/index.d.ts",
37
45
  "bin": {
38
46
  "rman": "bin/rman.mjs"
39
47
  },
@@ -1,4 +1,4 @@
1
- import yargs from 'yargs';
1
+ import * as yargs from 'yargs';
2
2
  import { Repository } from '../core/repository.js';
3
3
  import { RunCommand } from './run-command.js';
4
4
  export declare class BuildCommand extends RunCommand<any> {
@@ -1,4 +1,4 @@
1
- import yargs from 'yargs';
1
+ import * as yargs from 'yargs';
2
2
  import { Package } from '../core/package.js';
3
3
  import { Repository } from '../core/repository.js';
4
4
  import { ListCommand } from './list-command.js';
@@ -1,5 +1,5 @@
1
1
  import { Task } from 'power-tasks';
2
- import yargs from 'yargs';
2
+ import * as yargs from 'yargs';
3
3
  import { Package } from '../core/package.js';
4
4
  import { Repository } from '../core/repository.js';
5
5
  import { ExecuteCommandResult } from '../utils/exec.js';
@@ -1,5 +1,5 @@
1
1
  import { Task } from 'power-tasks';
2
- import yargs from 'yargs';
2
+ import * as yargs from 'yargs';
3
3
  import { Package } from '../core/package.js';
4
4
  import { Repository } from '../core/repository.js';
5
5
  import { MultiTaskCommand } from './multi-task-command.js';
@@ -1,4 +1,4 @@
1
- import yargs from 'yargs';
1
+ import * as yargs from 'yargs';
2
2
  import { Command } from '../core/command.js';
3
3
  import { Repository } from '../core/repository.js';
4
4
  export declare class InfoCommand extends Command {
@@ -1,5 +1,5 @@
1
1
  import EasyTable from 'easy-table';
2
- import yargs from 'yargs';
2
+ import * as yargs from 'yargs';
3
3
  import { Command } from '../core/command.js';
4
4
  import { Package } from '../core/package.js';
5
5
  import { Repository } from '../core/repository.js';
@@ -1,5 +1,5 @@
1
1
  import { Task } from 'power-tasks';
2
- import yargs from 'yargs';
2
+ import * as yargs from 'yargs';
3
3
  import { Command } from '../core/command.js';
4
4
  import { Package } from '../core/package.js';
5
5
  import { Repository } from '../core/repository.js';
@@ -1,5 +1,5 @@
1
1
  import { Task } from 'power-tasks';
2
- import yargs from 'yargs';
2
+ import * as yargs from 'yargs';
3
3
  import { Package } from '../core/package.js';
4
4
  import { Repository } from '../core/repository.js';
5
5
  import { ExecuteCommandResult } from '../utils/exec.js';
@@ -1,5 +1,5 @@
1
1
  import { Task } from 'power-tasks';
2
- import yargs from 'yargs';
2
+ import * as yargs from 'yargs';
3
3
  import { Package } from '../core/package.js';
4
4
  import { Repository } from '../core/repository.js';
5
5
  import { ExecuteCommandResult } from '../utils/exec.js';
@@ -1,5 +1,5 @@
1
1
  import { Task } from 'power-tasks';
2
- import yargs from 'yargs';
2
+ import * as yargs from 'yargs';
3
3
  import { Package } from '../core/package.js';
4
4
  import { Repository } from '../core/repository.js';
5
5
  import { ExecuteCommandResult } from '../utils/exec.js';
@@ -1,6 +1,6 @@
1
1
  import './logger.js';
2
2
  import npmlog from 'npmlog';
3
- import yargs from 'yargs';
3
+ import * as yargs from 'yargs';
4
4
  export interface CommandEvents {
5
5
  start: () => void | Promise<void>;
6
6
  finish: (error?: any, result?: any) => void | Promise<void>;