Commit Graph
90 Commits
Author SHA1 Message Date
Sebastian Martinez ca10a69ee5 Update dependencies
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-28 22:43:56 +01:00
Rūdolfs Ošiņš d7f8156725 Format yaml files with prettier
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-16 15:51:13 +01:00
Sebastian Martinez 569b660134 Move syntax highlighting to web client
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-16 11:00:17 +01:00
Rūdolfs Ošiņš 795ab5253d Upgrade transitive dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-13 10:08:00 +01:00
Rūdolfs Ošiņš 9e71823a99 Remove SIWE functionality
It's not working with our current seed nodes and is confusing to users.
It also prevents us from upgrading transitive dependencies.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-12 20:24:19 +01:00
Sebastian Martinez 7be0a366b3 Update dependencies
Includes the move from the `svelte-preprocess` package for preprocessing
to `@sveltejs/vite-plugin-svelte` which allows us to use Vite also for
preprocessing.

Also had to remove the `vite-plugin-rewrite-all` again since they don't
support vite@4. So I wrote the plugin myself and without the dependecies
used by `vite-plugin-rewrite-all`.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-12 10:46:42 +01:00
Sebastian Martinez 3aa99ca4df Update dependencies
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-01 16:13:45 +01:00
Rūdolfs OšiņšandSebastian Martinez 9cb9332e88 Replace Cypress with Playwright
Playwright is more flexible and has better developer experience than Cypress.
We add end to end tests covering:

  - project source browsing
    - tree view
    - commit list view
    - commit view
  - routing
    - hash based
    - history API based
  - clipboard copy paste functionality
  - seed view
  - project search
  - landing page view
  - settings

Co-authored-by: Sebastian Martinez <me@sebastinez.dev>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-01 15:54:56 +01:00
Sebastian Martinez 31e037eb16 Add postinstall scripts to build step
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-24 10:51:48 +01:00
Sebastian Martinez e1caae028c Update dependencies
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-23 21:17:00 +01:00
Sebastian Martinez 2816333a4a Switch plausible script for npm package
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-18 11:04:02 +01:00
Sebastian Martinez 3fbd832ef1 Update dependencies
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-15 23:59:22 +01:00
Sebastian Martinez 3a352eab4c Fix markup being wrapped by self-closing anchor tags
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-15 16:30:07 +01:00
Sebastian Martinez f38893407a Add hash routing
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-15 15:24:12 +01:00
Sebastian Martinez cd60ad7298 Convert emojis to twemojis
To provide the same emoji experience on all browsers and OS we use
Twemoji and replace all emojis where possible.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-15 15:10:48 +01:00
Rūdolfs Ošiņš 1254d15d3d Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-11-07 18:05:06 +01:00
Rūdolfs Ošiņš 7088a990a2 Use node 18.12.1 LTS everywhere consistently
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-11-07 15:23:21 +01:00
Sebastian MartinezandRūdolfs Ošiņš f8ddbbf5da Remove svelte-routing and add custom routing
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-07 08:57:37 +01:00
Rūdolfs Ošiņš 053af7a25c Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-11-03 16:40:23 +01:00
Rūdolfs Ošiņš 87c1d0f6e2 Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-26 15:29:07 +02:00
Rūdolfs Ošiņš b73462e1b0 Remove explicit happy-dom dependency
It's not used explicitly in our codebase and vitest already pulls it in
as a peer dependency.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-25 15:06:03 +02:00
Rūdolfs Ošiņš afbcf8a72e Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 15:00:22 +02:00
Rūdolfs Ošiņš 8733636d6e Revert "Upgrade dependencies"
This reverts commit 885811eb9a.
2022-10-17 15:40:13 +02:00
Rūdolfs Ošiņš 885811eb9a Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-17 10:19:32 +02:00
Rūdolfs Ošiņš b69213f5de Upgrade dependencies
Note: We get the following warning in the dev console after upgrading
vite from 3.0.3 -> 3.1.7:

    Module "buffer" has been externalized for browser compatibility.
    Cannot access "buffer.Buffer" in client code.

