Prechádzať zdrojové kódy

:bookmark: Release/v0.1.0 (#22)

* :construction_worker: Add test workflow on push for main branch

* :bookmark: Bump version to 0.1.0
Gabriele Picco 1 rok pred
rodič
commit
7d378c63e3

+ 3 - 0
.github/workflows/run-tests.yml

@@ -1,5 +1,8 @@
 name: Run Bolt Tests
 name: Run Bolt Tests
 on:
 on:
+  push:
+    branches:
+      - main
   pull_request:
   pull_request:
 
 
 env:
 env:

+ 8 - 3
CHANGELOG.md

@@ -1,12 +1,17 @@
 
 
-## [0.0.2] - 2024-02-25
+## [0.1.0] - 2024-02-28
+
+### 📚 Documentation
+ - Improve repository structure (#21)
+
+### 👷 CI/CD
+
+## [0.0.2] - 2024-02-24
 
 
 ### ✨️ Features
 ### ✨️ Features
  - Feat/consistent versioning (#18)
  - Feat/consistent versioning (#18)
  - Draft workflow for building & publishing packages (#16)
  - Draft workflow for building & publishing packages (#16)
 
 
-### 👷 CI/CD
-
 ## [0.0.1] - 2024-02-21
 ## [0.0.1] - 2024-02-21
 
 
 ### ✨️ Features
 ### ✨️ Features

+ 19 - 19
Cargo.lock

@@ -910,7 +910,7 @@ checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae"
 
 
 [[package]]
 [[package]]
 name = "bolt-attribute-bolt-component"
 name = "bolt-attribute-bolt-component"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "bolt-utils",
  "bolt-utils",
  "proc-macro2",
  "proc-macro2",
@@ -920,7 +920,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "bolt-attribute-bolt-component-deserialize"
 name = "bolt-attribute-bolt-component-deserialize"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "bolt-utils",
  "bolt-utils",
  "proc-macro2",
  "proc-macro2",
@@ -930,7 +930,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "bolt-attribute-bolt-component-id"
 name = "bolt-attribute-bolt-component-id"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "proc-macro2",
  "proc-macro2",
  "quote",
  "quote",
@@ -939,7 +939,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "bolt-attribute-bolt-program"
 name = "bolt-attribute-bolt-program"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "proc-macro2",
  "proc-macro2",
  "quote",
  "quote",
@@ -948,7 +948,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "bolt-attribute-bolt-system"
 name = "bolt-attribute-bolt-system"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "proc-macro2",
  "proc-macro2",
  "quote",
  "quote",
@@ -957,7 +957,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "bolt-attribute-bolt-system-input"
 name = "bolt-attribute-bolt-system-input"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "proc-macro2",
  "proc-macro2",
  "quote",
  "quote",
@@ -966,7 +966,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "bolt-cli"
 name = "bolt-cli"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "anchor-cli",
  "anchor-cli",
  "anchor-client",
  "anchor-client",
@@ -978,7 +978,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "bolt-component"
 name = "bolt-component"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "bolt-system",
  "bolt-system",
@@ -990,7 +990,7 @@ version = "0.0.1"
 
 
 [[package]]
 [[package]]
 name = "bolt-helpers-system-template"
 name = "bolt-helpers-system-template"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "proc-macro2",
  "proc-macro2",
  "quote",
  "quote",
@@ -999,7 +999,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "bolt-helpers-world-apply"
 name = "bolt-helpers-world-apply"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "proc-macro2",
  "proc-macro2",
  "quote",
  "quote",
@@ -1008,7 +1008,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "bolt-lang"
 name = "bolt-lang"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "ahash 0.8.6",
  "ahash 0.8.6",
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1026,7 +1026,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "bolt-system"
 name = "bolt-system"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "bolt-helpers-system-template",
  "bolt-helpers-system-template",
@@ -1034,7 +1034,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "bolt-utils"
 name = "bolt-utils"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "proc-macro2",
  "proc-macro2",
  "quote",
  "quote",
@@ -3143,7 +3143,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "position"
 name = "position"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "bolt-lang",
  "bolt-lang",
@@ -5024,7 +5024,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "system-apply-velocity"
 name = "system-apply-velocity"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "bolt-lang",
  "bolt-lang",
@@ -5055,7 +5055,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "system-fly"
 name = "system-fly"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "bolt-lang",
  "bolt-lang",
@@ -5064,7 +5064,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "system-simple-movement"
 name = "system-simple-movement"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "bolt-lang",
  "bolt-lang",
@@ -5559,7 +5559,7 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
 
 
 [[package]]
 [[package]]
 name = "velocity"
 name = "velocity"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "bolt-lang",
  "bolt-lang",
@@ -5958,7 +5958,7 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "world"
 name = "world"
-version = "0.0.2"
+version = "0.1.0"
 dependencies = [
 dependencies = [
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "anchor-lang 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "bolt-component",
  "bolt-component",

+ 13 - 13
Cargo.toml

@@ -7,7 +7,7 @@ members = [
 ]
 ]
 
 
 [workspace.package]
 [workspace.package]
-version = "0.0.2"
+version = "0.1.0"
 authors = ["Magicblock Labs <dev@magicblock.gg>"]
 authors = ["Magicblock Labs <dev@magicblock.gg>"]
 repository = "https://github.com/magicblock-labs/bolt"
 repository = "https://github.com/magicblock-labs/bolt"
 homepage = "https://www.magicblock.gg/"
 homepage = "https://www.magicblock.gg/"
@@ -15,18 +15,18 @@ license = "MIT"
 edition = "2021"
 edition = "2021"
 
 
 [workspace.dependencies]
 [workspace.dependencies]
-bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.0.2" }
-bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.0.2" }
-bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.0.2"}
-bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.0.2" }
-bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.0.2" }
-bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.0.2" }
-bolt-helpers-system-template = { path = "crates/bolt-helpers/attribute/system-template", version = "=0.0.2" }
-bolt-helpers-world-apply = { path = "crates/bolt-helpers/attribute/world-apply", version = "=0.0.2" }
-bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.0.2" }
-world = { path = "programs/world", features = ["cpi"], version = "=0.0.2"}
-bolt-system = { path = "programs/bolt-system", features = ["cpi"], version = "=0.0.2"}
-bolt-component = { path = "programs/bolt-component", features = ["cpi"], version = "=0.0.2"}
+bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.1.0" }
+bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.1.0" }
+bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.1.0"}
+bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.1.0" }
+bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.1.0" }
+bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.1.0" }
+bolt-helpers-system-template = { path = "crates/bolt-helpers/attribute/system-template", version = "=0.1.0" }
+bolt-helpers-world-apply = { path = "crates/bolt-helpers/attribute/world-apply", version = "=0.1.0" }
+bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.1.0" }
+world = { path = "programs/world", features = ["cpi"], version = "=0.1.0"}
+bolt-system = { path = "programs/bolt-system", features = ["cpi"], version = "=0.1.0"}
+bolt-component = { path = "programs/bolt-component", features = ["cpi"], version = "=0.1.0"}
 
 
 ## External crates
 ## External crates
 anchor-lang = "0.29.0"
 anchor-lang = "0.29.0"

+ 8 - 8
cli/npm-package/package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "@magicblock-labs/bolt-cli",
   "name": "@magicblock-labs/bolt-cli",
-  "version": "0.0.2",
+  "version": "0.1.0",
   "description": "Bolt CLI tool",
   "description": "Bolt CLI tool",
   "homepage": "https://github.com/magicblock-labs/bolt#readme",
   "homepage": "https://github.com/magicblock-labs/bolt#readme",
   "bugs": {
   "bugs": {
@@ -29,13 +29,13 @@
     "typescript": "^4.9.4"
     "typescript": "^4.9.4"
   },
   },
   "optionalDependencies": {
   "optionalDependencies": {
-    "@magicblock-labs/bolt-cli-darwin-x64": "0.0.2",
-    "@magicblock-labs/bolt-cli-darwin-arm64": "0.0.2",
-    "@magicblock-labs/bolt-cli-linux-x86": "0.0.2",
-    "@magicblock-labs/bolt-cli-linux-x64": "0.0.2",
-    "@magicblock-labs/bolt-cli-linux-arm64": "0.0.2",
-    "@magicblock-labs/bolt-cli-windows-x86": "0.0.2",
-    "@magicblock-labs/bolt-cli-windows-x64": "0.0.2"
+    "@magicblock-labs/bolt-cli-darwin-x64": "0.1.0",
+    "@magicblock-labs/bolt-cli-darwin-arm64": "0.1.0",
+    "@magicblock-labs/bolt-cli-linux-x86": "0.1.0",
+    "@magicblock-labs/bolt-cli-linux-x64": "0.1.0",
+    "@magicblock-labs/bolt-cli-linux-arm64": "0.1.0",
+    "@magicblock-labs/bolt-cli-windows-x86": "0.1.0",
+    "@magicblock-labs/bolt-cli-windows-x64": "0.1.0"
   },
   },
   "publishConfig": {
   "publishConfig": {
     "access": "public"
     "access": "public"

+ 1 - 1
cli/npm-package/package.json.tmpl

@@ -1,7 +1,7 @@
 {
 {
   "name": "@magicblock-labs/${node_pkg}",
   "name": "@magicblock-labs/${node_pkg}",
   "description": "Bolt CLI tool (${node_pkg})",
   "description": "Bolt CLI tool (${node_pkg})",
-  "version": "0.0.2",
+  "version": "0.1.0",
   "repository": {
   "repository": {
     "type": "git",
     "type": "git",
     "url": "git+https://github.com/magicblock-labs/bolt.git"
     "url": "git+https://github.com/magicblock-labs/bolt.git"

+ 1 - 1
clients/bolt-sdk/package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "@magicblock-labs/bolt-sdk",
   "name": "@magicblock-labs/bolt-sdk",
-  "version": "0.0.2",
+  "version": "0.1.0",
   "description": "Bolt typescript SDK",
   "description": "Bolt typescript SDK",
   "author": "dev@magicblock.gg",
   "author": "dev@magicblock.gg",
   "license": "MIT",
   "license": "MIT",