2023-07-27 14:31:52 +09:00
|
|
|
/*
|
2023-08-01 17:16:39 +09:00
|
|
|
* SPDX-FileCopyrightText: syuilo and other misskey, cherrypick contributors
|
2023-07-27 14:31:52 +09:00
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2022-12-20 13:05:36 +09:00
|
|
|
const fs = require('fs');
|
|
|
|
const meta = require('../package.json');
|
|
|
|
|
|
|
|
fs.mkdirSync(__dirname + '/../built', { recursive: true });
|
2023-09-28 19:09:12 +09:00
|
|
|
fs.writeFileSync(__dirname + '/../built/meta.json', JSON.stringify({ version: meta.version, basedMisskeyVersion: meta.basedMisskeyVersion }), 'utf-8');
|