Skip to content

Commit

Permalink
feat: migrate to Manifest V3 and align with upstream polkadot extension
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Updated Polymesh wallet to support Manifest V3, with significant updates aligning configurations, dependencies, and architecture to match upstream polkadot wallet. This may affect compatibility with environments relying on Manifest V2.
  • Loading branch information
F-OBrien authored and adamdossa committed Aug 27, 2024
1 parent 4986918 commit c3b7774
Show file tree
Hide file tree
Showing 507 changed files with 27,902 additions and 170,050 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.eslintrc.js
jest.config.js
jest.e2e.config.js
release.config.js
release.config.cjs
**/build/*
**/coverage/*
**/node_modules/*
31 changes: 0 additions & 31 deletions .eslintrc.js

This file was deleted.

12 changes: 8 additions & 4 deletions .github/workflows/pr-any.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ jobs:
- name: Install node
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18.14
- name: Install dependencies
run: yarn install
run: |
corepack enable
yarn install --immutable
env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 'true'
- name: Lint
Expand All @@ -29,9 +31,11 @@ jobs:
- name: Install node
uses: actions/setup-node@v2-beta
with:
node-version: 16
node-version: 18.14
- name: Install dependencies
run: yarn install
run: |
corepack enable
yarn install --immutable
env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 'true'
- name: Build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Semantic Release
name: Semantic Release

on:
push:
Expand All @@ -12,10 +12,10 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18.14
- name: Install dependencies
run: yarn
- name: Semantic release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: npx semantic-release@18
run: npx semantic-release@18
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
build/
build-*/
master-build/
coverage/
node_modules/
Expand All @@ -17,10 +18,18 @@ cc-test-reporter
lerna-debug.log*
master-build.zip
master-src.zip
master-firefox-build.zip
master-firefox-src.zip
master-build.zip
master-src.zip
npm-debug.log*
tsconfig.*buildinfo
yarn-debug.log*
yarn-error.log*
package-lock.json
_book
docs/html
.idea
.vscode
packages/extension/manifest.json

1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.14
7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

19 changes: 19 additions & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
arrowParens: 'always',
bracketSpacing: true,
embeddedLanguageFormatting: 'off',
endOfLine: 'lf',
htmlWhitespaceSensitivity: 'ignore',
jsxBracketSameLine: false,
jsxSingleQuote: true,
parser: 'typescript',
printWidth: 2048,
proseWrap: 'preserve',
quoteProps: 'as-needed',
requirePragma: true,
semi: true,
singleQuote: true,
tabWidth: 2,
trailingComma: 'none',
useTabs: false
};
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"editor.formatOnSave": true
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"eslint.format.enable": true,
}
Loading

0 comments on commit c3b7774

Please sign in to comment.