@ledgerhq/coin-module-framework 11.0.0 → 11.0.1

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,11 @@
1
1
  # @ledgerhq/coin-module-framework
2
2
 
3
+ ## 11.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1165](https://github.com/LedgerHQ/coin-modules/pull/1165) [`82e79f7`](https://github.com/LedgerHQ/coin-modules/commit/82e79f73c4137b878e6d39518f580caf0b74b16e) Thanks [@francois-guerin-ledger](https://github.com/francois-guerin-ledger)! - fix(libs): declare `files` so `lib` and `lib-es` are published with pnpm 11
8
+
3
9
  ## 11.0.0
4
10
 
5
11
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-module-framework",
3
- "version": "11.0.0",
3
+ "version": "11.0.1",
4
4
  "description": "Ledger framework for Coin integration",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -9,15 +9,21 @@
9
9
  ],
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/LedgerHQ/alpaca-coin-module"
12
+ "url": "https://github.com/LedgerHQ/coin-modules.git"
13
13
  },
14
14
  "bugs": {
15
- "url": "https://github.com/LedgerHQ/alpaca-coin-module/issues"
15
+ "url": "https://github.com/LedgerHQ/coin-modules/issues"
16
16
  },
17
- "homepage": "https://github.com/LedgerHQ/alpaca-coin-module/tree/develop/libs/coin-module-framework",
17
+ "homepage": "https://github.com/LedgerHQ/coin-modules/tree/main/libs/coin-module-framework",
18
18
  "publishConfig": {
19
19
  "access": "public"
20
20
  },
21
+ "files": [
22
+ "lib",
23
+ "lib-es",
24
+ "src",
25
+ "CHANGELOG.md"
26
+ ],
21
27
  "typesVersions": {
22
28
  "*": {
23
29
  "lib/*": [
package/.oxlintrc.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/oxlint/configuration_schema.json",
3
- "extends": ["../../.oxlintrc.json"],
4
- "rules": {
5
- "typescript/no-explicit-any": "error",
6
- "typescript/consistent-type-assertions": ["error", { "assertionStyle": "never" }]
7
- },
8
- "overrides": [
9
- {
10
- "files": ["**/*.test.ts"],
11
- "rules": {
12
- "typescript/no-explicit-any": "error",
13
- "typescript/consistent-type-assertions": ["error", { "assertionStyle": "never" }]
14
- }
15
- }
16
- ]
17
- }
@@ -1,12 +0,0 @@
1
- // SPDX-FileCopyrightText: © 2024 LEDGER SAS
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- module.exports = async () => {
5
- /**
6
- * Set the timezone to EST for all tests
7
- * This allow us to run tests directly through jest without having to manually
8
- * set the timezone as an env var beforehand, either manually or through a
9
- * custom script in package.json
10
- */
11
- process.env.TZ = "America/New_York";
12
- };
package/jest.config.js DELETED
@@ -1,32 +0,0 @@
1
- // SPDX-FileCopyrightText: © 2024 LEDGER SAS
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- module.exports = {
5
- testEnvironment: "node",
6
- transform: {
7
- "^.+\\.(t|j)sx?$": [
8
- "@swc/jest",
9
- {
10
- jsc: {
11
- target: "esnext",
12
- },
13
- },
14
- ],
15
- },
16
- testPathIgnorePatterns: ["lib/", "lib-es/"],
17
- globalSetup: "<rootDir>/jest-global-setup.js",
18
- collectCoverageFrom: [
19
- "src/**/*.{ts,js,tsx}",
20
- "!src/**/*.test.{ts,tsx}",
21
- "!src/**/*.spec.{ts,tsx}",
22
- "!src/**/__integration__/**",
23
- "!src/**/__integrations__/**",
24
- "!src/**/__tests__/**",
25
- ],
26
- coverageReporters: ["json", ["lcov", { file: "lcov.info", projectRoot: "../../" }], "text"],
27
- coverageProvider: "v8",
28
- reporters: [
29
- "default",
30
- ["jest-sonar", { outputName: "sonar-executionTests-report.xml", reportedFilePath: "absolute" }],
31
- ],
32
- };
package/knip.json DELETED
@@ -1,15 +0,0 @@
1
- {
2
- "$schema": "https://unpkg.com/knip@5.34.1/schema.json",
3
- "entry": [
4
- "src/api/errors.ts",
5
- "src/api/getBalance/rejectBalanceOptions.ts",
6
- "src/api/index.ts",
7
- "src/config.ts",
8
- "src/currencies/index.ts",
9
- "src/index.ts",
10
- "src/logic/craftTransactionData.ts",
11
- "src/test/utils.ts",
12
- "src/utils.ts"
13
- ],
14
- "project": ["src/**/*.ts"]
15
- }
@@ -1,21 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "customConditions": [],
5
- "types": [
6
- "node"
7
- ]
8
- },
9
- "exclude": [
10
- "**/*.test.ts",
11
- "**/*.test.tsx",
12
- "**/*.spec.ts",
13
- "**/*.spec.tsx",
14
- "**/__tests__/**/*",
15
- "**/tests/**/*",
16
- "**/*.test.js",
17
- "**/*.test.jsx",
18
- "**/*.spec.js",
19
- "**/*.spec.jsx"
20
- ]
21
- }
package/tsconfig.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "extends": "../tsconfig.base",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "declarationMap": true,
6
- "lib": [
7
- "es2020",
8
- "dom"
9
- ],
10
- "types": [
11
- "node",
12
- "jest"
13
- ],
14
- "outDir": "lib",
15
- "rootDir": "src",
16
- "exactOptionalPropertyTypes": true,
17
- "typeRoots": [
18
- "./types",
19
- "./node_modules/@types"
20
- ]
21
- },
22
- "include": [
23
- "src/**/*",
24
- "types/*.d.ts"
25
- ]
26
- }