diff --git a/README.md b/README.md index 3368703..5c0dd90 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,12 @@ - node.js >18.16.0 - pnpm >8.6.12 -### Develop +### Local Development - `pnpm i` - `pnpm dev` -### Build +### Production Build - `pnpm i` - `pnpm build` diff --git a/packages/extensions/README.md b/packages/extensions/README.md deleted file mode 100644 index d5fe809..0000000 --- a/packages/extensions/README.md +++ /dev/null @@ -1 +0,0 @@ -# @tidbcloud/tisqleditor-extensions diff --git a/packages/extensions/cur-sql/package.json b/packages/extensions/cur-sql/package.json index b404a79..9a91834 100644 --- a/packages/extensions/cur-sql/package.json +++ b/packages/extensions/cur-sql/package.json @@ -13,6 +13,9 @@ "README.md" ], "scripts": { + "tsc:watch": "tsc --watch", + "rollup:watch": "rollup -c --watch", + "dev": "concurrently --kill-others \"pnpm tsc:watch\" \"pnpm rollup:watch\"", "build": "tsc && rollup -c" }, "keywords": [], diff --git a/packages/extensions/lang-sql/package.json b/packages/extensions/lang-sql/package.json index 3078060..fa0208d 100644 --- a/packages/extensions/lang-sql/package.json +++ b/packages/extensions/lang-sql/package.json @@ -13,6 +13,9 @@ "README.md" ], "scripts": { + "tsc:watch": "tsc --watch", + "rollup:watch": "rollup -c --watch", + "dev": "concurrently --kill-others \"pnpm tsc:watch\" \"pnpm rollup:watch\"", "build": "tsc && rollup -c" }, "keywords": [], diff --git a/packages/extensions/sql-parser/package.json b/packages/extensions/sql-parser/package.json index a9d1236..363549b 100644 --- a/packages/extensions/sql-parser/package.json +++ b/packages/extensions/sql-parser/package.json @@ -13,6 +13,9 @@ "README.md" ], "scripts": { + "tsc:watch": "tsc --watch", + "rollup:watch": "rollup -c --watch", + "dev": "concurrently --kill-others \"pnpm tsc:watch\" \"pnpm rollup:watch\"", "build": "tsc && rollup -c" }, "keywords": [], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f5af796..1b7185b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -116,7 +116,7 @@ importers: packages/extensions/cur-sql: dependencies: '@tidbcloud/tisqleditor-extensions-sql-parser': - specifier: workspace:^0.0.1 + specifier: workspace:^ version: link:../sql-parser devDependencies: '@codemirror/state':