Skip to content

Commit ddfce46

Browse files
CopilotmaximizeIT
andauthored
chore(deps): combine dependency bumps from PRs #168, #171, #172
- eslint-plugin-simple-import-sort: 12.1.1 → 13.0.0 - marked: 17.0.6 → 18.0.0 - typescript: 5.9.3 → 6.0.2 All tests pass. Co-authored-by: GitHub Copilot <copilot@noreply.github.com> Agent-Logs-Url: https://github.com/Staffbase/create-staffbase-plugin-nodejs/sessions/7ff34b57-d76c-428a-81d2-91692953252c Co-authored-by: maximizeIT <8626039+maximizeIT@users.noreply.github.com>
1 parent 50acbf5 commit ddfce46

3 files changed

Lines changed: 54 additions & 86 deletions

File tree

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
"eslint-config-prettier": "^10.1.8",
4747
"eslint-plugin-react": "^7.37.5",
4848
"eslint-plugin-react-hooks": "^7.0.1",
49-
"eslint-plugin-simple-import-sort": "^12.1.1",
49+
"eslint-plugin-simple-import-sort": "^13.0.0",
5050
"highlight.js": "^11.11.1",
5151
"husky": "^9.1.7",
5252
"jest": "^30.3.0",
5353
"markdown-it": "^14.1.1",
54-
"marked": "^17.0.6",
55-
"typescript": "^5.9.3"
54+
"marked": "^18.0.0",
55+
"typescript": "^6.0.2"
5656
}
5757
}

scaffoldTpl/views/index.html

Lines changed: 39 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,59 @@
1-
<p>
2-
Welcome to your Staffbase SSO plugin server. Please follow the following
3-
instructions to get started with your Plugin Application.
4-
</p>
1+
<p>Welcome to your Staffbase SSO plugin server. Please follow the following instructions
2+
to get started with your Plugin Application.</p>
53
<h2>Prerequisites</h2>
6-
<p>
7-
In order to get connected with the Staffbase SSO interface, you need a Valid
8-
Secret and an Audience ID.
9-
</p>
10-
<p>
11-
If you are here, you probably have a secret and audience ID registered with
12-
Staffbase. If you are not sure about it or you need more information about
13-
Staffbase SSO, feel free to contact the Customer Success team at Staffbase.
14-
</p>
4+
<p>In order to get connected with the Staffbase SSO interface, you need a Valid Secret and an Audience ID.</p>
5+
<p>If you are here, you probably have a secret and audience ID registered with Staffbase. If you are not sure about it or you need more information about Staffbase SSO, feel free to contact the Customer Success team at Staffbase.</p>
156
<h2>Configuration</h2>
16-
<p>
17-
After the scaffolding is complete, you need to provide some values for
18-
configuring your plugin server. The following values need to be configured.
19-
</p>
7+
<p>After the scaffolding is complete, you need to provide some values for configuring your
8+
plugin server. The following values need to be configured.</p>
209
<ul>
21-
<li>Plugin Secret</li>
22-
<li>Plugin Audience</li>
10+
<li>Plugin Secret</li>
11+
<li>Plugin Audience</li>
2312
</ul>
24-
<p>
25-
You can either specify these values in environment variables or directly
26-
passing the values in the <code>app.js</code> file where the middleware is
27-
initialized.
28-
</p>
29-
<p>
30-
To configure values in <code>app.js</code> file, change the following lines:
31-
</p>
13+
<p>You can either specify these values in environment variables or directly passing
14+
the values in the <code>app.js</code> file where the middleware is initialized.</p>
15+
<p>To configure values in <code>app.js</code> file, change the following lines:</p>
3216
<p>app.js</p>
3317
<pre><code class="language-javascript">12 ...
3418
13 ...
3519
14 const key = null;
3620
15 const pluginID = null;
3721
16 ...
3822
</code></pre>
39-
<p>
40-
You can also specify these values using environment variables. Refer to the
41-
table to see which environment variables can be used.
42-
</p>
23+
<p>You can also specify these values using environment variables.
24+
Refer to the table to see which environment variables can be used.</p>
4325
<table>
44-
<thead>
45-
<tr>
46-
<th style="text-align: left"><em>Value</em></th>
47-
<th style="text-align: center"><em>Environment Variable</em></th>
48-
</tr>
49-
</thead>
50-
<tbody>
51-
<tr>
52-
<td style="text-align: left">Secret</td>
53-
<td style="text-align: center">STAFFBASE_SSO_SECRET</td>
54-
</tr>
55-
<tr>
56-
<td style="text-align: left">Audience</td>
57-
<td style="text-align: center">STAFFBASE_SSO_AUDIENCE</td>
58-
</tr>
59-
<tr>
60-
<td style="text-align: left">Server Port</td>
61-
<td style="text-align: center">PORT</td>
62-
</tr>
63-
</tbody>
26+
<thead>
27+
<tr>
28+
<th style="text-align:left"><em>Value</em></th>
29+
<th style="text-align:center"><em>Environment Variable</em></th>
30+
</tr>
31+
</thead>
32+
<tbody>
33+
<tr>
34+
<td style="text-align:left">Secret</td>
35+
<td style="text-align:center">STAFFBASE_SSO_SECRET</td>
36+
</tr>
37+
<tr>
38+
<td style="text-align:left">Audience</td>
39+
<td style="text-align:center">STAFFBASE_SSO_AUDIENCE</td>
40+
</tr>
41+
<tr>
42+
<td style="text-align:left">Server Port</td>
43+
<td style="text-align:center">PORT</td>
44+
</tr>
45+
</tbody>
6446
</table>
6547
<h2>Running the server</h2>
66-
<p>
67-
<em>create-staffbase-plugin</em> installs the project dependencies for you.
68-
After configurations is done, the only thing you need to do is navigate to the
69-
folder where your app was generated and start the express server.
70-
</p>
48+
<p><em>create-staffbase-plugin</em> installs the project dependencies for you.
49+
After configurations is done, the only thing you need to do is navigate to the
50+
folder where your app was generated and start the express server.</p>
7151
<pre><code class="language-bash">$ cd [path of generated app]
7252
$ npm start
7353
</code></pre>
7454
<h2>Further Reading</h2>
75-
<p>
76-
For getting more information about Staffbase SSO, please check out the
77-
following links:
78-
</p>
55+
<p>For getting more information about Staffbase SSO, please check out the following links:</p>
7956
<ul>
80-
<li>
81-
<a href="https://developers.staffbase.com/concepts/customplugin-overview/"
82-
>Developer Portal: Custom Plugins</a
83-
>
84-
</li>
85-
<li>
86-
<a
87-
href="https://github.com/Staffbase/plugins-sdk-nodejs/blob/main/README.MD"
88-
>Staffbase Plugins SDK for Node.js</a
89-
>
90-
</li>
57+
<li><a href="https://developers.staffbase.com/concepts/customplugin-overview/">Developer Portal: Custom Plugins</a></li>
58+
<li><a href="https://github.com/Staffbase/plugins-sdk-nodejs/blob/main/README.MD">Staffbase Plugins SDK for Node.js</a></li>
9159
</ul>

