simplecloud 0.0.1-beta.2 → 0.0.1-beta.21

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.
@@ -0,0 +1,27 @@
1
+ ; Query from: https://raw.githubusercontent.com/nvim-treesitter/nvim-treesitter/refs/heads/master/queries/markdown/injections.scm
2
+ (fenced_code_block
3
+ (info_string
4
+ (language) @_lang)
5
+ (code_fence_content) @injection.content
6
+ (#set-lang-from-info-string! @_lang))
7
+
8
+ ((html_block) @injection.content
9
+ (#set! injection.language "html")
10
+ (#set! injection.combined)
11
+ (#set! injection.include-children))
12
+
13
+ ((minus_metadata) @injection.content
14
+ (#set! injection.language "yaml")
15
+ (#offset! @injection.content 1 0 -1 0)
16
+ (#set! injection.include-children))
17
+
18
+ ((plus_metadata) @injection.content
19
+ (#set! injection.language "toml")
20
+ (#offset! @injection.content 1 0 -1 0)
21
+ (#set! injection.include-children))
22
+
23
+ ([
24
+ (inline)
25
+ (pipe_table_cell)
26
+ ] @injection.content
27
+ (#set! injection.language "markdown_inline"))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simplecloud",
3
- "version": "0.0.1-beta.2",
3
+ "version": "0.0.1-beta.21",
4
4
  "description": "simplecloud.app cli",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -13,9 +13,6 @@
13
13
  "publishConfig": {
14
14
  "access": "public"
15
15
  },
16
- "engines": {
17
- "node": ">=18.0.0"
18
- },
19
16
  "main": "dist/index.js",
20
17
  "bin": {
21
18
  "simplecloud": "dist/cli.js",
@@ -26,10 +23,10 @@
26
23
  ],
27
24
  "scripts": {
28
25
  "dev": "bun run build && bun scripts/build-dev.ts",
29
- "build": "rm -rf dist && bun build src/index.ts --outdir dist --format esm --minify --target node && bun build src/cli.ts --outdir dist --format esm --minify --target node",
26
+ "build": "rm -rf dist && bun build src/index.ts --outdir dist --format esm --minify --target bun --packages=bundle && bun build src/cli.ts --outdir dist --format esm --minify --target bun --packages=bundle && echo '#!/usr/bin/env bun' | cat - dist/cli.js > dist/cli.tmp && mv dist/cli.tmp dist/cli.js",
30
27
  "prepublishOnly": "bun run build",
31
- "test:cli": "bun run build && node dist/cli.js --help",
32
- "local:setup": "bun run build && echo 'alias scl=\"node $(pwd)/dist/cli.js\"' >> ~/.zshrc && echo 'Local alias added! Run: source ~/.zshrc'",
28
+ "test:cli": "bun run build && bun dist/cli.js --help",
29
+ "local:setup": "bun run build && echo 'alias scl=\"bun '$(pwd)'/dist/cli.js\"' >> ~/.zshrc && echo 'Local alias added! Run: source ~/.zshrc'",
33
30
  "local:link": "bun run build && npm link",
34
31
  "local:unlink": "npm unlink -g",
35
32
  "local:pack": "bun run build && mkdir -p temp && npm pack --pack-destination=./temp && mv ./temp/simplecloud-*.tgz ./temp/simplecloud.tgz",
@@ -38,9 +35,9 @@
38
35
  "generate:api": "swagger-typescript-api generate -p https://controller.platform.simplecloud.app/swagger/doc.json -o src/lib/generated -n simplecloud-api.ts --sort-types --single-http-client --clean-output"
39
36
  },
40
37
  "devDependencies": {
41
- "@biomejs/biome": "2.2.4",
42
- "@effect/platform-bun": "^0.79.1",
38
+ "@biomejs/biome": "2.3.8",
43
39
  "@types/bun": "latest",
40
+ "@types/yargs": "^17.0.33",
44
41
  "swagger-typescript-api": "^13.2.16"
45
42
  },
46
43
  "peerDependencies": {
@@ -48,13 +45,12 @@
48
45
  },
49
46
  "dependencies": {
50
47
  "@clack/prompts": "^1.0.0-alpha.6",
51
- "@effect/cli": "^0.72.1",
52
- "@effect/platform-node": "^0.97.0",
53
- "@opentui/solid": "^0.1.25",
54
- "better-auth": "^1.3.14",
48
+ "@opentui/solid": "^0.1.60",
49
+ "better-auth": "^1.4.6",
55
50
  "chalk": "^5.6.2",
56
- "effect": "^3.17.13",
57
- "solid-js": "^1.9.9",
58
- "table": "^6.9.0"
51
+ "effect": "^3.19.12",
52
+ "solid-js": "^1.9.10",
53
+ "table": "^6.9.0",
54
+ "yargs": "^18.0.0"
59
55
  }
60
56
  }