-
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.
- Loading branch information
0 parents
commit 90fb9cb
Showing
33 changed files
with
10,644 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,11 @@ | ||
{ | ||
"plugins": ["@babel/syntax-dynamic-import"], | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"modules": 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,2 @@ | ||
{:lint-as {malli.experimental/defn schema.core/defn} | ||
:linters {:unresolved-symbol {:exclude [(malli.core/=>)]}}} |
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 @@ | ||
{:lint-as {schema.test/deftest clojure.test/deftest}} |
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,8 @@ | ||
.clj-kondo/.cache | ||
.lsp/.cache | ||
.nrepl-* | ||
.shadow-cljs/ | ||
public/js | ||
node_modules/ | ||
.cpcache/ | ||
dist/ |
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,2 @@ | ||
use-node-version=20.10.0 | ||
shamefully-hoist=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,34 @@ | ||
# le-webform-glue | ||
|
||
## Dependencies | ||
|
||
- java | ||
- [pnpm](https://pnpm.io/installation) | ||
|
||
This project is developed with JDK LTS 21 and nodejs LTS 20.10.0. | ||
|
||
## Usage | ||
### Setup | ||
```shell | ||
pnpm install | ||
``` | ||
|
||
### Demo | ||
- Run the following command to start a local dev server in the `public` directory: | ||
|
||
```shell | ||
pnpm start | ||
``` | ||
|
||
- Go to <http://localhost:8000> in your browser. | ||
You should see a justification tree visualised by | ||
[guifier](https://guifier.com/). | ||
|
||
- If you edit and save a file, it will recompile the code and reload the | ||
browser to show the updated version. | ||
|
||
### Compile an optimized version | ||
|
||
```shell | ||
pnpm build:prod | ||
``` |
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 @@ | ||
{:paths ["src"] | ||
:deps {thheller/shadow-cljs {:mvn/version "2.26.2"} | ||
binaryage/devtools {:mvn/version "1.0.7"} | ||
org.clojars.quoll/asami {:mvn/version "2.3.4"} | ||
taipei.404/html-to-hiccup {:mvn/version "0.1.8"} | ||
;; meander/epsilon {:mvn/version "0.0.650"} | ||
io.github.noprompt/meander {:git/sha "74de6b1f651441092cc12d1c9012ef7086033040"} | ||
funcool/promesa {:mvn/version "11.0.678"} | ||
applied-science/js-interop {:mvn/version "0.4.2"} | ||
tupelo/tupelo {:mvn/version "23.07.04"} | ||
cljs-bean/cljs-bean {:mvn/version "1.9.0"} | ||
tick/tick {:mvn/version "0.7.5"} | ||
lambdaisland/uri {:mvn/version "1.16.134"} | ||
lambdaisland/fetch {:mvn/version "1.5.83"} | ||
metosin/malli {:mvn/version "0.13.0"} | ||
metosin/jsonista {:mvn/version "0.3.8"} | ||
babashka/fs {:mvn/version "0.4.19"} | ||
lambdaisland/chui {:mvn/version "1.2.205"}}} |
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,38 @@ | ||
{ | ||
"name": "le-webform-glue", | ||
"version": "1.0.0", | ||
"description": "My webpack project", | ||
"private": true, | ||
"devDependencies": { | ||
"@webpack-cli/generators": "^3.0.7", | ||
"babel-loader": "^9.1.3", | ||
"html-webpack-plugin": "^5.5.3", | ||
"mini-css-extract-plugin": "^2.7.6", | ||
"shadow-cljs": "2.26.2", | ||
"webpack": "^5.89.0", | ||
"webpack-cli": "^5.1.4", | ||
"webpack-dev-server": "^4.15.1", | ||
"workbox-webpack-plugin": "^7.0.0" | ||
}, | ||
"dependencies": { | ||
"@js-joda/core": "^5.6.1", | ||
"@js-joda/locale_en-us": "^4.8.11", | ||
"@js-joda/timezone": "^2.18.2", | ||
"guifier": "^1.0.12", | ||
"platform": "^1.3.6", | ||
"react-dom": "^18.2.0", | ||
"stack-trace": "^0.0.10", | ||
"stacktrace-js": "^2.0.2", | ||
"ws": "^7.5.9" | ||
}, | ||
"scripts": { | ||
"preinstall": "npx only-allow pnpm", | ||
"shadow-cljs:release": "shadow-cljs release app", | ||
"start": "shadow-cljs watch app", | ||
"build:prod": "shadow-cljs release app && webpack --mode=production --node-env=production", | ||
"build:dev": "shadow-cljs compile app && webpack --mode=development", | ||
"watch": "webpack --watch", | ||
"serve": "webpack serve", | ||
"run-node": "echo \"{\\\"type\\\": \\\"module\\\"}\" > public/js/package.json && node --experimental-network-imports --trace-uncaught public/node_index.js" | ||
} | ||
} |
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 @@ | ||
{ | ||
"name": "pengines", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "pengines.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"dependencies": { | ||
"browser-or-node": "^2.1.1", | ||
"jquery": "^3.7.1", | ||
"najax": "^1.0.7" | ||
}, | ||
"keywords": [] | ||
} |
Oops, something went wrong.