@yarn-tool/changelog 2.0.10 → 2.0.11

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/CHANGELOG.md CHANGED
@@ -3,6 +3,26 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.11](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/changelog@2.0.10...@yarn-tool/changelog@2.0.11) (2022-09-06)
7
+
8
+
9
+
10
+ ### ✨ Features
11
+
12
+ * add v8-compile-cache ([fc04829](https://github.com/bluelovers/ws-yarn-workspaces/commit/fc048297322ee9478b3ebd46667284ec3cb37e70))
13
+
14
+
15
+ ### 📚 Documentation
16
+
17
+ * add directory ([442a552](https://github.com/bluelovers/ws-yarn-workspaces/commit/442a55232619f7fe2b9bad6f8eccfffc4f8f47d2))
18
+
19
+
20
+ ### 📌 Dependencies
21
+
22
+ * update deps ([aeb5e41](https://github.com/bluelovers/ws-yarn-workspaces/commit/aeb5e416e8ea6c7d37ed7d38fedd6ff5c8c371df))
23
+
24
+
25
+
6
26
  ## [2.0.10](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/changelog@2.0.9...@yarn-tool/changelog@2.0.10) (2022-08-26)
7
27
 
8
28
 
package/bin/changelog.js CHANGED
@@ -2,6 +2,7 @@
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  const tslib_1 = require("tslib");
5
+ require("v8-compile-cache");
5
6
  const yargs_1 = tslib_1.__importDefault(require("yargs"));
6
7
  const yargs_setting_1 = require("../lib/yargs-setting");
7
8
  const from_list_1 = require("../lib/lerna/from-list");
@@ -1 +1 @@
1
- {"version":3,"file":"changelog.js","sourceRoot":"","sources":["changelog.ts"],"names":[],"mappings":";;;;AAEA,0DAA0C;AAC1C,wDAAoD;AAEpD,sDAA8D;AAC9D,4CAAyD;AACzD,+CAA0C;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,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAA;IAEjD,IAAI,OAAO,GAAG,IAAA,0BAAY,EAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAE3D,KAAK,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAA;IACtC,KAAK,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAA;IAChC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;IAElC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC;AACnD,CAAC,CAAC,CACF","sourcesContent":["#!/usr/bin/env node\n\nimport yargs, { Argv, Omit } from 'yargs';\nimport { setupToYargs } from '../lib/yargs-setting';\nimport { IOptionsWithType, IOptionsUpdateChangelog } from '..';\nimport { updateChangelogByCwd } from '../lib/lerna/from-list';\nimport { createDependencyTable } from '@yarn-tool/table';\nimport { pathIsSame } from 'path-is-same';\nimport { join } from 'path';\nimport { colorizeDiff } from '@yarn-tool/semver-diff';\n\nconst argv = setupToYargs(yargs)\n\t.option('cwd', {\n\t\tdefault: process.cwd(),\n\t\tnormalize: true,\n\t})\n\t.showHelpOnFail(true)\n\t.version()\n\t.help()\n\t.parseSync()\n;\n\nlet options: Partial<IOptionsWithType<IOptionsUpdateChangelog>> = {\n\n\tchangelogPreset: argv.preset,\n\ttagPrefix: argv['tag-prefix'],\n\n\ttype: argv.type || (argv['lerna-package'] ? 'independent' : 'root'),\n\n}\n\nupdateChangelogByCwd(argv.cwd, options)\n\t.then(data => {\n\n\t\tconst table = createDependencyTable({\n\t\t\tcolAligns: ['left', 'left'],\n\t\t});\n\n\t\ttable.push([`rootPath`, data.rootPath])\n\n\t\tif (!pathIsSame(data.rootPath, data.cwd))\n\t\t{\n\t\t\ttable.push([`targetPath`, data.cwd])\n\t\t}\n\n\t\ttable.push([`changelogPreset`, data.options.changelogPreset])\n\t\ttable.push([`type`, data.options.type])\n\t\ttable.push([`tagPrefix`, data.options.tagPrefix])\n\n\t\tlet version = colorizeDiff(data.pkg.version, data.version);\n\n\t\ttable.push([`package`, data.pkg.name])\n\t\ttable.push([`version`, version])\n\t\ttable.push([`file`, data.logPath])\n\n\t\tconsole.log(table.toString().replace(/ +$/g, ''));\n\t})\n;\n"]}
1
+ {"version":3,"file":"changelog.js","sourceRoot":"","sources":["changelog.ts"],"names":[],"mappings":";;;;AAEA,4BAA0B;AAC1B,0DAA0C;AAC1C,wDAAoD;AAEpD,sDAA8D;AAC9D,4CAAyD;AACzD,+CAA0C;AAE1C,wDAAsD;AAEtD,MAAM,IAAI,GAAG,IAAA,4BAAY,EAAC,eAAK,CAAC;KAC9B,MAAM,CAAC,KAAK,EAAE;IACd,OAAO,EAAE,OAAO,CAAC,GAAG,EAAE;IACtB,SAAS,EAAE,IAAI;CACf,CAAC;KACD,cAAc,CAAC,IAAI,CAAC;KACpB,OAAO,EAAE;KACT,IAAI,EAAE;KACN,SAAS,EAAE,CACZ;AAED,IAAI,OAAO,GAAuD;IAEjE,eAAe,EAAE,IAAI,CAAC,MAAM;IAC5B,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC;IAE7B,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;CAEnE,CAAA;AAED,IAAA,gCAAoB,EAAC,IAAI,CAAC,GAAG,EAAE,OAAO,CAAC;KACrC,IAAI,CAAC,IAAI,CAAC,EAAE;IAEZ,MAAM,KAAK,GAAG,IAAA,6BAAqB,EAAC;QACnC,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;KAC3B,CAAC,CAAC;IAEH,KAAK,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAA;IAEvC,IAAI,CAAC,IAAA,yBAAU,EAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,EACxC;QACC,KAAK,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;KACpC;IAED,KAAK,CAAC,IAAI,CAAC,CAAC,iBAAiB,EAAE,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAA;IAC7D,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAA;IACvC,KAAK,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAA;IAEjD,IAAI,OAAO,GAAG,IAAA,0BAAY,EAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAE3D,KAAK,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAA;IACtC,KAAK,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAA;IAChC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;IAElC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC;AACnD,CAAC,CAAC,CACF","sourcesContent":["#!/usr/bin/env node\n\nimport 'v8-compile-cache';\nimport yargs, { Argv, Omit } from 'yargs';\nimport { setupToYargs } from '../lib/yargs-setting';\nimport { IOptionsWithType, IOptionsUpdateChangelog } from '..';\nimport { updateChangelogByCwd } from '../lib/lerna/from-list';\nimport { createDependencyTable } from '@yarn-tool/table';\nimport { pathIsSame } from 'path-is-same';\nimport { join } from 'path';\nimport { colorizeDiff } from '@yarn-tool/semver-diff';\n\nconst argv = setupToYargs(yargs)\n\t.option('cwd', {\n\t\tdefault: process.cwd(),\n\t\tnormalize: true,\n\t})\n\t.showHelpOnFail(true)\n\t.version()\n\t.help()\n\t.parseSync()\n;\n\nlet options: Partial<IOptionsWithType<IOptionsUpdateChangelog>> = {\n\n\tchangelogPreset: argv.preset,\n\ttagPrefix: argv['tag-prefix'],\n\n\ttype: argv.type || (argv['lerna-package'] ? 'independent' : 'root'),\n\n}\n\nupdateChangelogByCwd(argv.cwd, options)\n\t.then(data => {\n\n\t\tconst table = createDependencyTable({\n\t\t\tcolAligns: ['left', 'left'],\n\t\t});\n\n\t\ttable.push([`rootPath`, data.rootPath])\n\n\t\tif (!pathIsSame(data.rootPath, data.cwd))\n\t\t{\n\t\t\ttable.push([`targetPath`, data.cwd])\n\t\t}\n\n\t\ttable.push([`changelogPreset`, data.options.changelogPreset])\n\t\ttable.push([`type`, data.options.type])\n\t\ttable.push([`tagPrefix`, data.options.tagPrefix])\n\n\t\tlet version = colorizeDiff(data.pkg.version, data.version);\n\n\t\ttable.push([`package`, data.pkg.name])\n\t\ttable.push([`version`, version])\n\t\ttable.push([`file`, data.logPath])\n\n\t\tconsole.log(table.toString().replace(/ +$/g, ''));\n\t})\n;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yarn-tool/changelog",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/bluelovers/ws-yarn-workspaces/tree/master/packages/@yarn-tool/changelog#readme",
6
6
  "bugs": {
@@ -8,7 +8,8 @@
8
8
  },
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/bluelovers/ws-yarn-workspaces.git"
11
+ "url": "git+https://github.com/bluelovers/ws-yarn-workspaces.git",
12
+ "directory": "packages/@yarn-tool/changelog"
12
13
  },
13
14
  "license": "ISC",
14
15
  "author": "bluelovers",
@@ -41,18 +42,19 @@
41
42
  },
42
43
  "dependencies": {
43
44
  "@bluelovers/conventional-changelog-bluelovers": "*",
44
- "@lerna/conventional-commits": "^5.4.3",
45
- "@yarn-tool/find-root": "^2.0.5",
46
- "@yarn-tool/require-resolve": "^2.0.3",
47
- "@yarn-tool/semver-diff": "^2.0.5",
48
- "@yarn-tool/table": "^2.0.5",
49
- "@yarn-tool/types": "^1.0.10",
45
+ "@lerna/conventional-commits": "^5.5.0",
46
+ "@yarn-tool/find-root": "^2.0.6",
47
+ "@yarn-tool/require-resolve": "^2.0.4",
48
+ "@yarn-tool/semver-diff": "^2.0.6",
49
+ "@yarn-tool/table": "^2.0.6",
50
+ "@yarn-tool/types": "^1.0.11",
50
51
  "lodash": "^4.17.21",
51
52
  "path-is-same": "^1.0.19",
52
53
  "ts-type": "^2.1.10",
53
- "tslib": "^2",
54
+ "tslib": ">=2",
54
55
  "upath2": "^3.1.15",
55
- "ws-pkg-list": "^2.0.5",
56
+ "v8-compile-cache": "^2.3.0",
57
+ "ws-pkg-list": "^2.0.6",
56
58
  "yargs": "*"
57
59
  },
58
60
  "peerDependencies": {
@@ -61,5 +63,5 @@
61
63
  "publishConfig": {
62
64
  "access": "public"
63
65
  },
64
- "gitHead": "150365d3846067505842c6503564abe98ebe508d"
66
+ "gitHead": "fccc2913440df31b04f2971e479fbe1d4c3a7a0c"
65
67
  }