Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
beeb committed Sep 11, 2023
1 parent e467777 commit 5e0348d
Show file tree
Hide file tree
Showing 10 changed files with 711 additions and 385 deletions.
7 changes: 7 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if ! has nix_direnv_version || ! nix_direnv_version 2.3.0; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.3.0/direnvrc" "sha256-Dmd+j63L84wuzgyjITIfSxSD57Tx7v51DMxVZOsiUD8="
fi

nix_direnv_watch_file flake.nix
nix_direnv_watch_file flake.lock
use flake . --impure
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ node_modules
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
.direnv
.devenv
8 changes: 6 additions & 2 deletions rome.json → biome.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"$schema": "./node_modules/rome/configuration_schema.json",
"$schema": "https://biomejs.dev/schemas/1.1.2/schema.json",
"organizeImports": {
"enabled": true
},
"formatter": {
"enabled": true,
"lineWidth": 120
},
"javascript": {
Expand All @@ -12,9 +13,12 @@
"semicolons": "asNeeded"
}
},
"linter": {
"enabled": true
},
"files": {
"ignore": [
"src/i18n/*",
".vercel/*",
".svelte-kit/*",
"node_modules/*",
"build/*",
Expand Down
270 changes: 270 additions & 0 deletions flake.lock

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

30 changes: 30 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
utils.url = "github:numtide/flake-utils";
devenv.url = "github:cachix/devenv";
};

outputs = { self, nixpkgs, utils, devenv, ... } @ inputs:
utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.outputs.legacyPackages.${system};
in
{
devShell = devenv.lib.mkShell {
inherit inputs pkgs;
modules = [
({ pkgs, ... }: {
packages = with pkgs; [
nodePackages.pnpm
];
languages.javascript = {
enable = true;
corepack.enable = true;
};
languages.typescript.enable = true;
})
];
};
});
}
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,28 @@
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "rome check ./src",
"format": "rome format --write ."
"lint": "biome check ./src",
"format": "biome format --write ./src"
},
"devDependencies": {
"@iconify-json/mingcute": "^1.1.7",
"@macfja/svelte-persistent-store": "^2.3.0",
"@sveltejs/adapter-static": "^2.0.2",
"@sveltejs/kit": "^1.20.5",
"@biomejs/biome": "^1.1.2",
"@iconify-json/mingcute": "^1.1.9",
"@macfja/svelte-persistent-store": "^2.4.0",
"@sveltejs/adapter-static": "^2.0.3",
"@sveltejs/kit": "^1.24.1",
"@types/web-bluetooth": "^0.0.17",
"autoprefixer": "^10.4.14",
"chart.js": "^4.3.0",
"daisyui": "^3.1.6",
"postcss": "^8.4.24",
"rome": "^12.1.3",
"svelte": "^4.0.0",
"svelte-check": "^3.4.4",
"svelte-french-toast": "^1.0.4",
"tailwindcss": "^3.3.2",
"tslib": "^2.5.3",
"typescript": "^5.1.3",
"unplugin-icons": "^0.16.3",
"vite": "^4.3.9"
"autoprefixer": "^10.4.15",
"chart.js": "^4.4.0",
"daisyui": "^3.7.3",
"postcss": "^8.4.29",
"svelte": "^4.2.0",
"svelte-check": "^3.5.1",
"svelte-french-toast": "^1.2.0",
"tailwindcss": "^3.3.3",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"unplugin-icons": "^0.17.0",
"vite": "^4.4.9"
},
"type": "module",
"engines": {
Expand Down
Loading

0 comments on commit 5e0348d

Please sign in to comment.