Skip to content

Commit 09361ee

Browse files
Merge branch 'gitroomhq:main' into main
2 parents ab48200 + acd9f21 commit 09361ee

27 files changed

+6478
-359
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "daily"

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616

17-
- name: Use Node.js ${{ matrix.node-version }}
17+
- name: Use Node.js
1818
uses: actions/setup-node@v4
1919
with:
2020
node-version: "20.x"

.vscode/launch.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
8+
9+
{
10+
"type": "node-terminal",
11+
"name": "Build & Run Docs",
12+
"request": "launch",
13+
"command": "pnpm run build && pnpm run start",
14+
"cwd": "${workspaceFolder}"
15+
}
16+
]
17+
}

Jenkinsfile

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
pipeline {
2+
agent any
3+
4+
environment {
5+
NODE_VERSION = '20.17.0'
6+
}
7+
8+
stages {
9+
stage('Checkout Repository') {
10+
steps {
11+
checkout scm
12+
}
13+
}
14+
15+
stage('Chechout Node.js and npm') {
16+
steps {
17+
script {
18+
sh "node -v"
19+
sh "npm -v"
20+
}
21+
}
22+
}
23+
24+
stage('Install Dependencies') {
25+
steps {
26+
sh 'npm ci'
27+
}
28+
}
29+
30+
stage('Build Project') {
31+
steps {
32+
sh 'npm run build --if-present'
33+
}
34+
}
35+
}
36+
37+
post {
38+
always {
39+
cleanWs(cleanWhenNotBuilt: false,
40+
notFailBuild: true)
41+
}
42+
success {
43+
echo 'Build completed successfully!'
44+
}
45+
failure {
46+
echo 'Build failed!'
47+
}
48+
}
49+
}

components/snippets/oauth2redirect.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export default function OAuth2Redirect({
1616
<ul className = "[:is(ol,ul)_&]:_my-3 [&:not(:first-child)]:_mt-6 _list-disc ltr:_ml-6 rtl:_mr-6">
1717
<li>eg: If you are running on a container, and your Postiz URL is: <code className = "nextra-code">https://postiz.example.com</code>, then your OAuth2 Redirect URI is <code className = "nextra-code">https://postiz.example.com/integrations/social/{provider}</code></li>
1818
<li>eg: If you are running on localhost, and your Postiz URL is <code className = "nextra-code">http://localhost:4200</code>, then your OAuth2 Redirect URI is <code className = "nextra-code">http://localhost:4200/integrations/social/{provider}</code></li>
19+
<li>eg: If you are running on localhost, and the provider doesn't accept http uris, and your Postiz URL is <code className = "nextra-code">http://localhost:4200</code>, then your OAuth2 Redirect URI is <code className = "nextra-code">https://redirectmeto.com/http://localhost:4200/integrations/social/{provider}</code></li>
1920
</ul>
2021

2122
<br />

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
5+
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

0 commit comments

Comments
 (0)