-
Notifications
You must be signed in to change notification settings - Fork 20
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
fix: Skip writing scaffold config for nixified custom templates #415
Merged
c12i
merged 3 commits into
develop
from
fix/custom-template-path-getting-written-to-config
Nov 14, 2024
Merged
fix: Skip writing scaffold config for nixified custom templates #415
c12i
merged 3 commits into
develop
from
fix/custom-template-path-getting-written-to-config
Nov 14, 2024
Conversation
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
c12i
force-pushed
the
fix/custom-template-path-getting-written-to-config
branch
from
November 13, 2024 14:12
45d0638
to
0940a4f
Compare
c12i
added
ShouldBackport/0.4
This change should be backported to develop-0.1
ShouldBackport/0.3
This change should be backported to develop-0.3
labels
Nov 13, 2024
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.
Ideally, I would want the scaffolding tool to not write the "hcSaffold" config option in the package.json, which I think it still does with this PR right?
c12i
changed the title
fix: Add skip_config_check global flag to scaffolding
fix: Skip writing scaffold config for custom templates
Nov 13, 2024
c12i
changed the title
fix: Skip writing scaffold config for custom templates
fix: Skip writing scaffold config for nixified custom templates
Nov 13, 2024
You are right, better not to write entirely since this would still happen, fixed |
Awesome! |
matthme
approved these changes
Nov 13, 2024
c12i
removed
the
ShouldBackport/0.3
This change should be backported to develop-0.3
label
Nov 19, 2024
c12i
added a commit
that referenced
this pull request
Nov 19, 2024
* Add skip_config_check global flag to scaffolding * Prefer not writing the scaffold config for nixified custom templates * Fix rustfmt warning
c12i
removed
the
ShouldBackport/0.4
This change should be backported to develop-0.1
label
Nov 26, 2024
c12i
added a commit
that referenced
this pull request
Nov 26, 2024
* Add skip_config_check global flag to scaffolding * Prefer not writing the scaffold config for nixified custom templates * Fix rustfmt warning
c12i
added a commit
that referenced
this pull request
Nov 26, 2024
* Bump versions * Nix flake update * fix: Refactor/custom templates (#397) * Fix custom template flake * Refactor custom templates * chore: Update holochain dependencies (#398) * Update dependencies * Remove unused dependency * fix: Skip writing scaffold config for nixified custom templates (#415) * Add skip_config_check global flag to scaffolding * Prefer not writing the scaffold config for nixified custom templates * Fix rustfmt warning * fix: Fix misplaced doc comments (#411) * Fix misplaced doc comments * Slightly refactor link_type integrity codegen * Remove instances of SignalType * feat: further improve ci runtime (#414) * Remove dependency to holochain * Add rust-cache * Add cachix nix config * Add ci job concurrency options * Update cachix configurations * Run rust checks/tests outside nix * add missing components * Cache rust builds * Bump holochain deps * Update rustdocs * Build cargo deps separately * refactor flake * Update maintenance docs * Add extraPullNames input to cachix actions * Add nix_build step * Extend extra-substituters and public-keys in nixConfig * Fix ci workflow * Bump client-js version
c12i
added a commit
that referenced
this pull request
Dec 10, 2024
* Add skip_config_check global flag to scaffolding * Prefer not writing the scaffold config for nixified custom templates * Fix rustfmt warning
c12i
added a commit
that referenced
this pull request
Dec 12, 2024
* fix: Skip writing scaffold config for nixified custom templates (#415) * Add skip_config_check global flag to scaffolding * Prefer not writing the scaffold config for nixified custom templates * Fix rustfmt warning * feat: further improve ci runtime (#414) * Remove dependency to holochain * Add rust-cache * Add cachix nix config * Add ci job concurrency options * Update cachix configurations * Run rust checks/tests outside nix * add missing components * Cache rust builds * Bump holochain deps * Update rustdocs * Build cargo deps separately * refactor flake * Update maintenance docs * Add extraPullNames input to cachix actions * Add nix_build step * Extend extra-substituters and public-keys in nixConfig * Fix ci workflow * Bump client-js version * fix: Fix misplaced doc comments (#411) * Fix misplaced doc comments * Slightly refactor link_type integrity codegen * feat: Enhance custom template generation (#404) * feat: Add a new template subcommand to create new custom template bases from existing templates * Remove call to wrapCustoTemplate in scaffolding nix flake * Update custom template docs * chore: update ui dependencies (#407) * Bump holochain playground * Update ui core dependencies * Update lit dependencies * Fix cli output lines * Fix broken css import in lit template * Revert custom-template changes * Fix vue templates * Increase testTimeout * Remove eslint from lit template * Fix lit CI failure * Add missing shared styles * feat: Reprompt user on invalid input (#402) * Fix imports * Merge pull request #428 from holochain/fix/svelte-client-race-condition-0.4 chore: backport svelte race condition to 0.4 and release 0.4000.0-rc.1 * feat: Add ability to go back and modify entry type fields (#418) * Add go back functionality for hc scaffold entry-type * address PR comments * Ensure the fields vec is not empty on change * Improve text spacing * Simplify prompt * Pin typescript version for vue-tsc compatibility --------- Co-authored-by: matthme <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR introduces a global--skip-config-check
flag that does as the name suggests, to provide an option to skip reading fromhcScaffold
config in the root package.json file. Using this flag will be mostly beneficial to users who scaffolded their hApps with a nix wrapper based custom template.This PR skips writing scaffold configs for web-apps or examples scaffolded from nixified custom templates
Closes #247