Skip to content

Commit e8f368c

Browse files
authored
Merge pull request #16 from dusk-network/rusk-import
Migrate explorer out of rusk monorepo
2 parents 65292b5 + d8e388b commit e8f368c

65 files changed

Lines changed: 9939 additions & 4400 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.cjs

Lines changed: 0 additions & 30 deletions
This file was deleted.

.eslintrc.tests.cjs

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/checks.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
- reopened
9+
- ready_for_review
10+
workflow_dispatch:
11+
12+
jobs:
13+
lint-test:
14+
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.draft == false
15+
runs-on: ubuntu-latest
16+
17+
name: Validate & build
18+
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v4
22+
23+
- name: Setting up Node from `.nvmrc`
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version-file: "./.nvmrc"
27+
cache: "npm"
28+
cache-dependency-path: "./package-lock.json"
29+
scope: "@dusk-network"
30+
31+
- name: Installing dev dependencies
32+
run: npm ci
33+
34+
- name: Sync SvelteKit config
35+
run: npx svelte-kit sync
36+
37+
- name: Formatting check
38+
run: npm run format
39+
40+
- name: Linting
41+
run: npm run lint
42+
43+
- name: Type checks
44+
run: npm run typecheck
45+
46+
- name: Run the test suite
47+
run: npm test
48+
49+
- name: Building the app
50+
run: npm run build

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.DS_Store
22
node_modules
33
/build
4+
/coverage
45
/.svelte-kit
56
/package
67
.env

.npmrc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
//npm.pkg.github.com/:_authToken=${REGISTRY_TOKEN}
2-
@dusk-network:registry=https://npm.pkg.github.com
31
engine-strict=true

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v24.13.0

0 commit comments

Comments
 (0)