prizmkit 1.0.2 → 1.0.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/bundled/VERSION.json
CHANGED
|
@@ -31,7 +31,7 @@ export async function generateSettings(targetRoot, options = {}) {
|
|
|
31
31
|
if (!existing.hooks.UserPromptSubmit) {
|
|
32
32
|
existing.hooks.UserPromptSubmit = [
|
|
33
33
|
{
|
|
34
|
-
matcher: '',
|
|
34
|
+
matcher: '(?i)\\b(commit|push|finish|ship|merge|pull request|pr)\\b|提交|推送|收尾|完成任务|合并|发版|发布',
|
|
35
35
|
hooks: [
|
|
36
36
|
{
|
|
37
37
|
type: 'prompt',
|
package/package.json
CHANGED
package/src/scaffold.js
CHANGED
|
@@ -335,7 +335,7 @@ async function installSettings(platform, projectRoot, options, dryRun) {
|
|
|
335
335
|
hooks: {
|
|
336
336
|
UserPromptSubmit: [
|
|
337
337
|
{
|
|
338
|
-
matcher: '',
|
|
338
|
+
matcher: '(?i)\\b(commit|push|finish|ship|merge|pull request|pr)\\b|提交|推送|收尾|完成任务|合并|发版|发布',
|
|
339
339
|
hooks: [
|
|
340
340
|
{
|
|
341
341
|
type: 'prompt',
|