-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1301ce
commit df9af9a
Showing
15 changed files
with
282 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"rules": { | ||
".read": false, | ||
".write": false | ||
} | ||
} | ||
"rules": { | ||
".read": false, | ||
".write": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,70 @@ | ||
{ | ||
"database": { | ||
"rules": "database.rules.json" | ||
}, | ||
"firestore": { | ||
"rules": "firestore.rules", | ||
"indexes": "firestore.indexes.json" | ||
}, | ||
"functions": [ | ||
{ | ||
"source": "functions", | ||
"codebase": "default", | ||
"ignore": [ | ||
"node_modules", | ||
".git", | ||
"firebase-debug.log", | ||
"firebase-debug.*.log", | ||
"*.local" | ||
], | ||
"predeploy": [ | ||
"npm --prefix \"$RESOURCE_DIR\" run build" | ||
] | ||
} | ||
], | ||
"hosting": { | ||
"public": "public", | ||
"ignore": [ | ||
"firebase.json", | ||
"**/.*", | ||
"**/node_modules/**" | ||
], | ||
"rewrites": [ | ||
{ | ||
"source": "**", | ||
"destination": "/index.html" | ||
} | ||
] | ||
}, | ||
"storage": { | ||
"rules": "storage.rules" | ||
}, | ||
"emulators": { | ||
"auth": { | ||
"port": 9099 | ||
}, | ||
"functions": { | ||
"port": 5001 | ||
}, | ||
"firestore": { | ||
"port": 8080 | ||
}, | ||
"database": { | ||
"port": 9000 | ||
}, | ||
"hosting": { | ||
"port": 5000 | ||
}, | ||
"pubsub": { | ||
"port": 8085 | ||
}, | ||
"storage": { | ||
"port": 9199 | ||
}, | ||
"eventarc": { | ||
"port": 9299 | ||
}, | ||
"ui": { | ||
"enabled": true, | ||
"port": 4000 | ||
}, | ||
"singleProjectMode": true | ||
}, | ||
"remoteconfig": { | ||
"template": "remoteconfig.template.json" | ||
} | ||
"database": { | ||
"rules": "database.rules.json" | ||
}, | ||
"firestore": { | ||
"rules": "firestore.rules", | ||
"indexes": "firestore.indexes.json" | ||
}, | ||
"functions": [ | ||
{ | ||
"source": "functions", | ||
"codebase": "default", | ||
"ignore": [ | ||
"node_modules", | ||
".git", | ||
"firebase-debug.log", | ||
"firebase-debug.*.log", | ||
"*.local" | ||
], | ||
"predeploy": ["npm --prefix \"$RESOURCE_DIR\" run build"] | ||
} | ||
], | ||
"hosting": { | ||
"public": "public", | ||
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"], | ||
"rewrites": [ | ||
{ | ||
"source": "**", | ||
"destination": "/index.html" | ||
} | ||
] | ||
}, | ||
"storage": { | ||
"rules": "storage.rules" | ||
}, | ||
"emulators": { | ||
"auth": { | ||
"port": 9099 | ||
}, | ||
"functions": { | ||
"port": 5001 | ||
}, | ||
"firestore": { | ||
"port": 8080 | ||
}, | ||
"database": { | ||
"port": 9000 | ||
}, | ||
"hosting": { | ||
"port": 5000 | ||
}, | ||
"pubsub": { | ||
"port": 8085 | ||
}, | ||
"storage": { | ||
"port": 9199 | ||
}, | ||
"eventarc": { | ||
"port": 9299 | ||
}, | ||
"ui": { | ||
"enabled": true, | ||
"port": 4000 | ||
}, | ||
"singleProjectMode": true | ||
}, | ||
"remoteconfig": { | ||
"template": "remoteconfig.template.json" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"indexes": [], | ||
"fieldOverrides": [] | ||
"indexes": [], | ||
"fieldOverrides": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
{ | ||
"name": "functions", | ||
"scripts": { | ||
"build": "tsc", | ||
"build:watch": "tsc --watch", | ||
"serve": "npm run build && firebase emulators:start --only functions", | ||
"shell": "npm run build && firebase functions:shell", | ||
"start": "npm run shell", | ||
"deploy": "firebase deploy --only functions", | ||
"logs": "firebase functions:log" | ||
}, | ||
"engines": { | ||
"node": "18" | ||
}, | ||
"main": "lib/index.js", | ||
"dependencies": { | ||
"firebase-admin": "^12.1.0", | ||
"firebase-functions": "^5.0.0" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.9.0", | ||
"firebase-functions-test": "^3.1.0" | ||
}, | ||
"private": true | ||
} | ||
"name": "functions", | ||
"scripts": { | ||
"build": "tsc", | ||
"build:watch": "tsc --watch", | ||
"serve": "npm run build && firebase emulators:start --only functions", | ||
"shell": "npm run build && firebase functions:shell", | ||
"start": "npm run shell", | ||
"deploy": "firebase deploy --only functions", | ||
"logs": "firebase functions:log" | ||
}, | ||
"engines": { | ||
"node": "18" | ||
}, | ||
"main": "lib/index.js", | ||
"dependencies": { | ||
"firebase-admin": "^12.1.0", | ||
"firebase-functions": "^5.0.0" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.9.0", | ||
"firebase-functions-test": "^3.1.0" | ||
}, | ||
"private": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"noImplicitReturns": true, | ||
"noUnusedLocals": true, | ||
"outDir": "lib", | ||
"sourceMap": true, | ||
"strict": true, | ||
"target": "es2017" | ||
}, | ||
"compileOnSave": true, | ||
"include": [ | ||
"src" | ||
] | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"noImplicitReturns": true, | ||
"noUnusedLocals": true, | ||
"outDir": "lib", | ||
"sourceMap": true, | ||
"strict": true, | ||
"target": "es2017" | ||
}, | ||
"compileOnSave": true, | ||
"include": ["src"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
{ | ||
"name": "vite-template-solid", | ||
"version": "0.0.0", | ||
"description": "", | ||
"type": "module", | ||
"scripts": { | ||
"start": "vite", | ||
"dev": "vite", | ||
"build": "vite build", | ||
"serve": "vite preview", | ||
"test": "vitest", | ||
"lint:code": "biome lint", | ||
"format:check": "biome format", | ||
"format:code": "biome format --write" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@biomejs/biome": "1.8.3", | ||
"@solidjs/testing-library": "^0.8.5", | ||
"@testing-library/jest-dom": "^6.2.0", | ||
"@types/testing-library__jest-dom": "^5.14.9", | ||
"autoprefixer": "^10.4.19", | ||
"jsdom": "^23.2.0", | ||
"postcss": "^8.4.39", | ||
"solid-devtools": "^0.29.2", | ||
"tailwindcss": "^3.4.4", | ||
"typescript": "^5.3.3", | ||
"vite": "^5.0.11", | ||
"vite-plugin-solid": "^2.8.2", | ||
"vitest": "^1.2.1" | ||
}, | ||
"dependencies": { | ||
"solid-js": "^1.8.11" | ||
}, | ||
"packageManager": "[email protected]+sha512.9df9cf27c91715646c7d675d1c9c8e41f6fce88246f1318c1aa6a1ed1aeb3c4f032fcdf4ba63cc69c4fe6d634279176b5358727d8f2cc1e65b65f43ce2f8bfb0" | ||
"name": "vite-template-solid", | ||
"version": "0.0.0", | ||
"description": "", | ||
"type": "module", | ||
"scripts": { | ||
"start": "vite", | ||
"dev": "vite", | ||
"build": "vite build", | ||
"serve": "vite preview", | ||
"test": "vitest", | ||
"lint:code": "biome lint", | ||
"format:check": "biome format", | ||
"format:code": "biome format --write" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@biomejs/biome": "1.8.3", | ||
"@solidjs/testing-library": "^0.8.5", | ||
"@testing-library/jest-dom": "^6.2.0", | ||
"@types/testing-library__jest-dom": "^5.14.9", | ||
"autoprefixer": "^10.4.19", | ||
"jsdom": "^23.2.0", | ||
"postcss": "^8.4.39", | ||
"solid-devtools": "^0.29.2", | ||
"tailwindcss": "^3.4.4", | ||
"typescript": "^5.3.3", | ||
"vite": "^5.0.11", | ||
"vite-plugin-solid": "^2.8.2", | ||
"vitest": "^1.2.1" | ||
}, | ||
"dependencies": { | ||
"solid-js": "^1.8.11" | ||
}, | ||
"packageManager": "[email protected]+sha512.9df9cf27c91715646c7d675d1c9c8e41f6fce88246f1318c1aa6a1ed1aeb3c4f032fcdf4ba63cc69c4fe6d634279176b5358727d8f2cc1e65b65f43ce2f8bfb0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export default { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{} | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
import { render } from 'solid-js/web'; | ||
import { render } from "solid-js/web"; | ||
|
||
import { TodoList } from './todo-list'; | ||
import { TodoList } from "./todo-list"; | ||
|
||
import './index.css'; | ||
import "./index.css"; | ||
|
||
const root = document.getElementById('root'); | ||
const root = document.getElementById("root"); | ||
|
||
if (import.meta.env.DEV && !(root instanceof HTMLElement)) { | ||
throw new Error( | ||
'Root element not found. Did you forget to add it to your index.html? Or maybe the id attribute got misspelled?', | ||
); | ||
throw new Error( | ||
"Root element not found. Did you forget to add it to your index.html? Or maybe the id attribute got misspelled?", | ||
); | ||
} | ||
|
||
render(() => <TodoList />, root!); |
Oops, something went wrong.