@newly/cli 0.1.1 → 0.1.27

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,27 +1,43 @@
1
1
  {
2
2
  "name": "@newly/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.27",
4
4
  "description": "Develop, provision, and deploy Newly backends from your terminal",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
7
- "bin": { "newly": "dist/index.js", "newly-dev": "dist/newly-dev.js" },
8
- "files": ["dist"],
9
- "engines": { "node": ">=20" },
7
+ "bin": {
8
+ "newly": "dist/index.js",
9
+ "newly-dev": "dist/newly-dev.js"
10
+ },
11
+ "files": [
12
+ "dist"
13
+ ],
14
+ "engines": {
15
+ "node": ">=20"
16
+ },
10
17
  "scripts": {
11
- "prebuild": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
18
+ "prebuild": "node scripts/sync-version.mjs && node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
12
19
  "build": "tsc",
20
+ "build:run-cloud": "bun run build && node dist/run-cloud.js --help >/dev/null",
21
+ "package:runcloud": "bun run build:run-cloud && node scripts/prepare-runcloud-package.mjs",
22
+ "publish:runcloud": "bun run lint && bun run test && bun run package:runcloud && npm publish .publish/runcloud --access public",
13
23
  "dev": "tsx src/index.ts",
14
24
  "lint": "eslint src",
15
25
  "test": "vitest run",
16
- "prepublishOnly": "pnpm lint && pnpm test && pnpm build"
26
+ "prepublishOnly": "bun run lint && bun run test && bun run build",
27
+ "sync-version": "node scripts/sync-version.mjs",
28
+ "test:tty": "node scripts/test-tty-login.mjs"
17
29
  },
18
30
  "dependencies": {
19
31
  "commander": "^12.1.0",
20
- "tar": "^7.4.3"
32
+ "esbuild": "0.25.12",
33
+ "google-auth-library": "^9.15.0",
34
+ "tar": "^7.4.3",
35
+ "ws": "^8.21.0"
21
36
  },
22
37
  "devDependencies": {
23
38
  "@eslint/js": "^9.0.0",
24
39
  "@types/node": "^20.0.0",
40
+ "@types/ws": "^8.18.1",
25
41
  "eslint": "^9.0.0",
26
42
  "tsx": "^4.0.0",
27
43
  "typescript": "^5.0.0",