mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
fix changelog collect
This commit is contained in:
@@ -2,6 +2,9 @@ import { execSync } from 'child_process'
|
|||||||
import chalk from 'chalk'
|
import chalk from 'chalk'
|
||||||
import * as fs from 'fs'
|
import * as fs from 'fs'
|
||||||
import * as path from 'path'
|
import * as path from 'path'
|
||||||
|
import { fileURLToPath } from 'url'
|
||||||
|
|
||||||
|
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
||||||
|
|
||||||
type Product = 'web' | 'app' | 'hosting'
|
type Product = 'web' | 'app' | 'hosting'
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,9 @@ import type { TSESTree } from '@typescript-eslint/typescript-estree'
|
|||||||
import chalk from 'chalk'
|
import chalk from 'chalk'
|
||||||
import * as fs from 'fs'
|
import * as fs from 'fs'
|
||||||
import * as path from 'path'
|
import * as path from 'path'
|
||||||
|
import { fileURLToPath } from 'url'
|
||||||
|
|
||||||
|
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
||||||
|
|
||||||
// i18n symbols that should be imported from @modrinth/ui
|
// i18n symbols that should be imported from @modrinth/ui
|
||||||
const I18N_SYMBOLS = ['useVIntl', 'defineMessage', 'defineMessages', 'IntlFormatted'] as const
|
const I18N_SYMBOLS = ['useVIntl', 'defineMessage', 'defineMessages', 'IntlFormatted'] as const
|
||||||
|
|||||||
Reference in New Issue
Block a user