Skip to content

Commit df6e7ef

Browse files
authored
docs: update dependencies (#1803)
1 parent 0aebb19 commit df6e7ef

File tree

11 files changed

+9419
-12081
lines changed

11 files changed

+9419
-12081
lines changed

docs/app/devbox.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"packages": {
3-
"yarn": "latest",
4-
"nodejs": "latest"
5-
},
6-
"shell": {},
3+
"nodejs": "latest",
4+
"yarn": "latest"
5+
}
76
}

docs/app/devbox.lock

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,44 @@
22
"lockfile_version": "1",
33
"packages": {
44
"nodejs@latest": {
5-
"last_modified": "2023-08-30T00:25:28Z",
6-
"resolved": "github:NixOS/nixpkgs/a63a64b593dcf2fe05f7c5d666eb395950f36bc9#nodejs_20",
5+
"last_modified": "2024-01-27T14:55:31Z",
6+
"resolved": "github:NixOS/nixpkgs/160b762eda6d139ac10ae081f8f78d640dd523eb#nodejs_21",
77
"source": "devbox-search",
8-
"version": "20.5.1"
8+
"version": "21.6.1",
9+
"systems": {
10+
"aarch64-darwin": {
11+
"store_path": "/nix/store/vj049qiv5cxhl4xp6vn09wd5jjg4z0cy-nodejs-21.6.1"
12+
},
13+
"aarch64-linux": {
14+
"store_path": "/nix/store/nyxyfn7nn685xgssfgdmg089hg1xg6ag-nodejs-21.6.1"
15+
},
16+
"x86_64-darwin": {
17+
"store_path": "/nix/store/nz7adglsj80d1j6b3v1g91fqj07ja7q0-nodejs-21.6.1"
18+
},
19+
"x86_64-linux": {
20+
"store_path": "/nix/store/nmfhr4pxgizjwdp6jnqa3l7f2bqplni3-nodejs-21.6.1"
21+
}
22+
}
923
},
1024
"yarn@latest": {
11-
"last_modified": "2023-08-30T00:25:28Z",
12-
"resolved": "github:NixOS/nixpkgs/a63a64b593dcf2fe05f7c5d666eb395950f36bc9#yarn",
25+
"last_modified": "2024-01-27T14:55:31Z",
26+
"resolved": "github:NixOS/nixpkgs/160b762eda6d139ac10ae081f8f78d640dd523eb#yarn",
1327
"source": "devbox-search",
14-
"version": "1.22.19"
28+
"version": "1.22.19",
29+
"systems": {
30+
"aarch64-darwin": {
31+
"store_path": "/nix/store/iziyl1h8zmhlgpk2gj72v0yl2ywix86g-yarn-1.22.19"
32+
},
33+
"aarch64-linux": {
34+
"store_path": "/nix/store/3x19j9fym9nq55smx9bka4lp781zalxi-yarn-1.22.19"
35+
},
36+
"x86_64-darwin": {
37+
"store_path": "/nix/store/5pyd85i7iwdpsra4c6hqn9qza9sbpnj2-yarn-1.22.19"
38+
},
39+
"x86_64-linux": {
40+
"store_path": "/nix/store/l9qbkva7zmqs4gabzwq3b0r3s532p8wa-yarn-1.22.19"
41+
}
42+
}
1543
}
1644
}
1745
}

docs/app/docs/devbox_examples/databases/redis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Use `devbox services start|stop [service]` to interact with services
3434

3535
The following helper files will be created in your project directory:
3636

37-
* {PROJECT_DIR}/devbox.d/redis/redis.conf
37+
* \{PROJECT_DIR\}/devbox.d/redis/redis.conf
3838

3939

4040
### Environment Variables

