Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump essentials package to 1.0.3 #460

Merged
merged 7 commits into from
Mar 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ module.exports = {
env: {
browser: true,
es6: true,
"jest/globals": true
'jest/globals': true,
},
extends: [
'airbnb',
'plugin:cypress/recommended'
'plugin:cypress/recommended',
],
globals: {
Atomics: 'readonly',
Expand All @@ -21,9 +21,11 @@ module.exports = {
},
plugins: [
'react',
'jest'
'jest',
],
rules: {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }]
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
'react/destructuring-assignment': 'warn',
'react/require-default-props': 'warn',
},
};
5 changes: 5 additions & 0 deletions .github/workflows/gh-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
with:
persist-credentials: false

- name: Setup Node 12
uses: actions/setup-node@v1
with:
node-version: '12'

- name: Install and Build for Testnet 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
yarn
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "rns-manager-react",
"version": "2.1.9",
"version": "2.1.10",
"private": true,
"license": "MIT",
"homepage": ".",
"dependencies": {
"@ensdomains/address-encoder": "^0.1.8",
"@githubprimer/octicons-react": "^8.5.0",
"@rsksmart/rlogin-essentials": "1.0.1",
"@rsksmart/rlogin-essentials": "1.0.3",
"@rsksmart/rns": "^1.9.0",
"@rsksmart/rns-suite": "^1.1.0",
"bootstrap": "^4.3.1",
Expand Down Expand Up @@ -45,8 +45,8 @@
"start": "env-cmd -f .env.local react-scripts start",
"start:testnet": "env-cmd -f .env.testnet react-scripts start",
"start:mainnet": "env-cmd -f .env.production react-scripts start",
"build:testnet": "env-cmd -f .env.testnet react-scripts --max_old_space_size=8192 build",
"build:mainnet": "env-cmd -f .env.production react-scripts --max_old_space_size=8192 build",
"build:testnet": "CI=false env-cmd -f .env.testnet react-scripts --max_old_space_size=8192 build",
"build:mainnet": "CI=false env-cmd -f .env.production react-scripts --max_old_space_size=8192 build",
"test": "node ./tests/setupRnsSuite.js && jest --maxWorkers=4 && eslint src",
"test:watch": "node ./tests/setupRnsSuite.js && jest --watch",
"cypress": "cypress open",
Expand Down
5 changes: 5 additions & 0 deletions tests/setupTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ const { TextEncoder, TextDecoder } = require('util');

global.TextEncoder = TextEncoder;
global.TextDecoder = TextDecoder;

// for rLogin essentials
jest.mock('@rsksmart/rlogin-dcent-provider', () => ({
DCentProvider: () => ({}),
}));
Loading