|
|
@ -3114,12 +3114,14 @@ export default class NcMetaMgr { |
|
|
|
|
|
|
|
|
|
|
|
const config = this.projectConfigs[this.getProjectId(args)]; |
|
|
|
const config = this.projectConfigs[this.getProjectId(args)]; |
|
|
|
return { |
|
|
|
return { |
|
|
|
node: process.version, |
|
|
|
Node: process.version, |
|
|
|
arch: process.arch, |
|
|
|
Arch: process.arch, |
|
|
|
platform: process.platform, |
|
|
|
Platform: process.platform, |
|
|
|
docker: isDocker(), |
|
|
|
Docker: isDocker(), |
|
|
|
database: config.envs?.[process.env.NODE_ENV || 'dev']?.db?.[0]?.client, |
|
|
|
Database: config.envs?.[process.env.NODE_ENV || 'dev']?.db?.[0]?.client, |
|
|
|
packageVersion: packageInfo?.version |
|
|
|
'ProjectOnRootDB': !!config?.prefix, |
|
|
|
|
|
|
|
'RootDB': this.config?.meta?.db?.client, |
|
|
|
|
|
|
|
'PackageVersion': packageInfo?.version |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|