@opencraw/studio 0.0.2

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 (32) hide show
  1. package/README.md +11 -0
  2. package/bin/opencraw-studio.mjs +4 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.esm.js +886 -0
  5. package/dist/src/index.d.ts +10 -0
  6. package/dist/src/main.d.ts +11 -0
  7. package/dist/src/page-snapshot/fetch-start-page.use-case.d.ts +20 -0
  8. package/dist/src/page-snapshot/index.d.ts +2 -0
  9. package/dist/src/recipe-workspace/index.d.ts +3 -0
  10. package/dist/src/recipe-workspace/open-workspace.use-case.d.ts +15 -0
  11. package/dist/src/recipe-workspace/save-recipe.use-case.d.ts +16 -0
  12. package/dist/src/sample-run/index.d.ts +6 -0
  13. package/dist/src/sample-run/load-recipe-pair.use-case.d.ts +18 -0
  14. package/dist/src/sample-run/run-sample.use-case.d.ts +30 -0
  15. package/dist/src/sample-run/sample-run-record.contract.d.ts +19 -0
  16. package/dist/src/studio-api/command.contract.d.ts +67 -0
  17. package/dist/src/studio-api/event.contract.d.ts +70 -0
  18. package/dist/src/studio-api/index.d.ts +11 -0
  19. package/dist/src/studio-api/sample-run-view.contract.d.ts +28 -0
  20. package/dist/src/studio-api/start-page-view.contract.d.ts +7 -0
  21. package/dist/src/studio-api/workspace-view.contract.d.ts +55 -0
  22. package/dist/src/studio-server/access-token.policy.d.ts +26 -0
  23. package/dist/src/studio-server/fetch-start-page.handler.d.ts +14 -0
  24. package/dist/src/studio-server/index.d.ts +3 -0
  25. package/dist/src/studio-server/open-workspace.handler.d.ts +13 -0
  26. package/dist/src/studio-server/run-sample.handler.d.ts +28 -0
  27. package/dist/src/studio-server/save-recipe.handler.d.ts +15 -0
  28. package/dist/src/studio-server/static-file.handler.d.ts +14 -0
  29. package/dist/src/studio-server/studio-http.use-case.d.ts +32 -0
  30. package/dist/src/studio-server/websocket.client.d.ts +22 -0
  31. package/dist/src/studio-server/workspace.store.d.ts +21 -0
  32. package/package.json +80 -0
package/package.json ADDED
@@ -0,0 +1,80 @@
1
+ {
2
+ "name": "@opencraw/studio",
3
+ "version": "0.0.2",
4
+ "type": "module",
5
+ "main": "./dist/index.esm.js",
6
+ "module": "./dist/index.esm.js",
7
+ "types": "./dist/src/index.d.ts",
8
+ "bin": {
9
+ "opencraw-studio": "./bin/opencraw-studio.mjs"
10
+ },
11
+ "exports": {
12
+ "./package.json": "./package.json",
13
+ ".": {
14
+ "types": "./dist/src/index.d.ts",
15
+ "import": "./dist/index.esm.js",
16
+ "default": "./dist/index.esm.js"
17
+ }
18
+ },
19
+ "files": [
20
+ "dist",
21
+ "bin",
22
+ "!**/*.tsbuildinfo",
23
+ "!**/*.d.ts.map",
24
+ "!**/*.js.map"
25
+ ],
26
+ "dependencies": {
27
+ "@opencraw/core": "^0.1.13",
28
+ "playwright": "^1.63.0",
29
+ "zod": "^4.6.5"
30
+ },
31
+ "publishConfig": {
32
+ "access": "public"
33
+ },
34
+ "description": "OpenCraw Studio: a local server and React UI for opening a recipe folder, running samples and reading the trace next to the page the engine fetched.",
35
+ "license": "MIT",
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "git+https://github.com/russoedu/open.craw.git",
39
+ "directory": "packages/studio"
40
+ },
41
+ "keywords": [
42
+ "crawler",
43
+ "scraper",
44
+ "recipe",
45
+ "studio",
46
+ "visual-editor"
47
+ ],
48
+ "engines": {
49
+ "node": ">=22"
50
+ },
51
+ "sideEffects": false,
52
+ "nx": {
53
+ "targets": {
54
+ "typecheck": {
55
+ "dependsOn": [
56
+ "^build"
57
+ ]
58
+ },
59
+ "lint": {
60
+ "dependsOn": [
61
+ "^build"
62
+ ]
63
+ },
64
+ "e2e": {
65
+ "executor": "nx:run-commands",
66
+ "dependsOn": [
67
+ "build"
68
+ ],
69
+ "inputs": [
70
+ "default",
71
+ "^production"
72
+ ],
73
+ "options": {
74
+ "command": "tsc -p tsconfig.e2e.json && jest --config jest.e2e.config.cts",
75
+ "cwd": "packages/studio"
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }