@platformatic/scalar-theme 3.4.1 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +10 -2
- package/theme.js +2 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @platformatic/scalar-theme
|
|
2
2
|
|
|
3
|
-
Check out the full documentation on [our website](https://docs.platformatic.dev/docs/
|
|
3
|
+
Check out the full documentation on [our website](https://docs.platformatic.dev/docs/reference/sql-openapi/overview).
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/scalar-theme",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"description": "Platformatic's Scalar theme for @scalar/fastify-api-reference",
|
|
5
5
|
"main": "theme.js",
|
|
6
6
|
"type": "module",
|
|
@@ -22,5 +22,13 @@
|
|
|
22
22
|
"fastify",
|
|
23
23
|
"mercurius"
|
|
24
24
|
],
|
|
25
|
-
"
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=22.19.0"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"cleaner-spec-reporter": "^0.5.0"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"test": "exit 0"
|
|
33
|
+
}
|
|
26
34
|
}
|
package/theme.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { readFile } from 'node:fs/promises'
|
|
2
|
-
import { join
|
|
3
|
-
import { fileURLToPath } from 'node:url'
|
|
4
|
-
|
|
5
|
-
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
2
|
+
import { join } from 'node:path'
|
|
6
3
|
|
|
7
4
|
export default {
|
|
8
|
-
theme: await readFile(join(
|
|
5
|
+
theme: await readFile(join(import.meta.dirname, 'static', 'theme.css'), 'utf8')
|
|
9
6
|
}
|