This repository has been archived by the owner on Sep 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into npm-registry
- Loading branch information
Showing
63 changed files
with
1,960 additions
and
422 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
# Check for updates to GitHub Actions every week | ||
interval: "weekly" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.DS_Store | ||
.env | ||
.vscode |
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 |
---|---|---|
@@ -1,29 +1,8 @@ | ||
# Deno Manual | ||
# (DEPRECATED) Deno Manual | ||
|
||
This repository is the official documentation for Deno, and it's available at: | ||
https://deno.land/manual | ||
This repository was formerly the home of the Deno manual, running at | ||
deno.land/manual. The instructions below describe how to run the doc site and | ||
preview changes. | ||
|
||
## Contributing | ||
|
||
1. Clone this project and `dotland` in the same parent folder: | ||
|
||
``` | ||
git clone https://github.com/denoland/manual.git | ||
git clone https://github.com/denoland/dotland.git | ||
``` | ||
|
||
2. Move into the `dotland` folder, and run the following command to start the | ||
local `deno.land` website with the local manual contents: | ||
|
||
``` | ||
cd dotland | ||
MANUAL_PATH=../manual deno task start | ||
``` | ||
|
||
When opening a PR, make sure the code is formatted correctly. To format the | ||
code: | ||
|
||
1. Install Deno (https://deno.land/#installation) | ||
2. Run `deno fmt` at the root of this repository | ||
|
||
Before creating new pages, open an issue and discuss the proposed changes. | ||
**New contributions should be made to | ||
[docs.deno.com](https://github.com/denoland/deno-docs)** |
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 |
---|---|---|
|
@@ -27,7 +27,7 @@ Then we will stringify the modified CSS AST and output it to the console: | |
|
||
```ts, ignore | ||
import * as css from "https://esm.sh/[email protected]"; | ||
import { assert } from "https://deno.land/std@$STD_VERSION/testing/asserts.ts"; | ||
import { assert } from "https://deno.land/std@$STD_VERSION/assert/mod.ts"; | ||
declare global { | ||
interface AbortSignal { | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
# Private Modules and Repositories | ||
|
||
There maybe instances where you want to load a remote module that is located in | ||
There may be instances where you want to load a remote module that is located in | ||
a _private_ repository, like a private repository on GitHub. | ||
|
||
Deno supports sending bearer tokens when requesting a remote module. Bearer | ||
tokens are the predominant type of access token used with OAuth 2.0 and is | ||
broadly supported by hosting services (e.g. GitHub, Gitlab, BitBucket, | ||
tokens are the predominant type of access token used with OAuth 2.0, and are | ||
broadly supported by hosting services (e.g., GitHub, GitLab, Bitbucket, | ||
Cloudsmith, etc.). | ||
|
||
## DENO_AUTH_TOKENS | ||
|
||
The Deno CLI will look for an environment variable named `DENO_AUTH_TOKENS` to | ||
determine what authentication tokens it should consider using when requesting | ||
remote modules. The value of the environment variable is in the format of a _n_ | ||
number of tokens deliminated by a semi-colon (`;`) where each token is either: | ||
remote modules. The value of the environment variable is in the format of _n_ | ||
number of tokens delimited by a semi-colon (`;`) where each token is either: | ||
|
||
- a bearer token in the format of `{token}@{hostname[:port]}` | ||
- a bearer token in the format of `{token}@{hostname[:port]}` or | ||
|
||
- basic auth data in the format of `{username}:{password}@{hostname[:port]}` | ||
|
||
For example a single token for would look something like this: | ||
For example, a single token for `deno.land` would look something like this: | ||
|
||
```sh | ||
[email protected] | ||
``` | ||
|
||
or | ||
or: | ||
|
||
```sh | ||
DENO_AUTH_TOKENS=username:[email protected] | ||
|
@@ -46,9 +46,9 @@ modules on the server. | |
|
||
## GitHub | ||
|
||
To be able to access private repositories on GitHub, you would need to issue | ||
yourself a _personal access token_. You do this by logging into GitHub and going | ||
under _Settings -> Developer settings -> Personal access tokens_: | ||
To access private repositories on GitHub, you would need to issue yourself a | ||
_personal access token_. You do this by logging into GitHub and going under | ||
_Settings -> Developer settings -> Personal access tokens_: | ||
|
||
![Personal access tokens settings on GitHub](../../images/private-pat.png) | ||
|
||
|
Oops, something went wrong.