8000 feat: supabase by manuel3108 · Pull Request #45 · sveltejs/cli · GitHub
[go: up one dir, main page]

Skip to content
/ cli Public

feat: supabase #45

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

Merged
merged 79 commits into from
Oct 9, 2024
Merged
Changes from 1 commit
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
6ece58c
add baas category
mstibbard Sep 2, 2024
1090ebd
init attempt
mstibbard Sep 2, 2024
a70bc62
helper script option
mstibbard Sep 2, 2024
17f5e0b
admin option. refactor setting env vars
mstibbard Sep 2, 2024
7398d39
update next steps
mstibbard Sep 2, 2024
f9e6353
demo option
mstibbard Sep 2, 2024
0312470
Apply suggestions from benmccann and manuel3108
mstibbard Sep 3, 2024
48008a9
actioning a missed suggestion from benmccann
mstibbard Sep 3, 2024
dab765f
remove baas category
mstibbard Sep 3, 2024
777b3ee
add packageManager to nextSteps data object
mstibbard Sep 3, 2024
85153cb
caps reverted somehow
mstibbard Sep 3, 2024
ec79552
add script execution step between packages and files steps
mstibbard Sep 4, 2024
3473f14
update config.toml and email template. improve demo
mstibbard Sep 4, 2024
13a5c60
adder.scripts optional
mstibbard Sep 4, 2024
6fd7e0c
more experimenting
mstibbard Sep 4, 2024
4fc52f0
revert script execution experiment
mstibbard Sep 4, 2024
5ce1f9c
better script experiment
mstibbard Sep 5, 2024
40f9484
multiselect auth option: basic, magic link, oauth. better nextSteps
mstibbard Sep 5, 2024
3782f34
fix next steps indenting
mstibbard Sep 5, 2024
c44e7dc
use execute commands instead of installing deps
mstibbard Sep 6, 2024
6769375
made conditionals names consistent
mstibbard Sep 6, 2024
175dc53
add password reset for basic auth. fix supabase cli vscode setting gen
mstibbard Sep 6, 2024
b08123c
add local google oauth. move oauth server-side
mstibbard Sep 7, 2024
aba58ac
add changeset
mstibbard Sep 12, 2024
1365d0f
fix unused imports
mstibbard Sep 12, 2024
902383a
move supabase adder
manuel3108 Sep 27, 2024
9e098bd
use `@svelte-cli/core` and formatting
manuel3108 Sep 27, 2024
f66e348
fix most important merge conflicts
manuel3108 Sep 28, 2024
f041ba8
update adder
manuel3108 Sep 28, 2024
5cd1bff
re-add scripts in correct place
manuel3108 Sep 28, 2024
d53dd78
make supabase adder work
manuel3108 Sep 28, 2024
91e6b91
remove external integration type and uses scripts instead
manuel3108 Sep 28, 2024
8ca5a20
fix linting
manuel3108 Sep 28, 2024
c2ba9c5
avoid "Need to install the following packages:" message if using npx
manuel3108 Sep 29, 2024
657a44f
implement first review feedback
manuel3108 Sep 30, 2024
0057e25
fix categories
manuel3108 Oct 2, 2024
238971d
Merge branch 'main' into feat/supabase
manuel3108 Oct 2, 2024
527f29f
fix errors
manuel3108 Oct 2, 2024
6d0be37
fix indendation
manuel3108 Oct 2, 2024
7a4e70a
use svelte 5 syntax
manuel3108 Oct 2, 2024
2113a7d
fix lucia adder
manuel3108 Oct 2, 2024
ffe9793
remove oauth option
manuel3108 Oct 2, 2024
1492947
temp
manuel3108 Oct 3, 2024
7514f24
Improve `app.d.ts` robustnes
manuel3108 Oct 3, 2024
07137d7
Merge branch 'main' into feat/supabase
manuel3108 Oct 3, 2024
00f06f7
make `+layout.ts` more robust
manuel3108 Oct 3, 2024
bd5f1e9
Make `+layout.server.ts` more robust
manuel3108 Oct 3, 2024
5f24341
improve robustnes for common files
manuel3108 Oct 3, 2024
5722235
make `+hooks.server.ts` more robust
manuel3108 Oct 3, 2024
0af1308
fix duplicated handle import
manuel3108 Oct 3, 2024
21b16fc
add missing type
manuel3108 Oct 3, 2024
e7fb9a0
Merge branch 'main' into feat/supabase
manuel3108 Oct 6, 2024
a5d4d61
fix merge issues
manuel3108 Oct 6, 2024
40a073b
fix arg parsing
manuel3108 Oct 6, 2024
0335131
fix merge issue
manuel3108 Oct 6, 2024
426ae51
word
AdrianGonz97 Oct 6, 2024
9d8a85f
simplify script execution
AdrianGonz97 Oct 6, 2024
65b0bde
dedent
AdrianGonz97 Oct 6, 2024
e0a0e21
more tweaks
AdrianGonz97 Oct 6, 2024
e4b863c
simplify
AdrianGonz97 Oct 6, 2024
5ea4e0f
no changesets yet
AdrianGonz97 Oct 6, 2024
fa54fc1
simplify
AdrianGonz97 Oct 6, 2024
fd794d3
update pm detector
AdrianGonz97 Oct 6, 2024
d463b28
simplify app namespace
AdrianGonz97 Oct 6, 2024
d8bf2a0
provide highlighter for consistent `nextSteps`
AdrianGonz97 Oct 6, 2024
f10f94e
cache packageManager
AdrianGonz97 Oct 6, 2024
70e03ca
tweaks
AdrianGonz97 Oct 6, 2024
d01c77f
simplify further
AdrianGonz97 Oct 6, 2024
c4f2fa1
a few nits
AdrianGonz97 Oct 7, 2024
b857da9
tab tweaks
AdrianGonz97 Oct 7, 2024
d490afd
extract demos
manuel3108 Oct 7, 2024
0010510
extract helpers
manuel3108 Oct 7, 2024
3d689cd
simplify
AdrianGonz97 Oct 7, 2024
ce115f4
Make children in layout non optional
manuel3108 Oct 8, 2024
74d4ae6
remove ternaries
AdrianGonz97 Oct 8, 2024
d4fa542
upgrade package-manager-detector to sync version
benmccann Oct 9, 2024
54d13d2
remove supabase adder
manuel3108 Oct 9, 2024
7615171
fix lint?
manuel3108 Oct 9, 2024
045b1fb
update detect pm in cli as well
AdrianGonz97 Oct 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
avoid "Need to install the following packages:" message if using npx
  • Loading branch information
manuel3108 committed Sep 29, 2024
commit c2ba9c5539de95220682f23ea8bcd971aa898344
3 changes: 3 additions & 0 deletions packages/cli/commands/add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,9 @@ export async function runScripts<Args extends OptionDefinition>(
const executeCommand = COMMANDS[workspace.packageManager].execute;
const { command, args } = constructCommand(executeCommand, script.args)!;

// adding --yes as the first parameter helps avoiding the "Need to install the following packages:" message
if (workspace.packageManager == 'npm') args.unshift('--yes');

await exec(command, args, {
nodeOptions: { cwd: workspace.cwd, stdio: script.stdio }
});
Expand Down
Loading
0