@@ -22,7 +22,7 @@ const builtinModesAreDeprecatedMessage =
2222 "Built-in modes are deprecated. Use `#dance.modes#` instead." ;
2323
2424const modeNamePattern = {
25- pattern : / ^ [ a - z A - Z ] \w * \/ ? \w * $ / . source ,
25+ pattern : / ^ [ a - z A - Z ] \w * ( \/ \w + ) ? $ / . source ,
2626 patternErrorMessage : "" ,
2727} ;
2828
@@ -129,7 +129,11 @@ export const pkg = (modules: Builder.ParsedModule[]) => ({
129129 "publish" : "vsce publish --allow-star-activation" ,
130130 "package:pre" : `vsce package --allow-star-activation --pre-release --no-git-tag-version --no-update-package-json ${ version . replace ( / \d + $ / , "$&" + preRelease . toString ( ) . padStart ( 3 , "0" ) ) } ` ,
131131 "publish:pre" : `vsce publish --allow-star-activation --pre-release --no-git-tag-version --no-update-package-json ${ version . replace ( / \d + $ / , "$&" + preRelease . toString ( ) . padStart ( 3 , "0" ) ) } ` ,
132- "package-helix" : `cd extensions/helix && npm run package` ,
132+
133+ "package-helix" : `cd extensions/helix && yarn run package` ,
134+ "publish-helix" : `cd extensions/helix && yarn run publish` ,
135+ "package-helix:pre" : `cd extensions/helix && yarn run package:pre` ,
136+ "publish-helix:pre" : `cd extensions/helix && yarn run publish:pre` ,
133137 } ,
134138
135139 devDependencies : {
@@ -763,7 +767,7 @@ export const pkg = (modules: Builder.ParsedModule[]) => ({
763767
764768 return [
765769 ...keybindings ,
766- ...generateIgnoredKeybinds ( keybindings , `editorTextFocus && dance.mode == 'normal'` ) ,
770+ ...generateIgnoredKeybinds ( keybindings , `editorTextFocus && dance.mode == 'normal'` ) ,
767771 ] ;
768772 } ) ( ) ,
769773
0 commit comments