pstdio 0.0.1 → 0.1.0

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.
package/package.json CHANGED
@@ -1,24 +1,53 @@
1
1
  {
2
2
  "name": "pstdio",
3
- "module": "index.ts",
3
+ "version": "0.1.0",
4
4
  "type": "module",
5
5
  "bin": {
6
- "mono": "dist/index.js"
7
- },
8
- "devDependencies": {
9
- "@types/bun": "latest"
6
+ "pstdio": "./bin/pstdio.js"
10
7
  },
8
+ "files": [
9
+ "bin",
10
+ "dist"
11
+ ],
11
12
  "scripts": {
12
- "mono": "bun ./src/index.ts",
13
- "build": "bun build ./src/index.ts --outfile dist/index.js --target node --banner \"#!/usr/bin/env node\" --external ink --external react --external ink-text-input",
14
- "typecheck": "bunx tsc --noEmit",
15
- "prepublishOnly": "bun run build",
13
+ "pstdio": "bun ./src/index.ts",
14
+ "dev": "bun --watch ./src/index.ts -- serve & VITE_API_BASE_URL= bun run --cwd ../pstdio-dashboard dev & wait",
15
+ "build": "bun build ./src/index.ts --outfile dist/index.js --target node --banner \"#!/usr/bin/env node\" --external react",
16
+ "analyze-bundle": "bun build ./src/index.ts --outfile dist/index.js --target node --banner \"#!/usr/bin/env node\" --external react --metafile=./dist/bundle-meta.json --metafile-md=./dist/bundle-meta.md",
17
+ "build:bundle": "bun run build && mkdir -p dist/api && cp -r ../pstdio-dashboard/dist ./dist/dashboard && cp ../pstdio-api/dist/index.js ./dist/api/server.js",
18
+ "build:compile": "bun run ../../scripts/build-compile.ts",
19
+ "typecheck": "tsc --noEmit",
16
20
  "lint": "bun run typecheck && bunx @biomejs/biome lint .",
17
21
  "format": "bunx @biomejs/biome format --write .",
18
- "test": "bun test"
22
+ "test": "bun test --silent",
23
+ "test:coverage": "bun test --coverage"
19
24
  },
20
- "peerDependencies": {
21
- "typescript": "^5"
25
+ "dependencies": {
26
+ "@tanstack/react-db": "^0.1.74",
27
+ "mustache": "^4.2.0",
28
+ "react": "^19.2.4",
29
+ "yargs": "^18.0.0"
22
30
  },
23
- "version": "0.0.1"
31
+ "optionalDependencies": {
32
+ "@pstdio/cli-darwin-arm64": "0.0.1",
33
+ "@pstdio/cli-darwin-x64": "0.0.1",
34
+ "@pstdio/cli-linux-x64": "0.0.1",
35
+ "@pstdio/cli-linux-arm64": "0.0.1",
36
+ "@pstdio/cli-linux-x64-musl": "0.0.1",
37
+ "@pstdio/cli-linux-arm64-musl": "0.0.1",
38
+ "@pstdio/cli-win-x64": "0.0.1",
39
+ "@pstdio/cli-win-arm64": "0.0.1"
40
+ },
41
+ "devDependencies": {
42
+ "@types/bun": "latest",
43
+ "@types/mustache": "^4.2.6",
44
+ "@types/node": "^24.3.0",
45
+ "@types/react": "^19.2.14",
46
+ "@types/yargs": "^17.0.35",
47
+ "pstdio-agents": "workspace:*",
48
+ "pstdio-api": "workspace:*",
49
+ "pstdio-db": "workspace:*",
50
+ "pstdio-wt": "workspace:*",
51
+ "typescript": "~5.9.3"
52
+ }
24
53
  }
package/README.md DELETED
@@ -1,15 +0,0 @@
1
- # temp_package
2
-
3
- To install dependencies:
4
-
5
- ```bash
6
- bun install
7
- ```
8
-
9
- To run:
10
-
11
- ```bash
12
- bun run index.ts
13
- ```
14
-
15
- This project was created using `bun init` in bun v1.3.3. [Bun](https://bun.com) is a fast all-in-one JavaScript runtime.
package/src/index.ts DELETED
@@ -1 +0,0 @@
1
- console.log("Hello via Bun!");
package/tsconfig.json DELETED
@@ -1,29 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- // Environment setup & latest features
4
- "lib": ["ESNext"],
5
- "target": "ESNext",
6
- "module": "Preserve",
7
- "moduleDetection": "force",
8
- "jsx": "react-jsx",
9
- "allowJs": true,
10
-
11
- // Bundler mode
12
- "moduleResolution": "bundler",
13
- "allowImportingTsExtensions": true,
14
- "verbatimModuleSyntax": true,
15
- "noEmit": true,
16
-
17
- // Best practices
18
- "strict": true,
19
- "skipLibCheck": true,
20
- "noFallthroughCasesInSwitch": true,
21
- "noUncheckedIndexedAccess": true,
22
- "noImplicitOverride": true,
23
-
24
- // Some stricter flags (disabled by default)
25
- "noUnusedLocals": false,
26
- "noUnusedParameters": false,
27
- "noPropertyAccessFromIndexSignature": false
28
- }
29
- }