-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CHORE] (history): starting from scratch
- Loading branch information
0 parents
commit 68a0cee
Showing
13 changed files
with
19,463 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
# clj-watson scans dependencies in a clojure deps.edn | ||
# seeking for vulnerable direct/transitive dependencies and | ||
# build a report with all the information needed to help you | ||
# understand how the vulnerability manifest in your software. | ||
# More details at https://github.com/clj-holmes/clj-watson | ||
|
||
name: clj-watson | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ "master" ] | ||
schedule: | ||
- cron: '16 21 * * 6' | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
clj-holmes: | ||
name: Run clj-watson scanning | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
security-events: write | ||
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Dependency scan | ||
uses: clj-holmes/clj-watson-action@b4c3623c4d603932e60e6012a3a1db7bc60058c2 | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
with: | ||
clj-watson-sha: "65d928c" | ||
clj-watson-tag: "v4.0.1" | ||
database-strategy: github-advisory | ||
aliases: clojure-lsp,test | ||
deps-edn-path: deps.edn | ||
suggest-fix: true | ||
output-type: sarif | ||
output-file: clj-watson-results.sarif | ||
fail-on-result: false | ||
|
||
- name: Upload analysis results to GitHub | ||
uses: github/codeql-action/upload-sarif@v3 | ||
with: | ||
sarif_file: clj-watson-results.sarif | ||
wait-for-processing: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
merge_group: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: '11' | ||
|
||
- uses: DeLaGuardo/setup-clojure@master | ||
with: | ||
cli: 'latest' | ||
|
||
- name: install dependencies | ||
run: npm install | ||
|
||
- name: build release | ||
run: clojure -M:cljs-cli release app | ||
|
||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./resources/public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.nrepl-port | ||
/.shadow-cljs/* | ||
/node_modules/* | ||
/resources/public/js/* | ||
/resources/public/mx-nostro-nfr/js/* | ||
.vim-bookmarks | ||
.cpcache | ||
.clj-kondo | ||
.lsp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Hoplon and shadow-cljs | ||
|
||
Basic example showing how to use [hoplon](https://github.com/hoplon/hoplon) when building with [shadow-cljs](https://github.com/thheller/shadow-cljs) | ||
|
||
Development mode | ||
``` | ||
clj -M:dev:cljs-cli watch app | ||
``` | ||
|
||
Package | ||
``` | ||
clj -M:cljs-cli release app | ||
``` | ||
|
||
|
||
## Generated page | ||
[https://mraveloarinjaka.github.io/hello-world-hoplon-shadow-cljs](https://mraveloarinjaka.github.io/hello-world-hoplon-shadow-cljs/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{:paths ["src/main"] | ||
:deps {applied-science/js-interop {:mvn/version "0.4.2"} | ||
cljs-http/cljs-http {:mvn/version "0.1.46"} | ||
funcool/promesa {:mvn/version "11.0.678"} | ||
hoplon/hoplon {:git/url "https://github.com/hoplon/hoplon" | ||
:git/sha "1fb6352a2b403e0a8d99e4cb772dae32f6c96425"} | ||
lambdaisland/glogi {:mvn/version "1.3.169"} | ||
macchiato/core {:mvn/version "0.2.24"}} | ||
:mvn/repos {"central" {:url "https://repo1.maven.org/maven2/"} | ||
"clojars" {:url "https://clojars.org/repo/"}} | ||
:aliases {:dev {:jvm-opts ["-Dlogback.configurationFile=logback.xml" "--illegal-access=deny"]} | ||
:cljs {:extra-deps {binaryage/devtools {:mvn/version "1.0.7"} | ||
cider/cider-nrepl {:mvn/version "0.38.1"} | ||
refactor-nrepl/refactor-nrepl {:mvn/version "3.10.0"} | ||
thheller/shadow-cljs {:mvn/version "2.28.19"}}} | ||
:cljs-cli {:extra-deps {thheller/shadow-cljs {:mvn/version "2.28.19"}} | ||
:main-opts ["-m" "shadow.cljs.devtools.cli"]}}} |
Oops, something went wrong.