Files
certd/packages/ui/certd-server/before-build.js
xiaojunnuo a5de8d79ec chore: 1
2024-07-20 18:11:56 +08:00

6 lines
265 B
JavaScript

import fs from 'fs';
//读取 packages/core/pipline/package.json的版本号
import { default as packageJson } from './tsconfig.json' assert { type: 'json' };
delete packageJson.references;
fs.writeFileSync('./tsconfig.json', JSON.stringify(packageJson, null, 2));