@ledgerhq/coin-module-boilerplate 2.0.0 → 2.1.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @ledgerhq/coin-module-boilerplate
2
2
 
3
+ ## 2.1.0-next.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#9298](https://github.com/LedgerHQ/ledger-live/pull/9298) [`2785d49`](https://github.com/LedgerHQ/ledger-live/commit/2785d49ac320498f98ed39b4eccc48310ad35fe1) Thanks [@Canestin](https://github.com/Canestin)! - config coin-integration env for sonarqube
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [[`2785d49`](https://github.com/LedgerHQ/ledger-live/commit/2785d49ac320498f98ed39b4eccc48310ad35fe1), [`2effe04`](https://github.com/LedgerHQ/ledger-live/commit/2effe04d9d4b3e407ed25da3b9f11324a82126d3), [`32f2a0c`](https://github.com/LedgerHQ/ledger-live/commit/32f2a0cf073e5c1a5d65cbe44e69660f8f510dd7), [`2407a6e`](https://github.com/LedgerHQ/ledger-live/commit/2407a6e1f3153c30c52d4bac4c9334fa95c351da), [`40e98c3`](https://github.com/LedgerHQ/ledger-live/commit/40e98c392bd9192570e46c2d62cf0779bdfe01ec), [`a656e47`](https://github.com/LedgerHQ/ledger-live/commit/a656e47c1dc3ac8b578debf9cf80eab370c7086f)]:
12
+ - @ledgerhq/coin-framework@2.5.0-next.0
13
+ - @ledgerhq/types-live@6.65.0-next.0
14
+ - @ledgerhq/live-env@2.7.0-next.0
15
+ - @ledgerhq/cryptoassets@13.14.0-next.0
16
+ - @ledgerhq/live-network@2.0.6-next.0
17
+
3
18
  ## 2.0.0
4
19
 
5
20
  ### Major Changes
package/jest.config.js CHANGED
@@ -3,6 +3,27 @@
3
3
  module.exports = {
4
4
  preset: "ts-jest",
5
5
  testEnvironment: "node",
6
+ passWithNoTests: true,
7
+ collectCoverageFrom: [
8
+ "src/**/*.ts",
9
+ "!src/**/*.test.ts",
10
+ "!src/**/*.spec.ts",
11
+ "!src/test/**/*.ts",
12
+ ],
13
+ coverageReporters: [
14
+ "json",
15
+ ["lcov", { file: "boilerplate-lcov.info", projectRoot: "../" }],
16
+ "text",
17
+ ],
6
18
  testPathIgnorePatterns: ["lib/", "lib-es/", ".*\\.integ\\.test\\.[tj]s"],
7
19
  workerThreads: true,
20
+ reporters: [
21
+ [
22
+ "jest-sonar",
23
+ {
24
+ outputName: "boilerplate-sonar-executionTests-report.xml",
25
+ reportedFilePath: "absolute",
26
+ },
27
+ ],
28
+ ],
8
29
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-module-boilerplate",
3
- "version": "2.0.0",
3
+ "version": "2.1.0-next.0",
4
4
  "description": "Boilerplate coin integration",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -101,13 +101,13 @@
101
101
  "bignumber.js": "^9.1.2",
102
102
  "invariant": "^2.2.4",
103
103
  "rxjs": "^7.8.1",
104
- "@ledgerhq/coin-framework": "^2.4.0",
105
- "@ledgerhq/cryptoassets": "^13.13.0",
104
+ "@ledgerhq/coin-framework": "^2.5.0-next.0",
105
+ "@ledgerhq/cryptoassets": "^13.14.0-next.0",
106
106
  "@ledgerhq/devices": "^8.4.4",
107
107
  "@ledgerhq/errors": "^6.19.1",
108
- "@ledgerhq/live-network": "^2.0.5",
109
- "@ledgerhq/live-env": "^2.6.0",
110
- "@ledgerhq/types-live": "^6.64.0"
108
+ "@ledgerhq/live-network": "^2.0.6-next.0",
109
+ "@ledgerhq/live-env": "^2.7.0-next.0",
110
+ "@ledgerhq/types-live": "^6.65.0-next.0"
111
111
  },
112
112
  "devDependencies": {
113
113
  "@types/invariant": "^2.2.37",
@@ -117,19 +117,20 @@
117
117
  "jest": "^29.7.0",
118
118
  "ts-jest": "^29.1.1",
119
119
  "typescript": "^5.4.5",
120
- "@ledgerhq/types-cryptoassets": "^7.20.0"
120
+ "jest-sonar": "0.2.16",
121
+ "@ledgerhq/types-cryptoassets": "^7.21.0-next.0"
121
122
  },
122
123
  "scripts": {
123
124
  "clean": "rimraf lib lib-es",
124
125
  "build": "tsc && tsc -m esnext --moduleResolution bundler --outDir lib-es",
125
- "coverage": "jest --coverage --testPathIgnorePatterns='/bridge.integration.test.ts|node_modules|lib-es|lib/' --passWithNoTests && mv coverage/coverage-final.json coverage/coverage-boilerplate.json",
126
+ "coverage": "jest --coverage || true",
126
127
  "prewatch": "pnpm build",
127
128
  "watch": "tsc --watch",
128
129
  "doc": "documentation readme src/** --section=API --pe ts --re ts --re d.ts",
129
130
  "lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx --cache",
130
131
  "lint:fix": "pnpm lint --fix",
131
132
  "test": "jest",
132
- "test-integ": "DOTENV_CONFIG_PATH=.env.integ.test jest --config=jest.integ.config.js",
133
+ "test-integ": "DOTENV_CONFIG_PATH=.env.integ.test jest --config=jest.integ.config.js --passWithNoTests",
133
134
  "typecheck": "tsc --noEmit",
134
135
  "unimported": "unimported"
135
136
  }