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

Add Chart examples to claycss.com (Fixes #456) #515

Closed
wants to merge 1 commit into from

Conversation

julien
Copy link
Contributor

@julien julien commented Feb 6, 2018

No description provided.

@@ -12,7 +12,10 @@
"mcritic": "mcritic packages/ --ignore '**/{browserslist-config-clay-components,claycss.com,generator-metal-clay,node_modules}/**'",
"prettier": "prettier-eslint packages/clay-*/src/*.js packages/clay-*/src/**/*.js",
"start": "http-server . -p 4000",
"test": "npm run build && npm run jest && npm run a11y"
"test": "npm run build && npm run jest && npm run a11y",
"electric": "cd packages/clay && npm run build && cd ../clay-charts && npm run compile && npm run sass",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @julien, even if we might incur into some overhead now, I assume at some point we'll want to add other components as well, so why not just have these do:

...
"electric": "npm run build && cd packages/claycss.com && el",
"web": "npm run electric -- run"
"deploy": "npm run electric -- deploy"
...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, good point.

@@ -32,10 +32,10 @@ module.exports = {
return generateIconData(data);
},
codeMirrorLanguages: ['xml', 'htmlmixed', 'soy'],
metalComponents: ['electric-quartz-components'],
metalComponents: ['electric-quartz-components', 'clay-charts'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we're at it, we might as well add the rest of clay components, ideally in a programatic way 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That sounds like a better idea, thanks.

@julien julien closed this Feb 7, 2018
@julien julien deleted the docs branch February 7, 2018 10:22
@julien
Copy link
Contributor Author

julien commented Feb 7, 2018

Pull request submitted to #521

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants