mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
93468211d6
* chore: update eslint * chore: update rules and style * chore: aling formatting * chore: update ci rules * chore: aling formatting * chore: aling formatting
10 lines
271 B
TypeScript
10 lines
271 B
TypeScript
import path from 'path';
|
|
import fs from 'fs';
|
|
|
|
export function copyConfigFile(rootFolder, configTemplate): string {
|
|
const configPath = path.join(rootFolder, 'verdaccio.yaml');
|
|
fs.copyFileSync(path.join(__dirname, configTemplate), configPath);
|
|
|
|
return configPath;
|
|
}
|