Skip to content

Commit c2b14a2

Browse files
committed
Implement monorepo
1 parent b5fe342 commit c2b14a2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+1572
-3406
lines changed

.eslintignore

-6
This file was deleted.

.eslintrc.json

-11
This file was deleted.

.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
env:
3939
HUSKY: 0
4040

41+
- name: Build package
42+
run: yarn build
43+
4144
- name: Run tests
4245
run: yarn lint
4346

@@ -72,6 +75,9 @@ jobs:
7275
env:
7376
HUSKY: 0
7477

78+
- name: Build package
79+
run: yarn build
80+
7581
- name: Run type checking
7682
run: yarn tsc
7783

.github/workflows/publish.yml

+2
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ jobs:
4242
- name: Publish with latest tag
4343
if: github.event.release.prelease == false
4444
run: yarn npm publish --tag latest
45+
working-directory: packages/react-pdf
4546
env:
4647
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4748

4849
- name: Publish with next tag
4950
if: github.event.release.prelease == true
5051
run: yarn npm publish --tag next
52+
working-directory: packages/react-pdf
5153
env:
5254
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.prettierignore

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
.cache
22
.yarn
3-
coverage
4-
dist
5-
*.yml
3+
yarnrc.yml

.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

+28
Large diffs are not rendered by default.

.yarn/plugins/plugin-remove-postinstall.cjs

-10
This file was deleted.

.yarnrc.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ logFilters:
55
nodeLinker: node-modules
66

77
plugins:
8-
- path: .yarn/plugins/plugin-remove-postinstall.cjs
8+
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
9+
spec: '@yarnpkg/plugin-workspace-tools'

0 commit comments

Comments
 (0)