Skip to content
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
5b6eff1
Remove react-components - initial
emrberk Oct 28, 2025
3fc0bc6
fixed resolution for Monaco loader
emrberk Oct 28, 2025
c6d2c76
unify hooks in single directory
emrberk Oct 28, 2025
7b700c9
reorganize search-related files
emrberk Oct 28, 2025
5b87114
submodule
emrberk Oct 28, 2025
824f212
add jest-util for unit tests
emrberk Oct 28, 2025
2efbad3
remove PnP , fix eslint config, add typecheck and lint scripts
emrberk Oct 30, 2025
4fec1c3
use single package, arrange workflows and test suites
emrberk Oct 30, 2025
564a7b6
submodule
emrberk Oct 30, 2025
2cafc78
use correct path when packaging
emrberk Oct 30, 2025
60b51a6
change unit test capture patterns
emrberk Oct 30, 2025
2030034
move scripts and cypress assets
emrberk Oct 30, 2025
6d1acdc
remove unused deps
emrberk Oct 31, 2025
57af319
switch to vite, fix sass syntax, update radix packages, remove unused…
emrberk Oct 31, 2025
3d27dd5
use vitest, configure eslint and tsconfig properly
emrberk Oct 31, 2025
690c01b
submodule
emrberk Oct 31, 2025
d7c9d14
fix proxy and linting, remove strict eslint pllugins
emrberk Nov 1, 2025
296c0bf
submodule
emrberk Nov 1, 2025
9ac5968
remove webpack resolution, broaden files in editorconfig
emrberk Nov 1, 2025
f3924cd
update readme
emrberk Nov 1, 2025
7024bdc
Merge remote-tracking branch 'origin/main' into refactor/remove-react…
emrberk Nov 1, 2025
c9c64a8
ent test fixes
emrberk Nov 6, 2025
5a32d0f
chore: fix lint errors, add lint check pre-commit hook (#494)
emrberk Nov 6, 2025
f60da44
submodule
emrberk Nov 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ root = true
end_of_line = lf
insert_final_newline = true

[*.{js,json,yml,tsx}]
[*.{js,jsx,ts,tsx,mts,json,yml,yaml,css,scss,html}]
charset = utf-8
indent_style = space
indent_size = 2
File renamed without changes.
10 changes: 0 additions & 10 deletions .eslintrc.json

This file was deleted.

44 changes: 16 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
cache: maven

- name: Build QuestDB
run: mvn clean package -f packages/browser-tests/questdb/pom.xml -DskipTests -P build-binaries
run: mvn clean package -f e2e/questdb/pom.xml -DskipTests -P build-binaries

- name: Extract QuestDB
run: tar -xzf packages/browser-tests/questdb/core/target/questdb-*-rt-linux-x86-64.tar.gz -C tmp/
run: tar -xzf e2e/questdb/core/target/questdb-*-rt-linux-x86-64.tar.gz -C tmp/

- name: Create DB Root
run: mkdir tmp/dbroot
Expand All @@ -40,22 +40,19 @@ jobs:
cache: "yarn"

- name: Install dependencies
run: yarn install --immutable --immutable-cache
run: yarn install --immutable

- name: Build @questdb/react-components
run: yarn workspace @questdb/react-components run build
- name: Build
run: yarn build

- name: Build @questdb/web-console
run: yarn workspace @questdb/web-console run build
- name: Run bundle watcher
run: yarn bundlewatch

- name: Run bundle watcher on @questdb/web-console
run: yarn workspace @questdb/web-console bundlewatch
- name: Run unit tests
run: yarn test:unit

- name: Run @questdb/web-console unit tests
run: yarn workspace @questdb/web-console run test:prod

- name: Run browser-tests test - auth
run: node packages/web-console/serve-dist.js & yarn workspace browser-tests test:auth
- name: Run e2e tests - auth
run: yarn preview & yarn test:e2e:auth

- name: Stop QuestDB
run: ./tmp/questdb-*-rt-linux-x86-64/bin/questdb.sh stop
Expand All @@ -68,8 +65,8 @@ jobs:
QDB_HTTP_PASSWORD: "quest"
QDB_TELEMETRY_ENABLED: "false"

- name: Run browser-tests test
run: yarn workspace browser-tests test
- name: Run e2e tests
run: yarn test:e2e

- name: Print Log Files
if: success() || failure()
Expand All @@ -87,27 +84,18 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: cypress-screenshots
path: packages/browser-tests/cypress/screenshots
path: e2e/screenshots
if-no-files-found: ignore

- name: Stop QuestDB
if: success() || failure()
run: ./tmp/questdb-*-rt-linux-x86-64/bin/questdb.sh stop

- name: Publish @questdb/react-components to npm
if: success() && github.ref == 'refs/heads/main'
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
strategy: upgrade
package: ./packages/react-components/package.json

- name: Publish @questdb/web-console to npm
- name: Publish to npm
if: success() && github.ref == 'refs/heads/main'
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
strategy: upgrade
package: ./packages/web-console/package.json
package: ./package.json
25 changes: 7 additions & 18 deletions .github/workflows/publish_to_npm.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Publish Packages to NPM
name: Publish to NPM

on:
workflow_dispatch:

jobs:
publish:
name: Publish Packages to NPM
name: Publish to NPM
runs-on: ubuntu-latest

steps:
Expand All @@ -19,26 +19,15 @@ jobs:
cache: "yarn"

- name: Install dependencies
run: yarn install --immutable --immutable-cache
run: yarn install --immutable

- name: Build @questdb/react-components
run: yarn workspace @questdb/react-components run build
- name: Build
run: yarn build

- name: Build @questdb/web-console
run: yarn workspace @questdb/web-console run build

- name: Publish @questdb/react-components to npm
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
check-version: true
package: ./packages/react-components/package.json

- name: Publish @questdb/web-console to npm
- name: Publish to npm
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
check-version: true
package: ./packages/web-console/package.json
package: ./package.json
31 changes: 14 additions & 17 deletions .github/workflows/tests_with_context_path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
cache: maven

- name: Build QuestDB
run: mvn clean package -f packages/browser-tests/questdb/pom.xml -DskipTests -P build-binaries
run: mvn clean package -f e2e/questdb/pom.xml -DskipTests -P build-binaries

- name: Extract QuestDB
run: tar -xzf packages/browser-tests/questdb/core/target/questdb-*-rt-linux-x86-64.tar.gz -C tmp/
run: tar -xzf e2e/questdb/core/target/questdb-*-rt-linux-x86-64.tar.gz -C tmp/

- name: Create DB Root
run: mkdir tmp/dbroot
Expand All @@ -43,22 +43,19 @@ jobs:
cache: "yarn"

- name: Install dependencies
run: yarn install --immutable --immutable-cache
run: yarn install --immutable

- name: Build @questdb/react-components
run: yarn workspace @questdb/react-components run build
- name: Build
run: yarn build

- name: Build @questdb/web-console
run: yarn workspace @questdb/web-console run build
- name: Run bundle watcher
run: yarn bundlewatch

- name: Run bundle watcher on @questdb/web-console
run: yarn workspace @questdb/web-console bundlewatch
- name: Run unit tests
run: yarn test:unit

- name: Run @questdb/web-console unit tests
run: yarn workspace @questdb/web-console run test:prod

- name: Run browser-tests test - auth
run: node packages/web-console/serve-dist.js & yarn workspace browser-tests test:auth
- name: Run e2e tests - auth
run: yarn preview & yarn test:e2e:auth

- name: Stop QuestDB
run: ./tmp/questdb-*-rt-linux-x86-64/bin/questdb.sh stop
Expand All @@ -71,8 +68,8 @@ jobs:
QDB_HTTP_PASSWORD: "quest"
QDB_TELEMETRY_ENABLED: "false"

- name: Run browser-tests test
run: yarn workspace browser-tests test
- name: Run e2e tests
run: yarn test:e2e

- name: Print Log Files
if: success() || failure()
Expand All @@ -90,7 +87,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: cypress-screenshots
path: packages/browser-tests/cypress/screenshots
path: e2e/screenshots
if-no-files-found: ignore

- name: Stop QuestDB
Expand Down
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
node_modules
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
.idea
.DS_Store
*.iml
dist
.tmp
.sass-cache
.env
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "questdb"]
path = packages/browser-tests/questdb
path = e2e/questdb
url = https://github.com/questdb/questdb.git
Loading