| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,33 @@ | |||
| 1 | + name: Publish Showcase | ||
| 2 | + | ||
| 3 | + on: | ||
| 4 | + workflow_dispatch: | ||
| 5 | + | ||
| 6 | + jobs: | ||
| 7 | + publish: | ||
| 8 | + name: Publish Showcase | ||
| 9 | + runs-on: ubuntu-latest | ||
| 10 | + env: | ||
| 11 | + MVN: ./mvnw --show-version --batch-mode | ||
| 12 | + steps: | ||
| 13 | + - name: Checkout | ||
| 14 | + id: checkout | ||
| 15 | + uses: actions/checkout@v4 | ||
| 16 | + - name: Set up JDK | ||
| 17 | + id: setup-jdk | ||
| 18 | + uses: actions/setup-java@v4 | ||
| 19 | + with: | ||
| 20 | + java-version: 11 | ||
| 21 | + distribution: temurin | ||
| 22 | + cache: maven | ||
| 23 | + - name: Build Showcase | ||
| 24 | + id: build-showcase | ||
| 25 | + run: $MVN --projects org.patternfly:patternfly-java-showcase-dist --also-make -P showcase,prod package | ||
| 26 | + - name: Publish Showcase | ||
| 27 | + id: publish-samples | ||
| 28 | + uses: JamesIves/github-pages-deploy-action@v4.5.0 | ||
| 29 | + with: | ||
| 30 | + branch: gh-pages | ||
| 31 | + folder: ./showcase/dist/target/showcase | ||
| 32 | + target-folder: showcase | ||
| 33 | + clean: true | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -77,8 +77,8 @@ jobs: | |||
| 77 | 77 | - name: Build Showcase | |
| 78 | 78 | id: build-showcase | |
| 79 | 79 | run: $MVN --projects org.patternfly:patternfly-java-showcase-dist --also-make -P showcase,prod package | |
| 80 | - - name: Publish Samples | ||
| 81 | - id: publish-samples | ||
| 80 | + - name: Publish Showcase | ||
| 81 | + id: publish-showcase | ||
| 82 | 82 | uses: JamesIves/github-pages-deploy-action@v4.5.0 | |
| 83 | 83 | with: | |
| 84 | 84 | branch: gh-pages | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,6 +8,28 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | |||
| 8 | 8 | ||
| 9 | 9 | ## [0.2.0] - 2024-03-27 | |
| 10 | 10 | ||
| 11 | + ### Added | ||
| 12 | + | ||
| 13 | + Split PatternFly Java into multiple modules: | ||
| 14 | + | ||
| 15 | + - core | ||
| 16 | + - icons | ||
| 17 | + - components | ||
| 18 | + - layouts | ||
| 19 | + - extensions | ||
| 20 | + - codeeditor | ||
| 21 | + - finder | ||
| 22 | + - gwt | ||
| 23 | + - j2cl | ||
| 24 | + | ||
| 25 | + ### Changed | ||
| 26 | + | ||
| 27 | + - Add showcase to the PatternFly Java codebase. The extra [showcase repository](https://github.com/patternfly-java/showcase) has been archived. | ||
| 28 | + | ||
| 29 | + ### Upgrades | ||
| 30 | + | ||
| 31 | + - Bump Elemento to 1.3.3 | ||
| 32 | + | ||
| 11 | 33 | ## [0.1.5] - 2024-03-02 | |
| 12 | 34 | ||
| 13 | 35 | ### Added | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,46 @@ | |||
| 1 | + { | ||
| 2 | + "graph": { | ||
| 3 | + "rankdir": "TB" | ||
| 4 | + }, | ||
| 5 | + "node-styles": { | ||
| 6 | + "com.google.elemental2": { | ||
| 7 | + "type": "box", | ||
| 8 | + "style": "rounded", | ||
| 9 | + "color": "grey50", | ||
| 10 | + "default-font": { | ||
| 11 | + "size": 14, | ||
| 12 | + "name": "Helvetica", | ||
| 13 | + "color": "grey50" | ||
| 14 | + }, | ||
| 15 | + "group-id-font": { | ||
| 16 | + "size": 10 | ||
| 17 | + } | ||
| 18 | + }, | ||
| 19 | + "org.gwtproject": { | ||
| 20 | + "type": "box", | ||
| 21 | + "style": "rounded", | ||
| 22 | + "color": "grey50", | ||
| 23 | + "default-font": { | ||
| 24 | + "size": 14, | ||
| 25 | + "name": "Helvetica", | ||
| 26 | + "color": "grey50" | ||
| 27 | + }, | ||
| 28 | + "group-id-font": { | ||
| 29 | + "size": 10 | ||
| 30 | + } | ||
| 31 | + }, | ||
| 32 | + "org.jboss.elemento": { | ||
| 33 | + "type": "box", | ||
| 34 | + "style": "rounded", | ||
| 35 | + "color": "grey50", | ||
| 36 | + "default-font": { | ||
| 37 | + "size": 14, | ||
| 38 | + "name": "Helvetica", | ||
| 39 | + "color": "grey50" | ||
| 40 | + }, | ||
| 41 | + "group-id-font": { | ||
| 42 | + "size": 10 | ||
| 43 | + } | ||
| 44 | + } | ||
| 45 | + } | ||
| 46 | + } | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,40 @@ | |||
| 1 | + digraph "patternfly-java-parent" { | ||
| 2 | + graph [rankdir="TB"] | ||
| 3 | + node [shape="box",style="rounded",fontname="Helvetica",fontsize="14"] | ||
| 4 | + edge [fontsize="10",fontname="Helvetica"] | ||
| 5 | + | ||
| 6 | + // Node Definitions: | ||
| 7 | + "com.google.elemental2:elemental2-core:compile"[shape="box",style="rounded",color="grey50",fontname="Helvetica",fontsize="14",fontcolor="grey50",label=<<font point-size="10">com.google.elemental2</font><br/>elemental2-core>] | ||
| 8 | + "com.google.elemental2:elemental2-promise:compile"[shape="box",style="rounded",color="grey50",fontname="Helvetica",fontsize="14",fontcolor="grey50",label=<<font point-size="10">com.google.elemental2</font><br/>elemental2-promise>] | ||
| 9 | + "org.jboss.elemento:elemento-core:compile"[shape="box",style="rounded",color="grey50",fontname="Helvetica",fontsize="14",fontcolor="grey50",label=<<font point-size="10">org.jboss.elemento</font><br/>elemento-core>] | ||
| 10 | + "com.google.elemental2:elemental2-dom:compile"[shape="box",style="rounded",color="grey50",fontname="Helvetica",fontsize="14",fontcolor="grey50",label=<<font point-size="10">com.google.elemental2</font><br/>elemental2-dom>] | ||
| 11 | + "com.google.elemental2:elemental2-webstorage:compile"[shape="box",style="rounded",color="grey50",fontname="Helvetica",fontsize="14",fontcolor="grey50",label=<<font point-size="10">com.google.elemental2</font><br/>elemental2-webstorage>] | ||
| 12 | + "org.patternfly:patternfly-java-core:compile"[label=<<font point-size="10">org.patternfly</font><br/>patternfly-java-core>] | ||
| 13 | + "org.jboss.elemento:elemento-svg:compile"[shape="box",style="rounded",color="grey50",fontname="Helvetica",fontsize="14",fontcolor="grey50",label=<<font point-size="10">org.jboss.elemento</font><br/>elemento-svg>] | ||
| 14 | + "org.patternfly:patternfly-java-icons:compile"[label=<<font point-size="10">org.patternfly</font><br/>patternfly-java-icons>] | ||
| 15 | + "org.patternfly:patternfly-java-components:compile"[label=<<font point-size="10">org.patternfly</font><br/>patternfly-java-components>] | ||
| 16 | + "org.patternfly:patternfly-java-codeeditor:compile"[label=<<font point-size="10">org.patternfly</font><br/>patternfly-java-codeeditor>] | ||
| 17 | + "org.patternfly:patternfly-java-finder:compile"[label=<<font point-size="10">org.patternfly</font><br/>patternfly-java-finder>] | ||
| 18 | + "org.patternfly:patternfly-java-layouts:compile"[label=<<font point-size="10">org.patternfly</font><br/>patternfly-java-layouts>] | ||
| 19 | + "org.patternfly:patternfly-java-gwt:compile"[label=<<font point-size="10">org.patternfly</font><br/>patternfly-java-gwt>] | ||
| 20 | + "org.gwtproject:gwt-user:compile"[shape="box",style="rounded",color="grey50",fontname="Helvetica",fontsize="14",fontcolor="grey50",label=<<font point-size="10">org.gwtproject</font><br/>gwt-user>] | ||
| 21 | + "org.patternfly:patternfly-java-j2cl:compile"[label=<<font point-size="10">org.patternfly</font><br/>patternfly-java-j2cl>] | ||
| 22 | + | ||
| 23 | + // Edge Definitions: | ||
| 24 | + "com.google.elemental2:elemental2-core:compile" -> "com.google.elemental2:elemental2-promise:compile" | ||
| 25 | + "org.jboss.elemento:elemento-core:compile" -> "com.google.elemental2:elemental2-core:compile" | ||
| 26 | + "org.jboss.elemento:elemento-core:compile" -> "com.google.elemental2:elemental2-dom:compile" | ||
| 27 | + "org.jboss.elemento:elemento-core:compile" -> "com.google.elemental2:elemental2-webstorage:compile" | ||
| 28 | + "org.patternfly:patternfly-java-core:compile" -> "org.jboss.elemento:elemento-core:compile" | ||
| 29 | + "org.patternfly:patternfly-java-core:compile" -> "org.jboss.elemento:elemento-svg:compile" | ||
| 30 | + "org.patternfly:patternfly-java-icons:compile" -> "org.patternfly:patternfly-java-core:compile" | ||
| 31 | + "org.patternfly:patternfly-java-components:compile" -> "org.patternfly:patternfly-java-icons:compile" | ||
| 32 | + "org.patternfly:patternfly-java-codeeditor:compile" -> "org.patternfly:patternfly-java-components:compile" | ||
| 33 | + "org.patternfly:patternfly-java-finder:compile" -> "org.patternfly:patternfly-java-components:compile" | ||
| 34 | + "org.patternfly:patternfly-java-layouts:compile" -> "org.patternfly:patternfly-java-core:compile" | ||
| 35 | + "org.patternfly:patternfly-java-gwt:compile" -> "org.patternfly:patternfly-java-components:compile" | ||
| 36 | + "org.patternfly:patternfly-java-gwt:compile" -> "org.patternfly:patternfly-java-layouts:compile" | ||
| 37 | + "org.patternfly:patternfly-java-gwt:compile" -> "org.gwtproject:gwt-user:compile" | ||
| 38 | + "org.patternfly:patternfly-java-j2cl:compile" -> "org.patternfly:patternfly-java-components:compile" | ||
| 39 | + "org.patternfly:patternfly-java-j2cl:compile" -> "org.patternfly:patternfly-java-layouts:compile" | ||
| 40 | + } | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,98 @@ | |||
| 1 | + #!/usr/bin/env bash | ||
| 2 | + # | ||
| 3 | + # Copyright 2022 Red Hat | ||
| 4 | + # | ||
| 5 | + # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 6 | + # you may not use this file except in compliance with the License. | ||
| 7 | + # You may obtain a copy of the License at | ||
| 8 | + # | ||
| 9 | + # https://www.apache.org/licenses/LICENSE-2.0 | ||
| 10 | + # | ||
| 11 | + # Unless required by applicable law or agreed to in writing, software | ||
| 12 | + # distributed under the License is distributed on an "AS IS" BASIS, | ||
| 13 | + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 14 | + # See the License for the specific language governing permissions and | ||
| 15 | + # limitations under the License. | ||
| 16 | + # | ||
| 17 | + | ||
| 18 | + | ||
| 19 | + # -------------------------------------------------- | ||
| 20 | + # | ||
| 21 | + # Generates the dependency graph by calling | ||
| 22 | + # mvn depgraph:aggregate | ||
| 23 | + # | ||
| 24 | + # -------------------------------------------------- | ||
| 25 | + | ||
| 26 | + set -Eeuo pipefail | ||
| 27 | + trap cleanup SIGINT SIGTERM ERR EXIT | ||
| 28 | + | ||
| 29 | + VERSION=0.0.1 | ||
| 30 | + | ||
| 31 | + # Change into the script's directory | ||
| 32 | + # Using relative paths is safe! | ||
| 33 | + script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | ||
| 34 | + readonly script_dir | ||
| 35 | + cd "${script_dir}" | ||
| 36 | + | ||
| 37 | + usage() { | ||
| 38 | + cat <<EOF | ||
| 39 | + USAGE: | ||
| 40 | + $(basename "${BASH_SOURCE[0]}") [FLAGS] | ||
| 41 | + | ||
| 42 | + FLAGS: | ||
| 43 | + -h, --help Prints help information | ||
| 44 | + -v, --version Prints version information | ||
| 45 | + --no-color Uses plain text output | ||
| 46 | + EOF | ||
| 47 | + exit | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + cleanup() { | ||
| 51 | + trap - SIGINT SIGTERM ERR EXIT | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + setup_colors() { | ||
| 55 | + if [[ -t 2 ]] && [[ -z "${NO_COLOR-}" ]] && [[ "${TERM-}" != "dumb" ]]; then | ||
| 56 | + NOFORMAT='\033[0m' RED='\033[0;31m' GREEN='\033[0;32m' ORANGE='\033[0;33m' BLUE='\033[0;34m' PURPLE='\033[0;35m' CYAN='\033[0;36m' YELLOW='\033[1;33m' | ||
| 57 | + else | ||
| 58 | + # shellcheck disable=SC2034 | ||
| 59 | + NOFORMAT='' RED='' GREEN='' ORANGE='' BLUE='' PURPLE='' CYAN='' YELLOW='' | ||
| 60 | + fi | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + msg() { | ||
| 64 | + echo >&2 -e "${1-}" | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + die() { | ||
| 68 | + local msg=$1 | ||
| 69 | + local code=${2-1} # default exit status 1 | ||
| 70 | + msg "$msg" | ||
| 71 | + exit "$code" | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + version() { | ||
| 75 | + msg "${BASH_SOURCE[0]} $VERSION" | ||
| 76 | + exit 0 | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + parse_params() { | ||
| 80 | + while :; do | ||
| 81 | + case "${1-}" in | ||
| 82 | + -h | --help) usage ;; | ||
| 83 | + -v | --version) version ;; | ||
| 84 | + --no-color) NO_COLOR=1 ;; | ||
| 85 | + -?*) die "Unknown option: $1" ;; | ||
| 86 | + *) break ;; | ||
| 87 | + esac | ||
| 88 | + shift | ||
| 89 | + done | ||
| 90 | + | ||
| 91 | + return 0 | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + parse_params "$@" | ||
| 95 | + setup_colors | ||
| 96 | + | ||
| 97 | + [ -x dot ] && die "Graphviz / dot not available. See https://graphviz.org/" | ||
| 98 | + mvn depgraph:aggregate | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -95,6 +95,7 @@ | |||
| 95 | 95 | ||
| 96 | 96 | <!-- Plugin versions --> | |
| 97 | 97 | <version.checkstyle.plugin>3.3.0</version.checkstyle.plugin> | |
| 98 | + <version.degraph.plugin>4.0.3</version.degraph.plugin> | ||
| 98 | 99 | <version.editorconfig.plugin>0.1.3</version.editorconfig.plugin> | |
| 99 | 100 | <version.enforcer.plugin>3.3.0</version.enforcer.plugin> | |
| 100 | 101 | <version.frontend.plugin>1.15.0</version.frontend.plugin> | |
@@ -141,6 +142,11 @@ | |||
| 141 | 142 | <pluginManagement> | |
| 142 | 143 | <plugins> | |
| 143 | 144 | <!-- Ordered by artifactID --> | |
| 145 | + <plugin> | ||
| 146 | + <groupId>com.github.ferstl</groupId> | ||
| 147 | + <artifactId>depgraph-maven-plugin</artifactId> | ||
| 148 | + <version>${version.degraph.plugin}</version> | ||
| 149 | + </plugin> | ||
| 144 | 150 | <plugin> | |
| 145 | 151 | <groupId>org.ec4j.maven</groupId> | |
| 146 | 152 | <artifactId>editorconfig-maven-plugin</artifactId> | |
@@ -303,6 +309,31 @@ | |||
| 303 | 309 | ||
| 304 | 310 | <plugins> | |
| 305 | 311 | <!-- Ordered semantically --> | |
| 312 | + <plugin> | ||
| 313 | + <groupId>com.github.ferstl</groupId> | ||
| 314 | + <artifactId>depgraph-maven-plugin</artifactId> | ||
| 315 | + <configuration> | ||
| 316 | + <classpathScope>compile</classpathScope> | ||
| 317 | + <createImage>true</createImage> | ||
| 318 | + <customStyleConfiguration>degraph-style.json</customStyleConfiguration> | ||
| 319 | + <includes> | ||
| 320 | + <include>${project.groupId}:patternfly-java-core</include> | ||
| 321 | + <include>${project.groupId}:patternfly-java-icons</include> | ||
| 322 | + <include>${project.groupId}:patternfly-java-components</include> | ||
| 323 | + <include>${project.groupId}:patternfly-java-layouts</include> | ||
| 324 | + <include>${project.groupId}:patternfly-java-codeeditor</include> | ||
| 325 | + <include>${project.groupId}:patternfly-java-finder</include> | ||
| 326 | + <include>${project.groupId}:patternfly-java-gwt</include> | ||
| 327 | + <include>${project.groupId}:patternfly-java-j2cl</include> | ||
| 328 | + <include>org.jboss.elemento:elemento-*</include> | ||
| 329 | + <include>com.google.elemental2:*</include> | ||
| 330 | + <include>org.gwtproject:gwt-user</include> | ||
| 331 | + </includes> | ||
| 332 | + <mergeTypes>true</mergeTypes> | ||
| 333 | + <outputDirectory>${project.basedir}</outputDirectory> | ||
| 334 | + <showGroupIds>true</showGroupIds> | ||
| 335 | + </configuration> | ||
| 336 | + </plugin> | ||
| 306 | 337 | <plugin> | |
| 307 | 338 | <groupId>org.apache.maven.plugins</groupId> | |
| 308 | 339 | <artifactId>maven-enforcer-plugin</artifactId> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ | |||
| 5 | 5 | "scripts": { | |
| 6 | 6 | "watch": "parcel serve --https --dist-dir target/showcase --open", | |
| 7 | 7 | "dev": "parcel build --https --dist-dir target/showcase --no-optimize", | |
| 8 | - "prod": "parcel build --dist-dir target/showcase --public-url /showcase" | ||
| 8 | + "prod": "parcel build --dist-dir target/showcase --public-url /patternfly-java/showcase" | ||
| 9 | 9 | }, | |
| 10 | 10 | "devDependencies": { | |
| 11 | 11 | "@parcel/reporter-cli": "^2.12.0", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -70,7 +70,7 @@ | |||
| 70 | 70 | <profile> | |
| 71 | 71 | <id>prod</id> | |
| 72 | 72 | <properties> | |
| 73 | - <settings.base>/showcase/gwt</settings.base> | ||
| 73 | + <settings.base>/patternfly-java/showcase/gwt</settings.base> | ||
| 74 | 74 | </properties> | |
| 75 | 75 | </profile> | |
| 76 | 76 | </profiles> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments