Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/fresh-suns-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@rocket.chat/apps-engine': patch
'@rocket.chat/meteor': patch
---

Fixes deno dependency caching for the docker image builds
2 changes: 1 addition & 1 deletion .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ runs:
apps/meteor/ee/server/services/node_modules
packages/apps-engine/node_modules
packages/apps-engine/.deno-cache
key: node-modules-${{ hashFiles('yarn.lock') }}-deno-${{ hashFiles('packages/apps-engine/deno-runtime/deno.lock') }}
key: node-modules-${{ hashFiles('yarn.lock') }}-deno-v${{ inputs.deno-version }}-${{ hashFiles('packages/apps-engine/deno-runtime/deno.lock') }}
#
# Could use this command to list all paths to save:
# find . -name 'node_modules' -prune | grep -v "/\.meteor/" | grep -v "/meteor/packages/"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: ./.github/actions/setup-node
with:
node-version: 22.13.1
deno-version: 1.37.1
deno-version: 1.43.5
cache-modules: true
install: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ jobs:
if: github.event.action != 'closed'
with:
node-version: 22.13.1
deno-version: 1.37.1
deno-version: 1.43.5
cache-modules: true
install: true
- name: Restore turbo build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: ./.github/actions/setup-node
with:
node-version: 22.13.1
deno-version: 1.37.1
deno-version: 1.43.5
cache-modules: true
install: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-update-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: ./.github/actions/setup-node
with:
node-version: 22.13.1
deno-version: 1.37.1
deno-version: 1.43.5
cache-modules: true
install: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: ./.github/actions/setup-node
with:
node-version: 22.13.1
deno-version: 1.37.1
deno-version: 1.43.5
cache-modules: true
install: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: ./.github/actions/setup-node
with:
node-version: 22.13.1
deno-version: 1.37.1
deno-version: 1.43.5
cache-modules: true
install: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
deno 1.37.1
deno 1.43.5
29 changes: 15 additions & 14 deletions packages/apps-engine/deno-runtime/deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"imports": {
"@rocket.chat/apps-engine/": "./../src/",
"@rocket.chat/ui-kit": "npm:@rocket.chat/ui-kit@^0.31.22",
"@msgpack/msgpack": "npm:@msgpack/msgpack@3.0.0-beta2",
"acorn": "npm:acorn@8.10.0",
"acorn-walk": "npm:acorn-walk@8.2.0",
"astring": "npm:astring@1.8.6",
"jsonrpc-lite": "npm:jsonrpc-lite@2.2.0",
"stack-trace": "npm:stack-trace@0.0.10",
"uuid": "npm:uuid@8.3.2"
},
"tasks": {
"test": "deno test --no-check --allow-read=../../../"
}
"imports": {
"@msgpack/msgpack": "npm:@msgpack/msgpack@3.0.0-beta2",
"@rocket.chat/apps-engine/": "./../src/",
"@rocket.chat/ui-kit": "npm:@rocket.chat/ui-kit@^0.31.22",
"@std/cli": "jsr:@std/cli@^1.0.9",
"acorn": "npm:acorn@8.10.0",
"acorn-walk": "npm:acorn-walk@8.2.0",
"astring": "npm:astring@1.8.6",
"jsonrpc-lite": "npm:jsonrpc-lite@2.2.0",
"stack-trace": "npm:stack-trace@0.0.10",
"uuid": "npm:uuid@8.3.2"
},
"tasks": {
"test": "deno test --no-check --allow-read=../../../"
}
}
6 changes: 4 additions & 2 deletions packages/apps-engine/deno-runtime/deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/apps-engine/deno-runtime/lib/parseArgs.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { parseArgs as $parseArgs } from "https://jsr.io/@std/cli/1.0.9/parse_args.ts";
import { parseArgs as $parseArgs } from "@std/cli/parse-args";

export type ParsedArgs = {
subprocess: string;
Expand Down
Loading