[go: nahoru, domu]

Skip to content
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

SDK V1 Beta #389

Draft
wants to merge 191 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
191 commits
Select commit Hold shift + click to select a range
002a288
[WIP] Generate python client
ValentaTomas Apr 30, 2024
f5764d1
Add testing python setup
ValentaTomas May 11, 2024
7192f20
Merge branch 'main' into grpc
ValentaTomas May 16, 2024
3b4c915
Generate clients
ValentaTomas May 17, 2024
068ff56
Regenerate APIs
ValentaTomas May 31, 2024
701b68f
[WIP] Draft JS SDK
ValentaTomas May 31, 2024
df8e0e2
[WIP] Add fs and process
ValentaTomas May 31, 2024
5bfcc9a
Imrpove connection config; [WIP] Rework Python SDK
ValentaTomas Jun 1, 2024
6974414
Export types in TS SDK; [WIP] Python SDK process handling
ValentaTomas Jun 1, 2024
c3f6167
Cleanup
ValentaTomas Jun 1, 2024
1a6d34e
Improve types
ValentaTomas Jun 2, 2024
2a0258f
Improve timeout handling
ValentaTomas Jun 2, 2024
9b83de3
Remove old deps; [WIP] JS SDK file handling
ValentaTomas Jun 2, 2024
e08895f
Separate sandbox static api as in Python
ValentaTomas Jun 2, 2024
b022dcf
[WIP] Upload and download handling
ValentaTomas Jun 2, 2024
ecf318a
Update spec and JS
ValentaTomas Jun 3, 2024
b04342c
Fix input stream; [WIP] Python SDK
ValentaTomas Jun 3, 2024
4e60676
Fix exists error handling and return type
ValentaTomas Jun 4, 2024
13fd421
Clarify process output, write and read
ValentaTomas Jun 4, 2024
b9a5231
Add missing user in python fs
ValentaTomas Jun 4, 2024
88c7d11
Use binary transport
ValentaTomas Jun 5, 2024
ef19d8f
Regenrate RPC; Fix namespacing
ValentaTomas Jun 7, 2024
0449f03
Remove example
ValentaTomas Jun 7, 2024
1f85dfb
Fix overload
ValentaTomas Jun 8, 2024
9bfb5f9
Cleanup upload url
ValentaTomas Jun 8, 2024
003a32e
JS file write
ValentaTomas Jun 8, 2024
31b3121
Fix null coalescing in js
ValentaTomas Jun 8, 2024
c18ada0
Python file handling
ValentaTomas Jun 8, 2024
3e0e04d
Add makedir to python
ValentaTomas Jun 8, 2024
76c29fa
Cleanup overload
ValentaTomas Jun 8, 2024
063f8cf
Fix exports
ValentaTomas Jun 8, 2024
6bc7d7c
Update generate script
ValentaTomas Jun 8, 2024
549368f
Dispose
ValentaTomas Jun 9, 2024
1de3384
Ensure url quote
ValentaTomas Jun 9, 2024
6ab30e0
JS timeout
ValentaTomas Jun 9, 2024
ee5dea9
Python connection and read timeout
ValentaTomas Jun 9, 2024
59a02e4
Remove unnecessary clear
ValentaTomas Jun 9, 2024
f34d0a4
Clear timeout only after start event
ValentaTomas Jun 9, 2024
742e8e9
Cleanup request timeouts
ValentaTomas Jun 9, 2024
b1c8070
Fix timeout default
ValentaTomas Jun 9, 2024
820f788
Fix js iterators; Finish process methods; Cleanup pty
ValentaTomas Jun 9, 2024
a916835
Fix process handle + check
ValentaTomas Jun 9, 2024
5e7b328
Remove leftout testing code
ValentaTomas Jun 9, 2024
42037bc
Cleanup signature
ValentaTomas Jun 10, 2024
e10c85d
Fix transport init
ValentaTomas Jun 10, 2024
5de9e65
Use iterables
ValentaTomas Jun 10, 2024
1418ea5
Cleanup examples
ValentaTomas Jun 10, 2024
7a11630
Rename spawn
ValentaTomas Jun 10, 2024
e008d9a
Make req timeout optional
ValentaTomas Jun 10, 2024
b3617d9
[WIP] Fix bug and add proper errors
ValentaTomas Jun 11, 2024
f3b5c4c
Remove public iteratable; Remove context manager
ValentaTomas Jun 11, 2024
229c135
Update scripts; Fix dir watch; Improve naming
ValentaTomas Jun 13, 2024
69ae8db
Use dispose/context manager
ValentaTomas Jun 13, 2024
af449d7
Fix watch init error
ValentaTomas Jun 13, 2024
ed9ae8b
Map types; Ensure compatibility
ValentaTomas Jun 13, 2024
c04a07b
Improve watcher; [WIP] Error handling
ValentaTomas Jun 13, 2024
ce08da3
[WIP] Update CLI; Fix pty; Change default timeouts
ValentaTomas Jun 14, 2024
8f1839c
Regenerate envd rpc clients
ValentaTomas Jun 16, 2024
3e9fc04
Join canceled and deadline exceeded errors; Add move operation
ValentaTomas Jun 16, 2024
335116c
Fix naming; Add rename to python
ValentaTomas Jun 17, 2024
d8251e7
Client keepalive
ValentaTomas Jun 17, 2024
6693fa2
Put back default timeout
ValentaTomas Jun 17, 2024
af32794
Add keepalive headers to python
ValentaTomas Jun 17, 2024
7c35715
Improve log handling
ValentaTomas Jun 18, 2024
b2439b4
Remove explicit keepalive interval header
ValentaTomas Jun 18, 2024
406beb9
Clarify errors
ValentaTomas Jun 18, 2024
35cffe9
Cleanup
ValentaTomas Jun 18, 2024
5bdb58e
Export proper type
ValentaTomas Jun 18, 2024
7313998
Fix pool and rpc compression
ValentaTomas Jun 19, 2024
a7f5a8c
Fix stream end decompress
ValentaTomas Jun 19, 2024
2834bfb
Don't decompress errors
ValentaTomas Jun 19, 2024
f28e71f
[WIP] Fix type exports; Fix files endpoint url; Remove unnecessary ch…
ValentaTomas Jun 21, 2024
9538c38
Fix python 3.8 compatibility
ValentaTomas Jun 21, 2024
3c0e73c
Improve exception handling
ValentaTomas Jun 21, 2024
ef1c104
Fix API exceptions handler
ValentaTomas Jun 22, 2024
0663859
Fix custom exported types from Python SDK
ValentaTomas Jun 22, 2024
5b693a2
Cleanup enums
ValentaTomas Jun 22, 2024
3e010c4
[WIP] Fix python timeout
ValentaTomas Jun 22, 2024
8c581e9
Fix optional deadline
ValentaTomas Jun 22, 2024
7c98d3b
[WIP] Update error comments; [WIP] Prepare tests
ValentaTomas Jun 22, 2024
aaf66ae
[WIP] Prepare tests
ValentaTomas Jun 24, 2024
29af728
Fix connection opts
ValentaTomas Jun 24, 2024
206d674
Fix testing config; [WIP] Add tests; Fix python debug opt; Fix enum m…
ValentaTomas Jun 25, 2024
cd4e059
Revert CLI changes
ValentaTomas Jun 25, 2024
955876e
Fix openapi specs
ValentaTomas Jun 25, 2024
e87b409
Fix static overload; [WIP] Tests
ValentaTomas Jun 25, 2024
089f04e
[WIP] Update tests
ValentaTomas Jun 26, 2024
59c864c
Fix process handle throw
ValentaTomas Jun 26, 2024
dd8960c
Add check if template has envd V2
jakubno Jun 26, 2024
0e7a3b2
Fix connect
jakubno Jun 26, 2024
1ae963f
Allow explicit path specification
ValentaTomas Jun 26, 2024
1b39ef0
Merge branch 'grpc' of https://github.com/e2b-dev/E2B into grpc
ValentaTomas Jun 26, 2024
7c88409
Remove unused examples; Change default envd port
ValentaTomas Jun 26, 2024
48ba466
Reformat
ValentaTomas Jun 26, 2024
c44f108
Serialize logged objects
ValentaTomas Jun 26, 2024
8caa765
Change process handle errors
ValentaTomas Jun 26, 2024
6aa869a
Remove logs in tests
ValentaTomas Jun 26, 2024
82c21ac
Cleanup
ValentaTomas Jun 26, 2024
a6b2131
Fix connect error check
ValentaTomas Jun 26, 2024
3153d32
Reoreder overloads
ValentaTomas Jun 26, 2024
7e1019c
Improve process rejection
ValentaTomas Jun 27, 2024
2a66ff6
Accept both short and long IDs
jakubno Jun 27, 2024
e4a29d5
Merge branch 'main'
jakubno Jun 27, 2024
9822d05
Fix release pipeline
jakubno Jun 27, 2024
720ab9b
Fix package json
jakubno Jun 27, 2024
f61262a
[skip ci] Release new versions
github-actions[bot] Jun 27, 2024
e1db119
Fix the same argument used multiple times
jakubno Jun 27, 2024
b74602b
Export sandbox opts
jakubno Jun 27, 2024
905b5f5
[skip ci] Release new versions
github-actions[bot] Jun 27, 2024
79ae42a
Remove access token from arguments
jakubno Jun 27, 2024
e44241f
[skip ci] Release new versions
github-actions[bot] Jun 27, 2024
439cd2c
Remove api url from arguments
jakubno Jun 27, 2024
1b4bc84
[skip ci] Release new versions
github-actions[bot] Jun 27, 2024
0286d61
Export sandbox opts type
ValentaTomas Jun 27, 2024
efc60d5
Merge branch 'grpc' of https://github.com/e2b-dev/E2B into grpc
ValentaTomas Jun 27, 2024
69acebf
Fix export
ValentaTomas Jun 27, 2024
ecb7ea8
[skip ci] Release new versions
github-actions[bot] Jun 27, 2024
d35de3a
Enable overriding default template
ValentaTomas Jun 27, 2024
b62fef0
Remove testing file
ValentaTomas Jun 27, 2024
5b77442
Merge branch 'grpc' of https://github.com/e2b-dev/E2B into grpc
ValentaTomas Jun 27, 2024
a29e3a2
[skip ci] Release new versions
github-actions[bot] Jun 27, 2024
f0cd6ea
Add onInit
ValentaTomas Jun 27, 2024
17d62ea
Merge branch 'grpc' of https://github.com/e2b-dev/E2B into grpc
ValentaTomas Jun 27, 2024
2adc094
[skip ci] Release new versions
github-actions[bot] Jun 27, 2024
087b7b4
Pass sandbox opts to init
ValentaTomas Jun 27, 2024
1398bc6
Merge branch 'grpc' of https://github.com/e2b-dev/E2B into grpc
ValentaTomas Jun 27, 2024
abc67c6
[skip ci] Release new versions
github-actions[bot] Jun 27, 2024
2c47f65
Supress error
ValentaTomas Jun 27, 2024
0c6e297
Merge branch 'grpc' of https://github.com/e2b-dev/E2B into grpc
ValentaTomas Jun 27, 2024
09f50db
[skip ci] Release new versions
github-actions[bot] Jun 27, 2024
56677f3
Expose connection config
ValentaTomas Jun 27, 2024
ecca03a
Merge branch 'beta' of https://github.com/e2b-dev/E2B into beta
ValentaTomas Jun 27, 2024
bfedc62
[skip ci] Release new versions
github-actions[bot] Jun 27, 2024
14ca90f
Fix default values in Python constructor
ValentaTomas Jun 27, 2024
2f0a442
Merge branch 'beta' of https://github.com/e2b-dev/E2B into beta
ValentaTomas Jun 27, 2024
4fb2ecb
[skip ci] Release new versions
github-actions[bot] Jun 27, 2024
1e47bc8
Fix test
ValentaTomas Jun 27, 2024
185a7e8
Merge branch 'beta' of https://github.com/e2b-dev/E2B into beta
ValentaTomas Jun 27, 2024
7230ea1
[skip ci] Release new versions
github-actions[bot] Jun 27, 2024
2fd353c
Ensure the same config is passed to onInit
ValentaTomas Jun 27, 2024
6d90288
Merge branch 'beta' of https://github.com/e2b-dev/E2B into beta
ValentaTomas Jun 27, 2024
72d9955
[skip ci] Release new versions
github-actions[bot] Jun 28, 2024
6e0285c
Always export array of length 3 from process iterator
ValentaTomas Jun 28, 2024
d87547a
Merge branch 'beta' of https://github.com/e2b-dev/E2B into beta
ValentaTomas Jun 28, 2024
45a35f9
[skip ci] Release new versions
github-actions[bot] Jun 28, 2024
4170337
Merge branch 'grpc' into beta
ValentaTomas Jun 28, 2024
50fbb9c
Report invalid event type
ValentaTomas Jun 28, 2024
6b32979
Fix python request timeout error; Change auth
ValentaTomas Jun 28, 2024
9cb30df
[skip ci] Release new versions
github-actions[bot] Jun 28, 2024
6291c13
Update generated clients; Ensure script cleanup
ValentaTomas Jun 28, 2024
3f41767
Merge branch 'beta' of https://github.com/e2b-dev/E2B into beta
ValentaTomas Jun 28, 2024
60172f9
[skip ci] Release new versions
github-actions[bot] Jun 28, 2024
74120ea
Map the 502 and 429 errors
ValentaTomas Jun 28, 2024
9acd410
Merge branch 'beta' of https://github.com/e2b-dev/E2B into beta
ValentaTomas Jun 28, 2024
63282e5
[skip ci] Release new versions
github-actions[bot] Jun 28, 2024
c33dc5a
[WIP] Fix tests
ValentaTomas Jun 29, 2024
3447192
Merge branch 'beta' of https://github.com/e2b-dev/E2B into beta
ValentaTomas Jun 29, 2024
d0e4d68
[skip ci] Release new versions
github-actions[bot] Jun 29, 2024
5a1aadb
Fix naming
ValentaTomas Jun 29, 2024
759f4f4
[skip ci] Release new versions
github-actions[bot] Jun 29, 2024
57de2bb
Remove log
ValentaTomas Jun 29, 2024
a32ed66
[skip ci] Release new versions
github-actions[bot] Jun 29, 2024
6ca54b3
Load env vars dynamically for dotenv compatibility
ValentaTomas Jun 29, 2024
84a6374
Merge branch 'beta' of https://github.com/e2b-dev/E2B into beta
ValentaTomas Jun 29, 2024
27894a4
[skip ci] Release new versions
github-actions[bot] Jun 29, 2024
2f21c73
Add python tests
jakubno Jul 1, 2024
aef1073
[skip ci] Release new versions
github-actions[bot] Jul 1, 2024
a389aff
Fix upload URL
jakubno Jul 2, 2024
97f535a
[skip ci] Release new versions
github-actions[bot] Jul 2, 2024
c1e1c1f
Fix tests; Improve error handling; Circumvent compression error
ValentaTomas Jul 3, 2024
3af5a41
Fix build error
ValentaTomas Jul 3, 2024
f1ab1f2
[skip ci] Release new versions
github-actions[bot] Jul 3, 2024
1664ecb
Add async rpc client
ValentaTomas Jul 6, 2024
96aeab2
[WIP] Switch API client to openapi-python-client for async support
ValentaTomas Jul 6, 2024
3d3b1a9
Extract shared sync and async shared types
ValentaTomas Jul 8, 2024
4944c3b
Add async python SDK; Reuse connections; [WIP] Add async tests
ValentaTomas Jul 9, 2024
c660ff4
Add async tests; Fix watch test; [WIP] Fix create task
ValentaTomas Jul 9, 2024
f530f76
Fix watch bug; [WIP] Timeout bug
ValentaTomas Jul 9, 2024
c4c888d
Fix timeouts in tests
ValentaTomas Jul 9, 2024
6b20a0c
Improve generators close handling
ValentaTomas Jul 9, 2024
e649900
Remove unnecessary disconnects
ValentaTomas Jul 9, 2024
e9d010e
Remove unused files
ValentaTomas Jul 9, 2024
1876b38
Update deps
ValentaTomas Jul 9, 2024
9512404
[skip ci] Release new versions
github-actions[bot] Jul 9, 2024
03a2e8c
Disable compression for now
ValentaTomas Jul 10, 2024
d63e8c9
Fix stream parsing bug
ValentaTomas Jul 10, 2024
69f4567
Remove redundant exception raising; Remove unnecessary disconnect
ValentaTomas Jul 10, 2024
67ac9fb
Merge branch 'beta' of https://github.com/e2b-dev/E2B into beta
ValentaTomas Jul 10, 2024
828d9db
Enable same name for python test files
ValentaTomas Jul 10, 2024
8f43a4e
Skip specific bug test
ValentaTomas Jul 10, 2024
c62387e
[skip ci] Release new versions
github-actions[bot] Jul 10, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/release_candidates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

