Skip to content

Commit

Permalink
chore(root): Prettier alignment (#6723)
Browse files Browse the repository at this point in the history
  • Loading branch information
SokratisVidros authored Oct 20, 2024
1 parent ed7aa47 commit a2beb28
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 49 deletions.
6 changes: 1 addition & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"cSpell.userWords": [],
"cSpell.enabled": true,
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"eslint.format.enable": true,
"editor.tabSize": 2,
Expand All @@ -15,8 +13,6 @@
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"cSpell.words": ["mantine"],
"vsicons.presets.nestjs": true,
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,19 @@ export function buildCredentialsKeyPart(
const identifier = getIdentifier(key, keyConfig);

if (identifier?.key) {
credentialsResult += `:${getCredentialWithContext(identifier.key, identifier.value)}`;
credentialsResult += `:${getCredentialWithContext(
identifier.key,
identifier.value,
)}`;
}

const environment = getEnvironment(keyConfig);

if (environment?.key) {
credentialsResult += `:${getCredentialWithContext(environment.key, environment.value)}`;
credentialsResult += `:${getCredentialWithContext(
environment.key,
environment.value,
)}`;
}

return credentialsResult;
Expand Down
73 changes: 33 additions & 40 deletions novu.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -2,134 +2,127 @@
"folders": [
{
"name": "✨ novu root",
"path": "."
"path": ".",
},
{
"name": "🚀 @novu/api",
"path": "apps/api"
"path": "apps/api",
},
{
"name": "🚀 @novu/worker",
"path": "apps/worker"
"path": "apps/worker",
},
{
"name": "🚀 @novu/web",
"path": "apps/web"
"path": "apps/web",
},
{
"name": "🚀 @novu/dashboard",
"path": "apps/dashboard"
"path": "apps/dashboard",
},
{
"name": "🚀 @novu/ws",
"path": "apps/ws"
"path": "apps/ws",
},
{
"name": "🚀 @novu/webhook",
"path": "apps/webhook"
"path": "apps/webhook",
},
{
"name": "🚀 @novu/widget",
"path": "apps/widget"
"path": "apps/widget",
},
{
"name": "📦 @novu/dal",
"path": "libs/dal"
"path": "libs/dal",
},
{
"name": "📦 @novu/design-system",
"path": "libs/design-system"
"path": "libs/design-system",
},
{
"name": "📦 @novu/embed",
"path": "libs/embed"
"path": "libs/embed",
},
{
"name": "📦 @novu/novui",
"path": "libs/novui"
"path": "libs/novui",
},
{
"name": "📦 @novu/cli",
"path": "packages/cli"
"path": "packages/cli",
},
{
"name": "📦 @novu/client",
"path": "packages/client"
"path": "packages/client",
},
{
"name": "📦 @novu/headless",
"path": "packages/headless"
"path": "packages/headless",
},
{
"name": "📦 @novu/shared",
"path": "packages/shared"
"path": "packages/shared",
},
{
"name": "📦 @novu/testing",
"path": "libs/testing"
"path": "libs/testing",
},
{
"name": "📦 @novu/application-generic",
"path": "libs/application-generic"
"path": "libs/application-generic",
},
{
"name": "📦 @novu/stateless",
"path": "packages/stateless"
"path": "packages/stateless",
},
{
"name": "📦 @novu/node",
"path": "packages/node"
"path": "packages/node",
},
{
"name": "📦 @novu/notification-center",
"path": "packages/notification-center"
"path": "packages/notification-center",
},
{
"name": "📦 @novu/notification-center-vue",
"path": "packages/notification-center-vue"
"path": "packages/notification-center-vue",
},
{
"name": "📦 @novu/notification-center-angular",
"path": "packages/notification-center-angular"
"path": "packages/notification-center-angular",
},
{
"name": "📦 @novu/react-native",
"path": "packages/react-native"
"path": "packages/react-native",
},
{
"name": "📦 @novu/js",
"path": "packages/js"
"path": "packages/js",
},
{
"name": "📦 @novu/react",
"path": "packages/react"
"path": "packages/react",
},
{
"name": "📦 @novu/nextjs",
"path": "packages/nextjs"
"path": "packages/nextjs",
},
{
"name": "🎮 @novu/nextjs-playground",
"path": "playground/nextjs"
}
"path": "playground/nextjs",
},
],
"settings": {
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"cSpell.words": [
"Chainable",
"usecases"
],
"vsicons.presets.nestjs": true
"cSpell.words": ["Chainable", "usecases"],
"vsicons.presets.nestjs": true,
},
"extensions": {
"recommendations": [
"folke.vscode-monorepo-workspace",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint"
]
}
"recommendations": ["folke.vscode-monorepo-workspace", "esbenp.prettier-vscode", "dbaeumer.vscode-eslint"],
},
}
3 changes: 1 addition & 2 deletions packages/js/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.fixAll.eslint": "explicit"
},
"editor.formatOnSave": true
}
}

0 comments on commit a2beb28

Please sign in to comment.