chore: Update package.json version to 1.3.0 and copy language packs

This commit is contained in:
Mauro Balades 2024-08-23 16:25:45 +02:00
parent 7dbb4b3880
commit ecc63182dd
2 changed files with 10 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@zen-browser/surfer",
"version": "1.2.18",
"version": "1.3.0",
"description": "Simplifying building firefox forks!",
"main": "index.js",
"bin": {

View file

@ -18,6 +18,11 @@ import { generateBrowserUpdateFiles } from './updates/browser'
const machPath = resolve(ENGINE_DIR, 'mach')
export const ZEN_LOCALES = [
"en-US",
"es-ES",
];
export const surferPackage = async () => {
const brandingKey = dynamicConfig.get('brand') as string
const brandingDetails = config.brands[brandingKey]
@ -47,6 +52,10 @@ export const surferPackage = async () => {
await dispatch(machPath, arguments_, ENGINE_DIR, true)
log.info("Copying language packs")
await dispatch(machPath, ['package-multi-locale', '--locales', ...ZEN_LOCALES], ENGINE_DIR, true)
log.info('Copying results up')
log.debug("Creating the dist directory if it doesn't exist")