@wireapp/core-crypto 1.0.0-rc.6 → 1.0.0-rc.60

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -76,6 +76,7 @@ rustup target add x86_64-unknown-linux-gnu
76
76
  * Install [wasm-pack](https://rustwasm.github.io/wasm-pack/)
77
77
  * Install the wasm32-unknown-unknown toolchain `rustup target add wasm32-unknown-unknown`
78
78
  * Install node.js (recommended way is via [Volta](https://volta.sh/))
79
+ * Install Bun (follow the instructions on [Bun's website](https://bun.sh/))
79
80
 
80
81
  ### Bindings
81
82
 
@@ -91,9 +92,9 @@ cargo make "copy-jvm-resources"
91
92
  cargo make "copy-android-resources"
92
93
 
93
94
  # builds iOS framework
94
- cargo make "create-swift-package"
95
+ cargo make "ios-create-xcframework"
95
96
 
96
- # builds wasm binary
97
+ # builds wasm binary & TS bindings
97
98
  cargo make wasm
98
99
  ```
99
100
 
@@ -125,3 +126,4 @@ cd kotlin
125
126
  ### JS / WASM
126
127
 
127
128
  Given that you are logged in NPM and can publish to `@wireapp/core-crypto`, you can just `npm publish` to push a new version
129
+ But this is not needed as releases are auto-published to the `@wireapp` organization
package/package.json CHANGED
@@ -1,20 +1,12 @@
1
1
  {
2
2
  "name": "@wireapp/core-crypto",
3
- "version": "1.0.0-rc.6",
3
+ "version": "1.0.0-rc.60",
4
4
  "description": "CoreCrypto bindings for the Web",
5
5
  "type": "module",
6
6
  "module": "platforms/web/corecrypto.js",
7
7
  "types": "platforms/web/corecrypto.d.ts",
8
8
  "scripts": {
9
- "prepare": "npm run build",
10
- "build": "npm run clean && rollup -c crypto-ffi/bindings/js/rollup.config.js",
11
- "build:test": "npm run clean && rollup -c crypto-ffi/bindings/js/rollup.config.test.js",
12
- "clean": "rm -f ./platforms/web/*.{js,ts,wasm,html} && rm -rf ./platforms/web/assets",
13
- "package": "npm run build && npm pack",
14
- "test:raw": "jest -c crypto-ffi/bindings/js/jest.config.js --runInBand",
15
- "test": "npm run build:test && npm run test:raw",
16
- "test:cov": "npm run build:test && jest -c crypto-ffi/bindings/js/jest.config.js --coverage --runInBand",
17
- "test:http-server": "http-server platforms/web -g -p 3000"
9
+ "clean": "rm -f ./platforms/web/*.{js,ts,wasm,html} && rm -rf ./platforms/web/assets"
18
10
  },
19
11
  "publishConfig": {
20
12
  "access": "public"
@@ -40,26 +32,15 @@
40
32
  "url": "https://github.com/wireapp/core-crypto/issues"
41
33
  },
42
34
  "devDependencies": {
43
- "@rollup/plugin-html": "^1.0.2",
44
- "@types/jest": "^29.4.0",
45
- "@types/jest-dev-server": "^5.0.0",
46
- "@typescript-eslint/eslint-plugin": "^5.50.0",
47
- "@typescript-eslint/parser": "^5.50.0",
48
- "@wasm-tool/rollup-plugin-rust": "^2.3.3",
49
- "dts-bundle-generator": "^7.2.0",
50
- "eslint": "^8.33.0",
51
- "eslint-config-prettier": "^8.6.0",
52
- "eslint-plugin-prettier": "^4.2.1",
53
- "http-server": "^14.1.1",
54
- "jest": "^29.4.1",
55
- "jest-dev-server": "^6.2.0",
56
- "prettier": "^2.8.3",
57
- "puppeteer": "^19.6.2",
58
- "rollup": "^3.12.0",
59
- "rollup-jest": "^3.1.0",
60
- "rollup-plugin-ts": "^3.2.0",
61
- "ts-jest": "^29.0.5",
62
- "ts-loader": "^9.4.2",
63
- "typescript": "^4.9.5"
35
+ "@typescript-eslint/eslint-plugin": "^7.0.2",
36
+ "@typescript-eslint/parser": "^7.0.2",
37
+ "bun-plugin-dts": "^0.2.1",
38
+ "eslint": "^8.56.0",
39
+ "eslint-config-prettier": "^9.1.0",
40
+ "eslint-plugin-prettier": "^5.1.3",
41
+ "prettier": "^3.2.5",
42
+ "puppeteer": "^22.2.0",
43
+ "ts-loader": "^9.5.1",
44
+ "typescript": "^5.3.3"
64
45
  }
65
46
  }