Commit Graph

52 Commits

Author SHA1 Message Date
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
huchenlei
c8ea8132bc Move 2024-06-13 14:19:15 -04:00
huchenlei
1cfcd76754 Put lib/css under public/ 2024-06-13 14:17:06 -04:00
huchenlei
33fe18fa41 move tests-ui 2024-06-13 14:09:15 -04:00
huchenlei
36f55018ce Add extensions core 2024-06-13 14:08:38 -04:00
huchenlei
2d00a34ffd Resolve build errors 2024-06-13 12:04:55 -04:00
huchenlei
b4ff842058 format code 2024-06-12 21:39:31 -04:00
huchenlei
428e9dd50e Update README 2024-06-12 21:26:43 -04:00
huchenlei
b4182040c9 Forward ws on dev 2024-06-12 21:15:43 -04:00
huchenlei
4f093a147a Format code 2024-06-12 20:50:09 -04:00
huchenlei
2f028f952c Remove temp files 2024-06-12 20:48:39 -04:00
huchenlei
513c0aa24b Remove temp files 2024-06-12 20:48:26 -04:00
huchenlei
4176712038 Move index.html 2024-06-12 20:47:29 -04:00
huchenlei
0711fa683c Bootstrap vite 2024-06-12 20:34:50 -04:00
huchenlei
de5a383951 Add src 2024-06-12 20:28:44 -04:00