-
Notifications
You must be signed in to change notification settings - Fork 86
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
feat: dfx new templates #3499
Merged
Merged
feat: dfx new templates #3499
Changes from 30 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
9634fbc
Base templates
adamspofford-dfinity 5cd718e
frontend tests
adamspofford-dfinity a81f1e3
Update rust template
adamspofford-dfinity 72f8e7d
Tests
adamspofford-dfinity ca62ab1
docs
adamspofford-dfinity 6af6ff8
Merge branch 'master' into spofford/new-templates
adamspofford-dfinity 899d891
csp
adamspofford-dfinity 71d31c9
Fix tests
adamspofford-dfinity a64d1f7
Merge branch 'master' into spofford/new-templates
adamspofford-dfinity 610a97e
.
adamspofford-dfinity 92933e0
.
adamspofford-dfinity 4276b2e
.
adamspofford-dfinity 60a541e
More descriptive changelog
adamspofford-dfinity 0865f40
Merge branch 'master' into spofford/new-templates
adamspofford-dfinity d138440
Update CHANGELOG.md
adamspofford-dfinity 222fabb
Update dfx.json schema
adamspofford-dfinity ee12310
Merge branch 'master' into spofford/new-templates
adamspofford-dfinity 42498a7
fix: removes App.css holdover from a different example
krpeacock 65a8fb9
Merge branch 'spofford/new-templates' of github.com:dfinity/sdk into …
krpeacock 817c52e
backwards compatibility & top-level package.json scripts
krpeacock 6fb96cd
fix: dummy actor during svelte tests
krpeacock 3e4c655
test works immediately without dfx generate
krpeacock f7b611f
Merge branch 'master' into spofford/new-templates
krpeacock 6d541c5
fix ci
adamspofford-dfinity aa2a7a0
Remove raw redirect setting
adamspofford-dfinity abd9f09
Merge branch 'master' into spofford/new-templates
adamspofford-dfinity dbf4941
Rename Svelte to SvelteKit
adamspofford-dfinity 995493b
.
adamspofford-dfinity 3caebcf
revert declarations import path change?
adamspofford-dfinity 8c178f7
Merge branch 'master' into spofford/new-templates
adamspofford-dfinity 510faa4
please work
adamspofford-dfinity 1021406
Merge branch 'master' into spofford/new-templates
lwshang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
e2e/assets/expect_scripts/rust_svelte_with_tests_and_ii.exp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/expect -df | ||
|
||
match_max 100000 | ||
set timeout 30 | ||
|
||
spawn dfx new e2e_project | ||
expect "Select a backend language:" | ||
# down arrow, Rust should be option 2 | ||
send "\033\[B" | ||
send "\r" | ||
|
||
expect "Select a frontend framework:" | ||
# no down arrow, Svelte should be option 1 | ||
send "\r" | ||
# first and third, should be II and frontend tests respectively | ||
expect "Add extra features" | ||
send " " | ||
send "\033\[B\033\[B" | ||
send " " | ||
send "\r" | ||
expect eof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ load ../utils/_ | |
setup() { | ||
standard_setup | ||
|
||
dfx_new | ||
dfx_new_assets | ||
} | ||
|
||
teardown() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ load ../utils/cycles-ledger | |
setup() { | ||
standard_setup | ||
|
||
dfx_new | ||
dfx_new_assets | ||
} | ||
|
||
teardown() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ load ../utils/_ | |
setup() { | ||
standard_setup | ||
|
||
dfx_new | ||
dfx_new_assets | ||
} | ||
|
||
teardown() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ load ../utils/_ | |
setup() { | ||
standard_setup | ||
|
||
dfx_new | ||
dfx_new_assets | ||
} | ||
|
||
teardown() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ load ../utils/_ | |
setup() { | ||
standard_setup | ||
|
||
dfx_new | ||
dfx_new_assets | ||
} | ||
|
||
teardown() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ load ../utils/_ | |
setup() { | ||
standard_setup | ||
|
||
dfx_new hello | ||
dfx_new_assets hello | ||
} | ||
|
||
teardown() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 may be what is breaking
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.
No, I renamed it in the same commit.