Commit Graph

112 Commits

Author SHA1 Message Date
Caleb Owens
721b9d13fa Add test:watch script to package.json files
Add a test:watch script to the package.json files in the root
and ui directories. This script runs vitest in watch mode for
the development environment, allowing developers to run tests
continuously while making changes to the codebase.
2024-03-18 19:20:18 +01:00
dependabot[bot]
c3592ea526 Bump the npm-updates group with 15 updates
Bumps the npm-updates group with 15 updates:

| Package | From | To |
| --- | --- | --- |
| [@tauri-apps/cli](https://github.com/tauri-apps/tauri) | `1.5.9` | `1.5.10` |
| [@codemirror/lang-javascript](https://github.com/codemirror/lang-javascript) | `6.2.1` | `6.2.2` |
| [@codemirror/state](https://github.com/codemirror/state) | `6.4.0` | `6.4.1` |
| [@codemirror/view](https://github.com/codemirror/view) | `6.23.1` | `6.24.1` |
| [@sentry/sveltekit](https://github.com/getsentry/sentry-javascript) | `7.100.1` | `7.104.0` |
| [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) | `1.30.3` | `1.30.4` |
| [eslint](https://github.com/eslint/eslint) | `8.56.0` | `8.57.0` |
| [inter-ui](https://github.com/philipbelesky/inter-ui) | `4.0.1` | `4.0.2` |
| [nanoid](https://github.com/ai/nanoid) | `5.0.5` | `5.0.6` |
| [postcss](https://github.com/postcss/postcss) | `8.4.34` | `8.4.35` |
| [postcss-load-config](https://github.com/postcss/postcss-load-config) | `5.0.2` | `5.0.3` |
| [posthog-js](https://github.com/PostHog/posthog-js) | `1.105.1` | `1.110.0` |
| [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) | `3.1.2` | `3.2.2` |
| [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) | `4.2.10` | `4.2.12` |
| [svelte-check](https://github.com/sveltejs/language-tools) | `3.6.3` | `3.6.6` |


Updates `@tauri-apps/cli` from 1.5.9 to 1.5.10
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/@tauri-apps/cli-v1.5.9...@tauri-apps/cli-v1.5.10)

Updates `@codemirror/lang-javascript` from 6.2.1 to 6.2.2
- [Changelog](https://github.com/codemirror/lang-javascript/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/lang-javascript/compare/6.2.1...6.2.2)

Updates `@codemirror/state` from 6.4.0 to 6.4.1
- [Changelog](https://github.com/codemirror/state/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/state/compare/6.4.0...6.4.1)

Updates `@codemirror/view` from 6.23.1 to 6.24.1
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/view/compare/6.23.1...6.24.1)

Updates `@sentry/sveltekit` from 7.100.1 to 7.104.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.104.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.100.1...7.104.0)

Updates `@sveltejs/kit` from 1.30.3 to 1.30.4
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/@sveltejs/kit@1.30.4/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@1.30.4/packages/kit)

Updates `eslint` from 8.56.0 to 8.57.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0)

Updates `inter-ui` from 4.0.1 to 4.0.2
- [Changelog](https://github.com/philipbelesky/inter-ui/blob/main/CHANGELOG.md)
- [Commits](https://github.com/philipbelesky/inter-ui/commits)

Updates `nanoid` from 5.0.5 to 5.0.6
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/5.0.5...5.0.6)

Updates `postcss` from 8.4.34 to 8.4.35
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.34...8.4.35)

Updates `postcss-load-config` from 5.0.2 to 5.0.3
- [Release notes](https://github.com/postcss/postcss-load-config/releases)
- [Changelog](https://github.com/postcss/postcss-load-config/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-load-config/compare/5.0.2...v5.0.3)

Updates `posthog-js` from 1.105.1 to 1.110.0
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/commits/v1.110.0)

Updates `prettier-plugin-svelte` from 3.1.2 to 3.2.2
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/compare/v3.1.2...v3.2.2)

Updates `svelte` from 4.2.10 to 4.2.12
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/svelte@4.2.12/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@4.2.12/packages/svelte)

Updates `svelte-check` from 3.6.3 to 3.6.6
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte-check-3.6.3...svelte-check-3.6.6)

---
updated-dependencies:
- dependency-name: "@tauri-apps/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: "@codemirror/lang-javascript"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: "@codemirror/state"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: "@codemirror/view"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-updates
- dependency-name: "@sentry/sveltekit"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-updates
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-updates
- dependency-name: inter-ui
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: nanoid
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: postcss-load-config
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: posthog-js
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-updates
- dependency-name: prettier-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-updates
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: svelte-check
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 22:13:20 +02:00
dependabot[bot]
a37ac1bd26
chore(deps-dev): bump @tauri-apps/cli from 1.5.6 to 1.5.9
Bumps [@tauri-apps/cli](https://github.com/tauri-apps/tauri) from 1.5.6 to 1.5.9.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/@tauri-apps/cli-v1.5.6...@tauri-apps/cli-v1.5.9)

---
updated-dependencies:
- dependency-name: "@tauri-apps/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 17:40:11 +00:00
dependabot[bot]
72cfddfc1d Bump @tauri-apps/cli from 1.5.1 to 1.5.6
Bumps [@tauri-apps/cli](https://github.com/tauri-apps/tauri) from 1.5.1 to 1.5.6.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/@tauri-apps/cli-v1.5.1...@tauri-apps/cli-v1.5.6)

---
updated-dependencies:
- dependency-name: "@tauri-apps/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 14:46:26 +00:00
Mattias Granlund
b8d163de89 Remove histoire since it's not useful 2023-11-01 11:47:00 +01:00
Nikita Galaiko
7d245f6f59 chore: update versions of @tauri-apps/cli and related packages to 1.5.1 2023-10-05 10:31:51 +02:00
Nikita Galaiko
80f43ffe32 chore: update build scripts to include separate build commands for nightly and development modes 2023-09-28 13:31:40 +02:00
Nikita Galaiko
746e8ccabc
new structure 2023-09-06 11:47:35 +02:00
dependabot[bot]
f8b0437d21 Bump posthog-js from 1.77.1 to 1.77.2
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.77.1 to 1.77.2.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.77.1...v1.77.2)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 22:38:52 +01:00
dependabot[bot]
e4d99cae1f Bump @codemirror/lang-javascript from 6.1.9 to 6.2.1
Bumps [@codemirror/lang-javascript](https://github.com/codemirror/lang-javascript) from 6.1.9 to 6.2.1.
- [Changelog](https://github.com/codemirror/lang-javascript/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/lang-javascript/compare/6.1.9...6.2.1)

---
updated-dependencies:
- dependency-name: "@codemirror/lang-javascript"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 22:34:36 +01:00
dependabot[bot]
dddd3754f3 Bump @codemirror/lang-html from 6.4.5 to 6.4.6
Bumps [@codemirror/lang-html](https://github.com/codemirror/lang-html) from 6.4.5 to 6.4.6.
- [Changelog](https://github.com/codemirror/lang-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/lang-html/compare/6.4.5...6.4.6)

---
updated-dependencies:
- dependency-name: "@codemirror/lang-html"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 22:31:51 +01:00
dependabot[bot]
e8c6942b47 Bump vitest from 0.34.2 to 0.34.3
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.34.2 to 0.34.3.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.34.3/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 22:31:22 +01:00
dependabot[bot]
4464197ad4 Bump typescript from 5.1.6 to 5.2.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.6 to 5.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.1.6...v5.2.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 22:28:10 +01:00
Nikita Galaiko
28b2fa558e pnpm updates 2023-08-23 13:47:59 +02:00
Mattias Granlund
b14f2ddde9 Fix CI composite action output values 2023-08-17 22:13:59 +01:00
Mattias Granlund
7b569b0e93 Fix broken eslint in ci
- it needed svelte-kit sync to pickup the generated tsconfig.json
2023-08-17 20:20:38 +01:00
Mattias Granlund
e7cd56ddb5 Manually update eslint related npm packages 2023-08-17 10:26:32 +01:00
Mattias Granlund
85866306aa pnpm update 2023-08-17 10:26:32 +01:00
Mattias Granlund
9a1f707c39 Make https explicit for github hosted packages
This should remove any ambiguity for related tools.
2023-08-17 10:26:32 +01:00
Mattias Granlund
72ff39a106 Hopefully fix dependabot for typescript
When upgrading to pnpm 8 it seems packages with the protocol
`github:` in packages.json are given some weird `git/` prefix
in the lockfile version.. resulting in broken CI.

I assume the difference between github: and without is the
difference between cloning over ssh vs. https. The actions
were indeed failing with Permission denied (publickey).
2023-08-17 09:00:32 +01:00
Nikita Galaiko
b688c451fb update deps 2023-08-10 08:26:59 +02:00
Nikita Galaiko
f12cf1b9e9 setup head subscription 2023-08-09 16:10:09 +02:00
Mattias Granlund
930abe4e48 Fix ts/svelte linting 2023-07-31 13:13:52 +01:00
Mattias Granlund
8a6314eb27 Use bundled tailwind nesting plugin
See documentation at:
https://tailwindcss.com/docs/using-with-preprocessors#nesting
2023-07-14 09:48:33 +02:00
Mattias Granlund
c2dd6f9db3 Refactor some postcss stuff
- put global files in /styles
- add postcss-nested plugin
- change runtime import for .dark enclosed classes
2023-07-13 13:57:22 +02:00
Nikita Galaiko
e871d04790 update/cleanup deps 2023-07-13 11:23:41 +02:00
Nikita Galaiko
5bce726477 upgrade svelte-related libs 2023-07-13 09:27:40 +02:00
Nikita Galaiko
82939782eb bump svelte-loadable-store 2023-07-11 15:17:49 +02:00
Mattias Granlund
2b19031a36 Replace svelte-dnd-action with native drag & drop
This commit is a bit of a relief, we now have less than 1/10th the
amount of code powering drag & drop.

Future work includes:
- extracting commonalities into a Svelte action
- applying css to new drop zone without using sibling selector
- styling
2023-07-07 15:58:12 +03:00
Mattias Granlund
d0665739c2 Lint only changed files in CI
We can use `git diff --names-only` to get a list of files changed
between two revisions. The purpose is to stop lint errors from
untouched files showing up in code review.
2023-07-07 11:46:14 +02:00
Mattias Granlund
2e6a67c0bc Revert "Add syntax highlighting for hunks"
- fixes NaN

This reverts commit ac3aa9dd30.
2023-07-03 19:48:01 +03:00
Mattias Granlund
ac3aa9dd30 Add syntax highlighting for hunks 2023-07-03 02:04:28 +03:00
Mattias Granlund
59fca56995 Fix broken test 2023-07-02 18:45:13 +03:00
Kiril Videlov
635486f815 use lscache library for local storage caching
its nice cause it has eviction strategies. updated the hunk summaries to
use this, with a 24 hour time to live, so that we dont leak
2023-07-01 21:45:45 +02:00
Mattias Granlund
5b8f4fc29b Copy in gravatar code 2023-07-01 22:10:25 +03:00
Scott Chacon
e4e902eeac try again 2023-07-01 22:10:25 +03:00
Scott Chacon
4b7d6739cc gravatars 2023-07-01 22:10:25 +03:00
Mattias Granlund
0bafe62390 Bump dnd library version to fix bug 2023-06-29 19:32:32 +03:00
Kiril Videlov
0ad618159b configure plugin to detect TS dep cycles 2023-06-27 14:46:39 +02:00
Kiril Videlov
5cdad0beea a little bit of a typescript testing setup 2023-06-22 14:42:44 +02:00
Mattias Granlund
4fa1f66976 Make drag & drop behave even better 2023-06-19 16:46:09 +01:00
Mattias Granlund
daf296c647 Create new branches through dedicated dropzone 2023-06-17 16:11:37 +01:00
Nikita Galaiko
38fb0132ec update dependencies 2023-06-16 09:29:26 +02:00
Mattias Granlund
219f1af61c Update dnd package to fix shadowing 2023-06-14 22:52:28 +01:00
Mattias Granlund
d0c2707cae Simplify drag & drop
- use classes for hunks, files, etc
- add class-transformer dependency
- simplify helper functions for readable code
2023-06-14 12:50:31 +01:00
Mattias Granlund
dbcb391252 Update drag & drop to match forked library
- svelte-dnd-action now installed from gitbutlerapp fork
- dnd zones can have multiple types and require receivable types
- dropped items that do not match zone have to be wrapped in handlers
2023-06-12 15:41:50 +02:00
Kiril Videlov
02e81b71dd first stab at virtual branch UI 2023-06-06 15:12:50 +02:00
Nikita Galaiko
cbd8046400 stop using old stores in the player 2023-05-30 16:30:43 +02:00
Nikita Galaiko
60bd88ec21 use mm-jsr for the slider 2023-05-30 14:37:42 +02:00
Kiril Videlov
737f73c834 add markdown lib 2023-05-28 00:28:04 +02:00