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

Feat/theme generator improvement #29

Merged
merged 32 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
3fbeef1
chore: update yarn
aliceinapple Jun 7, 2024
08da718
feat: add the ability to add pages to ignore
aliceinapple Jun 10, 2024
40ca157
feat: add the ability to generate theme from selected pages
aliceinapple Jun 12, 2024
20c19ae
chore: upgrade dependencies
aliceinapple Jun 12, 2024
6aa38b0
feat: strategy for naming radii
aliceinapple Jun 12, 2024
0fc383a
fix: check errors
aliceinapple Jun 12, 2024
516b0d2
feat: strategy for naming line heights
aliceinapple Jun 12, 2024
3afa7f2
refactor: theme-cli
aliceinapple Jun 12, 2024
61299b9
feat: add the ability to generate theme from elements with specific p…
aliceinapple Jun 13, 2024
209feef
refactor: colors generator
aliceinapple Jun 13, 2024
033f76b
feat: add function to get input states
aliceinapple Jun 13, 2024
354b655
refactor: colors generator
aliceinapple Jun 13, 2024
fc6c696
chore: upgrade typescript
aliceinapple Jun 14, 2024
563bd94
chore: transition to ESM
aliceinapple Jun 14, 2024
c59504b
chore: update jest
aliceinapple Jun 14, 2024
b653b08
feat: add unit test to font weights generator
aliceinapple Jun 14, 2024
d997460
feat: add unit test to fonts generator
aliceinapple Jun 14, 2024
4188219
feat: add unit test to font sizes generator
aliceinapple Jun 14, 2024
844654d
feat: add unit test to line heights generator
aliceinapple Jun 14, 2024
f0275a5
feat: add unit test to radii generator
aliceinapple Jun 14, 2024
f42fe6f
feat: add unit test to shadows generator
aliceinapple Jun 14, 2024
63b85ae
refactor: rename tests
aliceinapple Jun 14, 2024
fc2f1da
chore: upgrade dependencies
aliceinapple Jun 14, 2024
157e382
feat: add test to colors generator
aliceinapple Jun 15, 2024
75ecf30
feat: add test to common generator
aliceinapple Jun 15, 2024
b739081
feat: add test to theme generator
aliceinapple Jun 15, 2024
a9a879d
feat: add test to run function
aliceinapple Jun 16, 2024
d471b74
feat(theme-cli): bump versions, run via swc BREAKING CHANGE
Nelfimov Jun 17, 2024
8f43285
chore: change camelcase to lodash.camelcase
aliceinapple Jun 17, 2024
24432fc
fix(tests): bump @atls/config-jest
Nelfimov Jun 17, 2024
9f58bd7
revert(common): camelcase
Nelfimov Jun 17, 2024
1685a21
feat(common): github actions
Nelfimov Jun 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 8 additions & 30 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,11 @@ name: Checks
on: [pull_request]

jobs:
run:
name: Run
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18.17'

- name: Install
run: yarn install

- name: Lint
run: yarn checks lint
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

- name: TypeCheck
run: yarn checks typecheck
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

- name: Release
run: yarn checks release
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
check:
name: Lint, typecheck
uses: atls/shared/.github/workflows/checks.yaml@master
permissions: write-all
release:
name: Release
uses: atls/shared/.github/workflows/release.yaml@master
permissions: write-all
36 changes: 4 additions & 32 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,7 @@ on:
jobs:
run:
name: Publish
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: master

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18.13'

- name: Install
run: yarn install

- name: Npm Publish
run: |
yarn version apply --all
yarn workspaces changed foreach --verbose --topological --no-private npm publish --access public
env:
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Commit changes
uses: EndBug/add-and-commit@v9
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
with:
author_name: Atls Github Bot
author_email: [email protected]
message: 'chore(common): publish'
branch: master
uses: atls/shared/.github/workflows/publish.yaml@master
permissions: write-all
secrets:
npmAuthToken: ${{ secrets.NPM_TOKEN }}
34 changes: 2 additions & 32 deletions .github/workflows/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,5 @@ on:
jobs:
run:
name: Version
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: master

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18.13'

- name: Install
run: yarn install
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

- name: Version
run: yarn workspaces changed foreach --no-private --verbose version patch --deferred
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

- name: Commit changes
uses: EndBug/add-and-commit@v9
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
with:
author_name: Atls Github Bot
author_email: [email protected]
message: 'chore(common): versions'
branch: master
uses: atls/shared/.github/workflows/version.yaml@master
permissions: write-all
7,241 changes: 4,505 additions & 2,736 deletions .pnp.cjs

Large diffs are not rendered by default.

Loading