@foxglove/schemas 0.8.2 → 1.0.0
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/.github/workflows/ci.yml
CHANGED
|
@@ -85,6 +85,27 @@ jobs:
|
|
|
85
85
|
- run: make test
|
|
86
86
|
- run: make build
|
|
87
87
|
|
|
88
|
+
- name: Publish foxglove-schemas-flatbuffer to TestPyPI
|
|
89
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
90
|
+
if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
|
|
91
|
+
with:
|
|
92
|
+
user: __token__
|
|
93
|
+
password: ${{ secrets.TESTPYPI_API_TOKEN }}
|
|
94
|
+
packages_dir: python/foxglove-schemas-flatbuffer/dist
|
|
95
|
+
repository_url: https://test.pypi.org/legacy/
|
|
96
|
+
skip_existing: true
|
|
97
|
+
|
|
98
|
+
- name: Publish foxglove-schemas-flatbuffer to PyPI
|
|
99
|
+
if: |
|
|
100
|
+
!github.event.pull_request.head.repo.fork &&
|
|
101
|
+
github.actor != 'dependabot[bot]' &&
|
|
102
|
+
startsWith(github.ref, 'refs/tags/releases/python/foxglove-schemas-flatbuffer/v')
|
|
103
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
104
|
+
with:
|
|
105
|
+
user: __token__
|
|
106
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
107
|
+
packages_dir: python/foxglove-schemas-flatbuffer/dist
|
|
108
|
+
|
|
88
109
|
- name: Publish foxglove-schemas-protobuf to TestPyPI
|
|
89
110
|
uses: pypa/gh-action-pypi-publish@release/v1
|
|
90
111
|
if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foxglove/schemas",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Foxglove-defined message schemas for ROS, Protobuf, and JSON",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://github.com/foxglove/schemas.git"
|
|
9
9
|
},
|
|
10
10
|
"author": {
|
|
11
|
-
"name": "Foxglove Technologies",
|
|
11
|
+
"name": "Foxglove Technologies Inc",
|
|
12
12
|
"email": "support@foxglove.dev"
|
|
13
13
|
},
|
|
14
14
|
"engines": {
|
package/python/Pipfile
CHANGED
|
@@ -6,7 +6,7 @@ name = "pypi"
|
|
|
6
6
|
[packages]
|
|
7
7
|
flatbuffers = "*"
|
|
8
8
|
protobuf = "*"
|
|
9
|
-
foxglove-schemas-
|
|
9
|
+
foxglove-schemas-flatbuffer = {editable = true, path = "./foxglove-schemas-flatbuffer"}
|
|
10
10
|
foxglove-schemas-protobuf = {editable = true, path = "./foxglove-schemas-protobuf"}
|
|
11
11
|
|
|
12
12
|
[dev-packages]
|
package/python/Pipfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_meta": {
|
|
3
3
|
"hash": {
|
|
4
|
-
"sha256": "
|
|
4
|
+
"sha256": "a1d616c262c4933be8f4bc82934ff47e24687239f76c1d5382c5ec41858233d7"
|
|
5
5
|
},
|
|
6
6
|
"pipfile-spec": 6,
|
|
7
7
|
"requires": {
|
|
@@ -28,10 +28,6 @@
|
|
|
28
28
|
"editable": true,
|
|
29
29
|
"path": "./foxglove-schemas-flatbuffer"
|
|
30
30
|
},
|
|
31
|
-
"foxglove-schemas-flatbuffers": {
|
|
32
|
-
"editable": true,
|
|
33
|
-
"path": "./foxglove-schemas-flatbuffer"
|
|
34
|
-
},
|
|
35
31
|
"foxglove-schemas-protobuf": {
|
|
36
32
|
"editable": true,
|
|
37
33
|
"path": "./foxglove-schemas-protobuf"
|
|
@@ -12,7 +12,7 @@ pipenv install foxglove-schemas-protobuf
|
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
15
|
-
Import types from the `
|
|
15
|
+
Import types from the `foxglove_schemas_protobuf` module as follows:
|
|
16
16
|
|
|
17
17
|
```py
|
|
18
18
|
from foxglove_schemas_protobuf.CompressedImage_pb2 import CompressedImage
|