-
Notifications
You must be signed in to change notification settings - Fork 0
feat: datum-ui v0.2 — monorepo scaffold, component library, tests, storybook, docs #13
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
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
dae5ade
feat: datum-ui v0.2 monorepo with component reorganization
yahyafakhroji 270228f
feat: add Typography, Map docs, peer dep docs, per-component exports
yahyafakhroji 99e72fd
refactor: ship uncompiled CSS, fix #16 — version bump to 0.2.0-alpha.8
yahyafakhroji ba3f3c0
chore: release v0.2.0
yahyafakhroji File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,11 @@ | ||
| { | ||
| "$schema": "https://unpkg.com/@changesets/config@2.0.0/schema.json", | ||
| "$schema": "https://unpkg.com/@changesets/config@3/schema.json", | ||
| "changelog": "@changesets/cli/changelog", | ||
| "commit": false, | ||
| "fixed": [], | ||
| "linked": [], | ||
| "access": "public", | ||
| "baseBranch": "main", | ||
| "updateInternalDependencies": "patch", | ||
| "ignore": [ | ||
| "@repo/docs" | ||
| ] | ||
| } | ||
| "ignore": ["@repo/storybook", "@repo/docs"] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [main] | ||
| push: | ||
| branches: [main] | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| lint: | ||
| name: Lint | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - uses: pnpm/action-setup@v4 | ||
|
|
||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 24 | ||
| cache: pnpm | ||
|
|
||
| - run: pnpm install --frozen-lockfile | ||
|
|
||
| - run: pnpm lint | ||
|
|
||
| typecheck: | ||
| name: Typecheck | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - uses: pnpm/action-setup@v4 | ||
|
|
||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 24 | ||
| cache: pnpm | ||
|
|
||
| - run: pnpm install --frozen-lockfile | ||
|
|
||
| - run: pnpm turbo typecheck | ||
|
|
||
| test: | ||
| name: Test | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - uses: pnpm/action-setup@v4 | ||
|
|
||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 24 | ||
| cache: pnpm | ||
|
|
||
| - run: pnpm install --frozen-lockfile | ||
|
|
||
| - run: pnpm test | ||
|
|
||
| build: | ||
| name: Build | ||
| runs-on: ubuntu-latest | ||
| needs: [lint, typecheck, test] | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - uses: pnpm/action-setup@v4 | ||
|
|
||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 24 | ||
| cache: pnpm | ||
|
|
||
| - run: pnpm install --frozen-lockfile | ||
|
|
||
| - run: pnpm build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,15 @@ | ||
| .DS_Store | ||
| node_modules | ||
| .turbo | ||
| *.log | ||
| .next | ||
| dist | ||
| dist-ssr | ||
| *.local | ||
| .env | ||
| .cache | ||
| server/dist | ||
| public/dist | ||
| node_modules/ | ||
| dist/ | ||
| storybook-static/ | ||
| .next/ | ||
| .turbo/ | ||
| coverage/ | ||
| *.tsbuildinfo | ||
| .env* | ||
| .source/ | ||
|
|
||
| *.tgz | ||
|
|
||
| .claude/ | ||
| CLAUDE.MD | ||
| /docs/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1 @@ | ||
| auto-install-peers = true | ||
| public-hoist-pattern[]=*storybook* | ||
| engine-strict = true | ||
| auto-install-peers=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| v24 | ||
| v24 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,60 @@ | ||
| { | ||
| // TypeScript — use workspace version (not VS Code's bundled one) | ||
| "typescript.tsdk": "node_modules/typescript/lib", | ||
| "typescript.enablePromptUseWorkspaceTsdk": true, | ||
|
|
||
| // ESLint — flat config support | ||
| "eslint.useFlatConfig": true, | ||
| "eslint.workingDirectories": [ | ||
| { | ||
| "mode": "auto" | ||
| } | ||
| { "pattern": "apps/*" }, | ||
| { "pattern": "packages/*" } | ||
| ], | ||
| "typescript.tsdk": "node_modules/typescript/lib", | ||
| "css.lint.unknownAtRules": "ignore", | ||
| "scss.lint.unknownAtRules": "ignore", | ||
| "less.lint.unknownAtRules": "ignore" | ||
|
|
||
| // Formatting — let ESLint handle it, disable built-in formatters | ||
| "editor.formatOnSave": true, | ||
| "editor.defaultFormatter": "dbaeumer.vscode-eslint", | ||
| "editor.codeActionsOnSave": { | ||
| "source.fixAll.eslint": "explicit" | ||
| }, | ||
|
|
||
| // Tailwind CSS v4 | ||
| "tailwindCSS.experimental.classRegex": [ | ||
| ["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"], | ||
| ["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"] | ||
| ], | ||
| "tailwindCSS.includeLanguages": { | ||
| "typescript": "javascript", | ||
| "typescriptreact": "javascript" | ||
| }, | ||
|
|
||
| // File associations | ||
| "files.associations": { | ||
| "*.css": "tailwindcss" | ||
| }, | ||
|
|
||
| // Search and file exclusions | ||
| "search.exclude": { | ||
| "**/node_modules": true, | ||
| "**/dist": true, | ||
| "**/.next": true, | ||
| "**/.turbo": true, | ||
| "**/storybook-static": true, | ||
| "**/coverage": true, | ||
| "**/.source": true | ||
| }, | ||
| "files.exclude": { | ||
| "**/.turbo": true | ||
| }, | ||
|
|
||
| // Editor defaults for the project | ||
| "editor.tabSize": 2, | ||
| "editor.insertSpaces": true, | ||
|
|
||
| // File nesting for cleaner explorer | ||
| "explorer.fileNesting.enabled": true, | ||
| "explorer.fileNesting.patterns": { | ||
| "package.json": "pnpm-lock.yaml, pnpm-workspace.yaml, .nvmrc, turbo.json, .gitignore, .npmrc", | ||
| "tsconfig.json": "tsconfig.*.json", | ||
| "eslint.config.*": ".eslintignore" | ||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.