@stacksjs/defaults 0.75.45 → 0.75.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  "publisher": "Stacks",
3
3
  "name": "vscode-stacks",
4
4
  "displayName": "Stacks",
5
- "version": "0.75.45",
5
+ "version": "0.75.46",
6
6
  "description": "Stacks, built into VS Code: stx templates, pickier linting and formatting, encrypted env files, the dev server preview and every buddy command. No other extensions required.",
7
7
  "license": "MIT",
8
8
  "funding": "https://github.com/sponsors/chrisbbreuer",
@@ -258,7 +258,7 @@
258
258
  "stxTypescriptPlugin.enabled": {
259
259
  "type": "boolean",
260
260
  "default": true,
261
- "description": "Enable TypeScript language features in stx files"
261
+ "description": "Type-check the TypeScript in stx files (script blocks and template expressions) with the TypeScript server, and offer its hovers, completions and go to definition there"
262
262
  },
263
263
  "stx.diagnostics.enable": {
264
264
  "type": "boolean",
@@ -413,7 +413,7 @@
413
413
  ]
414
414
  },
415
415
  "devDependencies": {
416
- "@stacksjs/stx-vscode": "^0.2.355",
416
+ "@stacksjs/stx-vscode": "^0.2.357",
417
417
  "@types/vscode": "~1.109.0",
418
418
  "@vscode/vsce": "^4.0.0"
419
419
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/defaults",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.75.45",
5
+ "version": "0.75.46",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/stacksjs/stacks.git",
@@ -55,7 +55,7 @@
55
55
  "dependencies": {
56
56
  "@iconify-json/f7": "^1.2.2",
57
57
  "@iconify-json/hugeicons": "^1.2.35",
58
- "@stacksjs/mobile": "^0.75.45",
58
+ "@stacksjs/mobile": "^0.75.46",
59
59
  "@stacksjs/sanitizer": "^0.2.348",
60
60
  "ts-qr-codes": "^0.1.8"
61
61
  }
@@ -294,7 +294,10 @@ function clearFilters() {
294
294
  statusFilter.set('all')
295
295
  }
296
296
 
297
- async function openEditor(post: BlogPost) {
297
+ // `null` opens the editor on a new post: the "New post" buttons pass it, and
298
+ // the body below already handles it. Typed `BlogPost` alone, every one of those
299
+ // calls was a type error that a parse failure elsewhere in this file hid.
300
+ async function openEditor(post: BlogPost | null) {
298
301
  const requestId = ++editorRequestId
299
302
  formError.set('')
300
303
  editingPost.set(post)
@@ -83,9 +83,9 @@ jobs:
83
83
  persist-credentials: true
84
84
 
85
85
  - name: Setup Pantry
86
- uses: pantry-pm/pantry/packages/action@00f7f8d0f4b166db35d2e1405fdcefd442acd775 # v0.11.68
86
+ uses: pantry-pm/pantry/packages/action@605fd435116c4666ea81150add528760632e0bfb # v0.11.69
87
87
  with:
88
- version: '0.11.68'
88
+ version: '0.11.69'
89
89
  install: 'false'
90
90
 
91
91
  - name: Install Dependencies
@@ -30,7 +30,7 @@ jobs:
30
30
  uses: actions/checkout@v4
31
31
 
32
32
  - name: Setup Pantry
33
- uses: pantry-pm/pantry/packages/action@00f7f8d0f4b166db35d2e1405fdcefd442acd775 # v0.11.68
33
+ uses: pantry-pm/pantry/packages/action@605fd435116c4666ea81150add528760632e0bfb # v0.11.69
34
34
  with:
35
35
  install: 'false'
36
36
 
@@ -63,7 +63,7 @@ jobs:
63
63
  uses: actions/checkout@v4
64
64
 
65
65
  - name: Setup Pantry
66
- uses: pantry-pm/pantry/packages/action@00f7f8d0f4b166db35d2e1405fdcefd442acd775 # v0.11.68
66
+ uses: pantry-pm/pantry/packages/action@605fd435116c4666ea81150add528760632e0bfb # v0.11.69
67
67
  with:
68
68
  install: 'false'
69
69
 
@@ -99,7 +99,7 @@ jobs:
99
99
  uses: actions/checkout@v4
100
100
 
101
101
  - name: Setup Pantry
102
- uses: pantry-pm/pantry/packages/action@00f7f8d0f4b166db35d2e1405fdcefd442acd775 # v0.11.68
102
+ uses: pantry-pm/pantry/packages/action@605fd435116c4666ea81150add528760632e0bfb # v0.11.69
103
103
  with:
104
104
  install: 'false'
105
105
 
@@ -21,7 +21,7 @@ jobs:
21
21
  fetch-depth: 0
22
22
 
23
23
  - name: Setup Pantry
24
- uses: pantry-pm/pantry/packages/action@00f7f8d0f4b166db35d2e1405fdcefd442acd775 # v0.11.68
24
+ uses: pantry-pm/pantry/packages/action@605fd435116c4666ea81150add528760632e0bfb # v0.11.69
25
25
  with:
26
26
  install: 'false'
27
27