mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Add support for internationalization
This commit is contained in:
@@ -5,7 +5,8 @@ import {
|
||||
} from "n8n-core";
|
||||
import { Command, flags } from '@oclif/command';
|
||||
const open = require('open');
|
||||
import { promisify } from "util";
|
||||
import { promisify } from 'util';
|
||||
import { dirname } from 'path';
|
||||
|
||||
import * as config from '../config';
|
||||
import {
|
||||
@@ -21,6 +22,10 @@ import {
|
||||
|
||||
const tunnel = promisify(localtunnel);
|
||||
|
||||
// Add support for internationalization
|
||||
const fullIcuPath = require.resolve('full-icu');
|
||||
process.env.NODE_ICU_DATA = dirname(fullIcuPath);
|
||||
|
||||
let activeWorkflowRunner: ActiveWorkflowRunner.ActiveWorkflowRunner | undefined;
|
||||
let processExistCode = 0;
|
||||
|
||||
|
||||
@@ -71,9 +71,9 @@
|
||||
"typescript": "~3.5.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/jsonwebtoken": "^8.3.4",
|
||||
"@oclif/command": "^1.5.18",
|
||||
"@oclif/errors": "^1.2.2",
|
||||
"@types/jsonwebtoken": "^8.3.4",
|
||||
"basic-auth": "^2.0.1",
|
||||
"body-parser": "^1.18.3",
|
||||
"compression": "^1.7.4",
|
||||
@@ -82,6 +82,7 @@
|
||||
"dotenv": "^8.0.0",
|
||||
"express": "^4.16.4",
|
||||
"flatted": "^2.0.0",
|
||||
"full-icu": "^1.3.0",
|
||||
"glob-promise": "^3.4.0",
|
||||
"google-timezones-json": "^1.0.2",
|
||||
"inquirer": "^6.5.1",
|
||||
|
||||
Reference in New Issue
Block a user