Merge branch 'master' into updated-RP

updated-RP
yann300 3 years ago committed by GitHub
commit 8031d4479c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      apps/remix-ide/src/app/components/preload.tsx
  2. 3
      apps/remix-ide/src/app/components/styles/preload.css
  3. 2
      apps/remix-ide/src/remixAppManager.js
  4. 2
      libs/remix-ui/solidity-compiler/src/lib/logic/compileTabLogic.ts
  5. 4
      libs/remixd/src/bin/remixd.ts
  6. 2
      package-lock.json
  7. 2
      package.json
  8. 6
      release-process.md

@ -103,8 +103,22 @@ export const Preload = () => {
Either change the settings in your browser or use a supported browser. Either change the settings in your browser or use a supported browser.
</div> : null} </div> : null}
{error ? {error ?
<div className='preload-info-container alert alert-danger'> <div className='preload-info-container alert alert-danger text-left'>
An unknown error has occured loading the application. An unknown error has occurred while loading the application.<br></br>
Doing a hard refresh might fix this issue:<br></br>
<div className='pt-2'>
Windows:<br></br>
- Chrome: CTRL + F5 or CTRL + Reload Button<br></br>
- Firefox: CTRL + SHIFT + R or CTRL + F5<br></br>
</div>
<div className='pt-2'>
MacOS:<br></br>
- Chrome & FireFox: CMD + SHIFT + R or SHIFT + Reload Button<br></br>
</div>
<div className='pt-2'>
Linux:<br></br>
- Chrome & FireFox: CTRL + SHIFT + R<br></br>
</div>
</div> : null} </div> : null}
{showDownloader ? {showDownloader ?
<div className='preload-info-container alert alert-info'> <div className='preload-info-container alert alert-info'>

@ -19,5 +19,6 @@
.preload-logo { .preload-logo {
min-width: 200px; min-width: 200px;
max-width: 240px;
padding-bottom: 1.5rem !important; padding-bottom: 1.5rem !important;
} }

@ -7,7 +7,7 @@ const _paq = window._paq = window._paq || []
const requiredModules = [ // services + layout views + system views const requiredModules = [ // services + layout views + system views
'manager', 'config', 'compilerArtefacts', 'compilerMetadata', 'contextualListener', 'editor', 'offsetToLineColumnConverter', 'network', 'theme', 'manager', 'config', 'compilerArtefacts', 'compilerMetadata', 'contextualListener', 'editor', 'offsetToLineColumnConverter', 'network', 'theme',
'fileManager', 'contentImport', 'blockchain', 'web3Provider', 'scriptRunner', 'fetchAndCompile', 'mainPanel', 'hiddenPanel', 'sidePanel', 'menuicons', 'fileManager', 'contentImport', 'blockchain', 'web3Provider', 'scriptRunner', 'fetchAndCompile', 'mainPanel', 'hiddenPanel', 'sidePanel', 'menuicons',
'filePanel', 'terminal', 'settings', 'pluginManager', 'tabs', 'udapp', 'dGitProvider', 'solidity-logic', 'gistHandler', 'layout', 'notification', 'permissionhandler', 'walkthrough', 'storage'] 'filePanel', 'terminal', 'settings', 'pluginManager', 'tabs', 'udapp', 'dGitProvider', 'solidity-logic', 'gistHandler', 'layout', 'notification', 'permissionhandler', 'walkthrough', 'storage', 'restorebackupzip']
const dependentModules = ['git', 'hardhat', 'slither'] // module which shouldn't be manually activated (e.g git is activated by remixd) const dependentModules = ['git', 'hardhat', 'slither'] // module which shouldn't be manually activated (e.g git is activated by remixd)

@ -105,7 +105,7 @@ export class CompileTabLogic {
async isHardhatProject () { async isHardhatProject () {
if (this.api.getFileManagerMode() === 'localhost') { if (this.api.getFileManagerMode() === 'localhost') {
return await this.api.fileExists('hardhat.config.js') return await this.api.fileExists('hardhat.config.js') || await this.api.fileExists('hardhat.config.ts')
} else return false } else return false
} }

@ -101,8 +101,8 @@ function errorHandler (error: any, service: string) {
sharedFolderClient.sharedFolder(program.sharedFolder) sharedFolderClient.sharedFolder(program.sharedFolder)
}) })
// Run hardhat service if a hardhat project is shared as folder // Run hardhat service if a hardhat project is shared as folder
const hardhatConfigFilePath = absolutePath('./', program.sharedFolder) + '/hardhat.config.js' const hardhatConfigFilePath = absolutePath('./', program.sharedFolder)
const isHardhatProject = existsSync(hardhatConfigFilePath) const isHardhatProject = existsSync(hardhatConfigFilePath + '/hardhat.config.js') || existsSync(hardhatConfigFilePath + '/hardhat.config.ts')
if (isHardhatProject) { if (isHardhatProject) {
startService('hardhat', (ws: WS, sharedFolderClient: servicesList.Sharedfolder, error: Error) => { startService('hardhat', (ws: WS, sharedFolderClient: servicesList.Sharedfolder, error: Error) => {
if (error) { if (error) {

2
package-lock.json generated

@ -1,6 +1,6 @@
{ {
"name": "remix-project", "name": "remix-project",
"version": "0.22.0", "version": "0.23.0-dev",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

@ -1,6 +1,6 @@
{ {
"name": "remix-project", "name": "remix-project",
"version": "0.22.0", "version": "0.23.0-dev",
"license": "MIT", "license": "MIT",
"description": "Ethereum Remix Monorepo", "description": "Ethereum Remix Monorepo",
"keywords": [ "keywords": [

@ -37,7 +37,7 @@ This document includes:
- git checkout origin/remix_beta - git checkout origin/remix_beta
- git checkout -b bumpVersion - git checkout -b bumpVersion
- update package.json version - update package.json version
- remove package-lock.json version and generate a new one with `npm install` - update version in package-lock.json
- merge PR to **origin/remix_beta** - merge PR to **origin/remix_beta**
- git fetch origin remix_beta - git fetch origin remix_beta
- git checkout origin/remix_beta - git checkout origin/remix_beta
@ -52,7 +52,7 @@ This document includes:
- git checkout origin/master - git checkout origin/master
- git checkout -b bumpDevVersion - git checkout -b bumpDevVersion
- update package.json version: bump the version and add the tag `dev` if not already present. - update package.json version: bump the version and add the tag `dev` if not already present.
- remove package-lock.json version and generate a new one with `npm install` - update version in package-lock.json
- create a PR and merge it to origin/master - create a PR and merge it to origin/master
## Remix IDE release Part 4. remix.ethereum.org update ## Remix IDE release Part 4. remix.ethereum.org update
@ -73,7 +73,7 @@ This is not strictly speaking a release. Updating the remix site is done through
- git checkout origin/master - git checkout origin/master
- git checkout -b bumpVersion - git checkout -b bumpVersion
- update package.json version to the new version "vx.x.x-beta.1" - update package.json version to the new version "vx.x.x-beta.1"
- remove package-lock/json version and generate a new one with `npm install` - update version in package-lock.json
- merge PR - merge PR
- git fetch origin master - git fetch origin master
- git checkout origin/master - git checkout origin/master

Loading…
Cancel
Save