genlayer 0.12.1 → 0.12.2-beta.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.
Files changed (44) hide show
  1. package/.github/workflows/publish-beta.yml +2 -2
  2. package/.github/workflows/publish.yml +2 -2
  3. package/.github/workflows/validate-code.yml +1 -1
  4. package/CHANGELOG.md +6 -0
  5. package/dist/index.js +24736 -108331
  6. package/docker-compose.yml +1 -1
  7. package/esbuild.config.dev.js +18 -0
  8. package/esbuild.config.js +10 -5
  9. package/esbuild.config.prod.js +16 -0
  10. package/eslint.config.js +59 -0
  11. package/package.json +12 -9
  12. package/scripts/postinstall.js +10 -6
  13. package/src/commands/config/getSetReset.ts +25 -18
  14. package/src/commands/contracts/deploy.ts +105 -25
  15. package/src/commands/contracts/index.ts +5 -1
  16. package/src/commands/general/index.ts +10 -4
  17. package/src/commands/general/init.ts +136 -189
  18. package/src/commands/general/start.ts +76 -77
  19. package/src/commands/general/stop.ts +6 -5
  20. package/src/commands/keygen/create.ts +9 -11
  21. package/src/commands/update/index.ts +3 -8
  22. package/src/commands/update/ollama.ts +56 -56
  23. package/src/commands/validators/validators.ts +48 -55
  24. package/src/lib/actions/BaseAction.ts +75 -4
  25. package/src/lib/config/simulator.ts +1 -1
  26. package/src/lib/services/simulator.ts +3 -2
  27. package/tests/actions/create.test.ts +18 -30
  28. package/tests/actions/deploy.test.ts +200 -30
  29. package/tests/actions/getSetReset.test.ts +29 -42
  30. package/tests/actions/init.test.ts +240 -475
  31. package/tests/actions/ollama.test.ts +40 -55
  32. package/tests/actions/start.test.ts +107 -108
  33. package/tests/actions/stop.test.ts +23 -4
  34. package/tests/actions/validators.test.ts +273 -142
  35. package/tests/commands/call.test.ts +4 -1
  36. package/tests/commands/deploy.test.ts +11 -0
  37. package/tests/commands/init.test.ts +11 -12
  38. package/tests/commands/up.test.ts +31 -23
  39. package/tests/commands/update.test.ts +2 -5
  40. package/tests/libs/baseAction.test.ts +175 -0
  41. package/tests/services/simulator.test.ts +15 -0
  42. package/.eslintrc.js +0 -58
  43. package/esbuild.config.dev +0 -16
  44. package/esbuild.config.prod +0 -16
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  steps:
13
13
  - name: Get CI Bot Token
14
- uses: tibdex/github-app-token@v1
14
+ uses: tibdex/github-app-token@v2
15
15
  id: ci_bot_token
16
16
  with:
17
17
  app_id: ${{ secrets.CI_BOT_APP_ID }}
@@ -22,7 +22,7 @@ jobs:
22
22
  with:
23
23
  token: ${{ steps.ci_bot_token.outputs.token }}
24
24
  - name: Setup Node.js
25
- uses: actions/setup-node@v2
25
+ uses: actions/setup-node@v4
26
26
  with:
27
27
  node-version: "18"
28
28
  - name: Install the dependencies
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  steps:
13
13
  - name: Get CI Bot Token
14
- uses: tibdex/github-app-token@v1
14
+ uses: tibdex/github-app-token@v2
15
15
  id: ci_bot_token
16
16
  with:
17
17
  app_id: ${{ secrets.CI_BOT_APP_ID }}
@@ -22,7 +22,7 @@ jobs:
22
22
  with:
23
23
  token: ${{ steps.ci_bot_token.outputs.token }}
24
24
  - name: Setup Node.js
25
- uses: actions/setup-node@v2
25
+ uses: actions/setup-node@v4
26
26
  with:
27
27
  node-version: "18"
28
28
  - name: Install the dependencies
@@ -20,7 +20,7 @@ jobs:
20
20
  uses: actions/checkout@v4
21
21
 
22
22
  - name: Set up Node.js
23
- uses: actions/setup-node@v3
23
+ uses: actions/setup-node@v4
24
24
  with:
25
25
  node-version: 18
26
26
  cache: "npm"
package/CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
+ # Changelog
1
2
 
3
+ ## 0.12.2-beta.0 (2025-02-27)
4
+
5
+ ### Bug Fixes
6
+
7
+ * esbuild version ([84d8aa0](https://github.com/yeagerai/genlayer-cli/commit/84d8aa00eec402607866ef22081e3f62ab52d801))
2
8
 
3
9
  ## 0.12.1 (2025-02-20)
4
10