Skip to content
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

Use npm to manage fomantic and only build needed components #9561

Merged
merged 14 commits into from
Jan 21, 2020
Prev Previous commit
Next Next commit
Change sort alphabetically of semantic components
  • Loading branch information
lunny committed Jan 20, 2020
commit 123ee04ccdddc1be36c4b81386fb0ce37b3025bb
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,10 @@ node_modules/fomantic-ui/src: node-check node_modules
# TODO(das7pad): replace with resolve.alias when building fomantic with webpack
node_modules/fomantic-ui/src/theme.config: node_modules/fomantic-ui/src
node_modules/fomantic-ui/src/theme.config: web_src/fomantic/theme.config.less
ln -s ../../../$< $@
@diff=$$(diff '$<' '$@'); \
if [ -n "$$diff" ]; then \
cp -f $< $@; \
fi;

$(FOMANTIC_DEST_DIR): node_modules/fomantic-ui/src
$(FOMANTIC_DEST_DIR): node_modules/fomantic-ui/src/theme.config
Expand Down
28 changes: 14 additions & 14 deletions semantic.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,36 +21,36 @@
"rtl": false,
"admin": false,
"components": [
"reset",
"site",
"accordion",
"breadcrumb",
"button",
"checkbox",
"comment",
"container",
"divider",
lunny marked this conversation as resolved.
Show resolved Hide resolved
"dropdown",
"form",
"grid",
"header",
"icon",
"image",
"input",
"item",
"label",
"list",
"loader",
"segment",
"breadcrumb",
"form",
"grid",
"menu",
"message",
"table",
"comment",
"item",
"accordion",
"checkbox",
"dropdown",
"modal",
"reset",
lunny marked this conversation as resolved.
Show resolved Hide resolved
"search",
"segment",
"sidebar",
"site",
"sticky",
"tab",
"transition",
"text"
"table",
"text",
"transition"
]
lunny marked this conversation as resolved.
Show resolved Hide resolved
}