mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-26 21:26:37 +08:00
update: add .idx
This commit is contained in:
parent
0031544e14
commit
0b426aa61a
43
.idx/dev.nix
Normal file
43
.idx/dev.nix
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# To learn more about how to use Nix to configure your environment
|
||||||
|
# see: https://firebase.google.com/docs/studio/customize-workspace
|
||||||
|
{pkgs}: {
|
||||||
|
# Which nixpkgs channel to use.
|
||||||
|
channel = "stable-24.11"; # or "unstable"
|
||||||
|
# Use https://search.nixos.org/packages to find packages
|
||||||
|
packages = [
|
||||||
|
pkgs.nodejs_20
|
||||||
|
pkgs.zulu
|
||||||
|
];
|
||||||
|
# Sets environment variables in the workspace
|
||||||
|
env = {};
|
||||||
|
# This adds a file watcher to startup the firebase emulators. The emulators will only start if
|
||||||
|
# a firebase.json file is written into the user's directory
|
||||||
|
services.firebase.emulators = {
|
||||||
|
detect = true;
|
||||||
|
projectId = "next-chat-app";
|
||||||
|
services = ["auth" "firestore"];
|
||||||
|
};
|
||||||
|
idx = {
|
||||||
|
# Search for the extensions you want on https://open-vsx.org/ and use "publisher.id"
|
||||||
|
extensions = [
|
||||||
|
# "vscodevim.vim"
|
||||||
|
];
|
||||||
|
workspace = {
|
||||||
|
onCreate = {
|
||||||
|
default.openFiles = [
|
||||||
|
"src/app/page.tsx"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
# Enable previews and customize configuration
|
||||||
|
previews = {
|
||||||
|
enable = true;
|
||||||
|
previews = {
|
||||||
|
web = {
|
||||||
|
command = ["npm" "run" "dev" "--" "--port" "$PORT" "--hostname" "0.0.0.0"];
|
||||||
|
manager = "web";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
BIN
.idx/icon.png
Normal file
BIN
.idx/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
Loading…
Reference in New Issue
Block a user