2
0
mirror of https://github.com/frappe/books.git synced 2025-01-24 23:58:27 +00:00

Merge pull request #1057 from stxm/00_NODE_20

feat: upgrade nodejs to v20.18.1
This commit is contained in:
Akshay 2025-01-03 09:19:32 +05:30 committed by GitHub
commit a2eebbab6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 10 additions and 11 deletions

View File

@ -13,7 +13,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '18.19.0'
node-version: '20.18.1'
- name: Set yarn version
run: yarn set version 1.22.18

View File

@ -17,7 +17,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '18.19.0'
node-version: '20.18.1'
- name: Set yarn version
run: yarn set version 1.22.18

View File

@ -9,7 +9,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '18.19.0'
node-version: '20.18.1'
- name: Checkout Books
uses: actions/checkout@v4
@ -59,7 +59,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '18.19.0'
node-version: '20.18.1'
- name: Checkout Books
uses: actions/checkout@v4
@ -109,7 +109,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '18.19.0'
node-version: '20.18.1'
- name: Checkout Books
uses: actions/checkout@v4
@ -157,7 +157,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '18.19.0'
node-version: '20.18.1'
- name: Checkout Books
uses: actions/checkout@v4

View File

@ -17,7 +17,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '18.19.0'
node-version: '20.18.1'
- name: Set yarn version
run: yarn set version 1.22.18
@ -37,7 +37,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '18.19.0'
node-version: '20.18.1'
- name: Set yarn version
run: yarn set version 1.22.18

View File

@ -73,8 +73,7 @@ a local SQLite file as the database.
### Pre-requisites
To get the dev environment up and running you need to first set up Node.js version
16.14.0 and npm. For this, we suggest using
To get the dev environment up and running you need to first set up Node.js `v20.18.1` and npm. For this, we suggest using
[nvm](https://github.com/nvm-sh/nvm#installing-and-updating).
Next, you will need to install [yarn](https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable).

View File

@ -18,7 +18,7 @@ export function getMainProcessCommonConfig(root) {
sourcemap: true,
sourcesContent: false,
platform: 'node',
target: 'node16',
target: 'node20',
external: ['knex', 'electron', 'better-sqlite3', 'electron-store'],
plugins: [excludeVendorFromSourceMap],
write: true,