Skip to content

Commit

Permalink
Merge pull request #2419 from nervosnetwork/rc/v0.103.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY authored Jun 11, 2022
2 parents 39e5c6a + d4cca5f commit 0fb03b1
Show file tree
Hide file tree
Showing 136 changed files with 12,599 additions and 10,365 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
node:
- 16.4.0
- 16.10.0
os:
- macos-latest
- ubuntu-20.04
Expand All @@ -23,6 +23,11 @@ jobs:
name: ${{ matrix.os }}(Node.js ${{ matrix.node }})

steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout
uses: actions/checkout@v2

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/package_for_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
node:
- 16.4.0
- 16.10.0
os:
- macos-latest
- ubuntu-20.04
Expand All @@ -18,6 +18,11 @@ jobs:
name: ${{ matrix.os }}(Node.js ${{ matrix.node }})

steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout
uses: actions/checkout@v2

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
node:
- 16.4.0
- 16.10.0
os:
- macos-latest
- ubuntu-20.04
Expand All @@ -20,6 +20,11 @@ jobs:
name: ${{ matrix.os }}(Node.js ${{ matrix.node }})

steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout
uses: actions/checkout@v2

Expand Down
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
# 0.103.1 (2022-06-11)

### New features
* #2375: Adapt new testnet URL(@yanguoyu)
* #2400: Support send acp/sudt to any address.(@yanguoyu)
* #2406: Refine export tx(@yanguoyu)
* #2408: add address format toggle in receive tabs(@Keith-CY)


### Bug fixes
* #2344: Delete unnecessary conditions. Retry should await.(@yanguoyu)
* #2390: Fix unmatched cheque lockHash(@yanguoyu)
* #2405: Remove covering above `update` button(@yanguoyu)
* #2409: Remove scroll(@yanguoyu)
* #2410: style of release note(@Keith-CY)


### Refactor
* #2368: Use blake160 replace addresse. Rename 'multi-sign' to 'multisig'(@yanguoyu)
* #2373, #2412: improve neuron-ui typescript, tests, deps and bundle(@qiweiii)


**Full Changelog**: https://github.com/nervosnetwork/neuron/compare/v0.103.0...v0.103.1



# 0.103.0 (2022-05-10)

