@pipelab/core-node 0.0.1

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 (54) hide show
  1. package/.oxfmtrc.json +3 -0
  2. package/.turbo/turbo-build.log +56 -0
  3. package/.turbo/turbo-format.log +6 -0
  4. package/.turbo/turbo-lint.log +618 -0
  5. package/CHANGELOG.md +62 -0
  6. package/LICENSE +110 -0
  7. package/README.md +10 -0
  8. package/dist/index.d.mts +449 -0
  9. package/dist/index.d.mts.map +1 -0
  10. package/dist/index.mjs +52693 -0
  11. package/dist/index.mjs.map +1 -0
  12. package/package.json +64 -0
  13. package/scratch/simulate-updates.ts +118 -0
  14. package/src/api.ts +115 -0
  15. package/src/config.ts +100 -0
  16. package/src/context.ts +74 -0
  17. package/src/handler-func.ts +234 -0
  18. package/src/handlers/agents.ts +32 -0
  19. package/src/handlers/auth.ts +95 -0
  20. package/src/handlers/build-history.ts +379 -0
  21. package/src/handlers/config.ts +109 -0
  22. package/src/handlers/engine.ts +229 -0
  23. package/src/handlers/fs.ts +97 -0
  24. package/src/handlers/history.ts +327 -0
  25. package/src/handlers/index.ts +41 -0
  26. package/src/handlers/shell.ts +57 -0
  27. package/src/handlers/system.ts +18 -0
  28. package/src/handlers.ts +2 -0
  29. package/src/heavy.ts +4 -0
  30. package/src/index.ts +17 -0
  31. package/src/ipc-core.ts +77 -0
  32. package/src/migrations.ts +72 -0
  33. package/src/paths.ts +1 -0
  34. package/src/plugins-registry.ts +84 -0
  35. package/src/presets/c3toSteam.ts +272 -0
  36. package/src/presets/demo.ts +123 -0
  37. package/src/presets/if.ts +69 -0
  38. package/src/presets/list.ts +30 -0
  39. package/src/presets/loop.ts +65 -0
  40. package/src/presets/moreToCome.ts +32 -0
  41. package/src/presets/newProject.ts +31 -0
  42. package/src/presets/preset.model.ts +0 -0
  43. package/src/presets/test-c3-offline.ts +78 -0
  44. package/src/presets/test-c3-unzip.ts +124 -0
  45. package/src/runner.ts +166 -0
  46. package/src/server.ts +101 -0
  47. package/src/types/runner.ts +101 -0
  48. package/src/utils/fs-extras.ts +220 -0
  49. package/src/utils/github.ts +119 -0
  50. package/src/utils/remote.ts +498 -0
  51. package/src/utils/storage.ts +99 -0
  52. package/src/utils.ts +268 -0
  53. package/src/websocket-server.ts +288 -0
  54. package/tsconfig.json +19 -0
package/.oxfmtrc.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "ignorePatterns": ["dist", "out", "node_modules", "bin"]
3
+ }
@@ -0,0 +1,56 @@
1
+
2
+
3
+ > @pipelab/core-node@1.0.0-beta.3 build /run/media/armaldio/SSD/Projects/Pipelab/pipelab/packages/core-node
4
+ > tsdown
5
+
6
+ ℹ tsdown v0.21.2 powered by rolldown v1.0.0-rc.9
7
+ ℹ entry: src/index.ts
8
+ ℹ tsconfig: tsconfig.json
9
+ ℹ Build start
10
+ ℹ Cleaning 4 files
11
+ ℹ Hint: consider adding deps.onlyBundle option to avoid unintended bundling of dependencies, or set deps.onlyBundle: false to disable this hint.
12
+ See more at https://tsdown.dev/options/dependencies#deps-onlybundle
13
+ Detected dependencies in bundle:
14
+ - electron
15
+ - serve-handler
16
+ - concat-map
17
+ - balanced-match
18
+ - brace-expansion
19
+ - minimatch
20
+ - path-to-regexp
21
+ - mime-db
22
+ - mime-types
23
+ - bytes
24
+ - content-disposition
25
+ - path-is-inside
26
+ - range-parser
27
+ - klona
28
+ - @vue/shared
29
+ - entities
30
+ - @babel/parser
31
+ - estree-walker
32
+ - source-map-js
33
+ - @vue/compiler-core
34
+ - @vue/compiler-dom
35
+ - @vue/reactivity
36
+ - @vue/runtime-core
37
+ - @vue/runtime-dom
38
+ - vue
39
+ ℹ dist/index.mjs  1.92 MB
40
+ ℹ dist/index.mjs.map  3.20 MB
41
+ ℹ dist/index.d.mts.map 40.77 kB │ gzip: 13.23 kB
42
+ ℹ dist/index.d.mts 17.55 kB │ gzip: 4.63 kB
43
+ ℹ 4 files, total: 5.18 MB
44
+ src/types/runner.d.ts (1:9) [MISSING_EXPORT] Warning: "BrowserWindow" is not exported by "../../node_modules/electron/electron.d.ts".
45
+ ╭─[ src/types/runner.d.ts:1:10 ]
46
+ │
47
+ 1 │ import { BrowserWindow } from "electron";
48
+  │ ──────┬──────
49
+  │ ╰──────── Missing export
50
+  │
51
+  │ Note: If you meant to import a type rather than a value, make sure to add the `type` modifier (e.g. `import { type Foo } from 'electron'`).
52
+ ───╯
53
+
54
+ [INEFFECTIVE_DYNAMIC_IMPORT] Warning: src/index.ts is dynamically imported by src/plugins-registry.ts but also statically imported by src/server.ts, dynamic import will not move module into another chunk.
55
+
56
+ ✔ Build complete in 1896ms
@@ -0,0 +1,6 @@
1
+
2
+
3
+ > @pipelab/core-node@1.0.0-beta.1 format /run/media/armaldio/SSD/Projects/Pipelab/pipelab/packages/core-node
4
+ > oxfmt .
5
+
6
+ Finished in 489ms on 45 files using 16 threads.