1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Tools: Moved some utility functions to @joplin/utils to reduce dependencies between packages

This commit is contained in:
Laurent Cozic
2023-03-19 15:37:07 +00:00
parent 1548ea18e1
commit 3e52411bc4
37 changed files with 308 additions and 229 deletions

View File

@ -1,4 +1,5 @@
import { execCommand2, rootDir } from './tool-utils';
import { execCommand } from '@joplin/utils';
import { rootDir } from './tool-utils';
const sqlts = require('@rmp135/sql-ts').default;
const fs = require('fs-extra');
@ -6,7 +7,7 @@ const fs = require('fs-extra');
async function main() {
// Run the CLI app once so as to generate the database file
process.chdir(`${rootDir}/packages/app-cli`);
await execCommand2('yarn start version');
await execCommand('yarn start version');
const sqlTsConfig = {
'client': 'sqlite3',