Skip to content

Commit

Permalink
H-954: Migrate OSS edition of hCore (#42)
Browse files Browse the repository at this point in the history
* Import sim-core

* Hide non-functional UI elements

* Update apps/sim-core/README.md

Co-authored-by: David @ HASH <[email protected]>

* Update apps/sim-core/README.md

Co-authored-by: David @ HASH <[email protected]>

* Update apps/sim-core/README.md

Co-authored-by: David @ HASH <[email protected]>

* Update apps/sim-core/README.md

Co-authored-by: David @ HASH <[email protected]>

* Update apps/sim-core/README.md

Co-authored-by: David @ HASH <[email protected]>

* Update apps/sim-core/README.md

Co-authored-by: David @ HASH <[email protected]>

* Update apps/sim-core/README.md

Co-authored-by: David @ HASH <[email protected]>

* Update apps/sim-core/README.md

Co-authored-by: David @ HASH <[email protected]>

* Update apps/sim-core/README.md

Co-authored-by: David @ HASH <[email protected]>

* Update apps/sim-core/README.md

Co-authored-by: David @ HASH <[email protected]>

* Update apps/sim-core/README.md

Co-authored-by: David @ HASH <[email protected]>

* Apply suggestions from code review

Co-authored-by: David @ HASH <[email protected]>

* Apply suggestions from code review

Co-authored-by: David @ HASH <[email protected]>

* Tidy .gitignore files

* tidy packages/core devdeps

* Readme touchups

* Hide 'Cloud Status' Header Item

* Hide 'account' link from help menu

* Package.json updates to support node 20

* Readme: Encourage use of yarn start:core

* Populate localstorage with a default 'my project' from WildFires.

- This is so that environments with an empty 'localstorage' don't get a blank page.
- Also hide the 'my projects' link to the /user page

* More robust imports

- limits top-level folders to our approved list of src, data, views, dependencies
- omits hidden "." files from the import
- omits files of unsupported types (as enforced by the preexisting file parsing code)
- strips empty top-level folders from the import

* Hide unused UI components

- The resource browser in the left panel
- The 'cloud' options in the experiment dialog

* Fix parsing for local datasets; patch by CM

* fix export to include hash.json and not attempt to fetch datasets from url; patch by CM

* apply yarn fmt

* remove import-sort-style-hashintel

- It provided customized "import sort" functionality for pretteir, however it was brittle and would break the build now and again.  The final straw is that it prevented Windows from running hash, so it can be laid to rest now.

* include our proprietary rust package sim-engine-types

* Tidy sim-engine-types

* sim-engine-types update authors attribution

* add vercel.json and dependency installation script

* update webpack.config and vercel build command to copy index.html to root of output dir

* make install-dependencies script executable

* add cargo to path after installing rust

* add instructions for self-hosting

* Update README

* Update README.md

* Move sim-engine-types -> engine-types

* redirect all paths to site index in vercel

* Hide the Activity pane, leaving only the Inspector

* yarn fmt

* Remove SITE_URL from header link so that relative urls work.

* Add a help menu link to GitHub

* Update README

* Update README

* build utils package before engine-web

---------

Co-authored-by: David @ HASH <[email protected]>
Co-authored-by: Ciaran Morinan <[email protected]>
  • Loading branch information
3 people authored Oct 6, 2023
1 parent 11273e1 commit b149727
Show file tree
Hide file tree
Showing 1,369 changed files with 157,710 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.DS_Store
.awcache
.env
.env.local
.env.sh
.idea
.ipynb_checkpoints
.next
.old/
.vscode/
dist/
node_modules/
target/
test_artifacts/
27 changes: 27 additions & 0 deletions apps/sim-core/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# generated types
packages/hashai/src/lib/graphql/types.ts
packages/hashai/src/lib/graphql/fragmentTypes.json
.old

# Terraform
# Local .terraform directories
**/.terraform/*

# .tfstate files
*.tfstate
*.tfstate.*
**/terraform.tfstate.d/*
.circleci/terraform/tfapply

# Python bin for AWS Lambda function
.circleci/terraform/lambda/six.py
.circleci/terraform/lambda/*/
.circleci/terraform/lambda.zip

# Crash log files
crash.log
yarn-error.log

# eslint cache
.eslintcache
packages/hashai/.eslintcache
Loading

0 comments on commit b149727

Please sign in to comment.