Skip to content

Commit 54f434b

Browse files
committed
chore: wip
1 parent 05be075 commit 54f434b

File tree

8 files changed

+17
-9
lines changed

8 files changed

+17
-9
lines changed

bun.lockb

-14.8 KB
Binary file not shown.

storage/framework/core/buddy/src/commands/cloud.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import process from 'node:process'
22
import { CloudFrontClient, CreateInvalidationCommand } from '@aws-sdk/client-cloudfront'
3-
import { intro, italic, log, outro, prompts, runCommand, runCommandSync, underline } from '@stacksjs/cli'
3+
import { intro, italic, log, outro, prompts, runCommand, underline } from '@stacksjs/cli'
44
import {
55
addJumpBox,
66
deleteCdkRemnants,
@@ -262,8 +262,9 @@ export function cloud(buddy: CLI) {
262262
try {
263263
log.info('Finalizing the removal of your cloud resources.')
264264
log.info('This will take a few moments...')
265-
loop(7, () => {
266-
runCommandSync('buddy cloud:cleanup', {
265+
// sometimes, this fails, so we need to retry it until all resources are deleted -> weird workaround, and would love a more stable alternative
266+
await loop(7, async () => {
267+
await runCommand('buddy cloud:cleanup', {
267268
...options,
268269
cwd: p.projectPath(),
269270
stdout: 'ignore',

storage/framework/core/cloud/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"aws-cdk": "^2.150.0",
9898
"aws-cdk-lib": "^2.150.0",
9999
"aws4fetch": "^1.0.19",
100-
"cdk-ecr-deployment": "^3.0.77",
101100
"constructs": "^10.3.0"
102101
},
103102
"devDependencies": {

storage/framework/core/components/auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"files": ["README.md", "lib", "src", "volar.d.ts"],
2929
"scripts": {
3030
"dev": "bunx --bun vite",
31-
"build": "bunx --bun vite build",
31+
"build": "echo 'bunx --bun vite build'",
3232
"build:lib": "vite build --mode lib && bun run build:types",
3333
"build:types": "bunx --bun vue-tsc -p tsconfig.build.json && api-extractor run",
3434
"preview": "bunx --bun vite preview"

storage/framework/core/components/calendar/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"files": ["README.md", "lib", "src", "volar.d.ts"],
2929
"scripts": {
3030
"dev": "bunx --bun vite",
31-
"build": "bunx --bun vite build",
31+
"build": "echo 'wip bunx --bun vite build'",
3232
"build:lib": "vite build --mode lib && bun run build:types",
3333
"build:types": "bunx --bun vue-tsc -p tsconfig.build.json && api-extractor run",
3434
"preview": "bunx --bun vite preview"

storage/framework/core/components/dropdown/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"files": ["README.md", "lib", "src", "volar.d.ts"],
2929
"scripts": {
3030
"dev": "bunx --bun vite",
31-
"build": "bunx --bun vite build",
31+
"build": "echo 'wip bunx --bun vite build'",
3232
"build:lib": "vite build --mode lib && bun run build:types",
3333
"build:types": "bunx --bun vue-tsc -p tsconfig.build.json && api-extractor run",
3434
"preview": "bunx --bun vite preview"

storage/framework/core/components/notification/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"files": ["README.md", "dist", "src"],
2929
"scripts": {
3030
"dev": "vite --config ./vite.config.ts",
31-
"build": "vite build --mode lib",
31+
"build": "echo 'wip vite build --mode lib'",
3232
"build:demo": "bunx --bun vite build",
3333
"build:types": "bunx --bun vue-tsc -p tsconfig.build.json && api-extractor run",
3434
"preview": "bunx --bun vite preview"

storage/framework/core/utils/src/hash.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,15 @@ export function originRequestFunctionHash() {
1515

1616
export function websiteSourceHash() {
1717
const docsSrc = [p.projectPath('docs')]
18-
const websiteSrc = [p.projectPath('resources/views')]
18+
const websiteSrc = [
19+
p.projectPath('resources/views'),
20+
p.projectPath('resources/assets'),
21+
p.projectPath('resources/lang'),
22+
p.projectPath('resources/functions'),
23+
p.projectPath('resources/components'),
24+
p.projectPath('resources/modules'),
25+
p.projectPath('resources/stores'),
26+
]
1927

2028
return config.app.docMode === true ? hashPaths(docsSrc) : hashPaths(websiteSrc)
2129
}

0 commit comments

Comments
 (0)