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

chore: Initial repo preparation #1

Merged
merged 21 commits into from
Feb 2, 2022
Merged

chore: Initial repo preparation #1

merged 21 commits into from
Feb 2, 2022

Conversation

bentleyvk
Copy link
Contributor

  • All deliverable packages are under ./packages folder, demo app is in ./demo.
  • SCSS is converted to CSS, all CSS is under styles.css,
  • React components are transformed to plain JS and not bundled just like iTwinUI-react, also found that others libs do the same.
  • stylelint, eslint and prettier is configured.
  • Pre-commit hook runs linters and autofixes the code.
  • Demo page uses Sandpack for code highlighting but we are not using all stuff from it and it is pretty heavy so would need to find a replacement (like react-syntax-highlighter). Currently demo code is automatically added to Sandpack but it is not ideal, may need to just add everything manually.

Copy link
Contributor

@mayank99 mayank99 left a comment

Choose a reason for hiding this comment

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

Other than these minor comments, I see tests are missing. Have you thought about what you want to use? Cypress, vitest

.editorconfig Outdated Show resolved Hide resolved
.gitattributes Outdated Show resolved Hide resolved
.prettierignore Show resolved Hide resolved
.prettierrc Show resolved Hide resolved
.stylelintrc.json Outdated Show resolved Hide resolved
packages/layouts-react/package.json Show resolved Hide resolved
demo/src/logo.svg Outdated Show resolved Hide resolved
demo/src/index.css Outdated Show resolved Hide resolved
packages/layouts-css/src/page.scss Show resolved Hide resolved
"itwin"
],
"dependencies": {
"@itwin/itwinui-css": "^0.44.2"
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm thinking. This is a weird situation as it goes against the new recommendations (https://github.com/iTwin/iTwinUI-react/wiki/Version-conflicts) but it's also a CSS repo

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe it is finally time to release iTwinui-css v1 😀

Copy link
Contributor

Choose a reason for hiding this comment

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

I dont think our CSS is ready for v1. But we should move the variables into a different repo that is v1

demo/src/App.tsx Outdated Show resolved Hide resolved
@bentleyvk bentleyvk merged commit 4520759 into main Feb 2, 2022
@bentleyvk bentleyvk deleted the vilius/repo-init branch February 2, 2022 15:39
@bentleyvk bentleyvk linked an issue Mar 18, 2022 that may be closed by this pull request
@FlyersPh9 FlyersPh9 mentioned this pull request Apr 6, 2022
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.

Full page layout with custom content
4 participants