Skip to content

Commit

Permalink
Runme v3 release prep (#1117)
Browse files Browse the repository at this point in the history
* Reshuffle annotation options

* SessionOutputs default on for v3

* v3 fmt markdowns

* Test against v3
  • Loading branch information
sourishkrout authored Feb 13, 2024
1 parent e288d7d commit 25da6f8
Show file tree
Hide file tree
Showing 24 changed files with 32 additions and 30 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
runme:
id: 01HF7B0KK9VT9C160A2WHEHERY
version: v2.2
version: v3
---

# Change Log
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
runme:
id: 01HF7VQMH8ESX1EFV4QCBTXB1Y
version: v2.2
version: v3
---

# Contributing to `vscode-runme`
Expand Down
2 changes: 1 addition & 1 deletion examples/CATEGORIES.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
runme:
id: 01HF7B0KK745EFJMMTRV4WKYVK
version: v2.2
version: v3
sidebar_position: 1
title: Examples
---
Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
runme:
id: 01HF7B0KK32HBQ9X4AC2GPMZG5
version: v2.2
version: v3
sidebar_position: 1
title: Examples
---
Expand Down
4 changes: 3 additions & 1 deletion examples/branchGPT.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
---
runme:
id: 01HF7B0KK19BHGNZ0X1W17ZEYB
version: v2.2
version: v3
---

# Enter BranchGPT

🛑 Please note that BranchGPT is deprecated and no longer available in the `runme` CLI.

[![](https://badgen.net/badge/Run%20this%20/Demo/5B3ADF?icon=https://runme.dev/runme_logo.svg)](https://runme.dev/api/runme?repository=https://github.com/stateful/vscode-runme.git&fileToOpen=examples/branchGPT.md)

A humerous attempt to use GPT3/3.5/4 and Git Merge Commit to suggest new branch names.
Expand Down
2 changes: 1 addition & 1 deletion examples/enhance/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
runme:
id: 01HF7B0KJZGJFJ7P0G9MAQCSM4
version: v2.2
version: v3
---

# Enhance
Expand Down
2 changes: 1 addition & 1 deletion examples/fresh/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
runme:
id: 01HF7B0KJX64XJR1HW3PDMFPZ0
version: v2.2
version: v3
---

# Fresh
Expand Down
2 changes: 1 addition & 1 deletion examples/frontmatter/skipPrompts/DISABLED.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
runme:
id: 01HF7B0KJWYTVQEAZ3GD0P4E91
version: v2.2
version: v3
skipPrompts: false
---

Expand Down
2 changes: 1 addition & 1 deletion examples/frontmatter/skipPrompts/ENABLED.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
runme:
id: 01HF7B0KJWYTVQEAZ3GA7C3H8H
version: v2.2
version: v3
skipPrompts: true
---

Expand Down
2 changes: 1 addition & 1 deletion examples/hardening/server.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
runme:
id: 01HF7B0KJV2FA10WJP6RHKEJTE
version: v2.2
version: v3
---

[![](https://badgen.net/badge/Open%20with/Runme/5B3ADF?icon=https://runme.dev/img/logo.svg)](https%3A%2F%2Fgithub.com%2Fstateful%2Fhardening-ubuntu-server%2Fblob%2Fmain%2FREADME.md)
Expand Down
2 changes: 1 addition & 1 deletion examples/k8s/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
runme:
id: 01HF7B0KJS30GAG33WMDGDMN4Z
version: v2.2
version: v3
---

# Deploying a Dockerized React App to Kubernetes Cluster
Expand Down
2 changes: 1 addition & 1 deletion examples/redis/query.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
runme:
id: 01HFBZHZ5QQQXP99SE2TD4SC6G
version: v2.2
version: v3
---

# Redis Query Runbook for Runme Cloud
Expand Down
2 changes: 1 addition & 1 deletion examples/shebang.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
runme:
id: 01HF7B0KJQ8625WYMCRVJADMQF
version: v2.2
version: v3
---

# Runme Language Support
Expand Down
2 changes: 1 addition & 1 deletion examples/test.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
runme:
id: 01HF7B0KJM3HHFDVSXA6E12JM3
version: v2.2
version: v3
---

# Runme Examples
Expand Down
2 changes: 1 addition & 1 deletion examples/vercel/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
runme:
id: 01HF7B0KJKPC0FGMY181R7Q7GE
version: v2.2
version: v3
---

# Deploy Next.js with Runme
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@
"runme.app.sessionOutputs": {
"type": "boolean",
"scope": "window",
"default": false,
"default": true,
"markdownDescription": "If set to `true`, the notebook's outputs are stored inside a full copy of the original file per session."
},
"runme.app.loginPrompt": {
Expand Down
12 changes: 6 additions & 6 deletions src/client/components/configuration/annotations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,19 +435,19 @@ export class Annotations extends LitElement {
<vscode-panel-view id="view-1">
<div class="grid">
<div class="box">${this.renderTextFieldTabEntry('name')}</div>
<div class="box">${this.renderCheckboxTabEntry('background')}</div>
<div class="box">${this.renderCheckboxTabEntry('promptEnv')}</div>
<div class="box">${this.renderCheckboxTabEntry('interactive')}</div>
<div class="box">${this.renderCheckboxTabEntry('closeTerminalOnSuccess')}</div>
<div class="box">${this.renderCheckboxTabEntry('background')}</div>
</div>
</vscode-panel-view>
<vscode-panel-view id="view-2">
<div class="grid">
<div class="box">${this.renderCheckboxTabEntry('excludeFromRunAll')}</div>
<div class="box">${this.renderCheckboxTabEntry('promptEnv')}</div>
<div class="box">${this.renderTextFieldTabEntry('mimeType')}</div>
<div class="box">${this.renderCategoryTabEntry('category')}</div>
<div class="box">${this.renderTextFieldTabEntry('terminalRows')}</div>
<div class="box">${this.renderTextFieldTabEntry('interpreter')}</div>
<div class="box">${this.renderTextFieldTabEntry('terminalRows')}</div>
<div class="box">${this.renderCategoryTabEntry('category')}</div>
<div class="box">${this.renderCheckboxTabEntry('closeTerminalOnSuccess')}</div>
<div class="box">${this.renderCheckboxTabEntry('excludeFromRunAll')}</div>
</div>
</vscode-panel-view>
</vscode-panels>
Expand Down
4 changes: 2 additions & 2 deletions src/utils/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const configurationSchema = {
notebookAutoSave: z
.enum([NotebookAutoSaveSetting.Yes, NotebookAutoSaveSetting.No])
.default(NotebookAutoSaveSetting.No),
sessionOutputs: z.boolean().default(false),
sessionOutputs: z.boolean().default(true),
loginPrompt: z.boolean().default(true),
platformAuth: z.boolean().default(false),
idpClientId: z.string().default(''),
Expand Down Expand Up @@ -388,7 +388,7 @@ const getNotebookAutoSave = (): NotebookAutoSaveSetting => {
}

const getSessionOutputs = (): boolean => {
return getCloudConfigurationValue('sessionOutputs', false)
return getCloudConfigurationValue('sessionOutputs', true)
}

const getLoginPrompt = (): boolean => {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/specs/identity/identity.existent-cell.all.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe('Test suite: Cell with existent identity and setting All (1)', async ()
---
runme:
id: 01HEXJ9KWG7BYSFYCNKSRE4JZR
version: v2.2
version: v3
---
## Existent ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe('Test suite: Cell with existent identity and setting document only (2)'
---
runme:
id: 01HEXJ9KWG7BYSFYCNKSRE4JZR
version: v2.2
version: v3
---
## Existent ID
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/specs/identity/identity.existent-doc.all.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe('Test suite: Document with existent identity and setting All (1)', asyn
bar: baz
runme:
id: 01HEJKW175Z0SYY4SJCA86J0TF
version: v2.2
version: v3
---
## Document with id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('Test suite: Document with existent identity and setting Document only
bar: baz
runme:
id: 01HEJKW175Z0SYY4SJCA86J0TF
version: v2.2
version: v3
---
## Document with id
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/specs/identity/identity.shebang.all.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('Test suite: Shebang with setting All (1)', async () => {
`---
runme:
id: 01HEXJ9KWG7BYSFYCNKSRE4JZR
version: v2.2
version: v3
---
## Shebang
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/specs/identity/identity.shebang.document.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('Test suite: Shebang with setting Document only (2)', async () => {
`---
runme:
id: 01HEXJ9KWG7BYSFYCNKSRE4JZR
version: v2.2
version: v3
---
## Shebang
Expand Down

0 comments on commit 25da6f8

Please sign in to comment.