mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-10-31 19:04:16 +01:00 
			
		
		
		
	fix: Copy changelog to tiny
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| import { build } from 'esbuild'; | ||||
| import { mkdir, readFile, rename, writeFile } from 'node:fs/promises'; | ||||
| import { cp, mkdir, readFile, rename, writeFile } from 'node:fs/promises'; | ||||
| import { packageOptions } from '../.build/common.js'; | ||||
| import { generateLangium } from '../.build/generateLangium.js'; | ||||
| import type { MermaidBuildOptions } from './util.js'; | ||||
| @@ -90,6 +90,7 @@ const buildTinyMermaid = async () => { | ||||
|   tinyPkg.version = mermaidPkg.version; | ||||
|  | ||||
|   await writeFile('./packages/tiny/package.json', JSON.stringify(tinyPkg, null, 2) + '\n'); | ||||
|   await cp('./packages/mermaid/CHANGELOG.md', './packages/tiny/CHANGELOG.md'); | ||||
| }; | ||||
|  | ||||
| const main = async () => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sidharth Vinod
					Sidharth Vinod