diff --git a/.github/workflows/pr-preview-build.yml b/.github/workflows/pr-preview-build.yml index 3cf07fb..4d45e49 100644 --- a/.github/workflows/pr-preview-build.yml +++ b/.github/workflows/pr-preview-build.yml @@ -9,14 +9,9 @@ jobs: - name: Install trunk run: | - curl -sL https://github.com/trunk-rs/trunk/releases/download/v0.21.14/trunk-x86_64-unknown-linux-gnu.tar.gz -o trunk-x86_64-unknown-linux-gnu.tar.gz + curl -sL https://github.com/trunk-rs/trunk/releases/download/v0.22.0-beta.1/trunk-x86_64-unknown-linux-gnu.tar.gz -o trunk-x86_64-unknown-linux-gnu.tar.gz tar xzf trunk-x86_64-unknown-linux-gnu.tar.gz sudo install trunk /usr/bin/trunk - - uses: actions/setup-node@v4 - with: - node-version: "20" - - name: Install NPM dependencies - run: npm install - name: Set build timestamp run: echo "BUILD_TIMESTAMP=$(date --rfc-3339=seconds --utc)" >> $GITHUB_ENV diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index bb6d9b8..bcfb459 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -28,26 +28,12 @@ jobs: target key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - uses: actions/cache@v4 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - name: Install trunk run: | - curl -sL https://github.com/thedodd/trunk/releases/download/v0.21.14/trunk-x86_64-unknown-linux-gnu.tar.gz -o trunk-x86_64-unknown-linux-gnu.tar.gz + curl -sL https://github.com/thedodd/trunk/releases/download/v0.22.0-beta.1/trunk-x86_64-unknown-linux-gnu.tar.gz -o trunk-x86_64-unknown-linux-gnu.tar.gz tar xzf trunk-x86_64-unknown-linux-gnu.tar.gz sudo install trunk /usr/bin/trunk - - uses: actions/setup-node@v4 - with: - node-version: '20' - - - name: Install dependencies - run: npm install - - name: Set build timestamp run: echo "BUILD_TIMESTAMP=$(date --rfc-3339=seconds --utc)" >> $GITHUB_ENV diff --git a/Cargo.lock b/Cargo.lock index 5e6ca86..766c19e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1278,9 +1278,9 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "unicode-segmentation" -version = "1.12.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" +checksum = "a559e63b5d8004e12f9bce88af5c6d939c58de839b7532cfe9653846cedd2a9e" [[package]] name = "unicode-xid" diff --git a/Cargo.toml b/Cargo.toml index 19e1677..c9e6dfe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ browser-panic-hook = "0.2" chrono = { version = "0.4.30", default-features = false, features = ["wasmbind"] } gloo-utils = "0.2" log = "0.4" -patternfly-yew = { version = "0.7", features = ["tree", "icons-fab"] } +patternfly-yew = { version = "0.7.3", features = ["tree", "icons-fab"] } popper-rs = { version = "0.4", features = ["yew", "debug"] } serde_json = "1" strum = { version = "0.27", features = ["derive"] } diff --git a/Trunk.toml b/Trunk.toml new file mode 100644 index 0000000..8be0746 --- /dev/null +++ b/Trunk.toml @@ -0,0 +1,8 @@ +[[node_packages]] +name = "@patternfly/patternfly" +version = "6.4.0" + +[[node_packages]] +name = "@fortawesome/fontawesome-free" +version = "7.1.0" + diff --git a/assets/initializer.mjs b/assets/initializer.mjs index 6a4d730..453f89b 100644 --- a/assets/initializer.mjs +++ b/assets/initializer.mjs @@ -5,18 +5,18 @@ export default function initializer() { console.time("trunk-initializer"); document.body.insertAdjacentHTML("afterbegin", ` -