Skip to content

Commit 1413d9d

Browse files
authored
Merge pull request #77 from RipeSeed/fix/prettier
Fix/prettier
2 parents 782dc8f + 0b04ce7 commit 1413d9d

Some content is hidden

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

55 files changed

+6599
-3201
lines changed

.git-blame-ignore-revs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
aeedd33578418c095c8594020d64e311f3412177
2-
44705e6ee4d4ff9b40f2973e6cd7d22fcac9f29b
2+
44705e6ee4d4ff9b40f2973e6cd7d22fcac9f29b
3+
a7164d54da7f815b79c1fa8b6c1b0a55dd969fb2

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ Ask RipeSeed consists of two main sections:
3131

3232
## Features
3333

34-
- 🌗 Dark/Light Mode Support
35-
- 📝 Markdown support
36-
- 💬 Chat history
37-
- 📚 Attach custom knowledgebase
38-
- 📅 Function calling support to book meetings
34+
- 🌗 Dark/Light Mode Support
35+
- 📝 Markdown support
36+
- 💬 Chat history
37+
- 📚 Attach custom knowledgebase
38+
- 📅 Function calling support to book meetings
3939

4040
## Demo
4141

load-env.js

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
import fs from "fs";
2-
import { InfisicalSDK } from "@infisical/sdk";
1+
import fs from 'fs'
2+
import { InfisicalSDK } from '@infisical/sdk'
3+
34
const client = new InfisicalSDK({
45
siteUrl: process.env.INFISICAL_URL,
5-
});
6-
(async () => {
6+
})
7+
;(async () => {
78
await client.auth().universalAuth.login({
89
clientId: process.env.INFISICAL_CLIENT_ID,
910
clientSecret: process.env.INFISICAL_CLIENT_SECRET,
10-
});
11-
const enviroment = process.env.NODE_ENV ? process.env.NODE_ENV : "dev";
11+
})
12+
const enviroment = process.env.NODE_ENV ? process.env.NODE_ENV : 'dev'
1213
const secrets = await client.secrets().listSecrets({
1314
environment: enviroment,
1415
projectId: process.env.INFISICAL_PROJECT_ID,
15-
path: "/",
16-
});
16+
path: '/',
17+
})
1718
for (const secret of secrets.secrets) {
18-
fs.appendFileSync(".env", `\n${secret.secretKey}=${secret.secretValue}`);
19+
fs.appendFileSync('.env', `\n${secret.secretKey}=${secret.secretValue}`)
1920
}
20-
})();
21+
})()

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"dev": "next dev --turbo",
88
"infisical:fetch": "node load-env.js",
9-
"format": "prettier --check \"**/*.{mjs,ts,md,json}\"",
9+
"format": "prettier --write \"**/*.{mjs,ts,md,json}\" --config .prettierrc",
1010
"build": "next build",
1111
"start": "next start",
1212
"lint": "next lint",

0 commit comments

Comments
 (0)