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

chore(module): merge updates from main #459

Merged
merged 3 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

steps:
- name: 'Checkout code'
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac

- name: Use Node.js current version
uses: actions/setup-node@bea5baf987ba7aa777a8a0b4ace377a21c45c381
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
with:
node-version: current

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-ql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Checkout repository for code analysis
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac

- name: Initialize CodeQL
uses: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Checkout for dependency review
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac

- name: Running Dependency Review
uses: actions/dependency-review-action@f6fff72a3217f580d5afd49a46826795305b63c7
uses: actions/dependency-review-action@6c5ccdad469c9f8a2996bfecaec55a631a347034
18 changes: 9 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:

steps:
- name: Checkout for release preparation
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
with:
ref: alpha
persist-credentials: false

- name: Use Node.js current version
uses: actions/setup-node@bea5baf987ba7aa777a8a0b4ace377a21c45c381
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
with:
node-version: current

Expand All @@ -33,7 +33,7 @@ jobs:

- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@8e58d20d0f6c8773181f43eb74d6a05e3099571d
uses: cycjimmy/semantic-release-action@61680d0e9b02ff86f5648ade99e01be17f0260a4
with:
semantic_version: 19.0.2
env:
Expand All @@ -52,13 +52,13 @@ jobs:

steps:
- name: Checkout for release preparation
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
with:
ref: beta
persist-credentials: false

- name: Use Node.js current version
uses: actions/setup-node@bea5baf987ba7aa777a8a0b4ace377a21c45c381
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
with:
node-version: current

Expand All @@ -67,7 +67,7 @@ jobs:

- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@8e58d20d0f6c8773181f43eb74d6a05e3099571d
uses: cycjimmy/semantic-release-action@61680d0e9b02ff86f5648ade99e01be17f0260a4
with:
semantic_version: 19.0.2
env:
Expand All @@ -86,13 +86,13 @@ jobs:

steps:
- name: Checkout for release preparation
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
with:
ref: main
persist-credentials: false

- name: Use Node.js current version
uses: actions/setup-node@bea5baf987ba7aa777a8a0b4ace377a21c45c381
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
with:
node-version: current

Expand All @@ -101,7 +101,7 @@ jobs:

- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@8e58d20d0f6c8773181f43eb74d6a05e3099571d
uses: cycjimmy/semantic-release-action@61680d0e9b02ff86f5648ade99e01be17f0260a4
with:
semantic_version: 19.0.2
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: 'Checkout code'
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
with:
persist-credentials: false

Expand Down
18 changes: 2 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jw-epub-parser",
"version": "2.0.0-beta.9",
"version": "1.41.0",
"type": "module",
"description": "This tool will help you to parse and extract the needed source materials from Meeting Workbook EPUB file. Support for parsing Watchtower Study will be added in future release.",
"keywords": [
Expand Down
57 changes: 33 additions & 24 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,39 @@ import json from '@rollup/plugin-json';
import terser from '@rollup/plugin-terser';

const config = [
{
input: 'src/browser/index.js',
output: [
{
sourcemap: true,
file: 'dist/index.js',
format: 'es',
},
],
plugins: [nodeResolve(), commonjs(), json(), terser()],
external: ['dateformat', 'jszip', 'path-browserify'],
},
{
input: 'src/node/index.js',
output: [
{
sourcemap: true,
file: 'dist/node/index.js',
format: 'es',
},
],
plugins: [commonjs(), json(), terser()],
external: ['dateformat', 'jszip', 'global-jsdom/register', 'path', 'fs', 'node-fetch', 'fs/promises'],
},
{
input: 'src/browser/index.js',
output: [
{
sourcemap: true,
file: 'dist/index.js',
format: 'es',
},
],
plugins: [nodeResolve(), commonjs(), json(), terser()],
external: ['dateformat', 'jszip', 'path-browserify'],
},
{
input: 'src/node/index.js',
output: [
{
sourcemap: true,
file: 'dist/node/index.js',
format: 'es',
},
],
plugins: [commonjs(), json(), terser()],
external: [
'dateformat',
'jszip',
'global-jsdom/register',
'node-html-parser',
'path',
'fs',
'node-fetch',
'fs/promises',
],
},
];

export default config;
Loading