-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Linting, documentation, JSR, CI, etc. (#81)
- Loading branch information
1 parent
93fa14f
commit 99c6d09
Showing
9 changed files
with
103 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
id-token: write | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup latest deno version | ||
uses: denoland/setup-deno@v2 | ||
|
||
- name: Publish to JSR | ||
run: deno publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,6 +117,29 @@ the Python dynamic library, which is like `python310.dll` (Windows), | |
`libpython310.dylib` (macOS) and `libpython310.so` (Linux) depending on | ||
platform. | ||
|
||
## Usage with docker | ||
|
||
Usage with docker is easiest done using the | ||
[`denoland/deno:bin` image](https://github.com/denoland/deno_docker?tab=readme-ov-file#using-your-own-base-image) | ||
along with the [official `python` image](https://hub.docker.com/_/python/). | ||
|
||
```Dockerfile | ||
ARG DENO_VERSION=1.38.2 | ||
ARG PYTHON_VERSION=3.12 | ||
|
||
FROM denoland/deno:bin-$DENO_VERSION AS deno | ||
FROM python:$PYTHON_VERSION | ||
|
||
# Copy and configure deno | ||
COPY --from=deno /deno /usr/local/bin/deno | ||
ENTRYPOINT ["/usr/local/bin/deno"] | ||
|
||
# Copy your project source | ||
COPY . . | ||
|
||
RUN ["run", "-A", "--unstable", "https://deno.land/x/[email protected]/examples/hello_python.ts"] | ||
``` | ||
|
||
## Maintainers | ||
|
||
- DjDeveloper ([@DjDeveloperr](https://github.com/DjDeveloperr)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters