Skip to content

Commit

Permalink
chore: deploy staging (#587)
Browse files Browse the repository at this point in the history
Co-authored-by: Yash Khatri <[email protected]>
Co-authored-by: BlankParticle <[email protected]>
Co-authored-by: McPizza <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Yash Khatri <[email protected]>
Co-authored-by: Rohit Kumar Saini <[email protected]>
Co-authored-by: Esther Lizardo <[email protected]>
Co-authored-by: ben <[email protected]>
fix: file name generation for missing filenames for attachments (#533)
fix: replace convo list with Virtuoso component to fix bugs (#536)
fix: new email based participants are correctly added now (#538)
Fixes #215
fix: check org shortCode availability before creating org (#544)
fix: password auto complete suggestion fix (#546)
fixed (#558)
fix(signup): save profile without avatar (#561)
Fixes #549 
fix: make trpc redirects work in web (#555)
fix (#565)
Fixes #564 
fix: rename the postal local mode env variable to be proper one (#573)
fix (#576)
fix and input box default length fix (#570)
fix-redirect-when-already-in-org (#578)
fix-rename-shortCode-shortcode (#580)
fixes #507
  • Loading branch information
BlankParticle authored Jul 22, 2024
1 parent 2e0fc0a commit bab6520
Show file tree
Hide file tree
Showing 378 changed files with 16,086 additions and 31,992 deletions.
20 changes: 13 additions & 7 deletions .env.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,16 @@ PRIMARY_DOMAIN='localhost'

UNKEY_ROOT_KEY=""

############################ NEXT_PUBLIC VARIABLES ############################
NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
NEXT_PUBLIC_STORAGE_URL=http://localhost:3200
NEXT_PUBLIC_PLATFORM_URL=http://localhost:3300
NEXT_PUBLIC_REALTIME_APP_KEY=secretsecretsecret
NEXT_PUBLIC_REALTIME_HOST=localhost
NEXT_PUBLIC_REALTIME_PORT=3904
########################### TURNSTILE VARIABLES ################################
TURNSTILE_SITE_KEY=
TURNSTILE_SECRET_KEY=

########################## WORKER APP VARIABLES ################################
WORKER_URL=http://localhost:3400
WORKER_ACCESS_KEY=secretsecretsecretsecretsecretsecret

######################### OpenTelemetry Variables ################################
OTEL_ENABLED=false
OTEL_EXPORTER_TRACES_ENDPOINT=
OTEL_EXPORTER_METRICS_ENDPOINT=
OTEL_EXPORTER_LOGS_ENDPOINT=
8 changes: 1 addition & 7 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
# ignore generate imports
auto-imports.d.ts
components.d.ts
nuxt.d.ts

# nuxt and other artefacts
.nuxt
# other artefacts
.output
node_modules
dist
Expand Down
14 changes: 12 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
/**
* @type {import('eslint').Linter.Config}
*/
module.exports = {
root: true,
plugins: ['prettier', 'drizzle'],
extends: ['@nuxt/eslint-config', 'prettier', 'plugin:drizzle/all'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'prettier', 'drizzle', '@u22n/custom'],
extends: ['prettier', 'plugin:drizzle/all'],
rules: {
semi: [2, 'always']
},
Expand All @@ -16,6 +20,12 @@ module.exports = {
}
]
}
},
{
files: ['./packages/database/**/*'],
rules: {
'@u22n/custom/table-needs-org-id': 'error'
}
}
]
};
33 changes: 33 additions & 0 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: autofix.ci
on:
pull_request:
types: [review_requested, ready_for_review]
push:
branches: ['main']
permissions:
contents: read

jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v3

- name: Install Node.js
uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version: '20'

- run: pnpm install

- name: Run ESLint
run: pnpm fix

- name: Run Prettier
run: pnpm format

- uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a
9 changes: 1 addition & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,10 @@ node_modules
.pnp.js
package-lock.json

# nuxt specific
.nuxt
.nitro
# common build outputs
.cache
.output
dist
nuxt.d.ts
framework

# misc
.DS_Store
Expand All @@ -26,9 +22,6 @@ yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
*.log*
test.get.ts
test.post.ts
test.vue

# local env files
.env
Expand Down
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
node_modules
.turbo
.pnpm-store
.nuxt
pnpm-lock.yaml
.next
packages/database/migrations
11 changes: 0 additions & 11 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,14 @@
"convos",
"dmarc",
"domainkey",
"hanko",
"Hanko",
"hono",
"MAILBRIDGE",
"mailfetch",
"mailserver",
"mediumint",
"nitropack",
"nuxt",
"nuxthq",
"nuxtjs",
"opentelemetry",
"otel",
"partialize",
"pinia",
"Pinia",
"planetscale",
"presign",
"presigner",
Expand All @@ -48,11 +40,8 @@
"Unin",
"uninbox",
"unkey",
"unocss",
"unref",
"unstorage",
"unvalidated",
"vueuse",
"waitlist",
"zustand",
"zxcvbn"
Expand Down
45 changes: 0 additions & 45 deletions .vscode/default-snippets-manager.code-snippets

This file was deleted.

2 changes: 0 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
"amirha.better-comments-2", // Comment Highlighting for important/explainer comments
"yzhang.markdown-all-in-one", // Markdown support
"dbaeumer.vscode-eslint", // eslint plugin
"lokalise.i18n-ally", // i18n plugin
"vue.volar", // Vue 3 language support
"streetsidesoftware.code-spell-checker", // Spell checker with custom dict
"esbenp.prettier-vscode" // Prettier plugin
]
Expand Down
32 changes: 1 addition & 31 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{
"i18n-ally.localesPaths": ["packages/locales"],
"editor.codeActionsOnSave": {},
"i18n-ally.dirStructure": "auto",
"i18n-ally.enabledFrameworks": ["vue", "vue-sfc"],
"unocss.root": ["apps/web-app"],
"prettier.bracketSameLine": true,
"prettier.enableDebugLogs": true,
"prettier.singleQuote": true,
"prettier.trailingComma": "all",
"better-comments.tags": [
{
"tag": "!",
Expand Down Expand Up @@ -73,27 +65,5 @@
"italic": false
}
],
"i18n-ally.extract.ignored": [
"w-[16px] h-[16px] text-xs",
"w-[32px] h-[32px] text-sm",
"w-[48px] h-[48px] text-base",
"w-[56px] h-[56px] text-lg",
"w-[64px] h-[64px] text-xl",
"w-[80px] h-[80px] text-2xl",
"w-[128px] h-[128px] text-3xl"
],
"typescript.tsdk": "node_modules/typescript/lib",
"conventionalCommits.scopes": [
"repo",
"web",
"mailbridge",
"storage",
"landing",
"ee",
"db",
"authjs",
"local-docker",
"postal-puppet",
"platform"
]
"typescript.tsdk": "node_modules/typescript/lib"
}
31 changes: 0 additions & 31 deletions .vscode/uninbox-code-snippets.code-snippets
Original file line number Diff line number Diff line change
@@ -1,39 +1,8 @@
{
"Pinia Setup Store Boilerplate": {
"prefix": "pin",
"description": "Bootstrap the code needed for a Vue.js Pinia Setup Store file",
"scope": "",
"body": [
"export const use${TM_FILENAME_BASE/^(.*)$/${1:/pascalcase}/}Store = definePiniaStore('$TM_FILENAME_BASE', () => {",
" $0",
" return {}",
"})",
"",
"if (import.meta.hot) {",
" import.meta.hot.accept(acceptHMRUpdate(use${TM_FILENAME_BASE/^(.*)$/${1:/pascalcase}/}Store, import.meta.hot))",
"}"
]
},
"DrizzleORM Ops": {
"prefix": "orm",
"description": "Import the conditional operators from Drizzle ORM via @u22n/database",
"scope": "",
"body": ["import { $1 } from '@u22n/database/orm'"]
}
// Place your UnInbox workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
}
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,12 @@ Instead, we're detaching from its legacy underpinnings, to build something moder

`UnInbox` is built with the following epic technologies & tools:

- [Nuxt JS](https://nuxt.com) Vue based FrontEnd & Backend + modules
- [Nitro](https://nitro.unjs.io/) Public API + Misc tooling
- [Next JS](https://nextjs.org/) React based FrontEnd & Backend + modules
- [Hono](https://hono.dev/) Public API + Misc tooling
- [Tailwind](https://tailwindcss.com/) CSS Engine
- [tRPC](https://trpc.io/) Typesafe APIs
- [DrizzleORM](https://orm.drizzle.team/) ORM + MySQL

_p.s. Things will change over time!_

## Running Locally

To get a local copy up and running, follow these simple steps.
Expand Down
Loading

0 comments on commit bab6520

Please sign in to comment.