1
0

Version bump

This commit is contained in:
Zef Hemel 2022-07-01 15:40:01 +02:00
parent 9c2fde7d48
commit 429b896785
9 changed files with 27 additions and 26 deletions

30
package-lock.json generated
View File

@ -16582,7 +16582,7 @@
}, },
"packages/common": { "packages/common": {
"name": "@silverbulletmd/common", "name": "@silverbulletmd/common",
"version": "0.0.18", "version": "0.0.19",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@codemirror/autocomplete": "6.0.1", "@codemirror/autocomplete": "6.0.1",
@ -16606,7 +16606,7 @@
}, },
"packages/plugos": { "packages/plugos": {
"name": "@plugos/plugos", "name": "@plugos/plugos",
"version": "0.0.18", "version": "0.0.19",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@jest/globals": "^27.5.1", "@jest/globals": "^27.5.1",
@ -16662,12 +16662,12 @@
}, },
"packages/plugos-silverbullet-syscall": { "packages/plugos-silverbullet-syscall": {
"name": "@silverbulletmd/plugos-silverbullet-syscall", "name": "@silverbulletmd/plugos-silverbullet-syscall",
"version": "0.0.18", "version": "0.0.19",
"license": "MIT" "license": "MIT"
}, },
"packages/plugos-syscall": { "packages/plugos-syscall": {
"name": "@plugos/plugos-syscall", "name": "@plugos/plugos-syscall",
"version": "0.0.18", "version": "0.0.19",
"license": "MIT" "license": "MIT"
}, },
"packages/plugos/node_modules/@lezer/common": { "packages/plugos/node_modules/@lezer/common": {
@ -18030,13 +18030,13 @@
}, },
"packages/plugs": { "packages/plugs": {
"name": "@silverbulletmd/plugs", "name": "@silverbulletmd/plugs",
"version": "0.0.18", "version": "0.0.19",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@jest/globals": "^27.5.1", "@jest/globals": "^27.5.1",
"@lezer/generator": "1.0.0", "@lezer/generator": "1.0.0",
"@lezer/lr": "1.0.0", "@lezer/lr": "1.0.0",
"@silverbulletmd/common": "^0.0.18", "@silverbulletmd/common": "^0.0.19",
"@types/yaml": "^1.9.7", "@types/yaml": "^1.9.7",
"handlebars": "^4.7.7", "handlebars": "^4.7.7",
"markdown-it": "^12.3.2", "markdown-it": "^12.3.2",
@ -18069,7 +18069,7 @@
}, },
"packages/server": { "packages/server": {
"name": "@silverbulletmd/server", "name": "@silverbulletmd/server",
"version": "0.0.18", "version": "0.0.19",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@codemirror/lang-javascript": "6.0.0", "@codemirror/lang-javascript": "6.0.0",
@ -18077,9 +18077,9 @@
"@codemirror/legacy-modes": "6.0.0", "@codemirror/legacy-modes": "6.0.0",
"@jest/globals": "^27.5.1", "@jest/globals": "^27.5.1",
"@lezer/markdown": "1.0.0", "@lezer/markdown": "1.0.0",
"@silverbulletmd/common": "^0.0.18", "@silverbulletmd/common": "^0.0.19",
"@silverbulletmd/plugs": "^0.0.18", "@silverbulletmd/plugs": "^0.0.19",
"@silverbulletmd/web": "^0.0.18", "@silverbulletmd/web": "^0.0.19",
"better-sqlite3": "^7.5.0", "better-sqlite3": "^7.5.0",
"body-parser": "^1.19.2", "body-parser": "^1.19.2",
"buffer": "^6.0.3", "buffer": "^6.0.3",
@ -19175,7 +19175,7 @@
}, },
"packages/web": { "packages/web": {
"name": "@silverbulletmd/web", "name": "@silverbulletmd/web",
"version": "0.0.18", "version": "0.0.19",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@codemirror/autocomplete": "6.0.1", "@codemirror/autocomplete": "6.0.1",
@ -26563,7 +26563,7 @@
"@jest/globals": "^27.5.1", "@jest/globals": "^27.5.1",
"@lezer/generator": "1.0.0", "@lezer/generator": "1.0.0",
"@lezer/lr": "1.0.0", "@lezer/lr": "1.0.0",
"@silverbulletmd/common": "^0.0.18", "@silverbulletmd/common": "^0.0.19",
"@types/markdown-it": "^12.2.3", "@types/markdown-it": "^12.2.3",
"@types/yaml": "^1.9.7", "@types/yaml": "^1.9.7",
"handlebars": "^4.7.7", "handlebars": "^4.7.7",
@ -26604,9 +26604,9 @@
"@parcel/transformer-sass": "2.5.0", "@parcel/transformer-sass": "2.5.0",
"@parcel/transformer-webmanifest": "2.5.0", "@parcel/transformer-webmanifest": "2.5.0",
"@parcel/validator-typescript": "2.5.0", "@parcel/validator-typescript": "2.5.0",
"@silverbulletmd/common": "^0.0.18", "@silverbulletmd/common": "^0.0.19",
"@silverbulletmd/plugs": "^0.0.18", "@silverbulletmd/plugs": "^0.0.19",
"@silverbulletmd/web": "^0.0.18", "@silverbulletmd/web": "^0.0.19",
"@types/cors": "^2.8.12", "@types/cors": "^2.8.12",
"@types/events": "^3.0.0", "@types/events": "^3.0.0",
"@types/express": "^4.17.13", "@types/express": "^4.17.13",

View File

@ -4,7 +4,7 @@
"name": "Zef Hemel", "name": "Zef Hemel",
"email": "zef@zef.me" "email": "zef@zef.me"
}, },
"version": "0.0.18", "version": "0.0.19",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@codemirror/autocomplete": "6.0.1", "@codemirror/autocomplete": "6.0.1",

