Skip to content

Commit

Permalink
Merge pull request #103 from smucclaw/react-ui
Browse files Browse the repository at this point in the history
New React based UI for web IDE
joewatt95 authored Jun 4, 2024
2 parents 32588d7 + 2e1d2a2 commit c036cb7
Showing 25 changed files with 1,482 additions and 222 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and deploy web editor app
name: Build and deploy IDE web app

# Controls when the workflow will run
on:
@@ -83,8 +83,8 @@ jobs:
- name: Precompile SWI-Prolog files to qlf
run: pnpm build:swipl-public-qlf

- name: Build web editor app
run: pnpm build:web-editor
- name: Build IDE web app
run: pnpm build:ide

- name: Setup Pages
uses: actions/configure-pages@v5
7 changes: 4 additions & 3 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{:paths ["src"]
:deps {thheller/shadow-cljs {:mvn/version "2.28.8"}
binaryage/devtools {:mvn/version "1.0.7"}
hoplon/hoplon {:mvn/version "7.5.0"}
com.pitch/uix.core {:mvn/version "1.1.0"}
com.pitch/uix.dom {:mvn/version "1.1.0"}
com.github.SWI-Prolog/packages-jpl {:mvn/version "V9.3.7"}
instaparse/instaparse {:mvn/version "1.4.14"}
;; com.github.clj-easy/graal-build-time {:mvn/version "1.0.5"}
@@ -14,8 +15,8 @@
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"}
;; lambdaisland/uri {:mvn/version "1.19.155"}
;; lambdaisland/fetch {:mvn/version "1.5.83"}
lambdaisland/uri {:mvn/version "1.19.155"}
lambdaisland/fetch {:mvn/version "1.5.83"}
;; metosin/malli {:mvn/version "0.16.1"}
}

16 changes: 12 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -7,13 +7,13 @@
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"start": "shadow-cljs watch web-editor",
"build:web-editor": "shadow-cljs release web-editor",
"start": "shadow-cljs watch ide",
"build:ide": "shadow-cljs release ide",
"build:browser-esm-lib": "shadow-cljs release browser-esm-lib",
"build:py-node-lib": "shadow-cljs release py-node-lib",
"build:node-lib": "shadow-cljs release node-lib",
"build:jvm-lib": "bb uber",
"build:all": "shadow-cljs release web-editor && shadow-cljs release browser-esm-lib && shadow-cljs release node-lib && shadow-cljs release py-node-lib && bb uber",
"build:all": "shadow-cljs release ide && shadow-cljs release browser-esm-lib && shadow-cljs release node-lib && shadow-cljs release py-node-lib && bb uber",
"install:swipl-deps": "swipl -t \"pack_install(date_time, [interactive(false), test(false)])\" && swipl -t \"pack_install(clpBNR, [interactive(false), test(false)])\"",
"build:swipl-qlfs": "cd public/resources/swipl && swipl -t 'qcompile(prelude, [include(user)])' && cd ../../../src/l4_lp_py/swipl/prolog && swipl -t 'qcompile(prelude, [include(user)])' && cd ../../../../../../../",
"build:swipl-public-qlf": "cd public/resources/swipl && swipl -t 'qcompile(prelude, [include(user)])'",
@@ -23,8 +23,16 @@
},
"dependencies": {
"@babel/runtime": "^7.24.6",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@mui/icons-material": "6.0.0-alpha.9",
"@mui/lab": "6.0.0-alpha.9",
"@mui/material": "6.0.0-alpha.9",
"@nextjournal/clojure-mode": "^0.3.2",
"@uiw/codemirror-theme-solarized": "^4.22.1",
"pythonia": "^1.2.1"
"@uiw/react-codemirror": "^4.22.1",
"pythonia": "^1.2.1",
"react": "19.0.0-rc-9598c41a20-20240603",
"react-dom": "19.0.0-rc-9598c41a20-20240603"
}
}
Loading
Oops, something went wrong.

0 comments on commit c036cb7

Please sign in to comment.