- name: Release CLI Candidate
working-directory: packages/cli
if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') || contains( github.event.pull_request.labels.*.name, 'cli-rc') }}
if: ${{ contains( github.event.pull_request.labels.*.name, 'cli-rc') }}
run: |
npm version prerelease --preid=${{ github.head_ref }}
npm publish --tag rc
Expand Down
102 changes: 53 additions & 49 deletions apps/docs/src/app/cli/commands/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ If there is no `e2b.toml` config a new template will be created.
<Option type="--memory-mb" name="memory-mb">
Specify the amount of memory in megabytes that will be used to run the sandbox. Must be an even number. The default value is 512.
</Option>
<Option type="--build-arg" name="build-arg">
Specify a build argument for the Dockerfile. The format is `key=value`. You can use this option multiple times.
</Option>
</Options>

## `template delete`
Expand Down Expand Up @@ -175,6 +178,56 @@ List your spawned sandboxes that are running right now.
e2b sandbox list
```


## `sandbox logs`
Starts printing logs from the specified sandbox.
If the sandbox is running new logs will be streamed to the terminal.

The timestamps are in the UTC format.

This command is useful if you need to debug a running sandbox or check logs from a sandbox that was already closed.

```bash
e2b sandbox logs <sandboxID>
```

<Note>
You can use `e2b sandbox list` to get a list of running sandboxes and their IDs that can be used with `e2b sandbox logs <sandboxID>` command.
</Note>

#### **Arguments**

<Options>
<Option type="<sandboxID>">
Specify the ID of the sandbox you want to get logs from.
</Option>
</Options>

#### **Options**

<Options>
<Option name="level" type="--level">
Filter logs by level — allowed values are `DEBUG`, `INFO`, `WARN`, `ERROR`.
The logs with the higher levels will be also shown.

Default value is `DEBUG`.
</Option>
<Option type="-f, --follow">
Enable streaming logs until the sandbox is closed.
</Option>
<Option name="format" type="--format">
Specify format for printing logs — allowed values are `pretty`, `json`.

Default value is `pretty`.
</Option>
<Option name="loggers" type="--loggers">
Specify enabled loggers — allowed values are `process`, `filesystem`, `terminal`, `network` and `file`.
You can specify multiple loggers by separating them with a comma.

Default value is `process,filesystem`.
</Option>
</Options>

## `sandbox connect`

Connects your terminal to a running sandbox that you spawned via the E2B SDK.
Expand Down Expand Up @@ -240,52 +293,3 @@ Immediately kill a running sandbox.
```bash
e2b sandbox kill <sandboxID>
```

{/* ## `sandbox logs`
Starts printing logs from the specified sandbox.
If the sandbox is running new logs will be streamed to the terminal.

The timestamps are in the UTC format.

This command is useful if you need to debug a running sandbox or check logs from a sandbox that was already closed.

```bash
e2b sandbox logs <sandboxID>
```

<Note>
You can use `e2b sandbox list` to get a list of running sandboxes and their IDs that can be used with `e2b sandbox logs <sandboxID>` command.
</Note>

#### **Arguments**

<Options>
<Option type="<sandboxID>">
Specify the ID of the sandbox you want to get logs from.
</Option>
</Options>

#### **Options**

<Options>
<Option name="level" type="--level">
Filter logs by level — allowed values are `DEBUG`, `INFO`, `WARN`, `ERROR`.
The logs with the higher levels will be also shown.

Default value is `DEBUG`.
</Option>
<Option type="-f, --follow">
Enable streaming logs until the sandbox is closed.
</Option>
<Option name="format" type="--format">
Specify format for printing logs — allowed values are `pretty`, `json`.

Default value is `pretty`.
</Option>
<Option name="loggers" type="--loggers">
Specify enabled loggers — allowed values are `process`, `filesystem`, `terminal`, `network` and `file`.
You can specify multiple loggers by separating them with a comma.

Default value is `process,filesystem`.
</Option>
</Options> */}
2 changes: 1 addition & 1 deletion apps/docs/src/app/code-interpreter/execution/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const execution = await sandbox.notebook.execCell(code)
```

