Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add query builder package #77

Merged
merged 32 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
8410d2d
wip: tests
stevensJourney Feb 21, 2024
e384583
maximize worker URI compatibility
stevensJourney Feb 21, 2024
3463698
update lockfile
stevensJourney Feb 22, 2024
6b6bd17
added a sample test
stevensJourney Feb 22, 2024
0e133fe
Update .github/workflows/test.yml
stevensJourney Feb 22, 2024
4069e2e
wip: add crud tests
stevensJourney Feb 22, 2024
cf78538
feat(query-builder): add query builder package
Feb 22, 2024
bb603bc
added crud and schema tests
stevensJourney Feb 22, 2024
f48c8f8
feat(query-builder): add query builder package
Feb 23, 2024
e164400
chore: format files
Feb 23, 2024
5db1e1e
chore: merge main
Feb 23, 2024
e02735a
chore: pr reverts
Feb 23, 2024
c5b070d
chore: rename package
Feb 23, 2024
aeabe29
chore: move web-sdk to dev dep
Feb 23, 2024
64620d9
revert execute transaction change
stevensJourney Feb 23, 2024
05c4e9b
Merge branch 'web-tests' into feature/add-kysley
Feb 26, 2024
1526f58
chore: merge main
Feb 26, 2024
337c0a1
chore: pr feedback
Feb 26, 2024
9d058f2
chore: pr feedback
Feb 26, 2024
daadedc
fix: failing tests
Feb 26, 2024
1843faa
fix: failing tests
Feb 26, 2024
19b150b
docs: add readme
Feb 27, 2024
4f0478b
chore: pr feedback
Feb 27, 2024
92aa297
chore: pr feedback
Feb 27, 2024
8167f60
chore: add Kysely options
Feb 27, 2024
87299d2
chore: add JSON type
Feb 27, 2024
7a3f8a7
chore: merge main
Feb 27, 2024
7b7f166
fix: failing tests
Feb 27, 2024
0a7ec8e
fix: failing tests
Feb 27, 2024
459cd9e
fix: failing tests
Feb 27, 2024
bac8172
chore: format file
Feb 27, 2024
eb56df8
chore: pr feedback
Feb 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: merge main
  • Loading branch information
DominicGBauer committed Feb 27, 2024
commit 7a3f8a7f9301b2a3fb3f78a9384faf484c3044b5
3 changes: 1 addition & 2 deletions packages/powersync-sdk-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",
"files": [
"lib",
"!lib/tests"
"lib"
],
"repository": "https://github.com/powersync-ja/powersync-js",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion packages/powersync-sdk-web/tests/crud.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('CRUD Tests', () => {
* Use a new DB for each run to keep CRUD counters
* consistent
*/
dbFilename: 'test.db' + uuid(),
dbFilename: `test-crud-${uuid()}.db`,
schema: testSchema,
flags: {
enableMultiTabs: false
Expand Down
2 changes: 1 addition & 1 deletion packages/powersync-sdk-web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
"strict": true /* Enable all strict type-checking options. */,
"target": "es6" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
},
"include": ["src/**/*", "tests/**/*"]
"include": ["src/**/*"]
}
3 changes: 1 addition & 2 deletions packages/powersync-sdk-web/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const config: UserConfigExport = {
* first. This is required due to the format of Webworker URIs
* they link to `.js` files.
*/
'@journeyapps/powersync-sdk-web': path.resolve(__dirname, './dist/src')
'@journeyapps/powersync-sdk-web': path.resolve(__dirname, './lib/src')
}
},
worker: {
Expand All @@ -26,7 +26,6 @@ const config: UserConfigExport = {
},
plugins: [wasm(), topLevelAwait()],
test: {
isolate: false,
globals: true,
setupFiles: [],
include: ['tests/**/*.test.ts'],
Expand Down
3 changes: 1 addition & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.