@stacksjs/defaults 0.75.419 → 0.75.421
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.
|
@@ -304,7 +304,7 @@ export default {
|
|
|
304
304
|
macos: {
|
|
305
305
|
appName: 'Browser',
|
|
306
306
|
bundleId: 'com.example.browser',
|
|
307
|
-
agent: true, // or { port, entry, appRoutes, staticDir }
|
|
307
|
+
agent: true, // or { port, entry, appRoutes, staticDir, resources }
|
|
308
308
|
nativeScreens: ['Main'],
|
|
309
309
|
webkit: true, // link WebKit into the host, for <WebView>
|
|
310
310
|
defaultBrowser: true, // http/https URL types, HTML/XHTML/webarchive/PDF document types
|
|
@@ -327,6 +327,11 @@ export default {
|
|
|
327
327
|
beside it as `craft-runtime` and `desktop-agent.json` in Resources. A compiled binary cannot import route files off
|
|
328
328
|
disk (the router refuses), so the build imports the registry's route files, the agent module and every
|
|
329
329
|
`'Actions/...'` they name statically (`provideActions`); what they import travels inside the app.
|
|
330
|
+
- A compiled agent has no `node_modules`, so a package that reads data files beside its own modules (rule lists, a
|
|
331
|
+
word list) finds nothing. Name them in `agent.resources`, `{ lists: 'node_modules/some-lib/data' }`: the build copies
|
|
332
|
+
each into `Contents/Resources/<name>`, and a route finds it with `desktopResource('lists')` from
|
|
333
|
+
`@stacksjs/desktop-build`, which under `buddy dev:desktop` is the path in the project. A route can pass that to the
|
|
334
|
+
package (`{ dir: desktopResource('lists') }`). Names are plain file names, not `web` or the files the build writes.
|
|
330
335
|
- The launcher (`src/agent-launcher.ts`) holds a single-instance lock (`agent.pid`), logs to
|
|
331
336
|
`~/Library/Logs/<App>.log` when launched without a terminal, and quits with the window.
|
|
332
337
|
- Entitlements: the Bun executable gets `allow-jit`, `allow-unsigned-executable-memory` and
|
package/ide/vscode/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"publisher": "Stacks",
|
|
3
3
|
"name": "vscode-stacks",
|
|
4
4
|
"displayName": "Stacks",
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.421",
|
|
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",
|
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.
|
|
5
|
+
"version": "0.75.421",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@iconify-json/f7": "^1.2.2",
|
|
47
47
|
"@iconify-json/hugeicons": "^1.2.35",
|
|
48
|
-
"@stacksjs/mobile": "0.75.
|
|
49
|
-
"@stacksjs/sanitizer": "0.2.
|
|
50
|
-
"@stacksjs/stx": "0.2.
|
|
48
|
+
"@stacksjs/mobile": "0.75.421",
|
|
49
|
+
"@stacksjs/sanitizer": "0.2.783",
|
|
50
|
+
"@stacksjs/stx": "0.2.783",
|
|
51
51
|
"@xterm/addon-fit": "^0.11.0",
|
|
52
52
|
"@xterm/xterm": "^6.0.0",
|
|
53
53
|
"ts-qr-codes": "^0.1.8"
|