@varlet/release 0.3.2 → 0.3.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.
- package/README.md +16 -5
- package/README.zh-CN.md +15 -4
- package/bin/index.js +5 -4
- package/dist/index.cjs +29 -30
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +29 -30
- package/package.json +36 -32
- /package/{LICENCE → LICENSE} +0 -0
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</p>
|
|
7
7
|
<p align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@varlet/release" target="_blank" rel="noopener noreferrer"><img src="https://badgen.net/npm/v/@varlet/release" alt="NPM Version" /></a>
|
|
9
|
-
<a href="https://github.com/varletjs/release/blob/main/
|
|
9
|
+
<a href="https://github.com/varletjs/release/blob/main/LICENSE" target="_blank" rel="noopener noreferrer"><img src="https://badgen.net/github/license/varletjs/release" alt="License" /></a>
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
## Intro
|
|
@@ -66,6 +66,7 @@ npx vr publish
|
|
|
66
66
|
| ----------------------------------- | -------------------------- |
|
|
67
67
|
| -f --file \<filename\> | Specify changelog filename |
|
|
68
68
|
| -rc --releaseCount \<releaseCount\> | Release count |
|
|
69
|
+
| -p --preset \<preset\> | Specify changelog preset |
|
|
69
70
|
|
|
70
71
|
#### lint-commit
|
|
71
72
|
|
|
@@ -88,7 +89,7 @@ npx vr publish
|
|
|
88
89
|
#### Example
|
|
89
90
|
|
|
90
91
|
```js
|
|
91
|
-
import {
|
|
92
|
+
import { changelog, release } from '@varlet/release'
|
|
92
93
|
|
|
93
94
|
// Do what you want to do...
|
|
94
95
|
release()
|
|
@@ -97,7 +98,7 @@ release()
|
|
|
97
98
|
You can pass in a task that will be called before the publish after the package version is changed.
|
|
98
99
|
|
|
99
100
|
```js
|
|
100
|
-
import {
|
|
101
|
+
import { changelog, release } from '@varlet/release'
|
|
101
102
|
|
|
102
103
|
async function task() {
|
|
103
104
|
await doSomething1()
|
|
@@ -130,8 +131,18 @@ function release(options: ReleaseCommandOptions): Promise<void>
|
|
|
130
131
|
interface ChangelogCommandOptions {
|
|
131
132
|
file?: string
|
|
132
133
|
releaseCount?: number
|
|
134
|
+
preset?:
|
|
135
|
+
| 'angular'
|
|
136
|
+
| 'atom'
|
|
137
|
+
| 'codemirror'
|
|
138
|
+
| 'conventionalcommits'
|
|
139
|
+
| 'ember'
|
|
140
|
+
| 'eslint'
|
|
141
|
+
| 'express'
|
|
142
|
+
| 'jquery'
|
|
143
|
+
| 'jshint'
|
|
133
144
|
}
|
|
134
|
-
function changelog({ releaseCount, file }?: ChangelogCommandOptions): Promise<void>
|
|
145
|
+
function changelog({ releaseCount, file, preset }?: ChangelogCommandOptions): Promise<void>
|
|
135
146
|
|
|
136
147
|
const COMMIT_MESSAGE_RE: RegExp
|
|
137
148
|
function isVersionCommitMessage(message: string): string | false | null
|
|
@@ -147,4 +158,4 @@ function commitLint(options: CommitLintCommandOptions): void
|
|
|
147
158
|
|
|
148
159
|
## License
|
|
149
160
|
|
|
150
|
-
[MIT](https://github.com/varletjs/release/blob/main/
|
|
161
|
+
[MIT](https://github.com/varletjs/release/blob/main/LICENSE)
|
package/README.zh-CN.md
CHANGED
|
@@ -66,6 +66,7 @@ npx vr publish
|
|
|
66
66
|
| ----------------------------------- | ------------------ |
|
|
67
67
|
| -f --file \<filename\> | 指定变更日志文件名 |
|
|
68
68
|
| -rc --releaseCount \<releaseCount\> | 发布数量 |
|
|
69
|
+
| -p --preset \<preset\> | 指定变更预设 |
|
|
69
70
|
|
|
70
71
|
#### lint-commit
|
|
71
72
|
|
|
@@ -88,7 +89,7 @@ npx vr publish
|
|
|
88
89
|
#### 示例
|
|
89
90
|
|
|
90
91
|
```js
|
|
91
|
-
import {
|
|
92
|
+
import { changelog, release } from '@varlet/release'
|
|
92
93
|
|
|
93
94
|
// Do what you want to do...
|
|
94
95
|
release()
|
|
@@ -97,7 +98,7 @@ release()
|
|
|
97
98
|
你可以传入一个 `task`,在包版本更改后,在发布之前会调用 `task`。
|
|
98
99
|
|
|
99
100
|
```js
|
|
100
|
-
import {
|
|
101
|
+
import { changelog, release } from '@varlet/release'
|
|
101
102
|
|
|
102
103
|
async function task() {
|
|
103
104
|
await doSomething1()
|
|
@@ -130,8 +131,18 @@ function release(options: ReleaseCommandOptions): Promise<void>
|
|
|
130
131
|
interface ChangelogCommandOptions {
|
|
131
132
|
file?: string
|
|
132
133
|
releaseCount?: number
|
|
134
|
+
preset?:
|
|
135
|
+
| 'angular'
|
|
136
|
+
| 'atom'
|
|
137
|
+
| 'codemirror'
|
|
138
|
+
| 'conventionalcommits'
|
|
139
|
+
| 'ember'
|
|
140
|
+
| 'eslint'
|
|
141
|
+
| 'express'
|
|
142
|
+
| 'jquery'
|
|
143
|
+
| 'jshint'
|
|
133
144
|
}
|
|
134
|
-
function changelog({ releaseCount, file }?: ChangelogCommandOptions): Promise<void>
|
|
145
|
+
function changelog({ releaseCount, file, preset }?: ChangelogCommandOptions): Promise<void>
|
|
135
146
|
|
|
136
147
|
const COMMIT_MESSAGE_RE: RegExp
|
|
137
148
|
function isVersionCommitMessage(message: string): string | false | null
|
|
@@ -145,6 +156,6 @@ interface CommitLintCommandOptions {
|
|
|
145
156
|
function commitLint(options: CommitLintCommandOptions): void
|
|
146
157
|
```
|
|
147
158
|
|
|
148
|
-
##
|
|
159
|
+
## 许可证
|
|
149
160
|
|
|
150
161
|
[MIT](https://github.com/varletjs/release/blob/main/LICENSE)
|
package/bin/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { release, publish, changelog, commitLint } from '../dist/index.js'
|
|
3
2
|
import { Command } from 'commander'
|
|
4
3
|
import fse from 'fs-extra'
|
|
4
|
+
import { changelog, commitLint, publish, release } from '../dist/index.js'
|
|
5
5
|
|
|
6
6
|
const program = new Command()
|
|
7
7
|
|
|
@@ -18,21 +18,22 @@ program
|
|
|
18
18
|
.option('-nt --npm-tag <npmTag>', 'Npm tag')
|
|
19
19
|
.option('-c --check-remote-version', 'Check remote version')
|
|
20
20
|
.description('Release all packages and generate changelogs')
|
|
21
|
-
.action(
|
|
21
|
+
.action((options) => release(options))
|
|
22
22
|
|
|
23
23
|
program
|
|
24
24
|
.command('publish')
|
|
25
25
|
.option('-c --check-remote-version', 'Check remote version')
|
|
26
26
|
.option('-nt --npm-tag <npmTag>', 'Npm tag')
|
|
27
27
|
.description('Publish to npm')
|
|
28
|
-
.action(
|
|
28
|
+
.action((options) => publish(options))
|
|
29
29
|
|
|
30
30
|
program
|
|
31
31
|
.command('changelog')
|
|
32
32
|
.option('-rc --releaseCount <releaseCount>', 'Release count')
|
|
33
33
|
.option('-f --file <file>', 'Changelog filename')
|
|
34
|
+
.option('-p --preset <preset>', 'Changelog preset')
|
|
34
35
|
.description('Generate changelog')
|
|
35
|
-
.action(
|
|
36
|
+
.action((options) => changelog(options))
|
|
36
37
|
|
|
37
38
|
program
|
|
38
39
|
.command('commit-lint')
|
package/dist/index.cjs
CHANGED
|
@@ -43,47 +43,29 @@ __export(src_exports, {
|
|
|
43
43
|
module.exports = __toCommonJS(src_exports);
|
|
44
44
|
|
|
45
45
|
// src/release.ts
|
|
46
|
+
var import_path2 = require("path");
|
|
47
|
+
var import_prompts = require("@inquirer/prompts");
|
|
46
48
|
var import_fs_extra2 = __toESM(require("fs-extra"), 1);
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
50
|
-
var logger_default = {
|
|
51
|
-
info(text) {
|
|
52
|
-
console.log(text);
|
|
53
|
-
},
|
|
54
|
-
success(text) {
|
|
55
|
-
console.log(import_picocolors.default.green(text));
|
|
56
|
-
},
|
|
57
|
-
warning(text) {
|
|
58
|
-
console.log(import_picocolors.default.yellow(text));
|
|
59
|
-
},
|
|
60
|
-
error(text) {
|
|
61
|
-
console.log(import_picocolors.default.red(text));
|
|
62
|
-
},
|
|
63
|
-
title(text) {
|
|
64
|
-
console.log(import_picocolors.default.cyan(text));
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
// src/release.ts
|
|
49
|
+
var import_glob = require("glob");
|
|
50
|
+
var import_nanospinner2 = require("nanospinner");
|
|
69
51
|
var import_semver = __toESM(require("semver"), 1);
|
|
70
|
-
var import_prompts = require("@inquirer/prompts");
|
|
71
52
|
var import_tinyexec = require("tinyexec");
|
|
72
|
-
var import_nanospinner2 = require("nanospinner");
|
|
73
|
-
var import_glob = require("glob");
|
|
74
|
-
var import_path2 = require("path");
|
|
75
53
|
|
|
76
54
|
// src/changelog.ts
|
|
55
|
+
var import_path = require("path");
|
|
77
56
|
var import_conventional_changelog = __toESM(require("conventional-changelog"), 1);
|
|
78
57
|
var import_fs_extra = __toESM(require("fs-extra"), 1);
|
|
79
58
|
var import_nanospinner = require("nanospinner");
|
|
80
|
-
var import_path = require("path");
|
|
81
59
|
var { createWriteStream } = import_fs_extra.default;
|
|
82
|
-
function changelog({
|
|
60
|
+
function changelog({
|
|
61
|
+
releaseCount = 0,
|
|
62
|
+
file = "CHANGELOG.md",
|
|
63
|
+
preset = "angular"
|
|
64
|
+
} = {}) {
|
|
83
65
|
const s = (0, import_nanospinner.createSpinner)("Generating changelog").start();
|
|
84
66
|
return new Promise((resolve2) => {
|
|
85
67
|
(0, import_conventional_changelog.default)({
|
|
86
|
-
preset
|
|
68
|
+
preset,
|
|
87
69
|
releaseCount
|
|
88
70
|
}).pipe(createWriteStream((0, import_path.resolve)(process.cwd(), file))).on("close", () => {
|
|
89
71
|
s.success({ text: "Changelog generated success!" });
|
|
@@ -92,6 +74,23 @@ function changelog({ releaseCount = 0, file = "CHANGELOG.md" } = {}) {
|
|
|
92
74
|
});
|
|
93
75
|
}
|
|
94
76
|
|
|
77
|
+
// src/logger.ts
|
|
78
|
+
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
79
|
+
var logger_default = {
|
|
80
|
+
info(text) {
|
|
81
|
+
console.log(text);
|
|
82
|
+
},
|
|
83
|
+
success(text) {
|
|
84
|
+
console.log(import_picocolors.default.green(text));
|
|
85
|
+
},
|
|
86
|
+
warning(text) {
|
|
87
|
+
console.log(import_picocolors.default.yellow(text));
|
|
88
|
+
},
|
|
89
|
+
error(text) {
|
|
90
|
+
console.log(import_picocolors.default.red(text));
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
|
|
95
94
|
// src/release.ts
|
|
96
95
|
var cwd = process.cwd();
|
|
97
96
|
var { writeFileSync, readJSONSync } = import_fs_extra2.default;
|
|
@@ -284,8 +283,8 @@ async function release(options) {
|
|
|
284
283
|
}
|
|
285
284
|
|
|
286
285
|
// src/commitLint.ts
|
|
287
|
-
var import_semver2 = __toESM(require("semver"), 1);
|
|
288
286
|
var import_fs_extra3 = __toESM(require("fs-extra"), 1);
|
|
287
|
+
var import_semver2 = __toESM(require("semver"), 1);
|
|
289
288
|
var { readFileSync } = import_fs_extra3.default;
|
|
290
289
|
var COMMIT_MESSAGE_RE = /^(revert|fix|feat|docs|perf|test|types|style|build|chore|release|refactor|merge|wip)(\(.+\))?!?: (.|\n)+/;
|
|
291
290
|
var ERROR_MESSAGE = "Commit message invalid.";
|
package/dist/index.d.cts
CHANGED
|
@@ -20,8 +20,9 @@ declare function release(options: ReleaseCommandOptions): Promise<void>;
|
|
|
20
20
|
interface ChangelogCommandOptions {
|
|
21
21
|
file?: string;
|
|
22
22
|
releaseCount?: number;
|
|
23
|
+
preset?: 'angular' | 'atom' | 'codemirror' | 'conventionalcommits' | 'ember' | 'eslint' | 'express' | 'jquery' | 'jshint';
|
|
23
24
|
}
|
|
24
|
-
declare function changelog({ releaseCount, file }?: ChangelogCommandOptions): Promise<void>;
|
|
25
|
+
declare function changelog({ releaseCount, file, preset, }?: ChangelogCommandOptions): Promise<void>;
|
|
25
26
|
|
|
26
27
|
declare const COMMIT_MESSAGE_RE: RegExp;
|
|
27
28
|
declare function isVersionCommitMessage(message: string): string | false | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -20,8 +20,9 @@ declare function release(options: ReleaseCommandOptions): Promise<void>;
|
|
|
20
20
|
interface ChangelogCommandOptions {
|
|
21
21
|
file?: string;
|
|
22
22
|
releaseCount?: number;
|
|
23
|
+
preset?: 'angular' | 'atom' | 'codemirror' | 'conventionalcommits' | 'ember' | 'eslint' | 'express' | 'jquery' | 'jshint';
|
|
23
24
|
}
|
|
24
|
-
declare function changelog({ releaseCount, file }?: ChangelogCommandOptions): Promise<void>;
|
|
25
|
+
declare function changelog({ releaseCount, file, preset, }?: ChangelogCommandOptions): Promise<void>;
|
|
25
26
|
|
|
26
27
|
declare const COMMIT_MESSAGE_RE: RegExp;
|
|
27
28
|
declare function isVersionCommitMessage(message: string): string | false | null;
|
package/dist/index.js
CHANGED
|
@@ -1,45 +1,27 @@
|
|
|
1
1
|
// src/release.ts
|
|
2
|
+
import { resolve } from "path";
|
|
3
|
+
import { confirm, select } from "@inquirer/prompts";
|
|
2
4
|
import fse2 from "fs-extra";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import pico from "picocolors";
|
|
6
|
-
var logger_default = {
|
|
7
|
-
info(text) {
|
|
8
|
-
console.log(text);
|
|
9
|
-
},
|
|
10
|
-
success(text) {
|
|
11
|
-
console.log(pico.green(text));
|
|
12
|
-
},
|
|
13
|
-
warning(text) {
|
|
14
|
-
console.log(pico.yellow(text));
|
|
15
|
-
},
|
|
16
|
-
error(text) {
|
|
17
|
-
console.log(pico.red(text));
|
|
18
|
-
},
|
|
19
|
-
title(text) {
|
|
20
|
-
console.log(pico.cyan(text));
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
// src/release.ts
|
|
5
|
+
import { glob } from "glob";
|
|
6
|
+
import { createSpinner as createSpinner2 } from "nanospinner";
|
|
25
7
|
import semver from "semver";
|
|
26
|
-
import { confirm, select } from "@inquirer/prompts";
|
|
27
8
|
import { x as exec } from "tinyexec";
|
|
28
|
-
import { createSpinner as createSpinner2 } from "nanospinner";
|
|
29
|
-
import { glob } from "glob";
|
|
30
|
-
import { resolve } from "path";
|
|
31
9
|
|
|
32
10
|
// src/changelog.ts
|
|
11
|
+
import { resolve as resolvePath } from "path";
|
|
33
12
|
import conventionalChangelog from "conventional-changelog";
|
|
34
13
|
import fse from "fs-extra";
|
|
35
14
|
import { createSpinner } from "nanospinner";
|
|
36
|
-
import { resolve as resolvePath } from "path";
|
|
37
15
|
var { createWriteStream } = fse;
|
|
38
|
-
function changelog({
|
|
16
|
+
function changelog({
|
|
17
|
+
releaseCount = 0,
|
|
18
|
+
file = "CHANGELOG.md",
|
|
19
|
+
preset = "angular"
|
|
20
|
+
} = {}) {
|
|
39
21
|
const s = createSpinner("Generating changelog").start();
|
|
40
22
|
return new Promise((resolve2) => {
|
|
41
23
|
conventionalChangelog({
|
|
42
|
-
preset
|
|
24
|
+
preset,
|
|
43
25
|
releaseCount
|
|
44
26
|
}).pipe(createWriteStream(resolvePath(process.cwd(), file))).on("close", () => {
|
|
45
27
|
s.success({ text: "Changelog generated success!" });
|
|
@@ -48,6 +30,23 @@ function changelog({ releaseCount = 0, file = "CHANGELOG.md" } = {}) {
|
|
|
48
30
|
});
|
|
49
31
|
}
|
|
50
32
|
|
|
33
|
+
// src/logger.ts
|
|
34
|
+
import pico from "picocolors";
|
|
35
|
+
var logger_default = {
|
|
36
|
+
info(text) {
|
|
37
|
+
console.log(text);
|
|
38
|
+
},
|
|
39
|
+
success(text) {
|
|
40
|
+
console.log(pico.green(text));
|
|
41
|
+
},
|
|
42
|
+
warning(text) {
|
|
43
|
+
console.log(pico.yellow(text));
|
|
44
|
+
},
|
|
45
|
+
error(text) {
|
|
46
|
+
console.log(pico.red(text));
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
|
|
51
50
|
// src/release.ts
|
|
52
51
|
var cwd = process.cwd();
|
|
53
52
|
var { writeFileSync, readJSONSync } = fse2;
|
|
@@ -240,8 +239,8 @@ async function release(options) {
|
|
|
240
239
|
}
|
|
241
240
|
|
|
242
241
|
// src/commitLint.ts
|
|
243
|
-
import semver2 from "semver";
|
|
244
242
|
import fse3 from "fs-extra";
|
|
243
|
+
import semver2 from "semver";
|
|
245
244
|
var { readFileSync } = fse3;
|
|
246
245
|
var COMMIT_MESSAGE_RE = /^(revert|fix|feat|docs|perf|test|types|style|build|chore|release|refactor|merge|wip)(\(.+\))?!?: (.|\n)+/;
|
|
247
246
|
var ERROR_MESSAGE = "Commit message invalid.";
|
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varlet/release",
|
|
3
|
-
"
|
|
4
|
-
"version": "0.3.2",
|
|
3
|
+
"version": "0.3.3",
|
|
5
4
|
"description": "publish all packages, generate changelogs and check commit messages",
|
|
6
5
|
"keywords": [
|
|
7
6
|
"varlet",
|
|
@@ -9,16 +8,14 @@
|
|
|
9
8
|
"changelog",
|
|
10
9
|
"commit-lint"
|
|
11
10
|
],
|
|
12
|
-
"
|
|
13
|
-
"license": "MIT",
|
|
11
|
+
"bugs": "https://github.com/varletjs/release/issues",
|
|
14
12
|
"repository": {
|
|
15
13
|
"type": "git",
|
|
16
14
|
"url": "git+https://github.com/varletjs/release"
|
|
17
15
|
},
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"types": "./dist/index.d.ts",
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"author": "clencat <2091927351@qq.com>",
|
|
18
|
+
"type": "module",
|
|
22
19
|
"exports": {
|
|
23
20
|
".": {
|
|
24
21
|
"types": "./dist/index.d.ts",
|
|
@@ -26,12 +23,24 @@
|
|
|
26
23
|
"require": "./dist/index.cjs"
|
|
27
24
|
}
|
|
28
25
|
},
|
|
26
|
+
"main": "./dist/index.cjs",
|
|
27
|
+
"module": "./dist/index.js",
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
29
|
"bin": {
|
|
30
30
|
"vr": "bin/index.js"
|
|
31
31
|
},
|
|
32
32
|
"files": [
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build": "tsup",
|
|
37
|
+
"clean": "rimraf node_modules dist",
|
|
38
|
+
"commit-lint": "node bin/index.js commit-lint",
|
|
39
|
+
"dev": "tsup --watch",
|
|
40
|
+
"format": "prettier --write .",
|
|
41
|
+
"lint": "eslint --fix .",
|
|
42
|
+
"release": "pnpm build && node bin/index.js release -c"
|
|
43
|
+
},
|
|
35
44
|
"simple-git-hooks": {
|
|
36
45
|
"pre-commit": "pnpm exec lint-staged --allow-empty --concurrent false",
|
|
37
46
|
"commit-msg": "pnpm run commit-lint -p $1"
|
|
@@ -40,19 +49,29 @@
|
|
|
40
49
|
"*.{ts,js}": [
|
|
41
50
|
"prettier --write",
|
|
42
51
|
"eslint --fix"
|
|
43
|
-
]
|
|
52
|
+
],
|
|
53
|
+
"*.md": "prettier --write"
|
|
44
54
|
},
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@inquirer/prompts": "^6.0.1",
|
|
57
|
+
"commander": "^11.1.0",
|
|
58
|
+
"conventional-changelog": "^5.1.0",
|
|
59
|
+
"fs-extra": "^11.1.1",
|
|
60
|
+
"glob": "^10.3.10",
|
|
61
|
+
"nanospinner": "^1.1.0",
|
|
62
|
+
"picocolors": "^1.0.0",
|
|
63
|
+
"semver": "^7.5.4",
|
|
64
|
+
"tinyexec": "^0.3.0"
|
|
48
65
|
},
|
|
49
66
|
"devDependencies": {
|
|
67
|
+
"@configurajs/eslint": "^0.1.0",
|
|
68
|
+
"@configurajs/prettier": "^0.1.1",
|
|
50
69
|
"@types/conventional-changelog": "^3.1.5",
|
|
51
70
|
"@types/fs-extra": "^11.0.4",
|
|
52
71
|
"@types/node": "^20.9.0",
|
|
53
72
|
"@types/semver": "^7.5.5",
|
|
54
73
|
"@varlet/eslint-config": "^2.18.4",
|
|
55
|
-
"eslint": "^
|
|
74
|
+
"eslint": "^9.17.0",
|
|
56
75
|
"lint-staged": "^15.2.0",
|
|
57
76
|
"prettier": "^3.1.0",
|
|
58
77
|
"rimraf": "^6.0.1",
|
|
@@ -60,24 +79,9 @@
|
|
|
60
79
|
"tsup": "^8.3.0",
|
|
61
80
|
"typescript": "^5.2.2"
|
|
62
81
|
},
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"fs-extra": "^11.1.1",
|
|
68
|
-
"glob": "^10.3.10",
|
|
69
|
-
"nanospinner": "^1.1.0",
|
|
70
|
-
"picocolors": "^1.0.0",
|
|
71
|
-
"semver": "^7.5.4",
|
|
72
|
-
"tinyexec": "^0.3.0"
|
|
73
|
-
},
|
|
74
|
-
"scripts": {
|
|
75
|
-
"dev": "tsup --watch",
|
|
76
|
-
"build": "tsup",
|
|
77
|
-
"release": "pnpm build && node bin/index.js release -c",
|
|
78
|
-
"lint": "eslint . --ext .ts,.js",
|
|
79
|
-
"format": "prettier --write .",
|
|
80
|
-
"clean": "rimraf node_modules dist",
|
|
81
|
-
"commit-lint": "node bin/index.js commit-lint"
|
|
82
|
+
"packageManager": "pnpm@9.0.1",
|
|
83
|
+
"engines": {
|
|
84
|
+
"node": ">=16.0.0",
|
|
85
|
+
"pnpm": ">=9.0"
|
|
82
86
|
}
|
|
83
87
|
}
|
/package/{LICENCE → LICENSE}
RENAMED
|
File without changes
|