Skip to content

Commit 417ff69

Browse files
feat: Cedar SDK 4.7.0 support (#38)
Signed-off-by: John Kastner <jkastner@amazon.com> Signed-off-by: Kevin Hakanson <kevhak@amazon.com> Co-authored-by: John Kastner <130772734+john-h-kastner-aws@users.noreply.github.com>
1 parent 985e679 commit 417ff69

File tree

20 files changed

+2263
-1640
lines changed

20 files changed

+2263
-1640
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ node_modules
44
.vscode-test/
55
*.vsix
66
vscode-cedar-wasm/target
7+
tsconfig.tsbuildinfo
78
Dockerfile

.eslintrc.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/build_and_test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Build and Test
2+
permissions:
3+
contents: read
24

35
on:
46
push:
@@ -26,10 +28,16 @@ jobs:
2628
sudo apt-get -y update
2729
sudo apt-get -y install --fix-missing xvfb
2830
31+
- name: Cache wasm-pack binary
32+
uses: actions/cache@v4
33+
with:
34+
path: ~/.cargo/bin/wasm-pack
35+
key: wasm-pack-${{ runner.os }}-v0.13.1
36+
2937
- name: Update rust and install wasm-pack
3038
run: |
3139
rustup update stable && rustup default stable
32-
npm install -g wasm-pack
40+
which wasm-pack || cargo install wasm-pack --version 0.13.1
3341
3442
- name: Cache cargo build artifacts
3543
# https://doc.rust-lang.org/cargo/guide/build-cache.html

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ node_modules
44
.vscode-test/
55
*.vsix
66
vscode-cedar-wasm/target
7+
tsconfig.tsbuildinfo
78
.idea

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"explorer.fileNesting.expand": false,
2727
"explorer.fileNesting.patterns": {
2828
"package.json": "package-lock.json",
29-
"tsconfig.json": ".eslint*, .prettier*"
29+
"tsconfig.json": "tsconfig.tsbuildinfo, eslint.*, .prettier*",
30+
"Dockerfile": ".dockerignore"
3031
},
3132
"terminal.integrated.env.osx": {
3233
"PATH": "/usr/local/opt/llvm/bin/:$PATH",

.vscodeignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ src/**
77
.yarnrc
88
vsc-extension-quickstart.md
99
**/tsconfig.json
10+
tsconfig.tsbuildinfo
1011
**/.eslintrc.json
12+
eslint.config.mjs
1113
**/*.map
1214
**/*.ts
1315
*.tgz

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v0.9.4 (Pre-release) 2025-11-10
2+
3+
- Update to Cedar SDK 4.7.0
4+
15
## v0.9.3 (Pre-release) 2025-08-27
26

37
- Update to Cedar SDK 4.5.1

CODE_OF_CONDUCT.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## Code of Conduct
2-
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
3-
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
4-
opensource-codeofconduct@amazon.com with any additional questions or comments.
2+
3+
This project follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md).
4+
5+
For more information see the [Code of Conduct FAQ](https://www.cncf.io/conduct/faq/) or contact conduct@cncf.io with any additional questions or comments.

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ Looking at the existing issues is a great way to find something to contribute on
4545

4646

4747
## Code of Conduct
48-
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
49-
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
50-
opensource-codeofconduct@amazon.com with any additional questions or comments.
48+
This project follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md).
49+
For more information see the [Code of Conduct FAQ](https://www.cncf.io/conduct/faq/) or contact
50+
conduct@cncf.io with any additional questions or comments.
5151

5252

5353
## Security issue notifications

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18
1+
FROM node:20
22
RUN apt-get -y update
33
RUN apt-get -y install --fix-missing xvfb
44
RUN apt-get -y install libnss3 libatk1.0-0 libatk-bridge2.0-0 libgtk-3-0 libgbm-dev libasound2
@@ -17,8 +17,10 @@ dbus-daemon --session --address=$DBUS_SESSION_BUS_ADDRESS --nofork --nopidfile -
1717
mkdir ~/.vscode && echo '{ "disable-hardware-acceleration": true }' > ~/.vscode/argv.json
1818
# Build and Test
1919
npm ci
20-
npm install -g wasm-pack
20+
rustup update stable && rustup default stable
21+
cargo install wasm-pack --version 0.13.1
2122
npm run wasm-build
23+
npm run compile
2224
xvfb-run -a npm run test
2325
npm run package
2426
EOT

0 commit comments

Comments
 (0)