From 5546989db479c734c4112e8058046064a6ba4d49 Mon Sep 17 00:00:00 2001 From: Leandro Facchinetti Date: Thu, 13 Oct 2022 21:07:29 +0100 Subject: [PATCH] --- .github/FUNDING.yml | 7 +++++++ .github/workflows/main.yml | 6 +++--- LICENSE | 2 +- README.md | 13 +++++++++++++ package.json | 8 +++++++- tsconfig.json | 22 ++++++++++++++-------- 6 files changed, 45 insertions(+), 13 deletions(-) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..ba3b80a --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,7 @@ +patreon: leafac +custom: + [ + "https://paypal.me/LeandroFacchinettiEU", + "https://btc.com/34KJBgtaFYMtDqpSgMayw9qiKWg2GQXA9M", + ] +github: leafac diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 32d79a2..982a268 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,10 +3,10 @@ jobs: main: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: '14.x' + node-version: 18 registry-url: https://registry.npmjs.org/ - run: npm install-ci-test - run: npm publish diff --git a/LICENSE b/LICENSE index 5fc9d16..5bf75b4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Leandro Facchinetti +Copyright (c) 2022 Leandro Facchinetti (https://leafac.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index dd24157..d889ab7 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,16 @@ +

Shiki LaTeX

A Shiki renderer for LaTeX. Compatible with minted, replacing Pygments.

diff --git a/package.json b/package.json index 5e49308..0e0afd6 100644 --- a/package.json +++ b/package.json @@ -48,5 +48,11 @@ "bugs": { "url": "https://github.com/leafac/shiki-latex/issues" }, - "homepage": "https://github.com/leafac/shiki-latex#readme" + "homepage": "https://github.com/leafac/shiki-latex", + "funding": [ + "https://patreon.com/leafac", + "https://paypal.me/LeandroFacchinettiEU", + "https://github.com/sponsors/leafac", + "https://btc.com/34KJBgtaFYMtDqpSgMayw9qiKWg2GQXA9M" + ] } diff --git a/tsconfig.json b/tsconfig.json index 953a05c..03f71e3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,13 +1,19 @@ { "compilerOptions": { - "rootDir": "src", - "outDir": "lib", - "module": "commonjs", - "esModuleInterop": true, - "target": "ES2019", - "strict": true, - "sourceMap": true, + "rootDir": "./source/", + "outDir": "./distribution/", + + "module": "ESNext", + "moduleResolution": "NodeNext", + "lib": ["ESNext", "DOM", "DOM.Iterable"], + "skipLibCheck": true, + "allowSyntheticDefaultImports": true, + "target": "ESNext", + "declaration": true, - "declarationMap": true + "declarationMap": true, + "sourceMap": true, + + "strict": true } }