### Hardfork
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages": [
"packages/*"
],
"version": "0.103.0",
"version": "0.103.1",
"npmClient": "yarn",
"useWorkspaces": true
}
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,22 @@
}
},
"devDependencies": {
"@types/jest": "24.0.18",
"@babel/core": "7.17.10",
"@types/jest": "27.5.0",
"@types/node": "16.11.7",
"@typescript-eslint/eslint-plugin": "2.19.0",
"@typescript-eslint/parser": "2.19.0",
"@typescript-eslint/eslint-plugin": "5.23.0",
"@typescript-eslint/parser": "5.23.0",
"concurrently": "7.0.0",
"cross-env": "7.0.3",
"eslint": "6.7.2",
"husky": "3.0.5",
"lerna": "4.0.0",
"ncp": "2.0.0",
"ts-jest": "24.0.2",
"ts-jest": "27.1.4",
"typescript": "3.8.2",
"wait-on": "6.0.0"
},
"dependencies": {}
"dependencies": {},
"resolutions": {
"@types/react": "16.9.15"
}
}
225 changes: 149 additions & 76 deletions packages/neuron-ui/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,86 +1,159 @@
module.exports = {
"extends": ["airbnb", "plugin:prettier/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"settings": {
"import/resolver": {
"node": {
"paths": ["src"],
"extensions": [".js", ".ts", ".jsx", ".tsx"]
}
extends: ['airbnb', 'plugin:prettier/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
settings: {
'import/resolver': {
node: {
paths: ['src'],
extensions: ['.js', '.ts', '.jsx', '.tsx'],
},
},
react: {
version: 'detect',
},
"react": {
"version": "detect"
}
},
"rules": {
"prettier/prettier": [2, {
"printWidth": 120
}],
"semi": [2, "never"],
"curly": [2, "all"],
"comma-dangle": [2, {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}],
"import/no-extraneous-dependencies": [2, {
"devDependencies": true
}],
"no-unused-vars": "off",
"implicit-arrow-linebreak": "off",
"@typescript-eslint/no-unused-vars": ["error", {
"vars": "local",
"args": "after-used",
"ignoreRestSiblings": false
}],
"arrow-parens": [2, "as-needed"],
"max-len": [2, {
"code": 120,
"ignoreComments": true,
"ignoreTrailingComments": true,
"ignoreUrls": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true,
}],
"object-curly-newline": ["error", {
"ObjectExpression": {
"consistent": true
rules: {
'prettier/prettier': [
2,
{
printWidth: 120,
endOfLine: 'auto',
},
],
semi: [2, 'never'],
curly: [2, 'all'],
'comma-dangle': [
2,
{
arrays: 'always-multiline',
objects: 'always-multiline',
imports: 'always-multiline',
exports: 'always-multiline',
functions: 'ignore',
},
],
'import/no-extraneous-dependencies': [
2,
{
devDependencies: true,
},
],
'no-unused-vars': 'off',
'implicit-arrow-linebreak': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{
vars: 'local',
args: 'after-used',
ignoreRestSiblings: false,
},
],
'arrow-parens': [2, 'as-needed'],
'max-len': [
2,
{
code: 120,
ignoreComments: true,
ignoreTrailingComments: true,
ignoreUrls: true,
ignoreStrings: true,
ignoreTemplateLiterals: true,
ignoreRegExpLiterals: true,
},
],
'object-curly-newline': [
'error',
{
ObjectExpression: {
consistent: true,
},
ObjectPattern: {
consistent: true,
},
ImportDeclaration: {
consistent: true,
},
ExportDeclaration: {
multiline: true,
minProperties: 3,
},
},
"ObjectPattern": {
"consistent": true
],
'no-plusplus': [0],
'lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }],
'max-classes-per-file': [0],
'react/jsx-filename-extension': [
1,
{
extensions: ['.ts', '.tsx'],
},
"ImportDeclaration": {
"consistent": true,
],
'react/jsx-props-no-spreading': [0],
'typescript-eslint/no-angle-bracket-type-assertion': [0],
'no-alert': [0],
'no-console': [
2,
{
allow: ['info', 'warn', 'error', 'group', 'groupEnd'],
},
"ExportDeclaration": {
"multiline": true,
"minProperties": 3
}
}],
"no-plusplus": [0],
"lines-between-class-members": ["error", "always", { exceptAfterSingleLine: true }],
"max-classes-per-file": [0],
"react/jsx-filename-extension": [1, {
"extensions": [".ts", ".tsx"]
}],
"react/jsx-props-no-spreading": [0],
"typescript-eslint/no-angle-bracket-type-assertion": [0],
"no-alert": [0],
"no-console": [2, {
"allow": ["info", "warn", "error", "group", "groupEnd"]
}],
"no-bitwise": [0]
],
'no-bitwise': [0],
'import/extensions': [
'error',
'ignorePackages',
{
ts: 'never',
tsx: 'never',
},
],
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error'],
'@typescript-eslint/no-var-requires': 'off',
'react/prop-types': 'off',
'react/function-component-definition': [
2,
{
namedComponents: 'arrow-function',
unnamedComponents: 'arrow-function',
},
],
'react/require-default-props': 'off',
'@typescript-eslint/ban-types': [
'error',
{
extendDefaults: true,
types: {
'{}': false,
Function: false,
},
},
],
'no-unsafe-optional-chaining': ['warn', { disallowArithmeticOperators: false }],
'react/no-unstable-nested-components': ['warn', { allowAsProps: true }],
'default-param-last': 'off',
'react/jsx-no-useless-fragment': 'off',
},
"env": {
"jest": true,
"node": true,
"browser": true
overrides: [
{
files: ['*.ts', '*.tsx'],
rules: {
'no-undef': 'off',
},
},
{
files: ['*.ts', '*.tsx'],
rules: {
'react/jsx-no-constructed-context-values': 0,
},
},
],
env: {
jest: true,
node: true,
browser: true,
},
"globals": {
"BigInt": "readonly"
globals: {
BigInt: 'readonly',
},
}
Loading

3 comments on commit 0fb03b1

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packaging for test is done in 2480314218

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'
'### Downloads'
''
'OS | Arch | Package | SHA256 Checksum'
'-- | -- | -- | --'
'Windows | x64 | exe | b7adabb816958e7341622fd62bdaa1c092eca7574e211b94f8e6df86cf324aa7'
'macOS | x64 | zip | fc59e7ffc0ac03ef512d69c598c554bec6418fbf42192f72acc06c23e658cec0'
'macOS | x64 | DMG | b038dec53efe67a6281e60f08eb662a245aa35c8c86d53cc994b60f1357df686'
'Linux | x64 | AppImage | 05fbbed25275df60e4ba3457c9748f0a5f07b9749d17a0ca2226e409cf96a2d6

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packaging for test is done in 2480367491

Please sign in to comment.