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

V3 #39

Merged
merged 49 commits into from
Jan 26, 2020
Merged

V3 #39

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
1c4c7cd
chore: update depenencies
simonhaenisch Jun 30, 2019
ae65162
chore: install typescript
simonhaenisch Jun 30, 2019
0202e14
refactor: convert to typescript
simonhaenisch Jul 3, 2019
4272c69
chore: better npm scripts
simonhaenisch Aug 5, 2019
9a7ce95
docs(readme): add security consideration
simonhaenisch Aug 5, 2019
1f22656
feat: expose `--port` cli flag
simonhaenisch Aug 5, 2019
d80b9ae
improve: remove useless cli flag check
simonhaenisch Aug 5, 2019
9e31bf4
chore: fix binary paths
simonhaenisch Aug 7, 2019
b872067
docs(readme): add info about header/footer default font-size
simonhaenisch Aug 7, 2019
db0c7c9
chore: update dependencies
simonhaenisch Aug 7, 2019
66c5aec
chore: update marked
simonhaenisch Aug 7, 2019
b8022e5
chore: change license to MIT
simonhaenisch Aug 11, 2019
7614fc5
improve: remove deprecated warning for flag
simonhaenisch Aug 11, 2019
80d36d5
fix: ul/ol margin
simonhaenisch Aug 16, 2019
1c72f4b
docs: promote .js config over .json
simonhaenisch Aug 16, 2019
04b985e
feat: set process and xterm title
simonhaenisch Aug 19, 2019
165f264
Merge branch 'master' into v3
simonhaenisch Nov 16, 2019
c4ac35a
chore: update dependencies
simonhaenisch Nov 16, 2019
0669992
style: prettier after merge
simonhaenisch Nov 16, 2019
e098f55
chore(ci): run prettier on windows
simonhaenisch Nov 16, 2019
9b5ec59
chore(ci): fix running prettier on windows
simonhaenisch Nov 16, 2019
d7e519b
chore(ci): skip linting on windows
simonhaenisch Nov 16, 2019
7ae4419
chore: install types
simonhaenisch Nov 16, 2019
ae40337
docs(readme): js config needs export not default export
simonhaenisch Nov 18, 2019
a7a5817
fix(cli): package.json path for version info
simonhaenisch Dec 23, 2019
d85558d
fix(cli): merge pdf_options of config file properly
simonhaenisch Dec 23, 2019
9cfce43
refactor: setProcessAndTermTitle helper
simonhaenisch Dec 23, 2019
0e3faf3
chore: update dependencies
simonhaenisch Jan 19, 2020
8051c42
feat: allow input from std in or shell globbing for multiple files
simonhaenisch Jan 26, 2020
b3ac8d9
feat: auto-enable displayHeaderFooter if template is set
simonhaenisch Jan 26, 2020
b706cac
test: header and footer should work without displayHeaderFooter set
simonhaenisch Jan 26, 2020
f080b88
Merge branch 'master' into v3
simonhaenisch Jan 26, 2020
46fd27c
chore: fix test commands in CI
simonhaenisch Jan 26, 2020
d7001e1
chore: remove circleci
simonhaenisch Jan 26, 2020
2157dab
docs: update help and readme
simonhaenisch Jan 26, 2020
ceb2c7c
chore: fix ts root dir
simonhaenisch Jan 26, 2020
7de6435
chore: add build step to CI
simonhaenisch Jan 26, 2020
bb46626
fix: relative paths
simonhaenisch Jan 26, 2020
a2c7b2c
test: add test for nested directories
simonhaenisch Jan 26, 2020
c288a1a
chore: fix get-output-file-path on windows
simonhaenisch Jan 26, 2020
b21d864
chore: require at least node 10
simonhaenisch Jan 26, 2020
adb50c3
chore: increase cli test timeout for CI
simonhaenisch Jan 26, 2020
f82eb0d
chore: fix CI path filters
simonhaenisch Jan 26, 2020
505026e
chore: remove node 13 from the matrix testing
simonhaenisch Jan 26, 2020
f0e35bd
chore: increase test timeouts for CI
simonhaenisch Jan 26, 2020
7615e0f
chore: fix src path filter for CI
simonhaenisch Jan 26, 2020
3a45dd0
chore: disable fail-fast for CI
simonhaenisch Jan 26, 2020
5356d01
please works
simonhaenisch Jan 26, 2020
1b9bf99
chore: set timeout as flag for CI
simonhaenisch Jan 26, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
51 changes: 0 additions & 51 deletions .circleci/config.yml

This file was deleted.

27 changes: 15 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@ on:
push:
paths:
- '.github/workflows/*'
- 'lib/*'
- 'test'
- 'cli.js'
- 'index.js'
- 'src/**'
- 'markdown.css'
- 'package*.json'

jobs:
build:
strategy:
fail-fast: false
matrix:
node: [8, 10, 12]
node: [10, 12]
os: ['ubuntu-latest', 'windows-latest', 'macOS-latest']

name: Node ${{ matrix.node }} on ${{ matrix.os }}
Expand All @@ -29,16 +27,21 @@ jobs:
with:
version: ${{ matrix.node }}.x

- name: install and lint
run: |
npm install
npx xo
- name: install
run: npm install

- name: lint
run: npx xo
if: matrix.os != 'windows-latest' # because "Delete ␍ prettier/prettier" o.O

- name: build
run: npm run build

- name: test lib
run: npx nyc ava test/lib.spec.js
run: npx nyc ava src/test/lib.spec.ts

- name: test api
run: npx ava test/api.spec.js
run: npx ava src/test/api.spec.ts

- name: test cli
run: npx ava test/cli.spec.js
run: npx ava src/test/cli.spec.ts --timeout=1m
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
.vscode
node_modules

# generated
dist

# tests
.nyc_output
coverage
test/**/*.pdf
test/**/*.html
src/test/**/*.pdf
src/test/**/*.html
128 changes: 0 additions & 128 deletions cli.js

This file was deleted.

31 changes: 0 additions & 31 deletions index.js

This file was deleted.

21 changes: 0 additions & 21 deletions lib/get-html.js

This file was deleted.

26 changes: 0 additions & 26 deletions lib/get-marked-with-highlighter.js

This file was deleted.

13 changes: 0 additions & 13 deletions lib/get-md-files-in-dir.js

This file was deleted.

13 changes: 0 additions & 13 deletions lib/get-output-file-path.js

This file was deleted.

10 changes: 0 additions & 10 deletions lib/is-md-file.js

This file was deleted.