yarn.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,10 +1784,10 @@ eslint-plugin-react@^7.37.5:
17841784
string.prototype.matchall "^4.0.12"
17851785
string.prototype.repeat "^1.0.0"
17861786

1787-
eslint-plugin-simple-import-sort@^12.1.1:
1788-
version "12.1.1"
1789-
resolved "https://registry.yarnpkg.com/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-12.1.1.tgz#e64bfdaf91c5b98a298619aa634a9f7aa43b709e"
1790-
integrity sha512-6nuzu4xwQtE3332Uz0to+TxDQYRLTKRESSc2hefVT48Zc8JthmN23Gx9lnYhu0FtkRSL1oxny3kJ2aveVhmOVA==
1787+
eslint-plugin-simple-import-sort@^13.0.0:
1788+
version "13.0.0"
1789+
resolved "https://registry.yarnpkg.com/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-13.0.0.tgz#93936354367d8bb42c1b9b4c13c92eb29fffd2a5"
1790+
integrity sha512-McAc+/Nlvcg4byY/CABGH8kqnefWBj8s3JA2okEtz8ixbECQgU46p0HkTUKa4YS7wvgGceimlc34p1nXqbWqtA==
17911791

17921792
eslint-scope@5.1.1:
17931793
version "5.1.1"
@@ -3157,10 +3157,10 @@ markdown-it@^14.1.1:
31573157
punycode.js "^2.3.1"
31583158
uc.micro "^2.1.0"
31593159

3160-
marked@^17.0.6:
3161-
version "17.0.6"
3162-
resolved "https://registry.yarnpkg.com/marked/-/marked-17.0.6.tgz#2a97586a272d3be5880f198e020b74ad27cf86ba"
3163-
integrity sha512-gB0gkNafnonOw0obSTEGZTT86IuhILt2Wfx0mWH/1Au83kybTayroZ/V6nS25mN7u8ASy+5fMhgB3XPNrOZdmA==
3160+
marked@^18.0.0:
3161+
version "18.0.0"
3162+
resolved "https://registry.yarnpkg.com/marked/-/marked-18.0.0.tgz#30c5b7629eb2253b8f6d83d94b376e63479076cc"
3163+
integrity sha512-2e7Qiv/HJSXj8rDEpgTvGKsP8yYtI9xXHKDnrftrmnrJPaFNM7VRb2YCzWaX4BP1iCJ/XPduzDJZMFoqTCcIMA==
31643164

31653165
math-intrinsics@^1.1.0:
31663166
version "1.1.0"
@@ -4013,10 +4013,10 @@ typed-array-length@^1.0.7:
40134013
possible-typed-array-names "^1.0.0"
40144014
reflect.getprototypeof "^1.0.6"
40154015

4016-
typescript@^5.9.3:
4017-
version "5.9.3"
4018-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.9.3.tgz#5b4f59e15310ab17a216f5d6cf53ee476ede670f"
4019-
integrity sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==
4016+
typescript@^6.0.2:
4017+
version "6.0.2"
4018+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-6.0.2.tgz#0b1bfb15f68c64b97032f3d78abbf98bdbba501f"
4019+
integrity sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==
40204020

40214021
uc.micro@^2.0.0, uc.micro@^2.1.0:
40224022
version "2.1.0"

0 commit comments

Comments
 (0)