Skip to content

Commit

Permalink
Customize service worker based on v1.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
paulyoung committed Sep 8, 2022
1 parent da690d5 commit c8e81ce
Show file tree
Hide file tree
Showing 21 changed files with 13,367 additions and 12,634 deletions.
4 changes: 3 additions & 1 deletion typescript/service-worker/.gitignore
@@ -1,6 +1,8 @@
.firebase/
.firebaserc
dist/
dist-dev/
dist-prod/
node_modules/
coverage/
junit.xml
junit.xml
16 changes: 16 additions & 0 deletions typescript/service-worker/firebase.json
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
43 changes: 43 additions & 0 deletions typescript/service-worker/flake.lock

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

29 changes: 29 additions & 0 deletions typescript/service-worker/flake.nix
@@ -0,0 +1,29 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/21.11";
flake-utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, flake-utils }:
let
supportedSystems = [
flake-utils.lib.system.aarch64-darwin
flake-utils.lib.system.x86_64-darwin
];
in
flake-utils.lib.eachSystem supportedSystems (
system: let
pkgs = import nixpkgs {
inherit system;
};
in
rec {
# `nix develop`
devShell = pkgs.mkShell {
buildInputs = [
pkgs.nodejs
];
};
}
);
}

0 comments on commit c8e81ce

Please sign in to comment.