Skip to content

docs: update dependencies #1803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions docs/app/devbox.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"packages": {
"yarn": "latest",
"nodejs": "latest"
},
"shell": {},
"nodejs": "latest",
"yarn": "latest"
}
}
40 changes: 34 additions & 6 deletions docs/app/devbox.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,44 @@
"lockfile_version": "1",
"packages": {
"nodejs@latest": {
"last_modified": "2023-08-30T00:25:28Z",
"resolved": "github:NixOS/nixpkgs/a63a64b593dcf2fe05f7c5d666eb395950f36bc9#nodejs_20",
"last_modified": "2024-01-27T14:55:31Z",
"resolved": "github:NixOS/nixpkgs/160b762eda6d139ac10ae081f8f78d640dd523eb#nodejs_21",
"source": "devbox-search",
"version": "20.5.1"
"version": "21.6.1",
"systems": {
"aarch64-darwin": {
"store_path": "/nix/store/vj049qiv5cxhl4xp6vn09wd5jjg4z0cy-nodejs-21.6.1"
},
"aarch64-linux": {
"store_path": "/nix/store/nyxyfn7nn685xgssfgdmg089hg1xg6ag-nodejs-21.6.1"
},
"x86_64-darwin": {
"store_path": "/nix/store/nz7adglsj80d1j6b3v1g91fqj07ja7q0-nodejs-21.6.1"
},
"x86_64-linux": {
"store_path": "/nix/store/nmfhr4pxgizjwdp6jnqa3l7f2bqplni3-nodejs-21.6.1"
}
}
},
"yarn@latest": {
"last_modified": "2023-08-30T00:25:28Z",
"resolved": "github:NixOS/nixpkgs/a63a64b593dcf2fe05f7c5d666eb395950f36bc9#yarn",
"last_modified": "2024-01-27T14:55:31Z",
"resolved": "github:NixOS/nixpkgs/160b762eda6d139ac10ae081f8f78d640dd523eb#yarn",
"source": "devbox-search",
"version": "1.22.19"
"version": "1.22.19",
"systems": {
"aarch64-darwin": {
"store_path": "/nix/store/iziyl1h8zmhlgpk2gj72v0yl2ywix86g-yarn-1.22.19"
},
"aarch64-linux": {
"store_path": "/nix/store/3x19j9fym9nq55smx9bka4lp781zalxi-yarn-1.22.19"
},
"x86_64-darwin": {
"store_path": "/nix/store/5pyd85i7iwdpsra4c6hqn9qza9sbpnj2-yarn-1.22.19"
},
"x86_64-linux": {
"store_path": "/nix/store/l9qbkva7zmqs4gabzwq3b0r3s532p8wa-yarn-1.22.19"
}
}
}
}
}
2 changes: 1 addition & 1 deletion docs/app/docs/devbox_examples/databases/redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Use `devbox services start|stop [service]` to interact with services

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

* {PROJECT_DIR}/devbox.d/redis/redis.conf
* \{PROJECT_DIR\}/devbox.d/redis/redis.conf


### Environment Variables
Expand Down
4 changes: 2 additions & 2 deletions docs/app/docs/devbox_examples/languages/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ Gradle is a popular, multi-language build tool that is commonly used with JVM pr
}
```
- While in devbox shell, run `echo $JAVA_HOME` and take note of its value.
- Create a `gradle.properties` file like below and put value of `$JAVA_HOME` instead of <JAVA_HOME_VALUE> in the file.
- Create a `gradle.properties` file like below and put value of `$JAVA_HOME` instead of \<JAVA_HOME_VALUE\> in the file.
```gradle
/* gradle.properties */
org.gradle.java.home=<JAVA_HOME_VALUE>
org.gradle.java.home=\<JAVA_HOME_VALUE\>
```
4. `gradle build` should compile the package and create a `build/` directory that contains an executable jar file.
5. `gradle run` should print "Hello World!".
Expand Down
4 changes: 2 additions & 2 deletions docs/app/docs/devbox_examples/languages/php.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ PHPRC={PROJECT_DIR}/devbox.d/php/php.ini

### Helper Files

* {PROJECT_DIR}/devbox.d/php81/php-fpm.conf
* {PROJECT_DIR}/devbox.d/php81/php.ini
* \{PROJECT_DIR\}/devbox.d/php81/php-fpm.conf
* \{PROJECT_DIR\}/devbox.d/php81/php.ini

You can modify these files to configure PHP or your PHP-FPM server
4 changes: 2 additions & 2 deletions docs/app/docs/devbox_examples/servers/apache.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Use `devbox services start|stop apache` to start and stop httpd in the backgroun
### Helper Files
The following helper files will be created in your project directory:

* {PROJECT_DIR}/devbox.d/apache/httpd.conf
* {PROJECT_DIR}/devbox.d/web/index.html
* \{PROJECT_DIR\}/devbox.d/apache/httpd.conf
* \{PROJECT_DIR\}/devbox.d/web/index.html

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`.

Expand Down
4 changes: 2 additions & 2 deletions docs/app/docs/devbox_examples/servers/caddy.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Use `devbox services start|stop caddy` to start and stop httpd in the background
### Helper Files
The following helper files will be created in your project directory:

* {PROJECT_DIR}/devbox.d/caddy/Caddyfile
* {PROJECT_DIR}/devbox.d/web/index.html
* \{PROJECT_DIR\}/devbox.d/caddy/Caddyfile
* \{PROJECT_DIR\}/devbox.d/web/index.html

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

Expand Down
12 changes: 7 additions & 5 deletions docs/app/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
import { themes } from 'prism-react-renderer';

const codeTheme = { light: themes.github, dark: themes.dracula };

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

},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
theme: codeTheme.light,
darkTheme: codeTheme.dark,
additionalLanguages: ['bash', 'json'],
},
}),
};

module.exports = config;
export default config;
28 changes: 12 additions & 16 deletions docs/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,20 @@
"typecheck": "tsc"
},
"dependencies": {
"@docusaurus/core": "^2.4.3",
"@docusaurus/preset-classic": "^2.4.3",
"@docusaurus/theme-mermaid": "^2.4.3",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-flow-renderer": "^10.3.16"
"@docusaurus/core": "^3.1",
"@docusaurus/preset-classic": "^3.1",
"@docusaurus/theme-mermaid": "^3.1",
"@mdx-js/react": "^3.0",
"clsx": "^2.1",
"prism-react-renderer": "^2.3",
"react": "^18.2",
"react-dom": "^18.2",
"reactflow": "^11.10"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^2.4.3",
"@tsconfig/docusaurus": "^1.0.5",
"typescript": "^4.7.4"
},
"resolutions": {
"trim": "1.0.1",
"got": "11.8.5"
"@docusaurus/module-type-aliases": "^3.1",
"@tsconfig/docusaurus": "^2.0",
"typescript": "^5.3"
},
"browserslist": {
"production": [
Expand Down
2 changes: 1 addition & 1 deletion docs/app/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,4 @@ const sidebars = {
}],
};

module.exports = sidebars;
export default sidebars;
Loading