Commit Graph

66 Commits

Author SHA1 Message Date
Chenlei Hu
f22bcdf2b2 Migrate ColorPlatte to ts (#31)
* rename

* Migrate colorPlatte to ts
2024-06-18 14:22:11 -04:00
Chenlei Hu
681bb69217 Migrate Clipspace to ts (#30)
* rename

* Migrate to ts
2024-06-18 14:05:49 -04:00
huchenlei
dd81f49ad9 nit 2024-06-18 13:59:23 -04:00
Chenlei Hu
d7bf368cec Bundle all dynamically loaded css (#28)
* static css

* Fix css import in tests
2024-06-18 13:58:21 -04:00
Chenlei Hu
c064e2cc80 Fix extension script load timing (#29) 2024-06-18 13:55:27 -04:00
Chenlei Hu
eadcc5e72e Bundle all core extensions (#27) 2024-06-18 12:48:52 -04:00
Chenlei Hu
e4b9cbbe17 Add back .js suffix on extension imports (#25) 2024-06-17 23:06:35 -04:00
Chenlei Hu
b11a12d925 Add workflow schema with zod (#22)
* Safe parse with zod

* Fix zod issue

* Fix all validation errors

* nit

* Add tests

* Add color fields

* Passthrough
2024-06-17 17:28:52 -04:00
Chenlei Hu
cc7ee23b91 Force import DraggableList (#24)
* Force import

* Fix circular import
2024-06-17 17:24:59 -04:00
huchenlei
d133d664b5 nit 2024-06-17 16:47:29 -04:00
huchenlei
655eaacf34 nit 2024-06-17 12:32:00 -04:00
Chenlei Hu
d97c5b652a Fix broken user tests (#21) 2024-06-17 12:30:05 -04:00
Chenlei Hu
b794d96eff Bundle frontend app (#15)
* Add shim in vite build

* shim

* Move public back to src
2024-06-17 12:18:53 -04:00
Chenlei Hu
5ce03ca370 Update README.md 2024-06-17 11:29:40 -04:00
Chenlei Hu
f85cb3d5e9 Migrate all tests to TypeScript (#19)
* Merge 2 npm repos

* Install ts-jest

* Update jestconfig

* Fix jest types

* jest fix

* Fix babel config ref issue

* Fix import

* Fix import meta issue

* fix generate

* Skip multi-user tests
2024-06-17 11:25:56 -04:00
Chenlei Hu
48d5870d9c Sync with upstream (#20) 2024-06-17 09:37:25 -04:00
Chenlei Hu
811fdcf51d Update README.md 2024-06-17 09:34:06 -04:00
Chenlei Hu
f55dbb6149 Remove test only file data/object_info (#18) 2024-06-15 21:17:25 -04:00
Ping
7884faf516 chore: add --noEmit to tsc and extract it to typecheck script (#16) 2024-06-15 16:33:03 -04:00
Chenlei Hu
37b3e5b2a3 Update README.md 2024-06-14 20:56:38 -04:00
Chenlei Hu
0ef74392ca Migrate ui/ (#14)
* Rename js to ts

* Fix all tsc errors
2024-06-14 20:53:25 -04:00
Chenlei Hu
1376459cd8 Migrate app.js (#12)
* Rename js to ts

* Fix all tsc errors

* nit
2024-06-14 17:11:19 -04:00
Chenlei Hu
23074eb823 Migrate api.js (#11)
* Rename file

* Migrate api.js
2024-06-14 15:11:09 -04:00
Chenlei Hu
42cf977ca1 Migrate pnginfo (#10) 2024-06-14 14:55:37 -04:00
Chenlei Hu
d85cff385d Migrate utils.js (#9)
* Rename js to ts

* Migrate utils
2024-06-14 14:38:49 -04:00
Chenlei Hu
bcf3a39de7 Migreate ui.js (#8)
* Rename js to ts

* Migrate ui.js
2024-06-14 14:28:39 -04:00
Chenlei Hu
92f5da72a4 Migrate ui/settings.js (#7)
* Migrate ui/settings.js

* nit
2024-06-14 13:43:25 -04:00
Chenlei Hu
cefa452c3b Migrate logging.js (#6)
* Rename js to ts

* Format code

* Fix all tsc errors
2024-06-14 13:22:09 -04:00
Chenlei Hu
2595d12a84 Re-enable TSC on build (#5)
* Fix fall through

* Re-enable tsc
2024-06-14 09:55:33 -04:00
Chenlei Hu
92b08c0808 Migrate widgets.js (#4)
* Rename js to ts

* Fix ts error

* nit
2024-06-14 09:23:21 -04:00
Chenlei Hu
74abc34624 Migrate domWidget from js to ts (#3)
* Rename js to ts

* Migrate domWidget.js

* Fix global declare
2024-06-13 23:57:14 -04:00
Chenlei Hu
3fbb75ce76 Configure vite to copy from src to dist (#2)
* nit

* move

* direct copy lib dir

* nit

* disable treeshake
2024-06-13 23:09:10 -04:00
huchenlei
c77b5b3f78 Simplify test setup 2024-06-13 20:35:48 -04:00
huchenlei
200c2e0a1e Fix working dir issue 2024-06-13 20:31:54 -04:00
huchenlei
18e5b48b64 build before run tests 2024-06-13 20:29:04 -04:00
huchenlei
6494ddde0b nonblocking 2024-06-13 20:26:34 -04:00
huchenlei
6471816aba Update working directory 2024-06-13 20:24:22 -04:00
huchenlei
969060e640 Update default branch name 2024-06-13 20:22:59 -04:00
huchenlei
69e092c796 Set checkout path 2024-06-13 20:21:40 -04:00
huchenlei
11cf81a3b3 Use forked repo address to bypass checkout issue 2024-06-13 20:19:49 -04:00
huchenlei
102c67996a Add cred 2024-06-13 20:17:49 -04:00
huchenlei
2f845b6d78 Add CI workflow 2024-06-13 20:04:00 -04:00
dependabot[bot]
80f2a36164 Bump braces from 3.0.2 to 3.0.3 in /tests-ui (#1)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-13 19:47:53 -04:00
huchenlei
efe0a0fc12 nit 2024-06-13 17:27:11 -04:00
huchenlei
24f1dde35f Add test command guide 2024-06-13 17:25:32 -04:00
huchenlei
ce63c88976 Fix test path 2024-06-13 17:22:41 -04:00
huchenlei
d7d2a1826e Change tsconfig 2024-06-13 16:44:26 -04:00
huchenlei
e50259cefb Move everything under public 2024-06-13 15:59:56 -04:00
huchenlei
e0850bb82c redirect test paths 2024-06-13 14:39:00 -04:00
huchenlei
ee0b054cde Move extensions to public folder 2024-06-13 14:23:31 -04:00