Skip to content

Commit 858929a

Browse files
authored
Add a basic Firebase Studio config file (#1338)
1 parent 1952549 commit 858929a

File tree

3 files changed

+57
-1
lines changed

3 files changed

+57
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ dist/
1616
.vscode/**/*
1717
!.vscode/extensions.json
1818
!.vscode/launch.json
19-
!.vscode/settings.json
2019
!.vscode/tasks.json
2120

2221
# Local env files

.idx/dev.nix

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# To learn more about how to use Nix to configure your environment
2+
# see: https://developers.google.com/idx/guides/customize-idx-env
3+
{ pkgs, ... }: {
4+
# Which nixpkgs channel to use.
5+
channel = "stable-25.05"; # or "unstable"
6+
7+
# Use https://search.nixos.org/packages to find packages
8+
packages = [
9+
pkgs.python3
10+
pkgs.nodejs_24
11+
];
12+
13+
# Sets environment variables in the workspace
14+
env = {};
15+
idx = {
16+
# Search for the extensions you want on https://open-vsx.org/ and use "publisher.id"
17+
extensions = [
18+
# "vscodevim.vim"
19+
];
20+
21+
# Enable previews and customize configuration
22+
previews = {
23+
# Currently disabled because the preview system wasn't working
24+
enable = false;
25+
previews = {
26+
web = {
27+
command = [
28+
"npm"
29+
"run"
30+
"start"
31+
"--"
32+
"--port"
33+
"$PORT"
34+
"--host"
35+
"0.0.0.0"
36+
"--disable-host-check"
37+
];
38+
manager = "web";
39+
};
40+
};
41+
};
42+
43+
# Workspace lifecycle hooks
44+
workspace = {
45+
# Runs when a workspace is first created
46+
onCreate = {
47+
# npm-install = "npm install";
48+
# Currently disabled because the preview system wasn't working
49+
};
50+
# Runs when the workspace is (re)started
51+
onStart = {
52+
# npm-install = "npm install";
53+
# Currently disabled because the preview system wasn't working
54+
};
55+
};
56+
};
57+
}

.idx/icon.png

72.5 KB
Loading

0 commit comments

Comments
 (0)