-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Maintain a packaged theme alongside semantic #2101
Comments
Hi, the themes folder shouldnt be overwritten. I apologize about that, its most likely a bug. I'll have to take a look at update script. I think this is probably an issue with the settings for wrench when copying files similar to #1845 |
Hi and than you for the quick feedback! What I've tried is to clone a repo with a pre-existing My goal is rather straightforward: maintain my theme in the site repo and install/update semantic on top of it (with npm install/update). I'm open to any approach, as long as |
I'll test this out.. |
I've verified this is fixed from a fresh install. Will be releasing patched version today. |
awesome, thank you for the quick fix! |
Hi @jlukic, I just tried the version 1.11.17 (via
As a result, the
Any ideas? |
How recently did you install? I just pushed 1.11.7 a few minutes ago. Does your |
Yes it shows |
Debugging locally with npm install [email protected]
mkdir semantic/src/themes/fake
npm install [email protected]
cd semantic/src/themes/ && ls |
Oh wait i havent published I just confirmed with the above procedure on an empty directory that user themes should not be touched with update. |
I'm trying right now ( I confirmed this behavior by doing
( The idea is that my theme is in place before semantic is ever installed via npm so that I can ship it with the rest of the project and run a fresh |
Ohh you are talking about from the install path. Not the upgrade path. This is a whole different bundle of code. |
Yep, exactly. Does it make sense? Or am I getting this wrong? |
I mean, I get that when installing the themes you need to dump the whole Or, as always, I'm open to other suggestions for shipping my theme :) |
I just need to release another patch. I hadn't considered modifying the behavior of install, only update. |
Cool, thank you!
|
Yeah, i'm actively working on a fix in |
Great, I really appreciate the live support :D Thanks for the amazing work! |
I just tested it against the last commit and it works as expected! ;) |
Can you test against |
See my previous comment, it works after testing against 2df4e82! Thank you again very much for the prompt support! |
Thanks bundling it up. |
# By jlukic # Via jlukic * 'master' of https://github.com/Semantic-Org/Semantic-UI: Build 1.11.8 Add Semantic-Org#2102 to 1.x Version tick 1.11.8 Semantic-Org#2101 finish fix for npm install Fix theme path Semantic-Org#2101 Install path changes Semantic-Org#2101 Publish tasks fail with latest git due to add syntax Rlsnotes 1.11.7 Build version 1.11.7 Backport flex fix for cards Semantic-Org#2069 Semantic-Org#2021 Semantic-Org#2105 More name consolidation Semantic-Org#2101 More obvious name for merge copy Semantic-Org#2101 NPM Update should only update default theme folder (not whole theme path) Semantic-Org#2101 Remove console.log from sticky Semantic-Org#2107
* next: (32 commits) Semantic-Org#2092 rebuild dist Add comments to search settings Rlsnotes Semantic-Org#2059 Semantic-Org#2070 Fixes Semantic-Org#2059 Semantic-Org#2070 rewrite object search used in search module to be much less obtuse Fix debug Semantic-Org#2059 Semantic-Org#2070 Add mock response async, yahoooo related to Semantic-Org#2059 Semantic-Org#2070 Semantic-Org#2059 Finish ability to mock responses in API Similar Semantic-Org#2092 add ability to mock server response using function Semantic-Org#2092 RLSNOTES & Cred Remove debug Semantic-Org#2092 Semantic-Org#2092 Add onResponse callback to allow for response transformations Semantic-Org#2070 - dont continue loop unnecessarily, clarify variable names Add Semantic-Org#2113 Add accordion on event, update rlsnotes Publish tasks fail with latest git due to add syntax Rlsnotes 1.11.7 Build version 1.11.7 Backport flex fix for cards Semantic-Org#2069 Semantic-Org#2021 Semantic-Org#2105 More name consolidation Semantic-Org#2101 More obvious name for merge copy Semantic-Org#2101 NPM Update should only update default theme folder (not whole theme path) Semantic-Org#2101 ...
Hi all, I'm building a custom packaged theme for my project and I'd like to store it in the same repo where the site source code is. Here's my directory layout:
Since whenever I update semantic with npm the
semantic/src/themes
directory gets overridden, I thought of putting the my theme (and the default one) in athemes
directory at root level.Then I configured my
semantic.json
as follows:so that I could put
theme.config
andthemes
under version control and happily ignore thesemantic
folder altogether.Unfortunately, it looks like when I build semantic (with
gulp build
), it's still using thesemantic/src/theme.config
file.Did I get something wrong?
And in general, is there any preferred strategy for putting only my custom packaged theme under version control being able to safely update the semantic npm package?
Thank you
The text was updated successfully, but these errors were encountered: