hfbcast 1.0.0 → 1.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hfbcast",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
package/release ADDED
@@ -0,0 +1 @@
1
+ 1.0.1
@@ -0,0 +1,19 @@
1
+ const {exec} = require('child_process');
2
+ const path = require('path');
3
+
4
+ const buildCommandWasm = `docker run --rm -v ${path.dirname(__dirname)}:/src:z -w /src gitlab.sys.utv:4567/dspdf/rfdf/rfdf_wasm /bin/bash /src/native/wasm/build.sh`;
5
+ console.log('\x1b[33;1mRUNNING:\x1b[0m', '\x1b[32;1m' + buildCommandWasm + '\x1b[0m\n');
6
+
7
+ const processWasm = exec(buildCommandWasm, (error, stdout, stderr) => {
8
+ if (error) {
9
+ console.log(error);
10
+ }
11
+ else {
12
+ }
13
+ })
14
+
15
+ processWasm.stdout.on('data', (data) => {
16
+ console.log('\x1b[34;1m' + data.trim() + '\x1b[0m');
17
+ })
18
+
19
+
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env bash
2
+
3
+ publish-package() {
4
+ npm config set strict-ssl false
5
+ npm --no-git-tag-version version `cat release`
6
+ echo "@dspdf:registry = https://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/" > .npmrc
7
+ echo "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${PERSONAL_ACCESS_TOKEN}" >> .npmrc
8
+ npm publish --verbose
9
+ }
10
+
11
+ echo BUILDING BINDINGS ............
12
+ PS4="\n\033[1;33m>>>\033[0m ";
13
+ set -x;
14
+
@@ -0,0 +1,11 @@
1
+ cd %~dp0\..\..
2
+
3
+ docker run --rm ^
4
+ --env CI_COMMIT_SHORT_SHA=123456 ^
5
+ --env CI_SERVER_HOST="%GITLAB_CI_SERVER_HOST%" ^
6
+ --env CI_PROJECT_ID="%GITLAB_IQPLAYER_PROJECT_ID%" ^
7
+ --env PERSONAL_ACCESS_TOKEN="%GITLAB_PERSONAL_ACCESS_TOKEN%" ^
8
+ --env GITLAB_INSTANCE="%GITLAB_INSTANCE%" ^
9
+ -v %cd%:/code node:latest bash -c "cd /code && source scripts/cicd/jobs.sh; publish-package"
10
+ npm --no-git-tag-version version 0.0.0
11
+ rm -f .npmrc