mirror of
https://github.com/andrei0x309/clear-wallet.git
synced 2024-11-18 23:41:10 +00:00
chore: update CI & other misc changes
This commit is contained in:
parent
03ba0c8f14
commit
c8e83c163a
BIN
CI/bun.lockb
BIN
CI/bun.lockb
Binary file not shown.
@ -9,7 +9,7 @@
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"farcaster-hub-utils": "^0.1.7",
|
||||
"farcaster-hub-utils": "^0.1.8",
|
||||
"yup-api-interact": "^0.1.6"
|
||||
},
|
||||
"license": "MIT"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "clear-wallet",
|
||||
"version": "1.4.3",
|
||||
"version": "1.4.4",
|
||||
"private": true,
|
||||
"description": "Clear Wallet (CLW) is a wallet that helps you manage your Ethereum assets and interact with Ethereum dApps and contracts with the main focus on absolute privacy.",
|
||||
"type": "module",
|
||||
@ -10,6 +10,7 @@
|
||||
"content": "tsc --outFile src/extension/content.js src/extension/content.ts",
|
||||
"post-build": "yarn tsx ./release-scripts/post-build.ts",
|
||||
"build": "yarn inject && yarn content && vue-tsc --noEmit && vite build && yarn post-build",
|
||||
"rebuild": "yarn build && yarn tsx ./release-scripts/create-release.ts rebuild",
|
||||
"preview": "vite preview",
|
||||
"release": "yarn config set version-tag-prefix clear-wallet@v && yarn config set version-git-message 'clear-wallet@v%s' && yarn version --patch && yarn postversion",
|
||||
"postversion": "git push",
|
||||
|
@ -1,7 +1,7 @@
|
||||
const pFs = import('fs')
|
||||
const pCps = import('child_process')
|
||||
|
||||
async function ghRelease(changes: string[]) {
|
||||
async function ghRelease (changes: string[], isRebuild: boolean) {
|
||||
const fs = (await pFs).default
|
||||
|
||||
if (!fs.existsSync('releases')) {
|
||||
@ -32,6 +32,7 @@ async function ghRelease(changes: string[]) {
|
||||
arch.finalize();
|
||||
});
|
||||
|
||||
if (!isRebuild) {
|
||||
const changeLogPath = `releases/${pkg.version}.changelog.md`;
|
||||
|
||||
fs.writeFileSync(
|
||||
@ -56,6 +57,7 @@ async function ghRelease(changes: string[]) {
|
||||
}),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
(async () => {
|
||||
if (!process.argv[2]) {
|
||||
@ -63,6 +65,9 @@ async function ghRelease(changes: string[]) {
|
||||
return;
|
||||
}
|
||||
const changes = process.argv[2].split(',');
|
||||
await ghRelease(changes);
|
||||
|
||||
const isRebuild = changes.includes('rebuild');
|
||||
|
||||
await ghRelease(changes, isRebuild);
|
||||
console.log('Release created', changes);
|
||||
})();
|
||||
|
@ -3,8 +3,8 @@
|
||||
"name": "__MSG_appName__",
|
||||
"description": "__MSG_appDesc__",
|
||||
"default_locale": "en",
|
||||
"version": "1.4.3",
|
||||
"version_name": "1.4.3",
|
||||
"version": "1.4.4",
|
||||
"version_name": "1.4.4",
|
||||
"icons": {
|
||||
"16": "assets/extension-icon/wallet_16.png",
|
||||
"32": "assets/extension-icon/wallet_32.png",
|
||||
|
@ -127,7 +127,7 @@
|
||||
></ion-input>
|
||||
</ion-item>
|
||||
<ion-item>
|
||||
<ion-button @click="setGasLimit">Set Price</ion-button>
|
||||
<ion-button @click="setGasLimit">Set Limit</ion-button>
|
||||
</ion-item>
|
||||
</ion-list>
|
||||
</ion-content>
|
||||
@ -399,16 +399,16 @@ export default defineComponent({
|
||||
interval = setInterval(setItervalFn, 1000) as any;
|
||||
});
|
||||
|
||||
const setGasLimit = () => {
|
||||
const setGasLimit = async () => {
|
||||
gasLimit.value = inGasLimit.value;
|
||||
newGasData();
|
||||
await newGasData();
|
||||
gasLimitModal.value = false;
|
||||
};
|
||||
|
||||
const setGasPrice = () => {
|
||||
const setGasPrice = async () => {
|
||||
gasPrice.value = inGasPrice.value;
|
||||
gasPriceReFetch.value = false;
|
||||
newGasData();
|
||||
await newGasData();
|
||||
gasPriceModal.value = false;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user