@opencraw/studio 0.0.43 → 0.0.44

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencraw/studio",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "type": "module",
5
5
  "main": "./dist/index.esm.js",
6
6
  "module": "./dist/index.esm.js",
@@ -24,8 +24,8 @@
24
24
  "!**/*.js.map"
25
25
  ],
26
26
  "dependencies": {
27
- "@opencraw/core": "^0.1.48",
28
- "@opencraw/probe": "^0.0.31",
27
+ "@opencraw/core": "^0.2.0",
28
+ "@opencraw/probe": "^0.0.32",
29
29
  "cheerio": "^1.2.0",
30
30
  "playwright": "^1.63.0",
31
31
  "zod": "^4.6.5",
@@ -53,34 +53,16 @@
53
53
  },
54
54
  "sideEffects": false,
55
55
  "scripts": {
56
- "prepack": "node -e \"const {execFileSync}=require('node:child_process');const {existsSync}=require('node:fs');const built=()=>existsSync('dist/ui/index.html');if(!built()){console.log('@opencraw/studio: building @opencraw/studio-ui (apps/studio-ui/vite.config.mts writes straight into dist/ui) before packing...');execFileSync('npx',['nx','run','@opencraw/studio-ui:build','--skip-nx-cache'],{cwd:'../..',stdio:'inherit'})}if(!built())throw new Error('dist/ui/index.html is still missing after building @opencraw/studio-ui: this package would ship a server with nothing to serve. See docs/research/recipe-studio.md.')\""
56
+ "prepack": "node -e \"const {execFileSync}=require('node:child_process');const {existsSync}=require('node:fs');const built=()=>existsSync('dist/ui/index.html');if(!built()){console.log('@opencraw/studio: building @opencraw/studio-ui (apps/studio-ui/vite.config.mts writes straight into dist/ui) before packing...');execFileSync('npx',['nx','run','@opencraw/studio-ui:build','--skip-nx-cache'],{cwd:'../..',stdio:'inherit'})}if(!built())throw new Error('dist/ui/index.html is still missing after building @opencraw/studio-ui: this package would ship a server with nothing to serve. See docs/research/recipe-studio.md.')\"",
57
+ "build": "esbuild src/index.ts --bundle --packages=external --format=esm --outfile=dist/index.esm.js --sourcemap && tsc -p tsconfig.lib.json --emitDeclarationOnly --declaration --declarationDir dist/src --tsBuildInfoFile dist/src/tsconfig.lib.tsbuildinfo && node ../../declaration-specifiers.mjs dist/src",
58
+ "e2e": "vite build -c ../../apps/studio-ui/vite.config.mts && tsc -p tsconfig.e2e.json && jest --config jest.e2e.config.cts",
59
+ "lint": "eslint .",
60
+ "test": "jest",
61
+ "typecheck": "tsc --build tsconfig.json --emitDeclarationOnly"
57
62
  },
58
- "nx": {
59
- "targets": {
60
- "typecheck": {
61
- "dependsOn": [
62
- "^build"
63
- ]
64
- },
65
- "lint": {
66
- "dependsOn": [
67
- "^build"
68
- ]
69
- },
70
- "e2e": {
71
- "executor": "nx:run-commands",
72
- "dependsOn": [
73
- "build"
74
- ],
75
- "inputs": [
76
- "default",
77
- "^production"
78
- ],
79
- "options": {
80
- "command": "vite build -c ../../apps/studio-ui/vite.config.mts && tsc -p tsconfig.e2e.json && jest --config jest.e2e.config.cts",
81
- "cwd": "packages/studio"
82
- }
83
- }
63
+ "smith": {
64
+ "playwright": {
65
+ "display": true
84
66
  }
85
67
  }
86
68
  }