@stacksjs/buddy 0.75.82 → 0.75.83
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.
- package/dist/scaffold-site.js +1 -1
- package/package.json +54 -54
package/dist/scaffold-site.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cpSync,existsSync,readdirSync,rmSync}from"node:fs";import{join}from"node:path";export const SITE_ONLY_PATHS=["resources/views/index.stx","resources/views/coming-soon.stx","resources/views/compare","resources/views/features","resources/views/use-cases","resources/views/components/FeatureCard.stx","resources/views/layouts/marketing.stx","resources/views/partials/theme.stx","resources/data/comparisons.ts","resources/data/features.ts","resources/data/highlight.ts","resources/data/nav.ts","resources/data/stats.ts","resources/data/use-cases.ts","resources/partials/marketing-footer.stx","resources/partials/marketing-head.stx","resources/partials/marketing-nav.stx","resources/partials/marketing-theme-toggle.stx","resources/emails/subscription-confirmation.stx","resources/assets/scripts/site-mode.js","public/assets/styles/home.css","public/assets/styles/marketing.css","public/assets/styles/theme.css","resources/assets/fonts/nps","public/assets/fonts/nps","public/assets/images","resources/assets/images/bg-img.png","resources/assets/images/marketing-park-camp.svg","resources/assets/images/marketing-park-geyser.svg","resources/assets/images/marketing-park-lighthouse.svg","resources/assets/images/marketing-park-trail.svg","resources/assets/images/marketing-park-wing.svg","resources/assets/images/park-ridge.svg","resources/assets/images/river.svg","resources/assets/images/topography.svg","resources/assets/images/wood-sign.svg","docs","content/blog","content/BLOG_STRATEGY.md","public/images/atomic-fx-diagram.png","public/images/atomic-ui-diagram.png","public/images/diagram.png","public/images/og-image.png","public/images/social.png","public/images/background-auth.jpg","public/images/background-features.jpg","public/images/screenshots/expenses.webp","public/images/screenshots/reporting.webp","public/images/screenshots/vat-returns.webp","public/images/logos/amex.jpg","public/images/logos/jcb.svg","public/images/logos/laravel.svg","public/images/logos/logo-dark.svg","public/images/logos/logo-mini.svg","public/images/logos/logo-transparent.svg","public/images/logos/logo-white.png","public/images/logos/logo.png","public/images/logos/logo.svg","public/images/logos/mastercard.svg","public/images/logos/meilisearch.svg","public/images/logos/mirage.svg","public/images/logos/statamic.svg","public/images/logos/statickit.svg","public/images/logos/transistor.svg","public/images/logos/tuple.svg","public/images/logos/visa.png","public/images/logos/visa.svgz","resources/assets/scripts/main.ts","resources/assets/styles/main.css","resources/layouts/Desktop.stx","resources/partials/welcome-pdf-content.stx","resources/partials/welcome-pdf-toolbar.stx","resources/components/ContextMenu.stx","resources/components/ContextMenuItem.stx","resources/components/DesktopIcon.stx","resources/components/FeatureButton.stx","resources/components/InputGroup.stx","resources/components/LoginForm.stx","resources/components/LoginScreen.stx","resources/components/NotificationPopup.stx","resources/components/PackageItem.stx","resources/components/StartMenu.stx","resources/components/StartMenuItem.stx","resources/components/Taskbar.stx","resources/components/Window.stx"],APP_SITE_TEMPLATE="storage/framework/defaults/scaffold/resources";export function applyAppSiteTemplate(root){const template=join(root,APP_SITE_TEMPLATE);if(!existsSync(template))throw Error(`No app site template at ${APP_SITE_TEMPLATE}`);const removed=[];for(const relative of SITE_ONLY_PATHS){const target=join(root,relative);if(!existsSync(target))continue;rmSync(target,{recursive:!0,force:!0});removed.push(relative)}for(const relative of removed){let dir=parentOf(relative);while(dir&&!KEPT_ROOTS.has(dir)&&isEmptyDir(join(root,dir))){rmSync(join(root,dir),{recursive:!0,force:!0});dir=parentOf(dir)}}cpSync(template,join(root,"resources"),{recursive:!0});return removed}const KEPT_ROOTS=new Set(["resources","public"]);function parentOf(relative){return relative.includes("/")?relative.slice(0,relative.lastIndexOf("/")):""}function isEmptyDir(dir){return existsSync(dir)&&readdirSync(dir).length===0}
|
|
1
|
+
import{cpSync,existsSync,readdirSync,rmSync}from"node:fs";import{join}from"node:path";export const SITE_ONLY_PATHS=["resources/views/index.stx","resources/views/coming-soon.stx","resources/views/compare","resources/views/features","resources/views/use-cases","resources/views/components/FeatureCard.stx","resources/views/layouts/marketing.stx","resources/views/partials/theme.stx","resources/data/assets.ts","resources/data/comparisons.ts","resources/data/features.ts","resources/data/highlight.ts","resources/data/nav.ts","resources/data/stats.ts","resources/data/use-cases.ts","resources/partials/marketing-footer.stx","resources/partials/marketing-head.stx","resources/partials/marketing-nav.stx","resources/partials/marketing-theme-toggle.stx","resources/emails/subscription-confirmation.stx","resources/assets/scripts/site-mode.js","public/assets/styles/home.css","public/assets/styles/marketing.css","public/assets/styles/theme.css","resources/assets/fonts/nps","public/assets/fonts/nps","public/assets/images","resources/assets/images/bg-img.png","resources/assets/images/marketing-park-camp.svg","resources/assets/images/marketing-park-geyser.svg","resources/assets/images/marketing-park-lighthouse.svg","resources/assets/images/marketing-park-trail.svg","resources/assets/images/marketing-park-wing.svg","resources/assets/images/park-ridge.svg","resources/assets/images/river.svg","resources/assets/images/topography.svg","resources/assets/images/wood-sign.svg","docs","content/blog","content/BLOG_STRATEGY.md","public/images/atomic-fx-diagram.png","public/images/atomic-ui-diagram.png","public/images/diagram.png","public/images/og-image.png","public/images/social.png","public/images/background-auth.jpg","public/images/background-features.jpg","public/images/screenshots/expenses.webp","public/images/screenshots/reporting.webp","public/images/screenshots/vat-returns.webp","public/images/logos/amex.jpg","public/images/logos/jcb.svg","public/images/logos/laravel.svg","public/images/logos/logo-dark.svg","public/images/logos/logo-mini.svg","public/images/logos/logo-transparent.svg","public/images/logos/logo-white.png","public/images/logos/logo.png","public/images/logos/logo.svg","public/images/logos/mastercard.svg","public/images/logos/meilisearch.svg","public/images/logos/mirage.svg","public/images/logos/statamic.svg","public/images/logos/statickit.svg","public/images/logos/transistor.svg","public/images/logos/tuple.svg","public/images/logos/visa.png","public/images/logos/visa.svgz","resources/assets/scripts/main.ts","resources/assets/styles/main.css","resources/layouts/Desktop.stx","resources/partials/welcome-pdf-content.stx","resources/partials/welcome-pdf-toolbar.stx","resources/components/ContextMenu.stx","resources/components/ContextMenuItem.stx","resources/components/DesktopIcon.stx","resources/components/FeatureButton.stx","resources/components/InputGroup.stx","resources/components/LoginForm.stx","resources/components/LoginScreen.stx","resources/components/NotificationPopup.stx","resources/components/PackageItem.stx","resources/components/StartMenu.stx","resources/components/StartMenuItem.stx","resources/components/Taskbar.stx","resources/components/Window.stx"],APP_SITE_TEMPLATE="storage/framework/defaults/scaffold/resources";export function applyAppSiteTemplate(root){const template=join(root,APP_SITE_TEMPLATE);if(!existsSync(template))throw Error(`No app site template at ${APP_SITE_TEMPLATE}`);const removed=[];for(const relative of SITE_ONLY_PATHS){const target=join(root,relative);if(!existsSync(target))continue;rmSync(target,{recursive:!0,force:!0});removed.push(relative)}for(const relative of removed){let dir=parentOf(relative);while(dir&&!KEPT_ROOTS.has(dir)&&isEmptyDir(join(root,dir))){rmSync(join(root,dir),{recursive:!0,force:!0});dir=parentOf(dir)}}cpSync(template,join(root,"resources"),{recursive:!0});return removed}const KEPT_ROOTS=new Set(["resources","public"]);function parentOf(relative){return relative.includes("/")?relative.slice(0,relative.lastIndexOf("/")):""}function isEmptyDir(dir){return existsSync(dir)&&readdirSync(dir).length===0}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/buddy",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.83",
|
|
6
6
|
"description": "Meet Buddy. The Stacks runtime.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"contributors": [
|
|
@@ -95,67 +95,67 @@
|
|
|
95
95
|
"prepublishOnly": "bun run build"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@stacksjs/actions": "^0.75.
|
|
99
|
-
"@stacksjs/ai": "^0.75.
|
|
100
|
-
"@stacksjs/alias": "^0.75.
|
|
101
|
-
"@stacksjs/analytics": "^0.75.
|
|
102
|
-
"@stacksjs/api": "^0.75.
|
|
103
|
-
"@stacksjs/arrays": "^0.75.
|
|
104
|
-
"@stacksjs/auth": "^0.75.
|
|
105
|
-
"@stacksjs/browser-extension": "^0.75.
|
|
106
|
-
"@stacksjs/build": "^0.75.
|
|
107
|
-
"@stacksjs/cache": "^0.75.
|
|
108
|
-
"@stacksjs/chat": "^0.75.
|
|
98
|
+
"@stacksjs/actions": "^0.75.83",
|
|
99
|
+
"@stacksjs/ai": "^0.75.83",
|
|
100
|
+
"@stacksjs/alias": "^0.75.83",
|
|
101
|
+
"@stacksjs/analytics": "^0.75.83",
|
|
102
|
+
"@stacksjs/api": "^0.75.83",
|
|
103
|
+
"@stacksjs/arrays": "^0.75.83",
|
|
104
|
+
"@stacksjs/auth": "^0.75.83",
|
|
105
|
+
"@stacksjs/browser-extension": "^0.75.83",
|
|
106
|
+
"@stacksjs/build": "^0.75.83",
|
|
107
|
+
"@stacksjs/cache": "^0.75.83",
|
|
108
|
+
"@stacksjs/chat": "^0.75.83",
|
|
109
109
|
"@stacksjs/clapp": "^0.2.16",
|
|
110
|
-
"@stacksjs/cli": "^0.75.
|
|
111
|
-
"@stacksjs/cloud": "^0.75.
|
|
112
|
-
"@stacksjs/cms": "^0.75.
|
|
113
|
-
"@stacksjs/collections": "^0.75.
|
|
114
|
-
"@stacksjs/commerce": "^0.75.
|
|
115
|
-
"@stacksjs/config": "^0.75.
|
|
116
|
-
"@stacksjs/database": "^0.75.
|
|
117
|
-
"@stacksjs/desktop-build": "^0.75.
|
|
118
|
-
"@stacksjs/dns": "^0.75.
|
|
110
|
+
"@stacksjs/cli": "^0.75.83",
|
|
111
|
+
"@stacksjs/cloud": "^0.75.83",
|
|
112
|
+
"@stacksjs/cms": "^0.75.83",
|
|
113
|
+
"@stacksjs/collections": "^0.75.83",
|
|
114
|
+
"@stacksjs/commerce": "^0.75.83",
|
|
115
|
+
"@stacksjs/config": "^0.75.83",
|
|
116
|
+
"@stacksjs/database": "^0.75.83",
|
|
117
|
+
"@stacksjs/desktop-build": "^0.75.83",
|
|
118
|
+
"@stacksjs/dns": "^0.75.83",
|
|
119
119
|
"@stacksjs/dnsx": "^0.2.3",
|
|
120
|
-
"@stacksjs/email": "^0.75.
|
|
121
|
-
"@stacksjs/enums": "^0.75.
|
|
122
|
-
"@stacksjs/env": "^0.75.
|
|
123
|
-
"@stacksjs/error-handling": "^0.75.
|
|
124
|
-
"@stacksjs/events": "^0.75.
|
|
125
|
-
"@stacksjs/features": "^0.75.
|
|
126
|
-
"@stacksjs/git": "^0.75.
|
|
120
|
+
"@stacksjs/email": "^0.75.83",
|
|
121
|
+
"@stacksjs/enums": "^0.75.83",
|
|
122
|
+
"@stacksjs/env": "^0.75.83",
|
|
123
|
+
"@stacksjs/error-handling": "^0.75.83",
|
|
124
|
+
"@stacksjs/events": "^0.75.83",
|
|
125
|
+
"@stacksjs/features": "^0.75.83",
|
|
126
|
+
"@stacksjs/git": "^0.75.83",
|
|
127
127
|
"@stacksjs/gitit": "^0.2.5",
|
|
128
|
-
"@stacksjs/health": "^0.75.
|
|
128
|
+
"@stacksjs/health": "^0.75.83",
|
|
129
129
|
"@stacksjs/httx": "^0.1.10",
|
|
130
|
-
"@stacksjs/image": "^0.75.
|
|
131
|
-
"@stacksjs/lint": "^0.75.
|
|
132
|
-
"@stacksjs/logging": "^0.75.
|
|
133
|
-
"@stacksjs/notifications": "^0.75.
|
|
134
|
-
"@stacksjs/objects": "^0.75.
|
|
135
|
-
"@stacksjs/orm": "^0.75.
|
|
136
|
-
"@stacksjs/path": "^0.75.
|
|
137
|
-
"@stacksjs/payments": "^0.75.
|
|
138
|
-
"@stacksjs/realtime": "^0.75.
|
|
139
|
-
"@stacksjs/router": "^0.75.
|
|
130
|
+
"@stacksjs/image": "^0.75.83",
|
|
131
|
+
"@stacksjs/lint": "^0.75.83",
|
|
132
|
+
"@stacksjs/logging": "^0.75.83",
|
|
133
|
+
"@stacksjs/notifications": "^0.75.83",
|
|
134
|
+
"@stacksjs/objects": "^0.75.83",
|
|
135
|
+
"@stacksjs/orm": "^0.75.83",
|
|
136
|
+
"@stacksjs/path": "^0.75.83",
|
|
137
|
+
"@stacksjs/payments": "^0.75.83",
|
|
138
|
+
"@stacksjs/realtime": "^0.75.83",
|
|
139
|
+
"@stacksjs/router": "^0.75.83",
|
|
140
140
|
"@stacksjs/rpx": "^0.11.54",
|
|
141
|
-
"@stacksjs/scheduler": "^0.75.
|
|
142
|
-
"@stacksjs/search-engine": "^0.75.
|
|
143
|
-
"@stacksjs/security": "^0.75.
|
|
144
|
-
"@stacksjs/server": "^0.75.
|
|
145
|
-
"@stacksjs/sites": "^0.75.
|
|
146
|
-
"@stacksjs/skills": "^0.75.
|
|
147
|
-
"@stacksjs/storage": "^0.75.
|
|
148
|
-
"@stacksjs/strings": "^0.75.
|
|
141
|
+
"@stacksjs/scheduler": "^0.75.83",
|
|
142
|
+
"@stacksjs/search-engine": "^0.75.83",
|
|
143
|
+
"@stacksjs/security": "^0.75.83",
|
|
144
|
+
"@stacksjs/server": "^0.75.83",
|
|
145
|
+
"@stacksjs/sites": "^0.75.83",
|
|
146
|
+
"@stacksjs/skills": "^0.75.83",
|
|
147
|
+
"@stacksjs/storage": "^0.75.83",
|
|
148
|
+
"@stacksjs/strings": "^0.75.83",
|
|
149
149
|
"@stacksjs/stx": "^0.2.378",
|
|
150
|
-
"@stacksjs/testing": "^0.75.
|
|
151
|
-
"@stacksjs/tinker": "^0.75.
|
|
150
|
+
"@stacksjs/testing": "^0.75.83",
|
|
151
|
+
"@stacksjs/tinker": "^0.75.83",
|
|
152
152
|
"@stacksjs/tlsx": "^0.13.19",
|
|
153
153
|
"@stacksjs/ts-cloud": "^0.16.40",
|
|
154
|
-
"@stacksjs/tunnel": "^0.75.
|
|
155
|
-
"@stacksjs/types": "^0.75.
|
|
156
|
-
"@stacksjs/ui": "^0.75.
|
|
157
|
-
"@stacksjs/utils": "^0.75.
|
|
158
|
-
"@stacksjs/validation": "^0.75.
|
|
154
|
+
"@stacksjs/tunnel": "^0.75.83",
|
|
155
|
+
"@stacksjs/types": "^0.75.83",
|
|
156
|
+
"@stacksjs/ui": "^0.75.83",
|
|
157
|
+
"@stacksjs/utils": "^0.75.83",
|
|
158
|
+
"@stacksjs/validation": "^0.75.83",
|
|
159
159
|
"ajv": "^8.20.0",
|
|
160
160
|
"ajv-formats": "^3.0.1",
|
|
161
161
|
"bun-plugin-stx": "^0.2.378",
|