ferrflow 2.1.0 → 2.2.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/package.json +6 -6
- package/platforms/darwin-arm64/package.json +9 -5
- package/platforms/darwin-x64/package.json +9 -5
- package/platforms/linux-arm64/package.json +9 -5
- package/platforms/linux-x64/package.json +9 -5
- package/platforms/win32-x64/package.json +9 -5
- package/scripts/publish-wasm.sh +35 -0
package/package.json
CHANGED
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
"license": "MPL-2.0",
|
|
15
15
|
"name": "ferrflow",
|
|
16
16
|
"optionalDependencies": {
|
|
17
|
-
"@ferrflow/darwin-arm64": "2.1
|
|
18
|
-
"@ferrflow/darwin-x64": "2.1
|
|
19
|
-
"@ferrflow/linux-arm64": "2.1
|
|
20
|
-
"@ferrflow/linux-x64": "2.1
|
|
21
|
-
"@ferrflow/win32-x64": "2.1
|
|
17
|
+
"@ferrflow/darwin-arm64": "2.2.1",
|
|
18
|
+
"@ferrflow/darwin-x64": "2.2.1",
|
|
19
|
+
"@ferrflow/linux-arm64": "2.2.1",
|
|
20
|
+
"@ferrflow/linux-x64": "2.2.1",
|
|
21
|
+
"@ferrflow/win32-x64": "2.2.1"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
25
|
"url": "git+https://github.com/FerrFlow-Org/FerrFlow.git"
|
|
26
26
|
},
|
|
27
27
|
"type": "module",
|
|
28
|
-
"version": "2.1
|
|
28
|
+
"version": "2.2.1"
|
|
29
29
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
2
|
+
"cpu": [
|
|
3
|
+
"arm64"
|
|
4
|
+
],
|
|
4
5
|
"description": "FerrFlow macOS arm64 binary",
|
|
6
|
+
"license": "MPL-2.0",
|
|
7
|
+
"name": "@ferrflow/darwin-arm64",
|
|
8
|
+
"os": [
|
|
9
|
+
"darwin"
|
|
10
|
+
],
|
|
5
11
|
"repository": {
|
|
6
12
|
"type": "git",
|
|
7
13
|
"url": "git+https://github.com/FerrFlow-Org/FerrFlow.git"
|
|
8
14
|
},
|
|
9
|
-
"
|
|
10
|
-
"os": ["darwin"],
|
|
11
|
-
"cpu": ["arm64"]
|
|
15
|
+
"version": "2.2.1"
|
|
12
16
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
2
|
+
"cpu": [
|
|
3
|
+
"x64"
|
|
4
|
+
],
|
|
4
5
|
"description": "FerrFlow macOS x64 binary",
|
|
6
|
+
"license": "MPL-2.0",
|
|
7
|
+
"name": "@ferrflow/darwin-x64",
|
|
8
|
+
"os": [
|
|
9
|
+
"darwin"
|
|
10
|
+
],
|
|
5
11
|
"repository": {
|
|
6
12
|
"type": "git",
|
|
7
13
|
"url": "git+https://github.com/FerrFlow-Org/FerrFlow.git"
|
|
8
14
|
},
|
|
9
|
-
"
|
|
10
|
-
"os": ["darwin"],
|
|
11
|
-
"cpu": ["x64"]
|
|
15
|
+
"version": "2.2.1"
|
|
12
16
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
2
|
+
"cpu": [
|
|
3
|
+
"arm64"
|
|
4
|
+
],
|
|
4
5
|
"description": "FerrFlow Linux arm64 binary",
|
|
6
|
+
"license": "MPL-2.0",
|
|
7
|
+
"name": "@ferrflow/linux-arm64",
|
|
8
|
+
"os": [
|
|
9
|
+
"linux"
|
|
10
|
+
],
|
|
5
11
|
"repository": {
|
|
6
12
|
"type": "git",
|
|
7
13
|
"url": "git+https://github.com/FerrFlow-Org/FerrFlow.git"
|
|
8
14
|
},
|
|
9
|
-
"
|
|
10
|
-
"os": ["linux"],
|
|
11
|
-
"cpu": ["arm64"]
|
|
15
|
+
"version": "2.2.1"
|
|
12
16
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
2
|
+
"cpu": [
|
|
3
|
+
"x64"
|
|
4
|
+
],
|
|
4
5
|
"description": "FerrFlow Linux x64 binary",
|
|
6
|
+
"license": "MPL-2.0",
|
|
7
|
+
"name": "@ferrflow/linux-x64",
|
|
8
|
+
"os": [
|
|
9
|
+
"linux"
|
|
10
|
+
],
|
|
5
11
|
"repository": {
|
|
6
12
|
"type": "git",
|
|
7
13
|
"url": "git+https://github.com/FerrFlow-Org/FerrFlow.git"
|
|
8
14
|
},
|
|
9
|
-
"
|
|
10
|
-
"os": ["linux"],
|
|
11
|
-
"cpu": ["x64"]
|
|
15
|
+
"version": "2.2.1"
|
|
12
16
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
2
|
+
"cpu": [
|
|
3
|
+
"x64"
|
|
4
|
+
],
|
|
4
5
|
"description": "FerrFlow Windows x64 binary",
|
|
6
|
+
"license": "MPL-2.0",
|
|
7
|
+
"name": "@ferrflow/win32-x64",
|
|
8
|
+
"os": [
|
|
9
|
+
"win32"
|
|
10
|
+
],
|
|
5
11
|
"repository": {
|
|
6
12
|
"type": "git",
|
|
7
13
|
"url": "git+https://github.com/FerrFlow-Org/FerrFlow.git"
|
|
8
14
|
},
|
|
9
|
-
"
|
|
10
|
-
"os": ["win32"],
|
|
11
|
-
"cpu": ["x64"]
|
|
15
|
+
"version": "2.2.1"
|
|
12
16
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
|
|
4
|
+
VERSION="${1:?Usage: publish-wasm.sh <version>}"
|
|
5
|
+
|
|
6
|
+
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
7
|
+
REPO_DIR="$(dirname "$(dirname "$SCRIPT_DIR")")"
|
|
8
|
+
WASM_DIR="${REPO_DIR}/ferrflow-wasm"
|
|
9
|
+
|
|
10
|
+
echo "Building @ferrflow/wasm@${VERSION}..."
|
|
11
|
+
|
|
12
|
+
cd "$WASM_DIR"
|
|
13
|
+
wasm-pack build --target bundler --scope ferrflow
|
|
14
|
+
|
|
15
|
+
cd pkg
|
|
16
|
+
|
|
17
|
+
# Rename package from @ferrflow/ferrflow-wasm to @ferrflow/wasm
|
|
18
|
+
node -e "
|
|
19
|
+
const fs = require('fs');
|
|
20
|
+
const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8'));
|
|
21
|
+
pkg.name = '@ferrflow/wasm';
|
|
22
|
+
pkg.version = '${VERSION}';
|
|
23
|
+
pkg.repository = {
|
|
24
|
+
type: 'git',
|
|
25
|
+
url: 'git+https://github.com/FerrFlow-Org/FerrFlow.git',
|
|
26
|
+
directory: 'ferrflow-wasm'
|
|
27
|
+
};
|
|
28
|
+
pkg.homepage = 'https://ferrflow.com';
|
|
29
|
+
fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n');
|
|
30
|
+
"
|
|
31
|
+
|
|
32
|
+
echo "Publishing @ferrflow/wasm@${VERSION}..."
|
|
33
|
+
npm publish --access public
|
|
34
|
+
|
|
35
|
+
echo "Published @ferrflow/wasm@${VERSION}"
|