Skip to content

Commit

Permalink
update deps; fix list spacing; fix #402
Browse files Browse the repository at this point in the history
  • Loading branch information
mProjectsCode committed Sep 10, 2024
1 parent 4b16a75 commit ce4c8db
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 24 deletions.
4 changes: 4 additions & 0 deletions automation/installScriptClean.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ async function installScriptClean() {
await $('rm "bun.lockb"', `packages/${nonCorePackage}`, Verboseness.VERBOSE);
await $('bun i', `packages/${nonCorePackage}`, Verboseness.NORMAL);
}

await $('rm -rf "node_modules"', '', Verboseness.VERBOSE);
await $('rm "bun.lockb"', '', Verboseness.VERBOSE);
await $('bun i', '', Verboseness.NORMAL);
}

await installScriptClean();
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion exampleVault/Input Fields/Date and Time.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
time: 13:05
date2: 2024-01-22T00:00:00+01:00
date2: 2024-09-29
date1: 2024-03-07
dateTime: 2024-03-13T15:07
---
Expand Down
6 changes: 3 additions & 3 deletions exampleVault/Input Fields/Slider.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
slider1: 51
slider2: 2
slider3: 233
slider1: 80
slider2: 14
slider3: 227
slider4: 0.1
---

Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,48 +29,48 @@
"author": "Moritz Jung",
"license": "GPL-3.0",
"devDependencies": {
"@elysiajs/cors": "^1.1.0",
"@elysiajs/cors": "^1.1.1",
"@happy-dom/global-registrator": "^14.12.3",
"@tsconfig/svelte": "^5.0.4",
"@types/bun": "^1.1.6",
"@types/bun": "^1.1.9",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"builtin-modules": "^4.0.0",
"elysia": "^1.1.5",
"esbuild": "^0.23.0",
"elysia": "^1.1.12",
"esbuild": "^0.23.1",
"esbuild-plugin-copy-watch": "^2.3.1",
"esbuild-svelte": "^0.8.1",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-isaacscript": "^3.12.2",
"eslint-plugin-no-relative-import-paths": "^1.5.5",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-svelte": "^2.43.0",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.6",
"string-argv": "^0.3.2",
"svelte-check": "^3.8.5",
"svelte-check": "^4.0.1",
"svelte-preprocess": "^6.0.2",
"tslib": "^2.6.3",
"typescript": "^5.5.4",
"yaml": "^2.5.0"
"tslib": "^2.7.0",
"typescript": "^5.6.2",
"yaml": "^2.5.1"
},
"dependencies": {
"@codemirror/legacy-modes": "^6.4.0",
"@codemirror/legacy-modes": "^6.4.1",
"@lemons_dev/parsinom": "^0.0.12",
"itertools-ts": "^1.27.1",
"mathjs": "^12.4.3",
"mathjs": "^13.1.1",
"moment": "^2.30.1",
"svelte": "5.0.0-next.208",
"svelte": "5.0.0-next.244",
"zod": "^3.23.8",
"zod-validation-error": "^2.1.0"
"zod-validation-error": "^3.3.1"
},
"private": true,
"trustedDependencies": [
"esbuild",
"svelte-preprocess"
],
"patchedDependencies": {
"[email protected].208": "patches/[email protected].208.patch"
"[email protected].244": "patches/[email protected].244.patch"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export class DatePickerIPF extends AbstractInputField<string | null, Moment | nu
if (value === null) {
return null;
}
console.log('value', value, DateParser.stringify(value), DateParser.dateFormat);

return DateParser.stringify(value);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
tabindex="0"
aria-checked={value}
onclick={() => toggleValue()}
onkeypress={event => toggleValueOnKey(event)}
onkeydown={event => toggleValueOnKey(event)}
>
<input type="checkbox" tabindex="-1" checked={value} />
</div>
4 changes: 1 addition & 3 deletions packages/core/src/utils/components/ListWrapper.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
</script>

{#each elements.slice(0, elements.length - 1) as element}
{@render children(element)}
<span>,</span>
{@render children(element)}<span>,</span>
<span></span>
<!-- some strange line breaks to get the comma seperated spacing to work -->
{/each}
{@render children(elements[elements.length - 1])}
Binary file modified packages/obsidian/bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions packages/obsidian/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ export default class MetaBindPlugin extends Plugin implements IPlugin {
}

this.settings = Object.assign({}, DEFAULT_SETTINGS, loadedSettings);
this.updateInternalSettings();

if (!areObjectsEqual(loadedSettings, this.settings)) {
await this.saveSettings();
Expand Down
Binary file modified packages/publish/bun.lockb
Binary file not shown.
11 changes: 10 additions & 1 deletion patches/[email protected] → patches/[email protected]
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/package.json b/package.json
index 5317a75e6aae52a36d18eba3affcb1772ea637b4..a5ae8d277679c197d02c0e92d297c71a687ff616 100644
index f1d8e43c875010bb6dd408121d26adad4c448d37..488bcd556d91cf9709ff77244d3afe4daf96c69f 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,7 @@
Expand Down Expand Up @@ -29,3 +29,12 @@ index 5317a75e6aae52a36d18eba3affcb1772ea637b4..a5ae8d277679c197d02c0e92d297c71a
},
"./server": {
"types": "./types/index.d.ts",
@@ -77,7 +77,7 @@
"./store": {
"types": "./types/index.d.ts",
"browser": "./src/store/index-client.js",
- "default": "./src/store/index-server.js"
+ "default": "./src/store/index-client.js"
},
"./transition": {
"types": "./types/index.d.ts",
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"verbatimModuleSyntax": true,
"lib": ["DOM", "ESNext"],
"types": ["svelte"],
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
"skipLibCheck": true
},
"include": [
"packages/core/**/*.ts",
Expand Down

0 comments on commit ce4c8db

Please sign in to comment.