mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-07 17:05:33 +02:00
bump version to 1.10.3 and update CURRENT_DIR reference in patch handling
Some checks failed
CI / general (push) Has been cancelled
Some checks failed
CI / general (push) Has been cancelled
This commit is contained in:
parent
dc45598a8a
commit
488575eaee
3 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@zen-browser/surfer",
|
||||
"version": "1.10.0",
|
||||
"version": "1.10.3",
|
||||
"description": "Simplifying building firefox forks!",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
|
|
|
@ -10,7 +10,7 @@ import glob from 'tiny-glob'
|
|||
|
||||
import { appendToFileSync, mkdirp } from '../../utils'
|
||||
import { config } from '../..'
|
||||
import { ENGINE_DIR, SRC_DIR, TESTS_DIR } from '../../constants'
|
||||
import { CURRENT_DIR, ENGINE_DIR, SRC_DIR, TESTS_DIR } from '../../constants'
|
||||
import { IMelonPatch } from './command'
|
||||
|
||||
// =============================================================================
|
||||
|
@ -26,7 +26,7 @@ export const copyManual = async (
|
|||
if (patchName === 'tests') {
|
||||
dest = resolve(dest, 'browser', 'base', 'zen-components')
|
||||
}
|
||||
const placeToCheck = patchName === 'tests' ? process.cwd() : SRC_DIR
|
||||
const placeToCheck = patchName === 'tests' ? CURRENT_DIR : SRC_DIR
|
||||
// If the file exists and is not a symlink, we want to replace it with a
|
||||
// symlink to our file, so remove it
|
||||
if (
|
||||
|
|
|
@ -20,6 +20,7 @@ export const PATCH_ARGS = [
|
|||
export const ENGINE_DIR = resolve(process.cwd(), 'engine')
|
||||
export const SRC_DIR = resolve(process.cwd(), 'src')
|
||||
export const TESTS_DIR = resolve(process.cwd(), 'tests')
|
||||
export const CURRENT_DIR = process.cwd()
|
||||
// eslint-disable-next-line unicorn/prefer-module
|
||||
export const PATCHES_DIR = resolve(
|
||||
__dirname,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue