-
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.
Filetree from https://github.com/day8/re-frame/tree/v1.4.3
- Loading branch information
0 parents
commit 37e5410
Showing
218 changed files
with
42,156 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,15 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[package.json] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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 @@ | ||
CHANGES.md merge=union |
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 @@ | ||
github: mike-thompson-day8 |
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,48 @@ | ||
name: Bug Report | ||
description: File a bug report | ||
title: "[Bug]: " | ||
labels: [bug, triage] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! | ||
- type: textarea | ||
id: what-happened | ||
attributes: | ||
label: What happened? | ||
description: Also tell us, what did you expect to happen? | ||
placeholder: Tell us what you see! | ||
value: "A bug happened!" | ||
validations: | ||
required: true | ||
- type: input | ||
id: version | ||
attributes: | ||
label: Version | ||
description: What version of re-frame are you using? | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: browsers | ||
attributes: | ||
label: What runtimes are you seeing the problem on? | ||
multiple: true | ||
options: | ||
- Mozilla Firefox | ||
- Google Chrome | ||
- Microsoft Edge | ||
- Apple Safari | ||
- Opera | ||
- Brave | ||
- React Native | ||
- Node.js | ||
- JVM (CLJC) | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Relevant console output | ||
description: Please copy and paste any relevant console output. This will be automatically formatted into code, so no need for backticks. | ||
render: shell |
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,18 @@ | ||
name: Enhancement | ||
description: Suggest a new feature or improvement | ||
title: "[Enhancement]: " | ||
labels: [enhancement, triage] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to suggest a new feature or improvement. A PR would be even better! | ||
- type: textarea | ||
id: suggestion | ||
attributes: | ||
label: What do you suggest? | ||
description: Also tell us, what is your use case for re-frame and how will it improve that use case? | ||
placeholder: Tell us your vision! | ||
value: "Make it better!" | ||
validations: | ||
required: 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,11 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: re-frame GitHub Discussions | ||
url: https://github.com/day8/re-frame/discussions | ||
about: Ask and answer questions in GitHub Flavored Markdown. | ||
- name: "#re-frame Clojurians Slack Chat" | ||
url: https://clojurians.slack.com | ||
about: Active channel for real-time discussion, questions and answers. Clojurians is a Slack Pro account Sponsored by Slack Technologies, LLC. | ||
- name: "Stack Overflow Questions tagged [re-frame]" | ||
url: https://stackoverflow.com/questions/tagged/re-frame | ||
about: Stack Overflow |
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,160 @@ | ||
name: cd | ||
on: | ||
push: | ||
tags: | ||
- "v[0-9]+.[0-9]+.[0-9]+*" | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-20.04 | ||
container: | ||
# Source: https://github.com/day8/dockerfiles-for-dev-ci-images | ||
image: ghcr.io/day8/chrome-56:5.0.0 | ||
credentials: | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: git config --system --add safe.directory /__w/re-frame/re-frame | ||
- name: Maven cache | ||
id: maven-cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: /root/.m2/repository | ||
key: ${{ runner.os }}-maven-${{ hashFiles('**/project.clj', '.github/workflows/**') }} | ||
restore-keys: | | ||
${{ runner.os }}-maven- | ||
- name: npm cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-npm-${{ hashFiles('project.clj') }}-${{ hashFiles('**/deps.cljs') }} | ||
restore-keys: | | ||
${{ runner.os }}-npm- | ||
- name: shadow-cljs compiler cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: .shadow-cljs | ||
key: ${{ runner.os }}-shadow-cljs-${{ github.sha }} | ||
restore-keys: | | ||
${{ runner.os }}-shadow-cljs- | ||
- if: steps.maven-cache.outputs.cache-hit != 'true' | ||
run: lein ci | ||
- if: steps.maven-cache.outputs.cache-hit != 'true' | ||
name: Run cd examples/simple && lein shadow-release && lein build-report | ||
working-directory: examples/simple | ||
run: | | ||
npm install | ||
npm run release | ||
npm run build-report | ||
- if: steps.maven-cache.outputs.cache-hit != 'true' | ||
name: Run cd examples/todomvc && lein shadow-release && lein build-report | ||
working-directory: examples/todomvc | ||
run: | | ||
npm install | ||
npm run release | ||
npm run build-report | ||
- if: steps.maven-cache.outputs.cache-hit == 'true' | ||
run: lein -o ci | ||
- if: steps.maven-cache.outputs.cache-hit == 'true' | ||
name: Run cd examples/simple && lein -o shadow-release && lein -o build-report | ||
working-directory: examples/simple | ||
run: | | ||
npm install | ||
npm run release | ||
npm run build-report | ||
- if: steps.maven-cache.outputs.cache-hit == 'true' | ||
name: Run cd examples/todomvc && lein -o shadow-release && lein -o build-report | ||
working-directory: examples/todomvc | ||
run: | | ||
npm install | ||
npm run release | ||
npm run build-report | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: simple-example-build-report | ||
path: examples/simple/target/build-report.html | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: todomvc-example-build-report | ||
path: examples/todomvc/target/build-report.html | ||
- name: Slack notification | ||
uses: homoluctus/[email protected] | ||
if: failure() || cancelled() | ||
with: | ||
type: ${{ job.status }} | ||
job_name: re-frame Tests | ||
channel: '#oss-robots' | ||
url: ${{ secrets.SLACK_WEBHOOK }} | ||
commit: true | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
release: | ||
name: Release | ||
needs: test | ||
runs-on: ubuntu-20.04 | ||
container: | ||
# Source: https://github.com/day8/dockerfiles-for-dev-ci-images | ||
image: ghcr.io/day8/chrome-56:5.0.0 | ||
credentials: | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- run: git config --system --add safe.directory /__w/re-frame/re-frame | ||
- name: Maven cache | ||
id: maven-cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: /root/.m2/repository | ||
key: ${{ runner.os }}-maven-${{ hashFiles('**/project.clj', '.github/workflows/**') }} | ||
restore-keys: | | ||
${{ runner.os }}-maven- | ||
- name: Run lein release | ||
if: steps.maven-cache.outputs.cache-hit != 'true' | ||
env: | ||
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }} | ||
CLOJARS_TOKEN: ${{ secrets.CLOJARS_TOKEN }} | ||
GITHUB_USERNAME: ${{ github.actor }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
lein release | ||
- name: Run lein -o release | ||
if: steps.maven-cache.outputs.cache-hit == 'true' | ||
env: | ||
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }} | ||
CLOJARS_TOKEN: ${{ secrets.CLOJARS_TOKEN }} | ||
GITHUB_USERNAME: ${{ github.actor }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
lein -o release | ||
# This creates a 'GitHub Release' from the tag and includes link to the releases page | ||
# on the re-frame website. We do not use draft or prerelease features as we always want | ||
# the latest release to show in the right hand column of the project page regardless | ||
# of if it is a stable release. | ||
# | ||
# IMPORTANT: The release year is hard-coded and must be updated in this file once per year for the moment. | ||
# Unfortunately I could not find a way to inject the year using the GitHub Actions ${{ expr }} syntax. | ||
- name: Create GitHub Release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: ${{ github.ref }} | ||
body: | | ||
[Changelog](http://day8.github.io/re-frame/releases/2020/) | ||
draft: false | ||
prerelease: false | ||
- name: Slack notification | ||
uses: homoluctus/[email protected] | ||
if: always() | ||
with: | ||
type: ${{ job.status }} | ||
job_name: re-frame Deployment | ||
channel: '#oss-robots' | ||
url: ${{ secrets.SLACK_WEBHOOK }} | ||
commit: true | ||
token: ${{ secrets.GITHUB_TOKEN }} |
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,102 @@ | ||
name: ci | ||
on: | ||
push: | ||
paths-ignore: | ||
- "bin/**" | ||
- "docs/**" | ||
- "images/**" | ||
- ".editorconfig" | ||
- ".gitignore" | ||
- "CHANGELOG.md" | ||
- "CITATION.md" | ||
- "CONTRIBUTING.md" | ||
- "license.txt" | ||
- "README.md" | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-20.04 | ||
container: | ||
# Source: https://github.com/day8/dockerfiles-for-dev-ci-images | ||
image: ghcr.io/day8/chrome-56:5.0.0 | ||
credentials: | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: git config --system --add safe.directory /__w/re-frame/re-frame | ||
- name: Maven cache | ||
id: maven-cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: /root/.m2/repository | ||
key: ${{ runner.os }}-maven-${{ hashFiles('**/project.clj', '.github/workflows/**') }} | ||
restore-keys: | | ||
${{ runner.os }}-maven- | ||
- name: npm cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-npm-${{ hashFiles('project.clj') }}-${{ hashFiles('**/deps.cljs') }} | ||
restore-keys: | | ||
${{ runner.os }}-npm- | ||
- name: shadow-cljs compiler cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: .shadow-cljs | ||
key: ${{ runner.os }}-shadow-cljs-${{ github.sha }} | ||
restore-keys: | | ||
${{ runner.os }}-shadow-cljs- | ||
- if: steps.maven-cache.outputs.cache-hit != 'true' | ||
run: lein ci | ||
- if: steps.maven-cache.outputs.cache-hit != 'true' | ||
name: Run cd examples/simple && lein shadow-release && lein build-report | ||
working-directory: examples/simple | ||
run: | | ||
npm install | ||
npm run release | ||
npm run build-report | ||
- if: steps.maven-cache.outputs.cache-hit != 'true' | ||
name: Run cd examples/todomvc && lein shadow-release && lein build-report | ||
working-directory: examples/todomvc | ||
run: | | ||
npm install | ||
npm run release | ||
npm run build-report | ||
- if: steps.maven-cache.outputs.cache-hit == 'true' | ||
run: lein -o ci | ||
- if: steps.maven-cache.outputs.cache-hit == 'true' | ||
name: Run cd examples/simple && lein -o shadow-release && lein -o build-report | ||
working-directory: examples/simple | ||
run: | | ||
npm install | ||
npm run release | ||
npm run build-report | ||
- if: steps.maven-cache.outputs.cache-hit == 'true' | ||
name: Run cd examples/todomvc && lein -o shadow-release && lein -o build-report | ||
working-directory: examples/todomvc | ||
run: | | ||
npm install | ||
npm run release | ||
npm run build-report | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: simple-example-build-report | ||
path: examples/simple/target/build-report.html | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: todomvc-example-build-report | ||
path: examples/todomvc/target/build-report.html | ||
- name: Verify cljdoc Configuration | ||
run: curl -fsSL https://raw.githubusercontent.com/cljdoc/cljdoc/master/script/verify-cljdoc-edn | bash -s docs/cljdoc.edn | ||
- name: Slack notification | ||
uses: homoluctus/[email protected] | ||
if: failure() || cancelled() | ||
with: | ||
type: ${{ job.status }} | ||
job_name: re-frame Tests | ||
channel: '#oss-robots' | ||
url: ${{ secrets.SLACK_WEBHOOK }} | ||
commit: true | ||
token: ${{ secrets.GITHUB_TOKEN }} |
Oops, something went wrong.