diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..e565c0b --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,26 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/debian +{ + "name": "Debian", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/base:bullseye", + "features": { + "ghcr.io/devcontainers/features/node:1": {}, + "ghcr.io/devcontainers-contrib/features/volta:1": {} + }, + "remoteEnv": { + "PATH": "~/.volta/bin:${containerEnv:PATH}" + } + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Configure tool-specific properties. + // "customizations": {}, + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +} diff --git a/packages/site/package.json b/packages/site/package.json index 6777ce1..2a0f795 100644 --- a/packages/site/package.json +++ b/packages/site/package.json @@ -5,7 +5,7 @@ "license": "(MIT-0 OR Apache-2.0)", "scripts": { "build": "cross-env GATSBY_TELEMETRY_DISABLED=1 gatsby build --prefix-paths", - "clean": "rimraf public", + "clean": "rimraf public .cache", "lint": "yarn lint:eslint && yarn lint:misc --check", "lint:eslint": "eslint . --cache --ext js,ts", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", @@ -63,6 +63,10 @@ "styled-components": "5.3.11", "typescript": "^4.9.5" }, + "packageManager": "yarn@3.3.1", + "engines": { + "node": ">=16.0.0" + }, "volta": { "node": "16.20.0", "yarn": "3.3.1" diff --git a/packages/snap/package.json b/packages/snap/package.json index c71f4f6..e9ef337 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -55,12 +55,16 @@ "rimraf": "^3.0.2", "typescript": "^4.9.5" }, - "packageManager": "yarn@3.2.1", - "engines": { - "node": ">=16.0.0" - }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" + }, + "packageManager": "yarn@3.3.1", + "engines": { + "node": ">=16.0.0" + }, + "volta": { + "node": "16.20.0", + "yarn": "3.3.1" } } diff --git a/packages/snap/snap.manifest.json b/packages/snap/snap.manifest.json index baa2dd6..ef32fa9 100644 --- a/packages/snap/snap.manifest.json +++ b/packages/snap/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/kleros/scout-snap.git" }, "source": { - "shasum": "GQiH7jqEvK8jElnpB2j65lKt9bKIWJoQAudcKfX0Hvs=", + "shasum": "r/S+lpI3OvkjN1ue6z/ynWl+jgea85xjxnjabBzcM7w=", "location": { "npm": { "filePath": "dist/bundle.js", diff --git a/yarn.lock b/yarn.lock index 1c2568c..2bd52d6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13,9 +13,9 @@ __metadata: linkType: hard "@adobe/css-tools@npm:^4.0.1": - version: 4.2.0 - resolution: "@adobe/css-tools@npm:4.2.0" - checksum: dc5cc92ba3d562e7ffddb79d6d222c7e00b65f255fd2725b3d71490ff268844be322f917415d8c4ab39eca646343b632058db8bd5b1d646193fcc94d1d3e420b + version: 4.3.3 + resolution: "@adobe/css-tools@npm:4.3.3" + checksum: d21f3786b84911fee59c995a146644a85c98692979097b26484ffa9e442fb1a92ccd68ce984e3e7cf8d5933c3560fbc0ad3e3cd1de50b9a723d1c012e793bbcb languageName: node linkType: hard @@ -15393,12 +15393,12 @@ __metadata: languageName: node linkType: hard -"semver@npm:7.0.0": - version: 7.0.0 - resolution: "semver@npm:7.0.0" +"semver@npm:7.0.0, semver@npm:^7.2.1, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3": + version: 7.6.2 + resolution: "semver@npm:7.6.2" bin: semver: bin/semver.js - checksum: 272c11bf8d083274ef79fe40a81c55c184dff84dd58e3c325299d0927ba48cece1f020793d138382b85f89bab5002a35a5ba59a3a68a7eebbb597eb733838778 + checksum: 40f6a95101e8d854357a644da1b8dd9d93ce786d5c6a77227bc69dbb17bea83d0d1d1d7c4cd5920a6df909f48e8bd8a5909869535007f90278289f2451d0292d languageName: node linkType: hard @@ -15429,7 +15429,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.0.0, semver@npm:^7.2.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8": +"semver@npm:^7.0.0, semver@npm:^7.3.2": version: 7.5.0 resolution: "semver@npm:7.5.0" dependencies: @@ -15440,17 +15440,6 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.5.3": - version: 7.5.4 - resolution: "semver@npm:7.5.4" - dependencies: - lru-cache: ^6.0.0 - bin: - semver: bin/semver.js - checksum: 12d8ad952fa353b0995bf180cdac205a4068b759a140e5d3c608317098b3575ac2f1e09182206bf2eb26120e1c0ed8fb92c48c592f6099680de56bb071423ca3 - languageName: node - linkType: hard - "send@npm:0.18.0": version: 0.18.0 resolution: "send@npm:0.18.0" @@ -17510,9 +17499,9 @@ __metadata: linkType: hard "word-wrap@npm:^1.2.3": - version: 1.2.3 - resolution: "word-wrap@npm:1.2.3" - checksum: 30b48f91fcf12106ed3186ae4fa86a6a1842416df425be7b60485de14bec665a54a68e4b5156647dec3a70f25e84d270ca8bc8cd23182ed095f5c7206a938c1f + version: 1.2.5 + resolution: "word-wrap@npm:1.2.5" + checksum: f93ba3586fc181f94afdaff3a6fef27920b4b6d9eaefed0f428f8e07adea2a7f54a5f2830ce59406c8416f033f86902b91eb824072354645eea687dff3691ccb languageName: node linkType: hard