@scriptdb/cli 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +15 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -764,11 +764,22 @@ function ensureScriptDBDir() {
764
764
  }
765
765
  if (!existsSync(PACKAGE_JSON)) {
766
766
  const packageJsonContent = {
767
- name: "scriptdb-packages",
768
- version: "1.0.0",
769
- description: "ScriptDB user packages",
767
+ name: "scriptdb-workspace",
768
+ version: "1.0.3",
769
+ description: "ScriptDB workspace for custom scripts, services, and databases",
770
770
  private: true,
771
- dependencies: {}
771
+ devDependencies: {
772
+ "@types/bun": "^1.3.2",
773
+ "@types/node": "^20.0.0",
774
+ "@typescript-eslint/eslint-plugin": "^6.0.0",
775
+ "@typescript-eslint/parser": "^6.0.0",
776
+ "bun-types": "latest",
777
+ eslint: "^8.0.0",
778
+ typescript: "^5.0.0"
779
+ },
780
+ dependencies: {
781
+ lodash: "^4.17.21"
782
+ }
772
783
  };
773
784
  writeFileSync(PACKAGE_JSON, JSON.stringify(packageJsonContent, null, 2));
774
785
  console.log("Created ~/.scriptdb/package.json");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scriptdb/cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "CLI tool to start and manage ScriptDB server",
5
5
  "type": "module",
6
6
  "bin": {
@@ -38,8 +38,8 @@
38
38
  "typescript": "^5.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@scriptdb/server": "^1.0.2",
42
- "@scriptdb/client": "^1.0.2",
41
+ "@scriptdb/server": "^1.0.3",
42
+ "@scriptdb/client": "^1.0.3",
43
43
  "ps-list": "^9.0.0"
44
44
  }
45
45
  }