فهرست منبع

switch around filenames of locales-all generation

Adam Shaw 3 سال پیش
والد
کامیت
ba5772cb0e
3فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      packages/core/package.json
  2. 1 1
      packages/core/scripts/generate-locales-all.ts
  3. 0 0
      packages/core/src/locales-all.ts.tpl

+ 1 - 1
packages/core/package.json

@@ -40,7 +40,7 @@
     "./locales/*": "./src/locales/*.ts"
   },
   "generatedExports": {
-    "./locales-all": "./scripts/locales-all.ts"
+    "./locales-all": "./scripts/generate-locales-all.ts"
   },
   "iife": {
     ".": "FullCalendar",

+ 1 - 1
packages/core/scripts/locales-all.ts → packages/core/scripts/generate-locales-all.ts

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

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