docs/app/docs/devbox_examples/languages/java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ Gradle is a popular, multi-language build tool that is commonly used with JVM pr
5353
}
5454
```
5555
- While in devbox shell, run `echo $JAVA_HOME` and take note of its value.
56-
- Create a `gradle.properties` file like below and put value of `$JAVA_HOME` instead of <JAVA_HOME_VALUE> in the file.
56+
- Create a `gradle.properties` file like below and put value of `$JAVA_HOME` instead of \<JAVA_HOME_VALUE\> in the file.
5757
```gradle
5858
/* gradle.properties */
59-
org.gradle.java.home=<JAVA_HOME_VALUE>
59+
org.gradle.java.home=\<JAVA_HOME_VALUE\>
6060
```
6161
4. `gradle build` should compile the package and create a `build/` directory that contains an executable jar file.
6262
5. `gradle run` should print "Hello World!".

docs/app/docs/devbox_examples/languages/php.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ PHPRC={PROJECT_DIR}/devbox.d/php/php.ini
6161

6262
### Helper Files
6363

64-
* {PROJECT_DIR}/devbox.d/php81/php-fpm.conf
65-
* {PROJECT_DIR}/devbox.d/php81/php.ini
64+
* \{PROJECT_DIR\}/devbox.d/php81/php-fpm.conf
65+
* \{PROJECT_DIR\}/devbox.d/php81/php.ini
6666

6767
You can modify these files to configure PHP or your PHP-FPM server

docs/app/docs/devbox_examples/servers/apache.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Use `devbox services start|stop apache` to start and stop httpd in the backgroun
3232
### Helper Files
3333
The following helper files will be created in your project directory:
3434

35-
* {PROJECT_DIR}/devbox.d/apache/httpd.conf
36-
* {PROJECT_DIR}/devbox.d/web/index.html
35+
* \{PROJECT_DIR\}/devbox.d/apache/httpd.conf
36+
* \{PROJECT_DIR\}/devbox.d/web/index.html
3737

3838
Note that by default, Apache is configured with `./devbox.d/web` as the DocumentRoot. To change this, you should copy and modify the default `./devbox.d/apache/httpd.conf`.
3939

docs/app/docs/devbox_examples/servers/caddy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Use `devbox services start|stop caddy` to start and stop httpd in the background
3232
### Helper Files
3333
The following helper files will be created in your project directory:
3434

35-
* {PROJECT_DIR}/devbox.d/caddy/Caddyfile
36-
* {PROJECT_DIR}/devbox.d/web/index.html
35+
* \{PROJECT_DIR\}/devbox.d/caddy/Caddyfile
36+
* \{PROJECT_DIR\}/devbox.d/web/index.html
3737

3838
Note that by default, Caddy is configured with `./devbox.d/web` as the root. To change this, you should modify the default `./devbox.d/caddy/Caddyfile` or change the `CADDY_ROOT_DIR` environment variable
3939

docs/app/docusaurus.config.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// @ts-check
22
// Note: type annotations allow type checking and IDEs autocompletion
33

4-
const lightCodeTheme = require('prism-react-renderer/themes/github');
5-
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
4+
import { themes } from 'prism-react-renderer';
5+
6+
const codeTheme = { light: themes.github, dark: themes.dracula };
67

78
/** @type {import('@docusaurus/types').Config} */
89
const config = {
@@ -151,10 +152,11 @@ const config = {
151152

152153
},
153154
prism: {
154-
theme: lightCodeTheme,
155-
darkTheme: darkCodeTheme,
155+
theme: codeTheme.light,
156+
darkTheme: codeTheme.dark,
157+
additionalLanguages: ['bash', 'json'],
156158
},
157159
}),
158160
};
159161

160-
module.exports = config;
162+
export default config;

docs/app/package.json

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,20 @@
1616
"typecheck": "tsc"
1717
},
1818
"dependencies": {
19-
"@docusaurus/core": "^2.4.3",
20-
"@docusaurus/preset-classic": "^2.4.3",
21-
"@docusaurus/theme-mermaid": "^2.4.3",
22-
"@mdx-js/react": "^1.6.22",
23-
"clsx": "^1.2.1",
24-
"prism-react-renderer": "^1.3.5",
25-
"react": "^17.0.2",
26-
"react-dom": "^17.0.2",
27-
"react-flow-renderer": "^10.3.16"
19+
"@docusaurus/core": "^3.1",
20+
"@docusaurus/preset-classic": "^3.1",
21+
"@docusaurus/theme-mermaid": "^3.1",
22+
"@mdx-js/react": "^3.0",
23+
"clsx": "^2.1",
24+
"prism-react-renderer": "^2.3",
25+
"react": "^18.2",
26+
"react-dom": "^18.2",
27+
"reactflow": "^11.10"
2828
},
2929
"devDependencies": {
30-
"@docusaurus/module-type-aliases": "^2.4.3",
31-
"@tsconfig/docusaurus": "^1.0.5",
32-
"typescript": "^4.7.4"
33-
},
34-
"resolutions": {
35-
"trim": "1.0.1",
36-
"got": "11.8.5"
30+
"@docusaurus/module-type-aliases": "^3.1",
31+
"@tsconfig/docusaurus": "^2.0",
32+
"typescript": "^5.3"
3733
},
3834
"browserslist": {
3935
"production": [

docs/app/sidebars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,4 @@ const sidebars = {
148148
}],
149149
};
150150

151-
module.exports = sidebars;
151+
export default sidebars;

0 commit comments

Comments
 (0)