@tscircuit/eval 0.0.329 → 0.0.331
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/.github/workflows/auto-merge-tscircuitbot.yml +52 -3
- package/README.md +1 -1
- package/dist/blob-url.js +1 -1
- package/dist/eval/index.js +79 -52
- package/dist/lib/index.js +79 -52
- package/dist/webworker/entrypoint.js +316 -1003
- package/package.json +4 -5
- package/tsup-webworker.config.ts +1 -1
- package/webworker/import-eval-path.ts +0 -2
- package/webworker/import-local-file.ts +5 -24
- package/webworker/import-npm-package.ts +6 -11
- package/webworker/transform-with-sucrase.ts +68 -0
|
@@ -31,11 +31,53 @@ jobs:
|
|
|
31
31
|
contains(github.event.pull_request.title, 'chore: update @tscircuit/core')
|
|
32
32
|
|
|
33
33
|
steps:
|
|
34
|
-
- name: Wait for
|
|
34
|
+
- name: Wait for test (circuit-runner)
|
|
35
35
|
uses: fountainhead/action-wait-for-check@v1.2.0
|
|
36
36
|
with:
|
|
37
37
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
38
|
-
checkName: test
|
|
38
|
+
checkName: test (circuit-runner)
|
|
39
|
+
ref: ${{ github.event.pull_request.head.sha }}
|
|
40
|
+
|
|
41
|
+
- name: Wait for test (custom-component-with-fsmap)
|
|
42
|
+
uses: fountainhead/action-wait-for-check@v1.2.0
|
|
43
|
+
with:
|
|
44
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
45
|
+
checkName: test (custom-component-with-fsmap)
|
|
46
|
+
ref: ${{ github.event.pull_request.head.sha }}
|
|
47
|
+
|
|
48
|
+
- name: Wait for test (examples)
|
|
49
|
+
uses: fountainhead/action-wait-for-check@v1.2.0
|
|
50
|
+
with:
|
|
51
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
52
|
+
checkName: test (examples)
|
|
53
|
+
ref: ${{ github.event.pull_request.head.sha }}
|
|
54
|
+
|
|
55
|
+
- name: Wait for test (features)
|
|
56
|
+
uses: fountainhead/action-wait-for-check@v1.2.0
|
|
57
|
+
with:
|
|
58
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
59
|
+
checkName: test (features)
|
|
60
|
+
ref: ${{ github.event.pull_request.head.sha }}
|
|
61
|
+
|
|
62
|
+
- name: Wait for test (node-resolution)
|
|
63
|
+
uses: fountainhead/action-wait-for-check@v1.2.0
|
|
64
|
+
with:
|
|
65
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
66
|
+
checkName: test (node-resolution)
|
|
67
|
+
ref: ${{ github.event.pull_request.head.sha }}
|
|
68
|
+
|
|
69
|
+
- name: Wait for test (repros)
|
|
70
|
+
uses: fountainhead/action-wait-for-check@v1.2.0
|
|
71
|
+
with:
|
|
72
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
73
|
+
checkName: test (repros)
|
|
74
|
+
ref: ${{ github.event.pull_request.head.sha }}
|
|
75
|
+
|
|
76
|
+
- name: Wait for test (util-fns)
|
|
77
|
+
uses: fountainhead/action-wait-for-check@v1.2.0
|
|
78
|
+
with:
|
|
79
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
80
|
+
checkName: test (util-fns)
|
|
39
81
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
40
82
|
|
|
41
83
|
- name: Wait for type check completion
|
|
@@ -45,6 +87,13 @@ jobs:
|
|
|
45
87
|
checkName: type-check
|
|
46
88
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
47
89
|
|
|
90
|
+
- name: Wait for Playwright tests
|
|
91
|
+
uses: fountainhead/action-wait-for-check@v1.2.0
|
|
92
|
+
with:
|
|
93
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
94
|
+
checkName: test
|
|
95
|
+
ref: ${{ github.event.pull_request.head.sha }}
|
|
96
|
+
|
|
48
97
|
- name: Wait for format check completion
|
|
49
98
|
uses: fountainhead/action-wait-for-check@v1.2.0
|
|
50
99
|
with:
|
|
@@ -57,4 +106,4 @@ jobs:
|
|
|
57
106
|
with:
|
|
58
107
|
token: ${{ secrets.TSCIRCUIT_BOT_GITHUB_TOKEN }}
|
|
59
108
|
pull-request-number: ${{ github.event.pull_request.number }}
|
|
60
|
-
merge-method: squash
|
|
109
|
+
merge-method: squash
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @tscircuit/eval
|
|
2
2
|
|
|
3
|
-
Evaluate code in a full tscircuit runtime environment, including
|
|
3
|
+
Evaluate code in a full tscircuit runtime environment, including Sucrase
|
|
4
4
|
transpilation and execution, so you just need to send the code to be executed
|
|
5
5
|
with automatic handling of imports from `@tsci/*`
|
|
6
6
|
|