@@ -66,7 +66,7 @@ const onEndPlugin = {
6666const SHARED_ENTRYPOINT = "entry-points" ;
6767
6868/**
69- * This plugin finds all source files that contain action entry points.
69+ * This plugin finds all source files that contain Action entry points.
7070 * It then generates the virtual `entry-points` module which imports all identifies files,
7171 * and re-exports their `runWrapper` functions with suitable aliases.
7272 * A tiny stub file is emitted for each Action entrypoint. Each stub imports the shared bundle
@@ -83,7 +83,7 @@ const entryPointsPlugin = {
8383 const toPascal = ( s ) =>
8484 s . replace ( / ( ^ | - ) ( [ a - z 0 - 9 ] ) / gi, ( _ , __ , c ) => c . toUpperCase ( ) ) ;
8585
86- // Find the source files containing action entry points.
86+ // Find the source files containing Action entry points.
8787 build . onStart ( ( ) => {
8888 const actionFiles = globSync ( "src/*-action{,-post}.ts" ) ;
8989 for ( const actionFile of actionFiles ) {
@@ -112,7 +112,7 @@ const entryPointsPlugin = {
112112 return { path : SHARED_ENTRYPOINT , namespace } ;
113113 } ) ;
114114
115- // Generate the virtual `entry-points` file based on the actions we discovered.
115+ // Generate the virtual `entry-points` file based on the Actions we discovered.
116116 // Restrict using the namespace. The path filter does not need to discriminate any further.
117117 build . onLoad ( { filter : / .* / , namespace } , async ( ) => {
118118 const wrapperTemplatePath = "entry-wrapper.js.tpl" ;
@@ -143,7 +143,7 @@ const entryPointsPlugin = {
143143 } ;
144144 } ) ;
145145
146- // Emit entry point stubs for each action using the entry template.
146+ // Emit entry point stubs for each Action using the entry template.
147147 build . onEnd ( async ( result ) => {
148148 // Read the entry point template.
149149 const templatePath = "action-entry.js.tpl" ;
@@ -152,7 +152,7 @@ const entryPointsPlugin = {
152152 const makeHeader = ( sourceFile ) =>
153153 `// Automatically generated from '${ templatePath } ' for 'src/${ basename ( sourceFile ) } '.\n\n` ;
154154
155- // Write entry point stubs for each action .
155+ // Write entry point stubs for each Action .
156156 for ( const action of actions ) {
157157 await writeFile (
158158 join (
0 commit comments