monorepo-next 11.4.2 → 11.4.3

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.
@@ -3,7 +3,7 @@
3
3
  const commonArgs = require('../common-args');
4
4
  const postRun = require('../../src/post-run');
5
5
 
6
- const defaults = require('standard-version/defaults');
6
+ const defaults = require('commit-and-tag-version/defaults');
7
7
 
8
8
  module.exports = {
9
9
  command: 'release',
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const defaults = require('standard-version/defaults');
3
+ const defaults = require('commit-and-tag-version/defaults');
4
4
 
5
5
  module.exports = {
6
6
  'only-include-releasable': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monorepo-next",
3
- "version": "11.4.2",
3
+ "version": "11.4.3",
4
4
  "description": "Detach monorepo packages from normal linking",
5
5
  "bin": {
6
6
  "next": "bin/next.js"
@@ -13,6 +13,7 @@
13
13
  "keywords": [
14
14
  "attach",
15
15
  "changed",
16
+ "commit-and-tag-version",
16
17
  "conventional-changelog",
17
18
  "conventional-commits",
18
19
  "dag",
@@ -34,10 +35,10 @@
34
35
  "lint:js": "eslint . --ext js,json",
35
36
  "lint:md": "remark -f README.md",
36
37
  "start": "node bin/next",
37
- "release": "standard-version --commit-all",
38
+ "release": "commit-and-tag-version --commit-all",
38
39
  "test": "mocha"
39
40
  },
40
- "standard-version": {
41
+ "commit-and-tag-version": {
41
42
  "scripts": {
42
43
  "prerelease": "yargs-help-output README.md --npm-script-name start",
43
44
  "precommit": "git add README.md",
@@ -59,6 +60,7 @@
59
60
  },
60
61
  "dependencies": {
61
62
  "@npmcli/arborist": "^7.0.0",
63
+ "commit-and-tag-version": "9.5.0",
62
64
  "conventional-changelog": "5.1.0",
63
65
  "conventional-recommended-bump": "9.0.0",
64
66
  "debug": "^4.3.1",
@@ -72,7 +74,6 @@
72
74
  "rfc6902": "^5.0.0",
73
75
  "sanitize-filename": "^1.6.3",
74
76
  "semver": "^7.5.3",
75
- "standard-version": "9.5.0",
76
77
  "superset": "^2.0.1",
77
78
  "tmp": "0.2.3",
78
79
  "yargs": "^17.0.0"
@@ -16,8 +16,8 @@ const defaultReleaseType = 'patch';
16
16
  async function getReleaseType(packageName, cwd) {
17
17
  const conventionalRecommendedBump = require('conventional-recommended-bump');
18
18
 
19
- // let { preset } = require('standard-version/defaults');
20
- let preset = require('standard-version/lib/preset-loader')({});
19
+ // let { preset } = require('commit-and-tag-version/defaults');
20
+ let preset = require('commit-and-tag-version/lib/preset-loader')({});
21
21
 
22
22
  let tagPrefix = `${packageName}@`;
23
23
 
@@ -11,7 +11,7 @@ const {
11
11
  } = require('./git');
12
12
  const readJson = require('./json').read;
13
13
 
14
- const defaults = require('standard-version/defaults');
14
+ const defaults = require('commit-and-tag-version/defaults');
15
15
 
16
16
  const { builder } = require('../bin/commands/release');
17
17
 
@@ -102,7 +102,7 @@ async function _getChangelog({
102
102
  let context = { version };
103
103
  let changelogStream = conventionalChangelog(
104
104
  {
105
- preset: require('standard-version/lib/preset-loader')(defaults),
105
+ preset: require('commit-and-tag-version/lib/preset-loader')(defaults),
106
106
  tagPrefix,
107
107
  releaseCount,
108
108
  pkg: { path: path.join(cwd, 'package.json') },
package/src/release.js CHANGED
@@ -110,7 +110,7 @@ async function release({
110
110
 
111
111
  // eslint-disable-next-line no-inner-declarations
112
112
  async function originalVersion(options) {
113
- await require('standard-version')({
113
+ await require('commit-and-tag-version')({
114
114
  path: cwd,
115
115
  skip: {
116
116
  commit: true,