@formant/protos 1.241.12 → 1.241.15

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,12 @@
1
1
  {
2
2
  "name": "@formant/protos",
3
- "version": "1.241.12",
3
+ "version": "1.241.15",
4
+ "files": [
5
+ "index.js",
6
+ "index.d.ts",
7
+ "api",
8
+ "CHANGELOG.md"
9
+ ],
4
10
  "main": "./index.js",
5
11
  "exports": {
6
12
  ".": {
package/publish.sh DELETED
@@ -1,50 +0,0 @@
1
- #!/bin/bash
2
- version=""
3
- version_file="../../../VERSION"
4
- $initial_dir = $(pwd)
5
- ## change to ../../.. and run make protos
6
- cd ../../..
7
- make protos
8
- cd $initial_dir
9
-
10
- # Check if the VERSION file exists
11
- if [ -f $version_file ]; then
12
- # Read the version number from the VERSION file
13
- version=$(cat $version_file)
14
- # Print the version number
15
- echo "Found: $version from $version_file"
16
- else
17
- echo "No VERSION file found, just asking git"
18
- git fetch
19
- latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)
20
-
21
- # Check if the latest tag starts with 'v'
22
- if [[ $latest_tag == v* ]]; then
23
- # Extract the version number from the tag
24
- version=$(echo $latest_tag | sed 's/^v//')
25
-
26
- # Print the version number
27
- echo "$version"
28
- else
29
- echo "No tag with 'v' prefix found."
30
- fi
31
-
32
- fi
33
-
34
- # Check if the version number is not empty
35
- if [ ! -z $version ]; then
36
- echo "WE found $version"
37
- # Publish the package with the version number
38
- # npm publish --access public --tag $version
39
- git commit -m "@formant/protos@${version}"
40
-
41
- git tag -a release/@formant/protos@${version} -m @formant/protos@${version}
42
- npm publish --tag @formant/protos@${version}
43
-
44
- git push --follow-tags
45
- else
46
- echo "No version number found."
47
- fi
48
-
49
-
50
-