mirror of
https://github.com/frappe/books.git
synced 2025-01-26 00:28:25 +00:00
Merge pull request #1057 from stxm/00_NODE_20
feat: upgrade nodejs to v20.18.1
This commit is contained in:
commit
a2eebbab6f
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '18.19.0'
|
node-version: '20.18.1'
|
||||||
|
|
||||||
- name: Set yarn version
|
- name: Set yarn version
|
||||||
run: yarn set version 1.22.18
|
run: yarn set version 1.22.18
|
||||||
|
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '18.19.0'
|
node-version: '20.18.1'
|
||||||
|
|
||||||
- name: Set yarn version
|
- name: Set yarn version
|
||||||
run: yarn set version 1.22.18
|
run: yarn set version 1.22.18
|
||||||
|
8
.github/workflows/publish.yml
vendored
8
.github/workflows/publish.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '18.19.0'
|
node-version: '20.18.1'
|
||||||
|
|
||||||
- name: Checkout Books
|
- name: Checkout Books
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -59,7 +59,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '18.19.0'
|
node-version: '20.18.1'
|
||||||
|
|
||||||
- name: Checkout Books
|
- name: Checkout Books
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -109,7 +109,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '18.19.0'
|
node-version: '20.18.1'
|
||||||
|
|
||||||
- name: Checkout Books
|
- name: Checkout Books
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -157,7 +157,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '18.19.0'
|
node-version: '20.18.1'
|
||||||
|
|
||||||
- name: Checkout Books
|
- name: Checkout Books
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '18.19.0'
|
node-version: '20.18.1'
|
||||||
|
|
||||||
- name: Set yarn version
|
- name: Set yarn version
|
||||||
run: yarn set version 1.22.18
|
run: yarn set version 1.22.18
|
||||||
@ -37,7 +37,7 @@ jobs:
|
|||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '18.19.0'
|
node-version: '20.18.1'
|
||||||
|
|
||||||
- name: Set yarn version
|
- name: Set yarn version
|
||||||
run: yarn set version 1.22.18
|
run: yarn set version 1.22.18
|
||||||
|
@ -73,8 +73,7 @@ a local SQLite file as the database.
|
|||||||
|
|
||||||
### Pre-requisites
|
### Pre-requisites
|
||||||
|
|
||||||
To get the dev environment up and running you need to first set up Node.js version
|
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
|
||||||
16.14.0 and npm. For this, we suggest using
|
|
||||||
[nvm](https://github.com/nvm-sh/nvm#installing-and-updating).
|
[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).
|
Next, you will need to install [yarn](https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable).
|
||||||
|
@ -18,7 +18,7 @@ export function getMainProcessCommonConfig(root) {
|
|||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
sourcesContent: false,
|
sourcesContent: false,
|
||||||
platform: 'node',
|
platform: 'node',
|
||||||
target: 'node16',
|
target: 'node20',
|
||||||
external: ['knex', 'electron', 'better-sqlite3', 'electron-store'],
|
external: ['knex', 'electron', 'better-sqlite3', 'electron-store'],
|
||||||
plugins: [excludeVendorFromSourceMap],
|
plugins: [excludeVendorFromSourceMap],
|
||||||
write: true,
|
write: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user