-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add one click launcher #106
base: main
Are you sure you want to change the base?
Conversation
Add a new script `"launch": "sst start"` to the `scripts` section in multiple `package.json` files. * **apps/docs/package.json** - Add `"launch": "sst start"` to the `scripts` section. * **apps/nexus/package.json** - Add `"launch": "sst start"` to the `scripts` section. * **apps/www/package.json** - Add `"launch": "sst start"` to the `scripts` section. * **package.json** - Add `"launch": "sst start"` to the `scripts` section.
Hello there, This won't work.
export const web = new sst.x.DevCommand("www", {
dev: {
command: "bun run dev",
directory: "apps/www",
autostart: true,
},
//link: [] link the database and the like
})
new sst.Linkable.wrap(cloudflare.PageRule, (resource) => ({
// these properties will be available when linked
properties: {
arn: resource.urn
}
})) Does it make sense? |
@@ -26,7 +26,8 @@ | |||
"preview": "qwik build preview && vite preview --open", | |||
"serve": "wrangler pages dev ./dist --compatibility-flags=nodejs_als", | |||
"start": "vite --open --mode ssr", | |||
"qwik": "qwik" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work... We need the qwik
command. Please visit https://qwik.dev/ for more information
@@ -5,7 +5,8 @@ | |||
"description": "Nestri's core", | |||
"scripts": { | |||
"dev": "wrangler dev src/index.ts", | |||
"deploy": "wrangler deploy --minify src/index.ts" | |||
"deploy": "wrangler deploy --minify src/index.ts", | |||
"launch": "sst start" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary command
@@ -26,7 +26,8 @@ | |||
"preview": "qwik build preview && vite preview --open", | |||
"serve": "wrangler pages dev ./dist --compatibility-flags=nodejs_als", | |||
"start": "vite --open --mode ssr", | |||
"qwik": "qwik" | |||
"qwik": "qwik", | |||
"launch": "sst start" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, I believe you need to edit the infra/www
for this to work
@@ -5,7 +5,8 @@ | |||
"build": "turbo build", | |||
"dev": "turbo dev", | |||
"format": "prettier --write \"**/*.{ts,tsx,md}\"", | |||
"lint": "turbo lint" | |||
"lint": "turbo lint", | |||
"launch": "sst start" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe? But not quite there
Add a new script
"launch": "sst start"
to thescripts
section in multiplepackage.json
files.apps/docs/package.json
"launch": "sst start"
to thescripts
section.apps/nexus/package.json
"launch": "sst start"
to thescripts
section.apps/www/package.json
"launch": "sst start"
to thescripts
section.package.json
"launch": "sst start"
to thescripts
section.