View File

@ -4,6 +4,6 @@
"name": "Zef Hemel", "name": "Zef Hemel",
"email": "zef@zef.me" "email": "zef@zef.me"
}, },
"version": "0.0.18", "version": "0.0.19",
"license": "MIT" "license": "MIT"
} }

View File

@ -4,6 +4,6 @@
"name": "Zef Hemel", "name": "Zef Hemel",
"email": "zef@zef.me" "email": "zef@zef.me"
}, },
"version": "0.0.18", "version": "0.0.19",
"license": "MIT" "license": "MIT"
} }

View File

@ -4,7 +4,7 @@
"name": "Zef Hemel", "name": "Zef Hemel",
"email": "zef@zef.me" "email": "zef@zef.me"
}, },
"version": "0.0.18", "version": "0.0.19",
"license": "MIT", "license": "MIT",
"bin": { "bin": {
"plugos-bundle": "./dist/plugos/plugos-bundle.js", "plugos-bundle": "./dist/plugos/plugos-bundle.js",

View File

@ -4,7 +4,7 @@
"name": "Zef Hemel", "name": "Zef Hemel",
"email": "zef@zef.me" "email": "zef@zef.me"
}, },
"version": "0.0.18", "version": "0.0.19",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"generate": "lezer-generator query/query.grammar -o query/parse-query.js", "generate": "lezer-generator query/query.grammar -o query/parse-query.js",
@ -34,7 +34,7 @@
"@jest/globals": "^27.5.1", "@jest/globals": "^27.5.1",
"@lezer/generator": "1.0.0", "@lezer/generator": "1.0.0",
"@lezer/lr": "1.0.0", "@lezer/lr": "1.0.0",
"@silverbulletmd/common": "^0.0.18", "@silverbulletmd/common": "^0.0.19",
"@types/yaml": "^1.9.7", "@types/yaml": "^1.9.7",
"handlebars": "^4.7.7", "handlebars": "^4.7.7",
"markdown-it": "^12.3.2", "markdown-it": "^12.3.2",

View File

@ -239,6 +239,7 @@ export async function renderQuery(
} }
}); });
let { text: templateText } = await readPage(parsedQuery.render); let { text: templateText } = await readPage(parsedQuery.render);
templateText = `{{#each .}}\n${templateText}\n{{/each}}`;
let template = Handlebars.compile(templateText, { noEscape: true }); let template = Handlebars.compile(templateText, { noEscape: true });
return template(data); return template(data);
} }

View File

@ -4,7 +4,7 @@
"name": "Zef Hemel", "name": "Zef Hemel",
"email": "zef@zef.me" "email": "zef@zef.me"
}, },
"version": "0.0.18", "version": "0.0.19",
"license": "MIT", "license": "MIT",
"bin": { "bin": {
"silverbullet": "./dist/server/server.js" "silverbullet": "./dist/server/server.js"
@ -41,9 +41,9 @@
"@codemirror/legacy-modes": "6.0.0", "@codemirror/legacy-modes": "6.0.0",
"@jest/globals": "^27.5.1", "@jest/globals": "^27.5.1",
"@lezer/markdown": "1.0.0", "@lezer/markdown": "1.0.0",
"@silverbulletmd/common": "^0.0.18", "@silverbulletmd/common": "^0.0.19",
"@silverbulletmd/plugs": "^0.0.18", "@silverbulletmd/plugs": "^0.0.19",
"@silverbulletmd/web": "^0.0.18", "@silverbulletmd/web": "^0.0.19",
"better-sqlite3": "^7.5.0", "better-sqlite3": "^7.5.0",
"body-parser": "^1.19.2", "body-parser": "^1.19.2",
"buffer": "^6.0.3", "buffer": "^6.0.3",

View File

@ -4,7 +4,7 @@
"name": "Zef Hemel", "name": "Zef Hemel",
"email": "zef@zef.me" "email": "zef@zef.me"
}, },
"version": "0.0.18", "version": "0.0.19",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"watch": "rm -rf .parcel-cache && parcel watch", "watch": "rm -rf .parcel-cache && parcel watch",