瀏覽代碼

:bookmark: Release v0.1.4 (#42)

* :bookmark: Release v0.1.4

* :construction_worker: Fix CI workflow

* :construction_worker: Fix CI/CD workflow
Gabriele Picco 1 年之前
父節點
當前提交
6e10cfb9f9
共有 7 個文件被更改,包括 54 次插入50 次删除
  1. 3 4
      .github/workflows/publish-bolt-sdk.yml
  2. 5 0
      CHANGELOG.md
  3. 21 21
      Cargo.lock
  4. 15 15
      Cargo.toml
  5. 8 8
      cli/npm-package/package.json
  6. 1 1
      cli/npm-package/package.json.tmpl
  7. 1 1
      clients/bolt-sdk/package.json

+ 3 - 4
.github/workflows/publish-bolt-sdk.yml

@@ -175,12 +175,11 @@ jobs:
 
       - name: npm publish
         run: |
-          npm install --global yarn
-          npm install --global eslint
-          yarn install
+          npm install --global eslint@^8.33.0
+          npm install
           echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
           npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
-          cd clients/bolt-sdk/ && yarn build && yarn lint:fix && cd ../../ && yarn lint:fix
+          cd clients/bolt-sdk/ && npm run build && npm run lint:fix && cd ../../ && npm run lint:fix
           cd clients/bolt-sdk/
           if [ "${DRY_RUN}" = "true" ]; then
             echo "Running npm publish in dry-run mode"

+ 5 - 0
CHANGELOG.md

@@ -1,4 +1,9 @@
 
+## [0.1.4] - 2024-04-06
+
+### ✨️ Features
+ - Improve Bolt typescript SDK (#41)
+
 ## [0.1.3] - 2024-04-02
 
 

+ 21 - 21
Cargo.lock

@@ -794,7 +794,7 @@ checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae"
 
 [[package]]
 name = "bolt-attribute-bolt-arguments"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -803,7 +803,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-component"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "bolt-utils",
  "proc-macro2",
@@ -813,7 +813,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-component-deserialize"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "bolt-utils",
  "proc-macro2",
@@ -823,7 +823,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-component-id"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -832,7 +832,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-extra-accounts"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -841,7 +841,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-program"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -850,7 +850,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-system"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -859,7 +859,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-attribute-bolt-system-input"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -868,7 +868,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-cli"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "anchor-cli",
  "anchor-client",
@@ -882,7 +882,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-component"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "anchor-lang",
  "bolt-system",
@@ -894,7 +894,7 @@ version = "0.0.1"
 
 [[package]]
 name = "bolt-helpers-system-template"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -903,7 +903,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-helpers-world-apply"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -912,7 +912,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-lang"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "ahash 0.8.6",
  "anchor-lang",
@@ -932,7 +932,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-system"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "anchor-lang",
  "bolt-helpers-system-template",
@@ -948,7 +948,7 @@ dependencies = [
 
 [[package]]
 name = "bolt-utils"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -3058,7 +3058,7 @@ dependencies = [
 
 [[package]]
 name = "position"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "anchor-lang",
  "bolt-lang",
@@ -5005,7 +5005,7 @@ dependencies = [
 
 [[package]]
 name = "system-apply-velocity"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "anchor-lang",
  "anchor-spl",
@@ -5037,7 +5037,7 @@ dependencies = [
 
 [[package]]
 name = "system-fly"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "anchor-lang",
  "bolt-lang",
@@ -5046,7 +5046,7 @@ dependencies = [
 
 [[package]]
 name = "system-simple-movement"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "anchor-lang",
  "bolt-lang",
@@ -5568,7 +5568,7 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
 
 [[package]]
 name = "velocity"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "anchor-lang",
  "bolt-lang",
@@ -5910,7 +5910,7 @@ dependencies = [
 
 [[package]]
 name = "world"
-version = "0.1.3"
+version = "0.1.4"
 dependencies = [
  "anchor-lang",
  "bolt-component",

+ 15 - 15
Cargo.toml

@@ -7,7 +7,7 @@ members = [
 ]
 
 [workspace.package]
-version = "0.1.3"
+version = "0.1.4"
 authors = ["Magicblock Labs <dev@magicblock.gg>"]
 repository = "https://github.com/magicblock-labs/bolt"
 homepage = "https://www.magicblock.gg/"
@@ -15,20 +15,20 @@ license = "MIT"
 edition = "2021"
 
 [workspace.dependencies]
-bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.1.3" }
-bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.1.3" }
-bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.1.3"}
-bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.1.3" }
-bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-accounts", version = "=0.1.3" }
-bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.1.3" }
-bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.1.3" }
-bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.1.3" }
-bolt-helpers-system-template = { path = "crates/bolt-helpers/attribute/system-template", version = "=0.1.3" }
-bolt-helpers-world-apply = { path = "crates/bolt-helpers/attribute/world-apply", version = "=0.1.3" }
-bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.1.3" }
-world = { path = "programs/world", features = ["cpi"], version = "=0.1.3"}
-bolt-system = { path = "programs/bolt-system", features = ["cpi"], version = "=0.1.3"}
-bolt-component = { path = "programs/bolt-component", features = ["cpi"], version = "=0.1.3"}
+bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.1.4" }
+bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.1.4" }
+bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.1.4"}
+bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.1.4" }
+bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-accounts", version = "=0.1.4" }
+bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.1.4" }
+bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.1.4" }
+bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.1.4" }
+bolt-helpers-system-template = { path = "crates/bolt-helpers/attribute/system-template", version = "=0.1.4" }
+bolt-helpers-world-apply = { path = "crates/bolt-helpers/attribute/world-apply", version = "=0.1.4" }
+bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.1.4" }
+world = { path = "programs/world", features = ["cpi"], version = "=0.1.4"}
+bolt-system = { path = "programs/bolt-system", features = ["cpi"], version = "=0.1.4"}
+bolt-component = { path = "programs/bolt-component", features = ["cpi"], version = "=0.1.4"}
 
 ## External crates
 anchor-lang = { version = "0.29.0", git = "https://github.com/coral-xyz/anchor.git", rev = "0f60909", features = ["init-if-needed"] }

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

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

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

@@ -1,7 +1,7 @@
 {
   "name": "@magicblock-labs/${node_pkg}",
   "description": "Bolt CLI tool (${node_pkg})",
-  "version": "0.1.3",
+  "version": "0.1.4",
   "repository": {
     "type": "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",
-  "version": "0.1.3",
+  "version": "0.1.4",
   "description": "Bolt typescript SDK",
   "author": "dev@magicblock.gg",
   "license": "MIT",