@deot/dev-releaser 2.3.1 → 2.5.0

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/dist/index.es.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import chalk from 'chalk';
2
2
  import { Locals, Logger, Shell, Utils } from '@deot/dev-shared';
3
3
  import * as path from 'node:path';
4
- import fs from 'fs-extra';
5
4
  import { createRequire } from 'node:module';
5
+ import fs from 'fs-extra';
6
6
  import parser from 'conventional-commits-parser';
7
7
  import semver from 'semver';
8
8
  import inquirer from 'inquirer';
package/package.json CHANGED
@@ -1,10 +1,16 @@
1
1
  {
2
2
  "name": "@deot/dev-releaser",
3
- "version": "2.3.1",
3
+ "version": "2.5.0",
4
+ "type": "module",
4
5
  "main": "dist/index.es.js",
5
- "module": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
7
- "type": "module",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./dist/index.es.js",
10
+ "require": "./dist/index.cjs",
11
+ "types": "./dist/index.d.ts"
12
+ }
13
+ },
8
14
  "files": [
9
15
  "dist"
10
16
  ],
@@ -13,8 +19,8 @@
13
19
  "access": "public"
14
20
  },
15
21
  "dependencies": {
16
- "@deot/dev-shared": "^2.3.0",
17
- "conventional-commits-parser": "^4.0.0",
22
+ "@deot/dev-shared": "^2.5.0",
23
+ "conventional-commits-parser": "^5.0.0",
18
24
  "chalk": "^5.3.0",
19
25
  "fs-extra": "^11.1.1",
20
26
  "inquirer": "^9.2.10",
@@ -5,8 +5,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
5
  const chalk = require('chalk');
6
6
  const devShared = require('@deot/dev-shared');
7
7
  const path = require('node:path');
8
- const fs = require('fs-extra');
9
8
  const node_module = require('node:module');
9
+ const fs = require('fs-extra');
10
10
  const parser = require('conventional-commits-parser');
11
11
  const semver = require('semver');
12
12
  const inquirer = require('inquirer');