```python
import CodeInterpreter from e2b_code_interpreter
from e2b_code_interpreter import CodeInterpreter

code = "print('Hello, World!')"

Expand Down
3 changes: 1 addition & 2 deletions apps/docs/src/app/getting-started/api-key/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@ console.log(execution.text) // outputs 2
await sandbox.close()
```
```python {{ language: 'python' }}
import CodeInterpreter from e2b_code_interpreter
from e2b_code_interpreter import CodeInterpreter

with CodeInterpreter(api_key="YOUR_API_KEY") as code_interpreter:
sandbox.notebook.exec_cell("x = 1")
execution = sandbox.notebook.exec_cell("x+=1; x")
print(execution.text) # outputs 2
```
</CodeGroup>

6 changes: 5 additions & 1 deletion apps/docs/src/app/guide/custom-sandbox/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,13 @@ Run `e2b template init` to create `e2b.Dockerfile` in the current directory.

We want our custom sandbox to have the [ffmpeg](https://www.ffmpeg.org/) isntalled - ffmpeg is a tool for editing video and audio files.

<Note>
We support only Debian based images at the moment.
</Note>

<CodeGroup isFileName title="e2b.Dockerfile" isRunnable={false}>
```bash
# You can use most of the Debian-based base images
# You can use most of the Debian based images
FROM ubuntu:22.04

# Install the ffmpeg tool/
Expand Down
13 changes: 13 additions & 0 deletions apps/docs/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Script from 'next/script'
import { Metadata } from 'next'
import glob from 'fast-glob'
import { Analytics } from '@vercel/analytics/react'
Expand All @@ -10,6 +11,15 @@ import { PostHogAnalytics } from '@/utils/usePostHog'
import { Section } from '@/components/SectionProvider'
import Canonical from '@/components/Navigation/canonical'

declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace JSX {
interface IntrinsicElements {
'chatlio-widget': any;
}
}
}

export const metadata: Metadata = {
// TODO: Add metadataBase
// metadataBase: ''
Expand Down Expand Up @@ -57,6 +67,9 @@ export default async function RootLayout({ children }) {
</Layout>
</div>
</Providers>

<Script src="https://js.chatlio.com/widget.js" strategy="lazyOnload" />
<chatlio-widget widgetid={process.env.NEXT_PUBLIC_CHATLIO_WIDGET_ID} disable-favicon-badge></chatlio-widget>
</body>
</html>
)
Expand Down
2 changes: 0 additions & 2 deletions apps/docs/src/app/pricing/SwitchToProButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ function SwitchTierButton() {
<TierActiveTag />
)}



{user.pricingTier.id !== tiers.pro.id && (
<Button
>
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/app/sandbox/templates/template-file/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The Dockerfile must be Debian based (e.g. Ubuntu). Only the following [Dockerfil
- `COPY`
- `RUN`
- `WORKDIR`

- `ARG`

## Example

Expand Down
4 changes: 2 additions & 2 deletions apps/docs/src/app/usage/Credits.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function Credits() {
</div>

<div className="flex flex-col justify-start items-start gap-1">
{usage.map((u, index) => (
{usage.reverse().map((u, index) => (
<React.Fragment key={index}>
<h3 className="text-xl">
{new Date(u.year, u.month - 1).toLocaleDateString('en-US', { month: 'long', year: 'numeric' })}
Expand All @@ -73,4 +73,4 @@ function Credits() {
)
}

export default Credits
export default Credits
34 changes: 0 additions & 34 deletions apps/docs/src/components/Feedback/FeedbackButton.tsx

This file was deleted.

96 changes: 0 additions & 96 deletions apps/docs/src/components/Feedback/FeedbackModal.tsx

This file was deleted.

Loading
Loading