From ac3b0235fdb4c2ca696a6f9134a1439a3b04eaec Mon Sep 17 00:00:00 2001 From: tiye Date: Tue, 27 Aug 2024 01:31:14 +0800 Subject: [PATCH] upgrade calcit version --- .github/workflows/tests.yaml | 18 ++++-------------- package.cirru => deps.cirru | 1 + package.json | 2 +- yarn.lock | 30 +++++++++++++++--------------- 4 files changed, 21 insertions(+), 30 deletions(-) rename package.cirru => deps.cirru (79%) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 20d3d93..47dbed5 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -10,26 +10,16 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: 'yarn' - - uses: supplypike/setup-bin@v3 - with: - uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.0/cr' - name: 'cr' - version: '0.8.0' - - - uses: supplypike/setup-bin@v3 - with: - uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.0/caps' - name: 'caps' - version: '0.8.0' + - uses: calcit-lang/setup-cr@0.0.5 - name: "test" run: caps --ci && cr -1 --entry test - - run: cr --emit-js -1 --entry test && yarn && node ./main.mjs + - run: cr -1 --entry test js && yarn && node ./main.mjs diff --git a/package.cirru b/deps.cirru similarity index 79% rename from package.cirru rename to deps.cirru index 9b47875..081e5d8 100644 --- a/package.cirru +++ b/deps.cirru @@ -1,5 +1,6 @@ {} + :calcit-version |0.9.4 :dependencies $ {} |calcit-lang/calcit-test |main |calcit-lang/calcit.std |main diff --git a/package.json b/package.json index dc2ee59..e149ed1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "version": "0.0.7", "dependencies": { - "@calcit/procs": "^0.8.0" + "@calcit/procs": "^0.9.4" }, "scripts": {}, "devDependencies": {} diff --git a/yarn.lock b/yarn.lock index e31a40a..d660e22 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,26 +2,26 @@ # yarn lockfile v1 -"@calcit/procs@^0.8.0": - version "0.8.0" - resolved "https://registry.npmmirror.com/@calcit/procs/-/procs-0.8.0.tgz#ce682f5d016e2ebfa25cf2dd1852bfcccb64bb86" - integrity sha512-fLnsR0MAP4W2TsJ3ftVsO51RyudZoMCVEfsxjoaw5FAg6m09YgDDfkWKElNDQwljsHcV8ZmiyCdZpJLCEmdEkw== +"@calcit/procs@^0.9.4": + version "0.9.4" + resolved "https://registry.yarnpkg.com/@calcit/procs/-/procs-0.9.4.tgz#6b44f0d655bc34cbbc11e8c462d4dd55f9e8e3eb" + integrity sha512-3CVV4ijy6/K4wCPfb9hrXE7T/S7nBA5UQ6cu1rsvURTwPOa38vQwWDeDI+6fxHqIeIFzIxoLJudZeXeXJyr2ZA== dependencies: - "@calcit/ternary-tree" "0.0.23" + "@calcit/ternary-tree" "0.0.24" "@cirru/parser.ts" "^0.0.6" - "@cirru/writer.ts" "^0.1.4" + "@cirru/writer.ts" "^0.1.5" -"@calcit/ternary-tree@0.0.23": - version "0.0.23" - resolved "https://registry.npmmirror.com/@calcit/ternary-tree/-/ternary-tree-0.0.23.tgz#a299f7ffd614ac2dfe2cbcf78506934df4008c77" - integrity sha512-GKHfokm1YBUvPprV9p227fDpE+w4lVl4YKQpfKoNEqvprJnC4HRXaa+QSLwZkvZlXr09hAA0x4l4ZKUIcbYydg== +"@calcit/ternary-tree@0.0.24": + version "0.0.24" + resolved "https://registry.yarnpkg.com/@calcit/ternary-tree/-/ternary-tree-0.0.24.tgz#9b58cf9f76c08c3995b98b59c71b85e1da32385c" + integrity sha512-IGs+VNYIrIF2bI3/cnQe2lFmZYaJe3+A0LArDloGbNaEzUTRoyba37FTZ8K9C+XRpUAO9K0q61sKY2vb4teWAA== "@cirru/parser.ts@^0.0.6": version "0.0.6" - resolved "https://registry.npmmirror.com/@cirru/parser.ts/-/parser.ts-0.0.6.tgz#b95a84e02273fcbd71ff100925782b6f86410234" + resolved "https://registry.yarnpkg.com/@cirru/parser.ts/-/parser.ts-0.0.6.tgz#b95a84e02273fcbd71ff100925782b6f86410234" integrity sha512-qpDNPq+IuuwYjQFI+wzpd3ntbF7lwJs90v1XWyLQbL9Ru4ld4aHxVGwW/9F/QOu5mEGCMXtagCoYDf0HtOpDZg== -"@cirru/writer.ts@^0.1.4": - version "0.1.4" - resolved "https://registry.npmmirror.com/@cirru/writer.ts/-/writer.ts-0.1.4.tgz#4b5851d002ab7c4891457bf8c707f09620c8f122" - integrity sha512-Uy3Y7jjLdaxLW9ajZuIS9rp+dhaSVU95hRRwvnP6E16PwgPl+zGs6Xqn1L7Lqw07ypujrdBBdFQyRJOLc6IHQQ== +"@cirru/writer.ts@^0.1.5": + version "0.1.5" + resolved "https://registry.yarnpkg.com/@cirru/writer.ts/-/writer.ts-0.1.5.tgz#890d96cd4a69609f1682932dad5d2d467abb327e" + integrity sha512-QQVFJAOIdUtVJZwT23THZOzumSDXCLMQ0yFz5DzIGlWGXPNBuB7BwUvGtRuiQrzM2XV7ALOWmNsVC7vEOjObQQ==