[v2] Мonorepo, sdk-client, sdk-server, sdk-core package split (#1279)
This commit is contained in:
parent
384311b9b8
commit
71ae3acee0
1 changed files with 12067 additions and 4817 deletions
|
|
@ -64,7 +64,7 @@ async function main() {
|
|||
* Last updated from commit: {SHA}
|
||||
*
|
||||
* DO NOT EDIT THIS FILE MANUALLY. Changes will be overwritten by automated updates.
|
||||
* To update this file, run: npm run fetch:spec-types
|
||||
* To update this file, run: pnpm run fetch:spec-types
|
||||
*/`;
|
||||
|
||||
const header = headerTemplate.replace('{SHA}', latestSHA);
|
||||
|
|
@ -73,10 +73,10 @@ async function main() {
|
|||
const fullContent = header + specContent;
|
||||
|
||||
// Write to file
|
||||
const outputPath = join(PROJECT_ROOT, 'src', 'spec.types.ts');
|
||||
const outputPath = join(PROJECT_ROOT, 'packages', 'core', 'src', 'types', 'spec.types.ts');
|
||||
writeFileSync(outputPath, fullContent, 'utf-8');
|
||||
|
||||
console.log('Successfully updated src/spec.types.ts');
|
||||
console.log('Successfully updated packages/core/src/types/spec.types.ts');
|
||||
} catch (error) {
|
||||
console.error('Error:', error instanceof Error ? error.message : String(error));
|
||||
process.exit(1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue