Skip to content

Commit

Permalink
Implement monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Sep 8, 2023
1 parent b5fe342 commit c2b14a2
Show file tree
Hide file tree
Showing 73 changed files with 1,572 additions and 3,406 deletions.
6 changes: 0 additions & 6 deletions .eslintignore

This file was deleted.

11 changes: 0 additions & 11 deletions .eslintrc.json

This file was deleted.

6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
env:
HUSKY: 0

- name: Build package
run: yarn build

- name: Run tests
run: yarn lint

Expand Down Expand Up @@ -72,6 +75,9 @@ jobs:
env:
HUSKY: 0

- name: Build package
run: yarn build

- name: Run type checking
run: yarn tsc

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ jobs:
- name: Publish with latest tag
if: github.event.release.prelease == false
run: yarn npm publish --tag latest
working-directory: packages/react-pdf
env:
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish with next tag
if: github.event.release.prelease == true
run: yarn npm publish --tag next
working-directory: packages/react-pdf
env:
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 1 addition & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.cache
.yarn
coverage
dist
*.yml
yarnrc.yml
28 changes: 28 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions .yarn/plugins/plugin-remove-postinstall.cjs

This file was deleted.

3 changes: 2 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ logFilters:
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/plugin-remove-postinstall.cjs
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: '@yarnpkg/plugin-workspace-tools'
Loading

0 comments on commit c2b14a2

Please sign in to comment.