upgrade to node 18, set type module

This commit is contained in:
Bogdan Fazakas 2023-01-10 13:18:44 +02:00
parent f1d76eab35
commit 31ee937167
4 changed files with 6 additions and 5 deletions

View File

@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '16' node-version: '18'
- name: Cache node_modules - name: Cache node_modules
uses: actions/cache@v2 uses: actions/cache@v2
env: env:

View File

@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '16' node-version: '18'
registry-url: https://registry.npmjs.org/ registry-url: https://registry.npmjs.org/
- run: npm ci - run: npm ci

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "ocean-ens-proxy", "name": "ocean-ens-proxy",
"version": "0.0.0", "version": "1.0.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "ocean-ens-proxy", "name": "ocean-ens-proxy",
"version": "0.0.0", "version": "1.0.0",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"ethers": "^5.7.2" "ethers": "^5.7.2"

View File

@ -1,7 +1,8 @@
{ {
"name": "ocean-ens-proxy", "name": "ocean-ens-proxy",
"description": "Ocean Protocol ENS Proxy Server", "description": "Ocean Protocol ENS Proxy Server",
"version": "0.0.0", "version": "1.0.0",
"type": "module",
"author": "Ocean Protocol <devops@oceanprotocol.com>", "author": "Ocean Protocol <devops@oceanprotocol.com>",
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {