@@ -65,7 +65,7 @@ const transpilePackage = async (packageName) => {
6565 *
6666 * @param {string } packagePath
6767 */
68- const transpilePackagesOrSkip = async ( packagePath ) => {
68+ const transpilePackageOrSkip = async ( packagePath ) => {
6969 // `packagePath` will be posix style because it comes from `glog()`.
7070 const packageName = packagePath . split ( '/' ) . slice ( - 1 ) [ 0 ] ;
7171
@@ -88,7 +88,7 @@ const debouncedTranspilerMap = {};
8888/**
8989 * Takes a package name and schedules that package's source TypeScript code
9090 * to be converted to JavaScript. If a transpilation is already scheduled, it
91- * won't be queued twice, so this function is safe to call as frequenty as
91+ * won't be queued twice, so this function is safe to call as frequently as
9292 * needed.
9393 *
9494 * @param {string } packageName
@@ -121,10 +121,10 @@ const needsTranspile = (packageName) => {
121121} ;
122122
123123gulp . task ( 'transpile-typescript' , gulp . series ( packageRunnner (
124- 'transpile-typescript' , 'all' , transpilePackagesOrSkip ) ) ) ;
124+ 'transpile-typescript' , 'all' , transpilePackageOrSkip ) ) ) ;
125125
126126gulp . task ( 'transpile-typescript:watch' , gulp . series ( packageRunnner (
127- 'transpile-typescript' , 'all' , transpilePackagesOrSkip ) ) ) ;
127+ 'transpile-typescript' , 'all' , transpilePackageOrSkip ) ) ) ;
128128
129129gulp . task ( 'transpile-typescript:watch' , ( ) => {
130130 const watcher = gulp . watch ( `./${ global . packageOrStar } /workbox-*/src/**/*.ts` ) ;
@@ -138,6 +138,7 @@ gulp.task('transpile-typescript:watch', () => {
138138} ) ;
139139
140140module . exports = {
141+ transpilePackageOrSkip,
141142 queueTranspile,
142143 needsTranspile,
143144} ;
0 commit comments