-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
43 additions
and
24 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,35 @@ | ||
import { generateChangeLog } from "https://raw.githubusercontent.com/dprint/automation/0.9.0/changelog.ts"; | ||
|
||
const version = Deno.args[0]; | ||
const changelog = await generateChangeLog({ | ||
versionTo: version, | ||
}); | ||
const text = `## Changes | ||
${changelog} | ||
## Install | ||
[Install](https://dprint.dev/install/) and [setup](https://dprint.dev/setup/) dprint. | ||
Then in your project's directory with a dprint.json file, run: | ||
\`\`\`shellsession | ||
dprint config add jupyter | ||
\`\`\` | ||
Then add some additional formatting plugins to format the code blocks with. For example: | ||
\`\`\`shellsession | ||
dprint config add typescript | ||
dprint config add markdown | ||
dprint config add ruff | ||
\`\`\` | ||
`; | ||
|
||
// ## JS Formatting API | ||
|
||
// * [JS Formatter](https://github.com/dprint/js-formatter) - Browser/Deno and Node | ||
// * [npm package](https://www.npmjs.com/package/@dprint/jupyter) | ||
|
||
console.log(text); |