@milaboratories/pframes-rs-node 1.0.9 → 1.0.10

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.
Files changed (2) hide show
  1. package/README.md +19 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -7,8 +7,24 @@
7
7
  ### Build steps
8
8
  ```sh
9
9
  npm run build
10
- npm run package
11
10
  ```
11
+
12
12
  ### Artifacts
13
- Build artifacts are places in `dist` folder.
14
- Use `npm run package` to prepare an archive (last output line is its path) and upload it to AWS S3.
13
+ NodeJS Native Addon is places in `dist` folder.
14
+ Use `npm run pack` to prepare an archive (last output line is its path) and upload it to AWS S3.
15
+
16
+ Export wrapper is placed in `export_dist` folder.
17
+ Use `npm publish` to publish NodeJS package.
18
+
19
+ ## Debugging
20
+ ### Prerequisites
21
+ Debugging is only supported using VSCode with the following extencions installed:
22
+ - https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools
23
+ - https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb
24
+ - https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer
25
+
26
+ ### Launching debug session
27
+ 1. Clone and build the latest `platforma-desktop-v2`
28
+ 2. Set the correct RELATIVE path to `platforma-desktop-v2` in `.vscode/settings.json` variable `platformaDesktopPath`
29
+ 3. Build this package by following the build steps from above
30
+ 4. Use launch configuration for your platform to start debug session
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@milaboratories/pframes-rs-node",
3
3
  "description": "PFrames - Node.js Native Addon",
4
- "version": "1.0.9",
4
+ "version": "1.0.10",
5
5
  "types": "./export_dist/index.d.ts",
6
6
  "main": "./export_dist/index.js",
7
7
  "module": "./export_dist/index.mjs",
@@ -17,16 +17,16 @@
17
17
  "export_dist/**/*"
18
18
  ],
19
19
  "dependencies": {
20
- "@milaboratories/pl-model-middle-layer": "1.7.1",
20
+ "@milaboratories/pl-model-middle-layer": "1.7.2",
21
21
  "@mapbox/node-pre-gyp": "^2.0.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "@milaboratories/pl-model-common": "*"
25
25
  },
26
26
  "devDependencies": {
27
- "vitest": "^3.0.4",
27
+ "vitest": "^3.0.5",
28
28
  "typescript": "^5.7.3",
29
- "@types/node": "^20.17.16",
29
+ "@types/node": "^20.17.17",
30
30
  "cargo-cp-artifact": "^0.1.9",
31
31
  "rollup-plugin-node-externals": "^8.0.0",
32
32
  "@rollup/plugin-node-resolve": "^16.0.0",