Skip to content

Commit

Permalink
feat: unify browser-ui and editor (#1000)
Browse files Browse the repository at this point in the history
* feat: details panel, copy update

* fix: add /

* build: make core peer dep for components

* feat: add PDF export

* feat: port inspector into browser-ui

* feat: port optimizer tab

* feat: set autostep steps

* feat: add stepsize setting

* fix: evalFn on new states

* fix: opt name

* feat: roger mode!

* fix: remove browser-ui 😄

* feat: port comp graph

* build: bump monaco version

* build: add clean scripts to packages and fix peerdep build order

reference: lerna/lerna#2009

* feat: port readable variation logic

* fix: format

* fix: lint

* fix: typecheck

* fix: format

* fix: test script

* build: downgrade monaco-vim to work with monaco-editor@0.22.3

* fix: format

* fix: resample once after prepareState

* fix: everything is vite now

except for docusaurus damnit

* build: bump monaco vim back

* fix: format

* feat: add step size setting

* docs: add IDE README

* fix: format

Co-authored-by: wodeni <wn2155@columbia.edu>
  • Loading branch information
maxkrieger and wodeni committed May 24, 2022
1 parent 299145b commit 3e7f647
Show file tree
Hide file tree
Showing 103 changed files with 9,790 additions and 5,186 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Expand Up @@ -8,6 +8,7 @@
/packages/core/src/parser/SubstanceParser.ts
/packages/core/src/renderer/not_found.json
/packages/docs-site/.docusaurus/
/packages/docs-site/static/try/
/packages/roger/oclif.manifest.json
/README.md
build/
Expand Down
1 change: 0 additions & 1 deletion lerna.json
@@ -1,7 +1,6 @@
{
"packages": [
"packages/automator",
"packages/browser-ui",
"packages/components",
"packages/core",
"packages/docs-site",
Expand Down
7 changes: 3 additions & 4 deletions package.json
Expand Up @@ -9,16 +9,15 @@
"build": "lerna run build --stream --concurrency 1",
"typecheck": "lerna run typecheck",
"clean": "lerna clean && lerna run clean --stream",
"prestart": "lerna run build --scope=@penrose/examples --scope=@penrose/core",
"start": "lerna run watch --stream --parallel --scope=@penrose/core --scope=@penrose/browser-ui",
"build:docs-site": "lerna run build --stream --scope=@penrose/examples --scope=@penrose/core --scope=@penrose/components --scope=@penrose/editor --scope=@penrose/docs-site",
"start:docs-site": "lerna run watch --stream --parallel --scope=@penrose/components --scope=@penrose/docs-site",
"prestart:ide": "lerna run build --scope=@penrose/examples --scope=@penrose/core --scope=@penrose/components",
"start:ide": "lerna run watch --stream --scope=@penrose/editor",
"prestart": "lerna run build --scope=@penrose/examples --scope=@penrose/core --scope=@penrose/components",
"start": "lerna run watch --stream --scope=@penrose/editor",
"build:ide": "lerna run build --stream --scope=@penrose/core --scope=@penrose/components --scope=@penrose/editor --include-dependencies",
"test": "lerna run test --stream",
"docs": "lerna run docs --stream",
"lint": "lerna run lint --stream",
"lint:fix": "lerna run lint --stream -- --fix",
"lerna": "lerna",
"new-version": "lerna version --conventional-commits --create-release github -m \"chore(release): publish %s [ci skip]\"",
"new-version:prerelease": "lerna version --conventional-prerelease",
Expand Down
1 change: 0 additions & 1 deletion packages/automator/package.json
Expand Up @@ -5,7 +5,6 @@
"main": "index.tsx",
"scripts": {
"start": "ts-node ./index.tsx",
"test": "echo \"no test specified for automator\" && exit 0",
"generate-site": "yarn clean && yarn start batch registry.json artifacts --render=browser --src-prefix=progs --folders --cross-energy",
"clean": "rimraf artifacts browser",
"typecheck": "tsc --noEmit"
Expand Down
3 changes: 0 additions & 3 deletions packages/browser-ui/.dir-locals.el

This file was deleted.

36 changes: 0 additions & 36 deletions packages/browser-ui/.eslintrc.js

This file was deleted.

30 changes: 0 additions & 30 deletions packages/browser-ui/.gitignore

This file was deleted.

58 changes: 0 additions & 58 deletions packages/browser-ui/CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions packages/browser-ui/index.html

This file was deleted.

60 changes: 0 additions & 60 deletions packages/browser-ui/package.json

This file was deleted.

Binary file removed packages/browser-ui/public/favicon.ico
Binary file not shown.
48 changes: 0 additions & 48 deletions packages/browser-ui/public/index.html

This file was deleted.

0 comments on commit 3e7f647

Please sign in to comment.