Skip to content

Commit

Permalink
Move around into separate packages
Browse files Browse the repository at this point in the history
+ lint, test, build;
+ contactInfo, etc. required in placeholder helpers;
+ more types;
  • Loading branch information
Valeri Buchinski authored and vbuch committed Oct 4, 2023
1 parent b7de0f6 commit 6849cb1
Show file tree
Hide file tree
Showing 198 changed files with 10,206 additions and 7,105 deletions.
15 changes: 0 additions & 15 deletions .babelrc

This file was deleted.

1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
coverage
dist
jest.config.js
32 changes: 0 additions & 32 deletions .eslintrc

This file was deleted.

64 changes: 29 additions & 35 deletions .github/workflows/monorepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,52 +6,46 @@ on:
name: monorepo

jobs:
prepare:
do-de-stuff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: yarn

lint:
runs-on: ubuntu-latest
needs: prepare
steps:
- run: ./node_modules/.bin/lerna run lint

test:
runs-on: ubuntu-latest
needs: prepare
steps:
- run: ./node_modules/.bin/lerna run test -- --coverage

coveralls:
runs-on: ubuntu-latest
needs: test
strategy:
matrix:
package:
- signpdf
- utils
- placeholder-pdfkit010
- placeholder-plain
steps:
- name: Coveralls
- name: Coveralls (signpdf)
uses: coverallsapp/github-action@master
with:
parallel: true
flag-name: $
flag-name: signpdf
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: packages/$

finish:
needs:
- lint
- test
- coveralls
if: $
runs-on: ubuntu-latest
steps:
base-path: packages/signpdf
path-to-lcov: packages/signpdf/coverage/lcov.info
- name: Coveralls (utils)
uses: coverallsapp/github-action@master
with:
parallel: true
flag-name: utils
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: packages/utils
path-to-lcov: packages/utils/coverage/lcov.info
- name: Coveralls (placeholder-pdfkit010)
uses: coverallsapp/github-action@master
with:
parallel: true
flag-name: placeholder-pdfkit010
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: packages/placeholder-pdfkit010
path-to-lcov: packages/placeholder-pdfkit010/coverage/lcov.info
- name: Coveralls (placeholder-plain)
uses: coverallsapp/github-action@master
with:
parallel: true
flag-name: placeholder-plain
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: packages/placeholder-plain
path-to-lcov: packages/placeholder-plain/coverage/lcov.info
- name: Close Coveralls
uses: coverallsapp/github-action@master
with:
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/not-travis.yml

This file was deleted.

9 changes: 9 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"presets": [
["@babel/preset-env", {
"targets": {
"node": "current"
}
}]
]
}
30 changes: 0 additions & 30 deletions dist/SignPdfError.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/helpers/const.d.ts.map

This file was deleted.

18 changes: 0 additions & 18 deletions dist/helpers/const.js

This file was deleted.

12 changes: 0 additions & 12 deletions dist/helpers/extractSignature.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/helpers/extractSignature.d.ts.map

This file was deleted.

9 changes: 0 additions & 9 deletions dist/helpers/findByteRange.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/helpers/findByteRange.d.ts.map

This file was deleted.

41 changes: 0 additions & 41 deletions dist/helpers/findByteRange.js

This file was deleted.

6 changes: 0 additions & 6 deletions dist/helpers/index.d.ts

This file was deleted.

49 changes: 0 additions & 49 deletions dist/helpers/index.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/helpers/pdfkit/abstract_reference.d.ts.map

This file was deleted.

1 change: 0 additions & 1 deletion dist/helpers/pdfkit/pdfobject.d.ts.map

This file was deleted.

11 changes: 0 additions & 11 deletions dist/helpers/pdfkitAddPlaceholder.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/helpers/pdfkitAddPlaceholder.d.ts.map

This file was deleted.

1 change: 0 additions & 1 deletion dist/helpers/pdfkitReferenceMock.d.ts.map

This file was deleted.

Loading

0 comments on commit 6849cb1

Please sign in to comment.