Skip to content

Commit dd6cf03

Browse files
author
Firebase Studio
committed
Initialized workspace with Firebase Studio
0 parents  commit dd6cf03

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+17518
-0
lines changed

.gitignore

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
12+
13+
# testing
14+
/coverage
15+
16+
# next.js
17+
/.next/
18+
/out/
19+
20+
# production
21+
/build
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
.pnpm-debug.log*
32+
33+
# vercel
34+
.vercel
35+
36+
# typescript
37+
*.tsbuildinfo
38+
next-env.d.ts
39+
40+
.genkit/*
41+
.env*
42+
43+
# firebase
44+
firebase-debug.log
45+
firestore-debug.log

.idx/dev.nix

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# To learn more about how to use Nix to configure your environment
2+
# see: https://firebase.google.com/docs/studio/customize-workspace
3+
{pkgs}: {
4+
# Which nixpkgs channel to use.
5+
channel = "stable-24.11"; # or "unstable"
6+
# Use https://search.nixos.org/packages to find packages
7+
packages = [
8+
pkgs.nodejs_20
9+
pkgs.zulu
10+
];
11+
# Sets environment variables in the workspace
12+
env = {};
13+
# This adds a file watcher to startup the firebase emulators. The emulators will only start if
14+
# a firebase.json file is written into the user's directory
15+
services.firebase.emulators = {
16+
# Disabling because we are using prod backends right now
17+
detect = false;
18+
projectId = "demo-app";
19+
services = ["auth" "firestore"];
20+
};
21+
idx = {
22+
# Search for the extensions you want on https://open-vsx.org/ and use "publisher.id"
23+
extensions = [
24+
# "vscodevim.vim"
25+
];
26+
workspace = {
27+
onCreate = {
28+
default.openFiles = [
29+
"src/app/page.tsx"
30+
];
31+
};
32+
};
33+
# Enable previews and customize configuration
34+
previews = {
35+
enable = true;
36+
previews = {
37+
web = {
38+
command = ["npm" "run" "dev" "--" "--port" "$PORT" "--hostname" "0.0.0.0"];
39+
manager = "web";
40+
};
41+
};
42+
};
43+
};
44+
}

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Firebase Studio
2+
3+
This is a NextJS starter in Firebase Studio.
4+
5+
To get started, take a look at src/app/page.tsx.

apphosting.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Settings to manage and configure a Firebase App Hosting backend.
2+
# https://firebase.google.com/docs/app-hosting/configure
3+
4+
runConfig:
5+
# Increase this value if you'd like to automatically spin up
6+
# more instances in response to increased traffic.
7+
maxInstances: 1

components.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "default",
4+
"rsc": true,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "tailwind.config.ts",
8+
"css": "src/app/globals.css",
9+
"baseColor": "neutral",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"aliases": {
14+
"components": "@/components",
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"lib": "@/lib",
18+
"hooks": "@/hooks"
19+
},
20+
"iconLibrary": "lucide"
21+
}

next.config.ts

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
import type {NextConfig} from 'next';
2+
3+
const nextConfig: NextConfig = {
4+
/* config options here */
5+
typescript: {
6+
ignoreBuildErrors: true,
7+
},
8+
eslint: {
9+
ignoreDuringBuilds: true,
10+
},
11+
images: {
12+
remotePatterns: [
13+
{
14+
protocol: 'https',
15+
hostname: 'placehold.co',
16+
port: '',
17+
pathname: '/**',
18+
},
19+
{
20+
protocol: 'https',
21+
hostname: 'images.unsplash.com',
22+
port: '',
23+
pathname: '/**',
24+
},
25+
{
26+
protocol: 'https',
27+
hostname: 'picsum.photos',
28+
port: '',
29+
pathname: '/**',
30+
},
31+
],
32+
},
33+
};
34+
35+
export default nextConfig;

0 commit comments

Comments
 (0)