Skip to content

Add tags to ComponentDoc#307

Merged
pvasek merged 1 commit intostyleguidist:masterfrom
rohantalkad747:master
Oct 28, 2020
Merged

Add tags to ComponentDoc#307
pvasek merged 1 commit intostyleguidist:masterfrom
rohantalkad747:master

Conversation

@rohantalkad747
Copy link
Copy Markdown

It is proposed that the tagMap object be present in ComponentDoc. This can help developers use any tags to customize or filter the components.

Comment thread package.json Outdated
"scripts": {
"precommit": "lint-staged",
"tsc": "tsc",
"postinstall": "tsc --outDir ./lib",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Could you explain, why it's a good idea, to have this postinstall script here? I thought it's run after npm install which doesn't seem to make too much sense or am I missing something?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Sorry about that, I was using that Github fork for my own project hence why I have a postInstall script there. I have since removed it.

Comment thread tsconfig.json Outdated
"lib": ["es5", "es6"],
"target": "es5",
"strict": true,
"noImplicitAny": false,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It had taken a lot of effort to fix all things to enable this and make our code safer. Why we should disable it now?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I have removed that line.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Oh, my mistake, I thought you change it. Sorry about that.

@rohantalkad747 rohantalkad747 marked this pull request as ready for review October 28, 2020 20:10
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.

3 participants