@storm-software/git-tools 2.131.106 → 2.131.109
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 +1 -1
- package/bin/{chunk-VWM473G5.js → chunk-2YVIE3BK.js} +3 -3
- package/bin/{chunk-VWM473G5.js.map → chunk-2YVIE3BK.js.map} +1 -1
- package/bin/{chunk-4ZNUGFUK.js → chunk-42Y4PTRA.js} +5 -3
- package/bin/chunk-42Y4PTRA.js.map +1 -0
- package/bin/{chunk-3NXGC5ST.js → chunk-DKB6PGG3.js} +3 -3
- package/bin/{chunk-3NXGC5ST.js.map → chunk-DKB6PGG3.js.map} +1 -1
- package/bin/{chunk-DYZLP2KW.cjs → chunk-EQSXP2RC.cjs} +6 -6
- package/bin/{chunk-DYZLP2KW.cjs.map → chunk-EQSXP2RC.cjs.map} +1 -1
- package/bin/{chunk-6G73LSPC.cjs → chunk-FG3I2VCP.cjs} +4 -4
- package/bin/{chunk-6G73LSPC.cjs.map → chunk-FG3I2VCP.cjs.map} +1 -1
- package/bin/{chunk-MEXEBGMK.cjs → chunk-FNMZLTI2.cjs} +4 -4
- package/bin/{chunk-MEXEBGMK.cjs.map → chunk-FNMZLTI2.cjs.map} +1 -1
- package/bin/{chunk-7NZOOZ4Y.js → chunk-GUKZHV4C.js} +3 -3
- package/bin/{chunk-7NZOOZ4Y.js.map → chunk-GUKZHV4C.js.map} +1 -1
- package/bin/{chunk-G6BAFKYK.js → chunk-IFGNDIXB.js} +3 -3
- package/bin/{chunk-G6BAFKYK.js.map → chunk-IFGNDIXB.js.map} +1 -1
- package/bin/{chunk-PNNIWPDQ.js → chunk-JJVQKQSQ.js} +3 -3
- package/bin/{chunk-PNNIWPDQ.js.map → chunk-JJVQKQSQ.js.map} +1 -1
- package/bin/{chunk-UDTVAYLD.cjs → chunk-K6GWYEPW.cjs} +4 -4
- package/bin/{chunk-UDTVAYLD.cjs.map → chunk-K6GWYEPW.cjs.map} +1 -1
- package/bin/{chunk-HHHCNXKG.js → chunk-KMPLSTO3.js} +3 -3
- package/bin/{chunk-HHHCNXKG.js.map → chunk-KMPLSTO3.js.map} +1 -1
- package/bin/{chunk-EOUDKHXD.cjs → chunk-NJMSWUK7.cjs} +5 -3
- package/bin/chunk-NJMSWUK7.cjs.map +1 -0
- package/bin/{chunk-4FQ44OAT.cjs → chunk-PWU3UV75.cjs} +4 -4
- package/bin/{chunk-4FQ44OAT.cjs.map → chunk-PWU3UV75.cjs.map} +1 -1
- package/bin/{chunk-SGNASXPC.cjs → chunk-SGL3Y2VO.cjs} +5 -5
- package/bin/{chunk-SGNASXPC.cjs.map → chunk-SGL3Y2VO.cjs.map} +1 -1
- package/bin/{chunk-J4XLLB7C.cjs → chunk-TQGWTIZB.cjs} +4 -4
- package/bin/{chunk-J4XLLB7C.cjs.map → chunk-TQGWTIZB.cjs.map} +1 -1
- package/bin/{chunk-RTCFD7IE.js → chunk-WPUDOWXK.js} +3 -3
- package/bin/{chunk-RTCFD7IE.js.map → chunk-WPUDOWXK.js.map} +1 -1
- package/bin/git.cjs +155 -155
- package/bin/git.js +8 -8
- package/bin/post-checkout.cjs +7 -7
- package/bin/post-checkout.js +2 -2
- package/bin/post-commit.cjs +7 -7
- package/bin/post-commit.js +2 -2
- package/bin/post-merge.cjs +7 -7
- package/bin/post-merge.js +2 -2
- package/bin/pre-commit.cjs +7 -7
- package/bin/pre-commit.js +2 -2
- package/bin/pre-install.cjs +7 -7
- package/bin/pre-install.js +2 -2
- package/bin/pre-push.cjs +7 -7
- package/bin/pre-push.js +2 -2
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +2 -2
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/dist/{chunk-FSWYRWN4.cjs → chunk-FN4S2UNY.cjs} +3 -1
- package/dist/{chunk-BALS7LKN.js → chunk-UX5W5DUP.js} +3 -1
- package/dist/index.cjs +18 -18
- package/dist/index.js +1 -1
- package/dist/lefthook/bun/bun/minimal.yml +61 -0
- package/dist/lefthook/bun/bun/recommended.yml +20 -0
- package/dist/lefthook/bun/bun/strict.yml +23 -0
- package/dist/release/config.cjs +18 -18
- package/dist/release/config.js +1 -1
- package/package.json +8 -7
- package/bin/chunk-4ZNUGFUK.js.map +0 -1
- package/bin/chunk-EOUDKHXD.cjs.map +0 -1
- /package/dist/lefthook/{minimal.yml → pnpm/pnpm/minimal.yml} +0 -0
- /package/dist/lefthook/{recommended.yml → pnpm/pnpm/recommended.yml} +0 -0
- /package/dist/lefthook/{strict.yml → pnpm/pnpm/strict.yml} +0 -0
package/bin/git.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { postCheckoutHook } from './chunk-
|
|
3
|
-
import { postCommitHook } from './chunk-
|
|
4
|
-
import { postMergeHook } from './chunk-
|
|
5
|
-
import { preCommitHook } from './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import { prePushHook } from './chunk-
|
|
2
|
+
import { postCheckoutHook } from './chunk-WPUDOWXK.js';
|
|
3
|
+
import { postCommitHook } from './chunk-GUKZHV4C.js';
|
|
4
|
+
import { postMergeHook } from './chunk-KMPLSTO3.js';
|
|
5
|
+
import { preCommitHook } from './chunk-IFGNDIXB.js';
|
|
6
|
+
import './chunk-2YVIE3BK.js';
|
|
7
|
+
import { prePushHook } from './chunk-DKB6PGG3.js';
|
|
8
8
|
import './chunk-HBLWPOJV.js';
|
|
9
|
-
import { prepareHook } from './chunk-
|
|
9
|
+
import { prepareHook } from './chunk-JJVQKQSQ.js';
|
|
10
10
|
import { run, runAsync } from './chunk-RPK5AKGK.js';
|
|
11
|
-
import { defu, getConfig, handleProcess, writeSuccess, exitWithSuccess, exitWithError, writeInfo, brandIcon, findWorkspaceRootSafe, writeFatal, getWorkspaceConfig, joinPaths, writeDebug, writeWarning, writeTrace, isVerbose, formatLogMessage, __require, STORM_DEFAULT_RELEASE_BANNER } from './chunk-
|
|
11
|
+
import { defu, getConfig, handleProcess, writeSuccess, exitWithSuccess, exitWithError, writeInfo, brandIcon, findWorkspaceRootSafe, writeFatal, getWorkspaceConfig, joinPaths, writeDebug, writeWarning, writeTrace, isVerbose, formatLogMessage, __require, STORM_DEFAULT_RELEASE_BANNER } from './chunk-42Y4PTRA.js';
|
|
12
12
|
import TOML from '@ltd/j-toml';
|
|
13
13
|
import { Command } from 'commander';
|
|
14
14
|
import '@inquirer/checkbox';
|
package/bin/post-checkout.cjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkK6GWYEPW_cjs = require('./chunk-K6GWYEPW.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-MTAYUS7E.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkNJMSWUK7_cjs = require('./chunk-NJMSWUK7.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-checkout.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkNJMSWUK7_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkK6GWYEPW_cjs.postCheckoutHook(config, process.argv.slice(2));
|
|
14
|
+
chunkNJMSWUK7_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkNJMSWUK7_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkNJMSWUK7_cjs.exitWithError(config);
|
|
21
21
|
process.exit(1);
|
|
22
22
|
}
|
|
23
23
|
})();
|
package/bin/post-checkout.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { postCheckoutHook } from './chunk-
|
|
2
|
+
import { postCheckoutHook } from './chunk-WPUDOWXK.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
4
|
import './chunk-RPK5AKGK.js';
|
|
5
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
5
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-42Y4PTRA.js';
|
|
6
6
|
|
|
7
7
|
// bin/post-checkout.ts
|
|
8
8
|
void (async () => {
|
package/bin/post-commit.cjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkPWU3UV75_cjs = require('./chunk-PWU3UV75.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-MTAYUS7E.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkNJMSWUK7_cjs = require('./chunk-NJMSWUK7.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-commit.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkNJMSWUK7_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkPWU3UV75_cjs.postCommitHook(config, process.argv.slice(2));
|
|
14
|
+
chunkNJMSWUK7_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkNJMSWUK7_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkNJMSWUK7_cjs.exitWithError(config);
|
|
21
21
|
process.exit(1);
|
|
22
22
|
}
|
|
23
23
|
})();
|
package/bin/post-commit.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { postCommitHook } from './chunk-
|
|
2
|
+
import { postCommitHook } from './chunk-GUKZHV4C.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
4
|
import './chunk-RPK5AKGK.js';
|
|
5
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
5
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-42Y4PTRA.js';
|
|
6
6
|
|
|
7
7
|
// bin/post-commit.ts
|
|
8
8
|
void (async () => {
|
package/bin/post-merge.cjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkFG3I2VCP_cjs = require('./chunk-FG3I2VCP.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
6
|
require('./chunk-MTAYUS7E.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkNJMSWUK7_cjs = require('./chunk-NJMSWUK7.cjs');
|
|
8
8
|
|
|
9
9
|
// bin/post-merge.ts
|
|
10
10
|
void (async () => {
|
|
11
|
-
const config = await
|
|
11
|
+
const config = await chunkNJMSWUK7_cjs.getConfig();
|
|
12
12
|
try {
|
|
13
|
-
await
|
|
14
|
-
|
|
13
|
+
await chunkFG3I2VCP_cjs.postMergeHook(config, process.argv.slice(2));
|
|
14
|
+
chunkNJMSWUK7_cjs.exitWithSuccess(config);
|
|
15
15
|
} catch (error) {
|
|
16
|
-
|
|
16
|
+
chunkNJMSWUK7_cjs.writeFatal(
|
|
17
17
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
18
18
|
config
|
|
19
19
|
);
|
|
20
|
-
|
|
20
|
+
chunkNJMSWUK7_cjs.exitWithError(config);
|
|
21
21
|
process.exit(1);
|
|
22
22
|
}
|
|
23
23
|
})();
|
package/bin/post-merge.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { postMergeHook } from './chunk-
|
|
2
|
+
import { postMergeHook } from './chunk-KMPLSTO3.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
4
|
import './chunk-RPK5AKGK.js';
|
|
5
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
5
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-42Y4PTRA.js';
|
|
6
6
|
|
|
7
7
|
// bin/post-merge.ts
|
|
8
8
|
void (async () => {
|
package/bin/pre-commit.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkFNMZLTI2_cjs = require('./chunk-FNMZLTI2.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkNJMSWUK7_cjs = require('./chunk-NJMSWUK7.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-commit.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkNJMSWUK7_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkFNMZLTI2_cjs.preCommitHook(config, process.argv.slice(2));
|
|
13
|
+
chunkNJMSWUK7_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkNJMSWUK7_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkNJMSWUK7_cjs.exitWithError(config);
|
|
20
20
|
process.exit(1);
|
|
21
21
|
}
|
|
22
22
|
})();
|
package/bin/pre-commit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { preCommitHook } from './chunk-
|
|
2
|
+
import { preCommitHook } from './chunk-IFGNDIXB.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-42Y4PTRA.js';
|
|
5
5
|
|
|
6
6
|
// bin/pre-commit.ts
|
|
7
7
|
void (async () => {
|
package/bin/pre-install.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkSGL3Y2VO_cjs = require('./chunk-SGL3Y2VO.cjs');
|
|
5
5
|
require('./chunk-MTAYUS7E.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkNJMSWUK7_cjs = require('./chunk-NJMSWUK7.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-install.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkNJMSWUK7_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkSGL3Y2VO_cjs.preInstallHook(config);
|
|
13
|
+
chunkNJMSWUK7_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkNJMSWUK7_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkNJMSWUK7_cjs.exitWithError(config);
|
|
20
20
|
process.exit(1);
|
|
21
21
|
}
|
|
22
22
|
})();
|
package/bin/pre-install.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { preInstallHook } from './chunk-
|
|
2
|
+
import { preInstallHook } from './chunk-2YVIE3BK.js';
|
|
3
3
|
import './chunk-RPK5AKGK.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-42Y4PTRA.js';
|
|
5
5
|
|
|
6
6
|
// bin/pre-install.ts
|
|
7
7
|
void (async () => {
|
package/bin/pre-push.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkEQSXP2RC_cjs = require('./chunk-EQSXP2RC.cjs');
|
|
5
5
|
require('./chunk-YHZNDNCW.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkNJMSWUK7_cjs = require('./chunk-NJMSWUK7.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/pre-push.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkNJMSWUK7_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkEQSXP2RC_cjs.prePushHook(config, process.argv.slice(2));
|
|
13
|
+
chunkNJMSWUK7_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkNJMSWUK7_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkNJMSWUK7_cjs.exitWithError(config);
|
|
20
20
|
process.exit(1);
|
|
21
21
|
}
|
|
22
22
|
})();
|
package/bin/pre-push.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { prePushHook } from './chunk-
|
|
2
|
+
import { prePushHook } from './chunk-DKB6PGG3.js';
|
|
3
3
|
import './chunk-HBLWPOJV.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-42Y4PTRA.js';
|
|
5
5
|
|
|
6
6
|
// bin/pre-push.ts
|
|
7
7
|
void (async () => {
|
package/bin/prepare.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkTQGWTIZB_cjs = require('./chunk-TQGWTIZB.cjs');
|
|
5
5
|
require('./chunk-MTAYUS7E.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkNJMSWUK7_cjs = require('./chunk-NJMSWUK7.cjs');
|
|
7
7
|
|
|
8
8
|
// bin/prepare.ts
|
|
9
9
|
void (async () => {
|
|
10
|
-
const config = await
|
|
10
|
+
const config = await chunkNJMSWUK7_cjs.getConfig();
|
|
11
11
|
try {
|
|
12
|
-
await
|
|
13
|
-
|
|
12
|
+
await chunkTQGWTIZB_cjs.prepareHook(config);
|
|
13
|
+
chunkNJMSWUK7_cjs.exitWithSuccess(config);
|
|
14
14
|
} catch (error) {
|
|
15
|
-
|
|
15
|
+
chunkNJMSWUK7_cjs.writeFatal(
|
|
16
16
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
17
17
|
config
|
|
18
18
|
);
|
|
19
|
-
|
|
19
|
+
chunkNJMSWUK7_cjs.exitWithError(config);
|
|
20
20
|
process.exit(1);
|
|
21
21
|
}
|
|
22
22
|
})();
|
package/bin/prepare.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { prepareHook } from './chunk-
|
|
2
|
+
import { prepareHook } from './chunk-JJVQKQSQ.js';
|
|
3
3
|
import './chunk-RPK5AKGK.js';
|
|
4
|
-
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-
|
|
4
|
+
import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-42Y4PTRA.js';
|
|
5
5
|
|
|
6
6
|
// bin/prepare.ts
|
|
7
7
|
void (async () => {
|
package/bin/version-warning.cjs
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkYHZNDNCW_cjs = require('./chunk-YHZNDNCW.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkNJMSWUK7_cjs = require('./chunk-NJMSWUK7.cjs');
|
|
6
6
|
|
|
7
7
|
// bin/version-warning.ts
|
|
8
8
|
void (async () => {
|
|
9
|
-
const config = await
|
|
9
|
+
const config = await chunkNJMSWUK7_cjs.getConfig();
|
|
10
10
|
try {
|
|
11
|
-
|
|
11
|
+
chunkNJMSWUK7_cjs.handleProcess(config);
|
|
12
12
|
chunkYHZNDNCW_cjs.checkPackageVersion(process.argv.slice(1));
|
|
13
13
|
} catch (error) {
|
|
14
|
-
|
|
14
|
+
chunkNJMSWUK7_cjs.writeFatal(
|
|
15
15
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
16
16
|
config
|
|
17
17
|
);
|
|
18
|
-
|
|
18
|
+
chunkNJMSWUK7_cjs.exitWithError(config);
|
|
19
19
|
process.exit(1);
|
|
20
20
|
}
|
|
21
21
|
})();
|
package/bin/version-warning.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { checkPackageVersion } from './chunk-HBLWPOJV.js';
|
|
3
|
-
import { getConfig, handleProcess, writeFatal, exitWithError } from './chunk-
|
|
3
|
+
import { getConfig, handleProcess, writeFatal, exitWithError } from './chunk-42Y4PTRA.js';
|
|
4
4
|
|
|
5
5
|
// bin/version-warning.ts
|
|
6
6
|
void (async () => {
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFN4S2UNY_cjs = require('./chunk-FN4S2UNY.cjs');
|
|
4
4
|
var chunkRIPABM45_cjs = require('./chunk-RIPABM45.cjs');
|
|
5
5
|
require('./chunk-WRSI3KUJ.cjs');
|
|
6
6
|
require('./chunk-5TXHP6RI.cjs');
|
|
@@ -21,71 +21,71 @@ require('./chunk-7LF2JPA5.cjs');
|
|
|
21
21
|
|
|
22
22
|
Object.defineProperty(exports, "DEFAULT_CHANGELOG_RELEASE_CONFIG", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkFN4S2UNY_cjs.DEFAULT_CHANGELOG_RELEASE_CONFIG; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "DEFAULT_COMMIT_MESSAGE", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkFN4S2UNY_cjs.DEFAULT_COMMIT_MESSAGE; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "DEFAULT_CONVENTIONAL_COMMITS_CONFIG", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkFN4S2UNY_cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "DEFAULT_FIXED_RELEASE_GROUP_CONFIG", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkFN4S2UNY_cjs.DEFAULT_FIXED_RELEASE_GROUP_CONFIG; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "DEFAULT_FIXED_RELEASE_TAG_PATTERN", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkFN4S2UNY_cjs.DEFAULT_FIXED_RELEASE_TAG_PATTERN; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkFN4S2UNY_cjs.DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkFN4S2UNY_cjs.DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "DEFAULT_JS_RELEASE_GROUP_CONFIG", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkFN4S2UNY_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "DEFAULT_RELEASE_CONFIG", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkFN4S2UNY_cjs.DEFAULT_RELEASE_CONFIG; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_CONFIG", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkFN4S2UNY_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_GIT_CONFIG", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkFN4S2UNY_cjs.DEFAULT_RELEASE_GROUP_GIT_CONFIG; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "DEFAULT_RUST_RELEASE_GROUP_CONFIG", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkFN4S2UNY_cjs.DEFAULT_RUST_RELEASE_GROUP_CONFIG; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "DEFAULT_VERSION_RELEASE_CONFIG", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkFN4S2UNY_cjs.DEFAULT_VERSION_RELEASE_CONFIG; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "formatConfigLog", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkFN4S2UNY_cjs.formatConfigLog; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "getReleaseConfig", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkFN4S2UNY_cjs.getReleaseConfig; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "getReleaseGroupConfig", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkFN4S2UNY_cjs.getReleaseGroupConfig; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "mergeReleaseGroupConfig", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkFN4S2UNY_cjs.mergeReleaseGroupConfig; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "DEFAULT_MONOREPO_COMMIT_QUESTIONS", {
|
|
91
91
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_FIXED_RELEASE_GROUP_CONFIG, DEFAULT_FIXED_RELEASE_TAG_PATTERN, DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG, DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_GROUP_GIT_CONFIG, DEFAULT_RUST_RELEASE_GROUP_CONFIG, DEFAULT_VERSION_RELEASE_CONFIG, formatConfigLog, getReleaseConfig, getReleaseGroupConfig, mergeReleaseGroupConfig } from './chunk-
|
|
1
|
+
export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_FIXED_RELEASE_GROUP_CONFIG, DEFAULT_FIXED_RELEASE_TAG_PATTERN, DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG, DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_GROUP_GIT_CONFIG, DEFAULT_RUST_RELEASE_GROUP_CONFIG, DEFAULT_VERSION_RELEASE_CONFIG, formatConfigLog, getReleaseConfig, getReleaseGroupConfig, mergeReleaseGroupConfig } from './chunk-UX5W5DUP.js';
|
|
2
2
|
export { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './chunk-OMWWQPRY.js';
|
|
3
3
|
import './chunk-XS6PFVQQ.js';
|
|
4
4
|
import './chunk-4T5NCWMG.js';
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# #
|
|
2
|
+
# Lefthook configuration file: #
|
|
3
|
+
# This file is used to configure Lefthook, a tool for managing Git hooks. #
|
|
4
|
+
# #
|
|
5
|
+
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md #
|
|
6
|
+
|
|
7
|
+
$schema: https://raw.githubusercontent.com/evilmartians/lefthook/refs/heads/master/schema.json
|
|
8
|
+
|
|
9
|
+
pre-commit:
|
|
10
|
+
parallel: true
|
|
11
|
+
commands:
|
|
12
|
+
prepare:
|
|
13
|
+
glob: "**/*"
|
|
14
|
+
run: bunx storm-git prepare
|
|
15
|
+
stage_fixed: true
|
|
16
|
+
pre-commit:
|
|
17
|
+
glob: "**/*"
|
|
18
|
+
run: bunx storm-git pre-commit --files {staged_files}
|
|
19
|
+
stage_fixed: true
|
|
20
|
+
codeowners:
|
|
21
|
+
glob: "**/CODEOWNERS"
|
|
22
|
+
run: bunx storm-lint codeowners
|
|
23
|
+
stage_fixed: true
|
|
24
|
+
storm-lint:
|
|
25
|
+
glob: "**/*"
|
|
26
|
+
run: bun run lint --files {staged_files}
|
|
27
|
+
stage_fixed: true
|
|
28
|
+
|
|
29
|
+
commit-msg:
|
|
30
|
+
commands:
|
|
31
|
+
validate:
|
|
32
|
+
run: bunx storm-git commitlint --message {1}
|
|
33
|
+
|
|
34
|
+
pre-push:
|
|
35
|
+
parallel: true
|
|
36
|
+
commands:
|
|
37
|
+
build:
|
|
38
|
+
glob: "**/*"
|
|
39
|
+
run: bun run build-dev
|
|
40
|
+
stage_fixed: true
|
|
41
|
+
pre-push:
|
|
42
|
+
files: git diff --name-only HEAD @{push}
|
|
43
|
+
glob: "**/*"
|
|
44
|
+
run: bunx storm-git pre-push --files {files}
|
|
45
|
+
stage_fixed: true
|
|
46
|
+
|
|
47
|
+
post-merge:
|
|
48
|
+
commands:
|
|
49
|
+
validate:
|
|
50
|
+
files: git diff --name-only HEAD @{push}
|
|
51
|
+
glob: "**/*"
|
|
52
|
+
run: bunx storm-git post-merge --files {files}
|
|
53
|
+
stage_fixed: true
|
|
54
|
+
|
|
55
|
+
post-commit:
|
|
56
|
+
commands:
|
|
57
|
+
validate:
|
|
58
|
+
files: git diff --name-only HEAD @{push}
|
|
59
|
+
glob: "**/*"
|
|
60
|
+
run: bunx storm-git post-commit --files {files}
|
|
61
|
+
stage_fixed: true
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# #
|
|
2
|
+
# Lefthook configuration file: #
|
|
3
|
+
# This file is used to configure Lefthook, a tool for managing Git hooks. #
|
|
4
|
+
# #
|
|
5
|
+
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md #
|
|
6
|
+
|
|
7
|
+
$schema: https://raw.githubusercontent.com/evilmartians/lefthook/refs/heads/master/schema.json
|
|
8
|
+
extends:
|
|
9
|
+
- ./minimal.yml
|
|
10
|
+
|
|
11
|
+
pre-commit:
|
|
12
|
+
commands:
|
|
13
|
+
zizmor:
|
|
14
|
+
glob: .github/workflows/*.{yml,yaml}
|
|
15
|
+
run: "zizmor --offline --config='./tools/config/zizmor.yml' .github/workflows/"
|
|
16
|
+
stage_fixed: true
|
|
17
|
+
readme:
|
|
18
|
+
glob: "**/{README.md,README.*.md,readme/**/*,package.json,executors.json,generators.json}"
|
|
19
|
+
run: bunx storm-git readme --templates="tools/readme-templates" --workspace
|
|
20
|
+
stage_fixed: true
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# #
|
|
2
|
+
# Lefthook configuration file: #
|
|
3
|
+
# This file is used to configure Lefthook, a tool for managing Git hooks. #
|
|
4
|
+
# #
|
|
5
|
+
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md #
|
|
6
|
+
|
|
7
|
+
$schema: https://raw.githubusercontent.com/evilmartians/lefthook/refs/heads/master/schema.json
|
|
8
|
+
extends:
|
|
9
|
+
- ./recommended.yml
|
|
10
|
+
|
|
11
|
+
# pre-commit:
|
|
12
|
+
# commands:
|
|
13
|
+
# treefmt:
|
|
14
|
+
# glob: "**/*"
|
|
15
|
+
# run: treefmt {staged_files}
|
|
16
|
+
# stage_fixed: true
|
|
17
|
+
|
|
18
|
+
pre-push:
|
|
19
|
+
commands:
|
|
20
|
+
sherif:
|
|
21
|
+
files: git diff --name-only HEAD @{push}
|
|
22
|
+
glob: "**/*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
|
|
23
|
+
run: bunx sherif -i typescript react react-dom --files {files} --cache
|