diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index db9b9880..2298351f 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -14,10 +14,10 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Check out the repo" - uses: "actions/checkout@v2" + uses: "actions/checkout@v3" - name: "Install Node.js" - uses: "actions/setup-node@v2" + uses: "actions/setup-node@v3" with: cache: "yarn" node-version: "16" diff --git a/README.md b/README.md index f1966eac..af27db02 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ When you’re ready to deploy to production, create a minified bundle with `yarn ## Creating an App -**You’ll need to have Node 14 or later version on your local development machine** (but it’s not required on the server). You can use [nvm](https://github.com/creationix/nvm#installation) (macOS/Linux) or [nvm-windows](https://github.com/coreybutler/nvm-windows#node-version-manager-nvm-for-windows) to switch Node versions between different projects. +**You’ll need to have Node 16 or later version on your local development machine** (but it’s not required on the server). You can use [nvm](https://github.com/creationix/nvm#installation) (macOS/Linux) or [nvm-windows](https://github.com/coreybutler/nvm-windows#node-version-manager-nvm-for-windows) to switch Node versions between different projects. **You'll also need Yarn on your local development machine**. This is because Create Eth App relies on Yarn Workspaces, a feature not supported by Npm. diff --git a/package.json b/package.json index 0a88ed5d..87a53e32 100644 --- a/package.json +++ b/package.json @@ -29,9 +29,9 @@ "validate-npm-package-name": "^3.0.0" }, "devDependencies": { - "@commitlint/cli": "^16.2.1", - "@commitlint/config-conventional": "^16.2.1", - "@commitlint/config-lerna-scopes": "^16.2.2", + "@commitlint/cli": "^16.3", + "@commitlint/config-conventional": "^16.2.4", + "@commitlint/config-lerna-scopes": "^16.2.4", "@jest/globals": "^27.5.1", "@octokit/request": "^5.6.3", "@trivago/prettier-plugin-sort-imports": "^3.2.0", @@ -65,7 +65,7 @@ "typescript": "~4.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "files": [ "/dist", diff --git a/yarn.lock b/yarn.lock index ad2b1eab..053179b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1038,13 +1038,13 @@ __metadata: languageName: node linkType: hard -"@commitlint/cli@npm:^16.2.1": - version: 16.2.1 - resolution: "@commitlint/cli@npm:16.2.1" +"@commitlint/cli@npm:^16.3": + version: 16.3.0 + resolution: "@commitlint/cli@npm:16.3.0" dependencies: "@commitlint/format": ^16.2.1 - "@commitlint/lint": ^16.2.1 - "@commitlint/load": ^16.2.1 + "@commitlint/lint": ^16.2.4 + "@commitlint/load": ^16.3.0 "@commitlint/read": ^16.2.1 "@commitlint/types": ^16.2.1 lodash: ^4.17.19 @@ -1053,33 +1053,33 @@ __metadata: yargs: ^17.0.0 bin: commitlint: cli.js - checksum: da673e8e037f74b1a4257884d8f55fd6bfaf575283aa15b48a787090d3b81bdb49c8daa92aaa93208e1c026296c451e9d697d53380ea93a1a5c110a10e5794d0 + checksum: 4fa791cd21fc4c61212de28cd4e64adc3de6d3a4f10ef89955d5382af6be95871d1a7cf210c6a7d74a8a6d75f008a52f7616bdc881776b292f45004ec2ced21a languageName: node linkType: hard -"@commitlint/config-conventional@npm:^16.2.1": - version: 16.2.1 - resolution: "@commitlint/config-conventional@npm:16.2.1" +"@commitlint/config-conventional@npm:^16.2.4": + version: 16.2.4 + resolution: "@commitlint/config-conventional@npm:16.2.4" dependencies: conventional-changelog-conventionalcommits: ^4.3.1 - checksum: 23dac76a8fbe5624433e1c948bc53eaf0a60b77f418fe7f94eea8e17abf9605d7ae9418188d8c1a38c2e6d5cb865c8e2d0894826c3eb41fb052af95e79bc02d3 + checksum: 211a322967c1eeee961eb0be9752782d16c025213520b7ada173d6b16050efe477778103f32b62361ad595b79ff6703694569d99705469cb2be0ac5ffba6465e languageName: node linkType: hard -"@commitlint/config-lerna-scopes@npm:^16.2.2": - version: 16.2.2 - resolution: "@commitlint/config-lerna-scopes@npm:16.2.2" +"@commitlint/config-lerna-scopes@npm:^16.2.4": + version: 16.2.4 + resolution: "@commitlint/config-lerna-scopes@npm:16.2.4" dependencies: globby: ^11.0.1 import-from: 4.0.0 resolve-pkg: 2.0.0 - semver: 7.3.5 + semver: 7.3.7 peerDependencies: lerna: ^3.0.0 || ^4.0.0 peerDependenciesMeta: lerna: optional: true - checksum: a4051a6f224c9a275eb8f8fd7f5077f251351328567ee45d7314fdcf87020b3f68cad8c4c33c9b221ee9dd97781c438a7e954ad0abb2d30d74558c239c99b00e + checksum: e34cbc3572af76dc126e7d70249a412d8b6647880eaa3305a2a5dc35811647ebe78399ef0b7adbd4145799a02d7b4119e2cf6df96b7f8cb99ea5c1bb4c1bfc76 languageName: node linkType: hard @@ -1127,25 +1127,25 @@ __metadata: languageName: node linkType: hard -"@commitlint/is-ignored@npm:^16.2.1": - version: 16.2.1 - resolution: "@commitlint/is-ignored@npm:16.2.1" +"@commitlint/is-ignored@npm:^16.2.4": + version: 16.2.4 + resolution: "@commitlint/is-ignored@npm:16.2.4" dependencies: "@commitlint/types": ^16.2.1 - semver: 7.3.5 - checksum: 130011f5723a58e2f1e4a7aa5720766fb709ad27203efc1f468efac841d99f672c4273daa247a2ba03a7779afd83f5a8f5576e3632fb3abdc01cf19c101ce4db + semver: 7.3.7 + checksum: 1ae5f3ca1394fc3d211e8c3bf8f8a16b77e8b04050390a6231990d3802865d465273976f4d3ea1d6ec7ca4c9a8220044f10ea5cae3c13db826d56f7d9c69cbaa languageName: node linkType: hard -"@commitlint/lint@npm:^16.2.1": - version: 16.2.1 - resolution: "@commitlint/lint@npm:16.2.1" +"@commitlint/lint@npm:^16.2.4": + version: 16.2.4 + resolution: "@commitlint/lint@npm:16.2.4" dependencies: - "@commitlint/is-ignored": ^16.2.1 + "@commitlint/is-ignored": ^16.2.4 "@commitlint/parse": ^16.2.1 - "@commitlint/rules": ^16.2.1 + "@commitlint/rules": ^16.2.4 "@commitlint/types": ^16.2.1 - checksum: f93b1402e9e34aa91d2eccf0049c3c77fc224dc887c1f82ee9fe4b5d4fd96632cf0b9481d631462c741baafbc822827af52e6de1e8bfeb41a414b6d71422680b + checksum: 189d3070fb0c131d6ac2b2e8c864c37892fd2d202b866be9f0d9fdf5a5d5a0d5e8221bc373f29977ac1e5e33015abd71640dbd104e86137b60d8d4783d61679f languageName: node linkType: hard @@ -1164,9 +1164,9 @@ __metadata: languageName: node linkType: hard -"@commitlint/load@npm:^16.2.1": - version: 16.2.1 - resolution: "@commitlint/load@npm:16.2.1" +"@commitlint/load@npm:^16.3.0": + version: 16.3.0 + resolution: "@commitlint/load@npm:16.3.0" dependencies: "@commitlint/config-validator": ^16.2.1 "@commitlint/execute-rule": ^16.2.1 @@ -1175,11 +1175,11 @@ __metadata: "@types/node": ">=12" chalk: ^4.0.0 cosmiconfig: ^7.0.0 - cosmiconfig-typescript-loader: ^1.0.0 + cosmiconfig-typescript-loader: ^2.0.0 lodash: ^4.17.19 resolve-from: ^5.0.0 typescript: ^4.4.3 - checksum: 2b2fceff10c02ba61a5fa9c24a8f22156af0be6865a6b3b1543d93861d75b1552d7c86ce9cadd8598248387829feee26d0e0e646f3f0822e7a9bc74023e18fde + checksum: b03e3d9af2adec36e5d539741807c161a2860411ba25c2fddb75d3d4d2dadf4faaefd417150a0898b3aca4ce451a378222ce5039760e85faacc315b525a44035 languageName: node linkType: hard @@ -1239,16 +1239,16 @@ __metadata: languageName: node linkType: hard -"@commitlint/rules@npm:^16.2.1": - version: 16.2.1 - resolution: "@commitlint/rules@npm:16.2.1" +"@commitlint/rules@npm:^16.2.4": + version: 16.2.4 + resolution: "@commitlint/rules@npm:16.2.4" dependencies: "@commitlint/ensure": ^16.2.1 "@commitlint/message": ^16.2.1 "@commitlint/to-lines": ^16.2.1 "@commitlint/types": ^16.2.1 execa: ^5.0.0 - checksum: 86d2c7d6564d231705e215135275e2f8c3aacd047402edfc78021398e83743d3b4f759ccc93294c94cb5773fed22eeca2036ea2a07e177c2e82c581430b89e2b + checksum: 117373efcec540512747832ab75af30a584e054ff92cce6f47b7fc552cc2048af5f9812b78d1dd5b128e7eeec7623f7bd45f139451020258d87548348c5bf08b languageName: node linkType: hard @@ -1284,19 +1284,12 @@ __metadata: languageName: node linkType: hard -"@cspotcode/source-map-consumer@npm:0.8.0": - version: 0.8.0 - resolution: "@cspotcode/source-map-consumer@npm:0.8.0" - checksum: c0c16ca3d2f58898f1bd74c4f41a189dbcc202e642e60e489cbcc2e52419c4e89bdead02c886a12fb13ea37798ede9e562b2321df997ebc210ae9bd881561b4e - languageName: node - linkType: hard - -"@cspotcode/source-map-support@npm:0.7.0": - version: 0.7.0 - resolution: "@cspotcode/source-map-support@npm:0.7.0" +"@cspotcode/source-map-support@npm:^0.8.0": + version: 0.8.1 + resolution: "@cspotcode/source-map-support@npm:0.8.1" dependencies: - "@cspotcode/source-map-consumer": 0.8.0 - checksum: 9faddda7757cd778b5fd6812137b2cc265810043680d6399acc20441668fafcdc874053be9dccd0d9110087287bfad27eb3bf342f72bceca9aa9059f5d0c4be8 + "@jridgewell/trace-mapping": 0.3.9 + checksum: 5718f267085ed8edb3e7ef210137241775e607ee18b77d95aa5bd7514f47f5019aa2d82d96b3bf342ef7aa890a346fa1044532ff7cc3009e7d24fce3ce6200fa languageName: node linkType: hard @@ -1609,6 +1602,16 @@ __metadata: languageName: node linkType: hard +"@jridgewell/trace-mapping@npm:0.3.9": + version: 0.3.9 + resolution: "@jridgewell/trace-mapping@npm:0.3.9" + dependencies: + "@jridgewell/resolve-uri": ^3.0.3 + "@jridgewell/sourcemap-codec": ^1.4.10 + checksum: d89597752fd88d3f3480845691a05a44bd21faac18e2185b6f436c3b0fd0c5a859fbbd9aaa92050c4052caf325ad3e10e2e1d1b64327517471b7d51babc0ddef + languageName: node + linkType: hard + "@jridgewell/trace-mapping@npm:^0.3.0": version: 0.3.4 resolution: "@jridgewell/trace-mapping@npm:0.3.4" @@ -4622,17 +4625,17 @@ __metadata: languageName: node linkType: hard -"cosmiconfig-typescript-loader@npm:^1.0.0": - version: 1.0.6 - resolution: "cosmiconfig-typescript-loader@npm:1.0.6" +"cosmiconfig-typescript-loader@npm:^2.0.0": + version: 2.0.2 + resolution: "cosmiconfig-typescript-loader@npm:2.0.2" dependencies: cosmiconfig: ^7 - ts-node: ^10.6.0 + ts-node: ^10.8.1 peerDependencies: "@types/node": "*" cosmiconfig: ">=7" typescript: ">=3" - checksum: da1dbdffe341688d1ea953f2ef9d69ea6c480d17922c7eb4b5fcdc0b410bc4db633f261316df78623a1ea45496fb109b90ade974e910114f77a5f150b324f85d + checksum: 0c9a777e2e3ff7594d753e5781e8c3817ce5ba493a4e69cfde698a8e231b438695248dcc62a16c661f93ada7f762ac6e24457889439c94f58c094a24aecbd982 languageName: node linkType: hard @@ -4666,9 +4669,9 @@ __metadata: version: 0.0.0-use.local resolution: "create-eth-app@workspace:." dependencies: - "@commitlint/cli": ^16.2.1 - "@commitlint/config-conventional": ^16.2.1 - "@commitlint/config-lerna-scopes": ^16.2.2 + "@commitlint/cli": ^16.3 + "@commitlint/config-conventional": ^16.2.4 + "@commitlint/config-lerna-scopes": ^16.2.4 "@jest/globals": ^27.5.1 "@octokit/request": ^5.6.3 "@trivago/prettier-plugin-sort-imports": ^3.2.0 @@ -10837,14 +10840,14 @@ resolve@^1.3.2: languageName: node linkType: hard -"semver@npm:7.3.5, semver@npm:^7.1.1, semver@npm:^7.1.3, semver@npm:^7.3.4, semver@npm:^7.3.5": - version: 7.3.5 - resolution: "semver@npm:7.3.5" +"semver@npm:7.3.7": + version: 7.3.7 + resolution: "semver@npm:7.3.7" dependencies: lru-cache: ^6.0.0 bin: semver: bin/semver.js - checksum: 5eafe6102bea2a7439897c1856362e31cc348ccf96efd455c8b5bc2c61e6f7e7b8250dc26b8828c1d76a56f818a7ee907a36ae9fb37a599d3d24609207001d60 + checksum: 2fa3e877568cd6ce769c75c211beaed1f9fce80b28338cadd9d0b6c40f2e2862bafd62c19a6cff42f3d54292b7c623277bcab8816a2b5521cf15210d43e75232 languageName: node linkType: hard @@ -10866,6 +10869,17 @@ resolve@^1.3.2: languageName: node linkType: hard +"semver@npm:^7.1.1, semver@npm:^7.1.3, semver@npm:^7.3.4, semver@npm:^7.3.5": + version: 7.3.5 + resolution: "semver@npm:7.3.5" + dependencies: + lru-cache: ^6.0.0 + bin: + semver: bin/semver.js + checksum: 5eafe6102bea2a7439897c1856362e31cc348ccf96efd455c8b5bc2c61e6f7e7b8250dc26b8828c1d76a56f818a7ee907a36ae9fb37a599d3d24609207001d60 + languageName: node + linkType: hard + "set-blocking@npm:~2.0.0": version: 2.0.0 resolution: "set-blocking@npm:2.0.0" @@ -11906,11 +11920,11 @@ resolve@^1.3.2: languageName: node linkType: hard -"ts-node@npm:^10.6.0": - version: 10.7.0 - resolution: "ts-node@npm:10.7.0" +"ts-node@npm:^10.8.1": + version: 10.9.1 + resolution: "ts-node@npm:10.9.1" dependencies: - "@cspotcode/source-map-support": 0.7.0 + "@cspotcode/source-map-support": ^0.8.0 "@tsconfig/node10": ^1.0.7 "@tsconfig/node12": ^1.0.7 "@tsconfig/node14": ^1.0.0 @@ -11921,7 +11935,7 @@ resolve@^1.3.2: create-require: ^1.1.0 diff: ^4.0.1 make-error: ^1.1.1 - v8-compile-cache-lib: ^3.0.0 + v8-compile-cache-lib: ^3.0.1 yn: 3.1.1 peerDependencies: "@swc/core": ">=1.2.50" @@ -11940,7 +11954,7 @@ resolve@^1.3.2: ts-node-script: dist/bin-script.js ts-node-transpile-only: dist/bin-transpile.js ts-script: dist/bin-script-deprecated.js - checksum: 2a379e43f7478d0b79e1e63af91fe222d83857727957df4bd3bdf3c0a884de5097b12feb9bbf530074526b8874c0338b0e6328cf334f3a5e2c49c71e837273f7 + checksum: 090adff1302ab20bd3486e6b4799e90f97726ed39e02b39e566f8ab674fd5bd5f727f43615debbfc580d33c6d9d1c6b1b3ce7d8e3cca3e20530a145ffa232c35 languageName: node linkType: hard @@ -12297,10 +12311,10 @@ typescript@^4.4.3: languageName: node linkType: hard -"v8-compile-cache-lib@npm:^3.0.0": - version: 3.0.0 - resolution: "v8-compile-cache-lib@npm:3.0.0" - checksum: 674e312bbca796584b61dc915f33c7e7dc4e06d196e0048cb772c8964493a1ec723f1dd014d9419fd55c24a6eae148f60769da23f622e05cd13268063fa1ed6b +"v8-compile-cache-lib@npm:^3.0.1": + version: 3.0.1 + resolution: "v8-compile-cache-lib@npm:3.0.1" + checksum: 78089ad549e21bcdbfca10c08850022b22024cdcc2da9b168bcf5a73a6ed7bf01a9cebb9eac28e03cd23a684d81e0502797e88f3ccd27a32aeab1cfc44c39da0 languageName: node linkType: hard