It comes from the transitive dependency `bn.js`, only versions 4.11.x are
affected. The warning is harmless and can be ignored. It should go away
once the direct dependencies upgrade to a newer version.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-12 14:47:49 +02:00
Rūdolfs Ošiņš 3c29b1a44d Upgrade svelte from 3.50.1 -> 3.51.0
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-12 14:46:13 +02:00
Rūdolfs Ošiņš 0b27e4bbfd Remove unused utility functions
This also lets us get rid of the deprecated multibase and multihashses
dependencies.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-11 15:36:01 +02:00
Rūdolfs Ošiņš cb12d8eeab Remove deprecated Gnosis org functionality
This functionality is deprecated and the dependencies prevent us from
upgrading our stack.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-11 15:36:01 +02:00
Rūdolfs Ošiņš b261734b0a Remove all ceramic functionality
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-10 15:59:34 +02:00
Sebastian Martinez a016e98169 Add katex render to Markdown
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-10-04 11:50:49 +02:00
Rūdolfs Ošiņš 414593c221 Remove unused dependencies
- eventemitter3
- ethereum-blockies
- eip1193-provider
- walletconnect
- eslint-plugin-radicle
- typescript-eslint/parser
- types/sanitize-html

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-04 08:36:51 +02:00
Rūdolfs Ošiņš df49db3ded Replace custom rewrite middleware with vite plugin
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-30 17:13:16 +02:00
Rūdolfs Ošiņš 89ffddf854 Remove code coverage and it's dependencies
We weren't really using any of it.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-30 10:59:44 +02:00
Rūdolfs Ošiņš 46ae7982a6 Remove unused caip dependency
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-29 18:03:35 +02:00
Rūdolfs Ošiņš e69987296c Upgrade patch, minor and major-level dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-29 18:03:28 +02:00
Rūdolfs Ošiņš e8f372fb81 Upgrade typescript 4.7.4 -> 4.8.3
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-29 16:30:20 +02:00
Rūdolfs Ošiņš a6dd423c99 Upgrade @tsconfig/svelte 1.0.13 -> 3.0.0
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-29 16:30:18 +02:00
Rūdolfs Ošiņš 9b8a9a46dd Upgrade Cypress dependency
This gets rid of the testing-library-* and cypress-vite-devserver
dependencies and updates the specs according to the latest Cypress
documentation.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-26 16:34:30 +02:00
Sebastian Martinez 4650721c6c Convert colon-delimited string emojis to unicode emojis
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-07 12:20:40 +02:00
Sebastian Martinez 5775cae7f9 Move prettier and prettier-plugin-svelte to devDependencies
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-06 16:58:18 +02:00
Rūdolfs Ošiņš dadd82d8e8 Improve CommitVerifiedBadge UX
- debounce hover events to prevent flickering when mousing over multiple badges
- keep the card visible while hovering over it
- show verified badge on the Commit page

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-01 16:40:44 +02:00
Sebastian Martinez 906b205e95 Replace MockExtensionProvider with @rsksmart/mock-web3-provider
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-01 11:05:01 +02:00
Rūdolfs Ošiņš 687174a8e0 Add prettier
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 11:26:42 +02:00
Sebastian Martinez 513e487600 Update ethers to v5.7.0 and siwe to v2.0.5
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-24 08:40:06 +02:00
Sebastian Martinez 694bb38b8a Add caching
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-18 16:31:09 +02:00
Rūdolfs Ošiņš 032f38724e Always use the same timezone when running unit tests
To prevent timezone sensitive tests from failing when the local
environment is set up with a different timezone.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-12 15:53:02 +02:00
Sebastian Martinez da0b4200cd Update Vite to 3.0
- Replaces `sanitize-html` with `xss` due to Node core modules
  dependencies
- Remove empty style tag from SeedDropdown
- Update devServer ports
- Replace vite-plugin-rewrite-all
- Add node events polyfill

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-02 15:13:32 +02:00
Sebastian Martinez 799eecf0bc Update cypress to 10.3
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-01 15:58:02 +02:00
Sebastian Martinez 2d7c535e14 Update Cypress to v10
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-06-09 08:34:10 +02:00
Sebastian Martinez 24a50014b3 Update cypress to 9.7
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-06-09 08:22:53 +02:00