Adam Shaw 3 lat temu
rodzic
commit
da5a6eaa12

+ 2 - 2
packages/core/scripts/generate-locales-all.js

@@ -1,10 +1,10 @@
 import { join as joinPaths, dirname } from 'path'
 import { fileURLToPath } from 'url'
 import { readFile, readdir } from 'fs/promises'
-import handlebars from 'handlebars'
+import { default as handlebars } from 'handlebars'
 
 const thisDir = dirname(fileURLToPath(import.meta.url))
-const templatePath = joinPaths(thisDir, '../src/locales-all.ts.tpl')
+const templatePath = joinPaths(thisDir, '../src/locales-all.js.tpl')
 const localesDir = joinPaths(thisDir, '../src/locales')
 
 export default async function() {

+ 0 - 0
packages/core/src/locales-all.ts.tpl → packages/core/src/locales-all.js.tpl


+ 1 - 1
tests/scripts/generate-index.js

@@ -4,7 +4,7 @@ import { default as handlebars } from 'handlebars'
 import { capture } from '@fullcalendar/workspace-scripts/utils/exec'
 
 export default async function main() {
-  const templatePath = resolvePath('./src/index.ts')
+  const templatePath = resolvePath('./src/index.js')
   const srcPathAbs = resolvePath('./src')
 
   let testPaths = await capture(

+ 1 - 0
tests/src/index.ts → tests/src/index.js

@@ -1,3 +1,4 @@
+
 import 'jquery-simulate'
 import 'jasmine-jquery'