diff options
author | Sebastian <sebasjm@gmail.com> | 2021-01-30 12:35:55 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-02-01 17:07:22 -0300 |
commit | 4845ebddf6b525b349171001b4a37d3433e4913e (patch) | |
tree | e281d7c53be56a488d5d434d7bb4fe7a26dacc04 /packages/taler-wallet-core | |
parent | 69aaaefce30331bf40141e33d0e0aeae40708443 (diff) | |
download | wallet-core-4845ebddf6b525b349171001b4a37d3433e4913e.tar.xz |
0006728: set up wallet CI pipeline for WebExtension build
This commit split in three main things:
* added deploy-webext to upload the extension zipfile
* put scope into the npm packages to be able to deploy them
* added deploy-npm to deploy related npm packages
Also, fixing bug on `make clean`. Some packages where not
being deleting tsconfig.tsbuildinfo and making subsequent
`make` fail
Diffstat (limited to 'packages/taler-wallet-core')
-rw-r--r-- | packages/taler-wallet-core/package.json | 8 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/crypto/workers/nodeThreadWorker.ts | 2 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 2 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/headless/helpers.ts | 4 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/types/dbTypes.ts | 2 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/util/query.ts | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/packages/taler-wallet-core/package.json b/packages/taler-wallet-core/package.json index 8a1862d64..96111f34a 100644 --- a/packages/taler-wallet-core/package.json +++ b/packages/taler-wallet-core/package.json @@ -1,5 +1,5 @@ { - "name": "taler-wallet-core", + "name": "@gnu-taler/taler-wallet-core", "version": "0.8.1", "description": "", "engines": { @@ -17,7 +17,7 @@ "pretty": "prettier --write src", "test": "tsc && ava", "coverage": "tsc && nyc ava", - "clean": "rimraf dist lib" + "clean": "rimraf dist lib tsconfig.tsbuildinfo" }, "files": [ "AUTHORS", @@ -47,7 +47,7 @@ "jed": "^1.1.1", "nyc": "^15.1.0", "po2json": "^0.4.5", - "pogen": "workspace:*", + "@gnu-taler/pogen": "workspace:*", "prettier": "^2.2.1", "rimraf": "^3.0.2", "rollup": "^2.37.1", @@ -61,7 +61,7 @@ "axios": "^0.21.1", "big-integer": "^1.6.48", "fflate": "^0.6.0", - "idb-bridge": "workspace:*", + "@gnu-taler/idb-bridge": "workspace:*", "source-map-support": "^0.5.19", "tslib": "^2.1.0" }, diff --git a/packages/taler-wallet-core/src/crypto/workers/nodeThreadWorker.ts b/packages/taler-wallet-core/src/crypto/workers/nodeThreadWorker.ts index 48efdbce6..84d83312f 100644 --- a/packages/taler-wallet-core/src/crypto/workers/nodeThreadWorker.ts +++ b/packages/taler-wallet-core/src/crypto/workers/nodeThreadWorker.ts @@ -44,7 +44,7 @@ const workerCode = ` } if (!tw) { try { - tw = require("taler-wallet-android"); + tw = require("@gnu-taler/taler-wallet-android"); } catch (e) { console.warn("could not load taler-wallet-android either"); throw e; diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index a536f29b6..bc0e45017 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -11,7 +11,7 @@ import { IDBDatabase, IDBObjectStore, IDBTransaction, -} from "idb-bridge"; +} from "@gnu-taler/idb-bridge"; import { Logger } from "./util/logging"; /** diff --git a/packages/taler-wallet-core/src/headless/helpers.ts b/packages/taler-wallet-core/src/headless/helpers.ts index 3d380ad49..ef97bc48e 100644 --- a/packages/taler-wallet-core/src/headless/helpers.ts +++ b/packages/taler-wallet-core/src/headless/helpers.ts @@ -23,7 +23,7 @@ * Imports. */ import { Wallet } from "../wallet"; -import { MemoryBackend, BridgeIDBFactory, shimIndexedDB } from "idb-bridge"; +import { MemoryBackend, BridgeIDBFactory, shimIndexedDB } from "@gnu-taler/idb-bridge"; import { openTalerDatabase } from "../db"; import { HttpRequestLibrary } from "../util/http"; import fs from "fs"; @@ -33,7 +33,7 @@ import { Database } from "../util/query"; import { NodeHttpLib } from "./NodeHttpLib"; import { Logger } from "../util/logging"; import { SynchronousCryptoWorkerFactory } from "../crypto/workers/synchronousWorker"; -import type { IDBFactory } from "idb-bridge/lib/idbtypes"; +import type { IDBFactory } from "@gnu-taler/idb-bridge/lib/idbtypes"; import { Stores } from "../types/dbTypes"; const logger = new Logger("headless/helpers.ts"); diff --git a/packages/taler-wallet-core/src/types/dbTypes.ts b/packages/taler-wallet-core/src/types/dbTypes.ts index bc7d7728d..c5f621053 100644 --- a/packages/taler-wallet-core/src/types/dbTypes.ts +++ b/packages/taler-wallet-core/src/types/dbTypes.ts @@ -39,7 +39,7 @@ import { Index, Store } from "../util/query"; import { TalerErrorDetails, RefreshReason } from "./walletTypes"; import { ReserveTransaction } from "./ReserveTransaction"; import { Timestamp, Duration } from "../util/time"; -import { IDBKeyPath } from "idb-bridge"; +import { IDBKeyPath } from "@gnu-taler/idb-bridge"; import { RetryInfo } from "../util/retries"; export enum ReserveRecordStatus { diff --git a/packages/taler-wallet-core/src/util/query.ts b/packages/taler-wallet-core/src/util/query.ts index fdcab4fa1..d0b8c2ef6 100644 --- a/packages/taler-wallet-core/src/util/query.ts +++ b/packages/taler-wallet-core/src/util/query.ts @@ -33,7 +33,7 @@ import { IDBVersionChangeEvent, Event, IDBCursor, -} from "idb-bridge"; +} from "@gnu-taler/idb-bridge"; import { Logger } from "./logging"; const logger = new Logger("query.ts"); |