diff --git a/capacitor.config.ts b/capacitor.config.ts index 06d4d7b937525f640ced8306ea81f1fe5f8e10f7..d0bbc31a69fb4dcc0d9cbaa042a27f5275083602 100644 --- a/capacitor.config.ts +++ b/capacitor.config.ts @@ -1,7 +1,7 @@ import { CapacitorConfig } from '@capacitor/cli'; const config: CapacitorConfig = { - appId: 'io.ionic.starter', + appId: 'app.cesium', appName: 'Cesium2', webDir: 'www', bundledWebRuntime: false diff --git a/package.old.json b/package.old.json new file mode 100644 index 0000000000000000000000000000000000000000..7a23158eabbc7f1a77821586be0685d52ab53f46 --- /dev/null +++ b/package.old.json @@ -0,0 +1,98 @@ +{ + "name": "cesium", + "version": "2.0.0-rc1", + "description": "Manage G1 wallet", + "author": "Benoit Lavenier <benoit.lavenier@e-is.pro>", + "homepage": "https://cesium.app", + "license": "AGPL-3.0", + "repository": { + "type": "git", + "url": "git.duniter.org:clients/cesium-grp/cesium2.git" + }, + "scripts": { + "postinstall": "ngcc", + "ng": "ng", + "start": "ng serve", + "build": "ng build", + "test": "ng test", + "lint": "ng lint", + "e2e": "ng e2e", + "typegen": "yarn get:meta && yarn generate:defs && yarn generate:meta", + "get:meta": "curl -H \"Content-Type: application/json\" -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9933 > ./src/interfaces/types.json", + "generate:defs": "ts-node --skip-project node_modules/.bin/polkadot-types-from-defs --package @duniter/core-types/interfaces --input ./src/interfaces --endpoint ./src/interfaces/types.json", + "generate:meta": "ts-node --skip-project node_modules/.bin/polkadot-types-from-chain --package @duniter/core-types/interfaces --output ./src/interfaces --endpoint ./src/interfaces/types.json" + }, + "dependencies": { + "@angular/animations": "~14.2.0", + "@angular/common": "~14.2.0", + "@angular/core": "~14.2.0", + "@angular/forms": "~14.2.0", + "@angular/platform-browser": "~14.2.0", + "@angular/platform-browser-dynamic": "~14.2.0", + "@angular/router": "~14.2.0", + "@capacitor/app": "1.1.1", + "@capacitor/clipboard": "^4.0.1", + "@capacitor/core": "4.1.0", + "@capacitor/haptics": "4.0.1", + "@capacitor/keyboard": "4.0.1", + "@capacitor/status-bar": "4.0.1", + "@ionic/angular": "^6.2.4", + "@ionic/storage-angular": "^3.0.6", + "@ngx-translate/core": "^14.0.0", + "@ngx-translate/http-loader": "^7.0.0", + "@polkadot/api": "^8.9.1", + "@polkadot/keyring": "^9.6.1", + "@polkadot/ui-keyring": "^2.6.1", + "@polkadot/ui-settings": "^2.6.1", + "crypto-browserify": "^3.12.0", + "jdenticon": "^3.1.1", + "moment": "^2.29.4", + "moment-timezone": "^0.5.37", + "ngx-jdenticon": "^1.0.4", + "rxjs": "~7.4.0", + "scrypt-async": "^2.0.1", + "stream-browserify": "^3.0.0", + "tslib": "^2.0.0", + "zone.js": "~0.11.6" + }, + "devDependencies": { + "@angular-devkit/build-angular": "~13.3.8", + "@angular-eslint/builder": "~13.5.0", + "@angular-eslint/eslint-plugin": "~13.5.0", + "@angular-eslint/eslint-plugin-template": "~13.5.0", + "@angular-eslint/template-parser": "~13.5.0", + "@angular/cli": "^13.3.8", + "@angular/compiler": "~13.3.11", + "@angular/compiler-cli": "~13.3.11", + "@angular/language-service": "~13.3.11", + "@capacitor/cli": "3.6.0", + "@ionic/angular-toolkit": "^6.1.0", + "@polkadot/typegen": "^8.9.1", + "@polkadot/types": "^8.9.1", + "@types/jasmine": "~4.0.3", + "@types/jasminewd2": "~2.0.10", + "@types/node": "^12.20.55", + "@typescript-eslint/eslint-plugin": "4.33.0", + "@typescript-eslint/parser": "4.33.0", + "eslint": "^7.32.0", + "eslint-plugin-import": "2.26.0", + "eslint-plugin-jsdoc": "39.3.3", + "eslint-plugin-prefer-arrow": "1.2.3", + "jasmine-core": "~4.2.0", + "jasmine-spec-reporter": "~7.0.0", + "karma": "~6.4.0", + "karma-chrome-launcher": "~3.1.1", + "karma-coverage": "~2.2.0", + "karma-coverage-istanbul-reporter": "~3.0.3", + "karma-jasmine": "~5.1.0", + "karma-jasmine-html-reporter": "^2.0.0", + "protractor": "~7.0.0", + "ts-node": "^8.6.2", + "typescript": "~4.6.4" + }, + "engines": { + "node": ">= 14.17.3", + "yarn": ">= 1.22.19", + "npm": ">= 8.17.0" + } +} diff --git a/scripts/get-definitions.sh b/scripts/get-definitions.sh new file mode 100755 index 0000000000000000000000000000000000000000..4fa84af48dc3f38c67b199d862e34f1af5905ff9 --- /dev/null +++ b/scripts/get-definitions.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +curl -H "Content-Type: application/json" -d '{"id":"1", "jsonrpc":"2.0", "method": "state_getMetadata", "params":[]}' http://localhost:9933 > ../src/interfaces/duniter-types.json