mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(core): Remove conditional defaults in V1 release (#6363)
This commit is contained in:
committed by
कारतोफ्फेलस्क्रिप्ट™
parent
e152cfe27c
commit
f6366160a4
@@ -3,7 +3,6 @@
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
import { readFileSync } from 'fs';
|
||||
import { resolve, join, dirname } from 'path';
|
||||
import { major } from 'semver';
|
||||
import type { n8n } from 'n8n-core';
|
||||
import { RESPONSE_ERROR_MESSAGES as CORE_RESPONSE_ERROR_MESSAGES, UserSettings } from 'n8n-core';
|
||||
import { jsonParse } from 'n8n-workflow';
|
||||
@@ -30,7 +29,6 @@ export function getN8nPackageJson() {
|
||||
export const START_NODES = ['n8n-nodes-base.start', 'n8n-nodes-base.manualTrigger'];
|
||||
|
||||
export const N8N_VERSION = getN8nPackageJson().version;
|
||||
export const IS_V1_RELEASE = major(N8N_VERSION) > 0;
|
||||
|
||||
export const NODE_PACKAGE_PREFIX = 'n8n-nodes-';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user