Skip to content

Commit

Permalink
Remove tokens-v2-private output (#853)
Browse files Browse the repository at this point in the history
* rm v2

* trying to fix build

* rm v2 tokens folder
  • Loading branch information
lukasoppermann committed Apr 18, 2024
1 parent d719f43 commit bdddfec
Show file tree
Hide file tree
Showing 26 changed files with 22 additions and 1,741 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilled-cars-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/primitives': minor
---

Remove v2 token output (dist/tokens-v2-private)
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
tokens-v2-private/
CHANGELOG.md


Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/a11y-contrast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
- name: Install dependencies
run: npm ci --no-audit --no-fund --ignore-scripts

- name: Build tokens
run: npm run build:next # building v1 as they are currently used for contrast check
- name: Build v8 tokens
run: npm run build:v8

- name: Run required checks
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ jobs:
run: npm run build

- name: Build v8 tokens
run: npm run build:next
run: npm run build:v8

- name: Build fallbacks
run: npm run build:fallbacks

- name: Code linting check
run: npm run lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
with:
node_version: 20
install: npm ci --legacy-peer-deps --no-audit --no-fund && npm run install:storybook
build: npm run build:tokens && npm run build && npm run build:next && cd docs/storybook && npm run build:prod
build: npm run build && npm run build:next && cd docs/storybook && npm run build:prod
output_dir: docs/public

2 changes: 1 addition & 1 deletion .github/workflows/deploy_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
node_version: 20
install: npm ci --no-audit --no-fund --ignore-scripts && npm run install:storybook
build: npm run build:tokens && npm run build && npm run build:next && cd docs/storybook && npm run build:preview
build: npm run build && npm run build:next && cd docs/storybook && npm run build:preview
output_dir: docs/public

post_storybook:
Expand Down
80 changes: 0 additions & 80 deletions .github/workflows/design_token_diff.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .github/workflows/diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,12 @@ jobs:
- name: Build tokens
run: npm run build

- name: Build experimental tokens
run: npm run build:tokens

- name: Install dependencies (base)
run: pushd base; npm i --no-audit --no-fund --ignore-scripts; popd

- name: Build (base)
run: pushd base; npm run build; popd

- name: Build (base experimental)
run: pushd base; npm run build:tokens; popd

- name: Diff
uses: primer/comment-token-update@main
env:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
- name: Build tokens
run: npm run build

- name: Build experimental tokens
run: npm run build:tokens

- id: get-access-token
uses: camertron/github-app-installation-auth-action@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
- name: Build tokens
run: npm run build

- name: Build experimental tokens
run: npm run build:tokens
- name: Build v8 tokens
run: npm run build:v8

- name: Create .npmrc
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release_candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
cache: 'npm'

- name: Install dependencies
run: npm ci --legacy-peer-deps
run: npm ci --no-audit --no-fund --include=dev

- name: Build tokens
run: npm run build

- name: Build experimental tokens
run: npm run build:tokens
- name: Build tokens v8
run: npm run build:v8

- name: Create .npmrc
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_visual_snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Install browsers
run: npx playwright install --with-deps
- name: Build v8 tokens
run: npm run build:next
run: npm run build:v8
- name: Build storybook
working-directory: docs/storybook
run: |
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
node_modules
*.log
/dist/
/tokens-v2-private/
yarn.lock
coverage/
docs/public/
Expand Down
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ storybook-static
# Ignore all files relating to v1 tokens
# TODO: Remove after v1 tokens have been removed
data/
tokens-v2-private/
Loading

0 comments on commit bdddfec

Please sign in to comment.