Skip to content

Commit

Permalink
Merge pull request #294 from kloudlite/website/fix
Browse files Browse the repository at this point in the history
Website/fix
  • Loading branch information
tulsiojha authored Sep 13, 2024
2 parents adf1e1f + 66f3934 commit 45a12e8
Show file tree
Hide file tree
Showing 148 changed files with 14,399 additions and 2,600 deletions.
2 changes: 1 addition & 1 deletion src/apps/devdoc/.env.development
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
APP_ENV=development
AUTH_URL=https://auth1.dev.kloudlite.io
AUTH_URL=https://auth.dev.kloudlite.io
CONSOLE_URL=https://console.dev.kloudlite.io
34 changes: 31 additions & 3 deletions src/apps/devdoc/firebase.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,36 @@
{
"hosting": {
"public": "out",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"cleanUrls": true,
"trailingSlash": false
}
"trailingSlash": false,
"redirects": [
{
"source": "/demo-link",
"destination": "https://youtu.be/OkMLPnygIm8",
"type": 301
}
]
},
"functions": [
{
"source": "functions",
"codebase": "default",
"ignore": [
"node_modules",
".git",
"firebase-debug.log",
"firebase-debug.*.log",
"*.local"
],
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run lint",
"npm --prefix \"$RESOURCE_DIR\" run build"
]
}
]
}
32 changes: 32 additions & 0 deletions src/apps/devdoc/functions/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
module.exports = {
root: true,
env: {
es6: true,
node: true,
},
extends: [
'eslint:recommended',
'plugin:import/errors',
'plugin:import/warnings',
'plugin:import/typescript',
'google',
'plugin:@typescript-eslint/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: {
project: ['tsconfig.json', 'tsconfig.dev.json'],
sourceType: 'module',
},
ignorePatterns: [
'/lib/**/*', // Ignore built files.
'/generated/**/*', // Ignore generated files.
],
plugins: ['@typescript-eslint', 'import'],
rules: {
'object-curly-spacing': ['error', 'always'],
quotes: ['error', 'single'],
'quote-props': ['error', 'as-needed'],
'import/no-unresolved': 0,
indent: ['error', 2],
},
};
10 changes: 10 additions & 0 deletions src/apps/devdoc/functions/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Compiled JavaScript files
lib/**/*.js
lib/**/*.js.map

# TypeScript v1 declaration files
typings/

# Node.js dependency directory
node_modules/
*.local
Loading

0 comments on commit 45a12e8

Please sign in to comment.