diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f4210ed..8293b9e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,6 +3,7 @@ on: push: branches: - 'main' + workflow_dispatch: jobs: build-and-deploy: if: github.repository != 'profectus-engine/Profectus' # Don't build placeholder mod on main repo diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c6b970d..de6f71a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Build and Deploy +name: Run Tests on: push: branches: [ main ] diff --git a/CHANGELOG.md b/CHANGELOG.md index 41df500..78e51ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.6.1] - 2023-05-17 +### Added +- Error boundaries around each layer, and errors now display on the page when in development +- Utility for creating requirement based on whether a conversion has met a requirement +### Changed +- **BREAKING** Formulas/requirements refactor + - spendResources renamed to cumulativeCost + - summedPurchases renamed to directSum + - calculateMaxAffordable now takes optional 'maxBulkAmount' parameter + - cost requirements now pass cumulativeCost, maxBulkAmount, and directSum to calculateMaxAffordable + - Non-integrable and non-invertible formulas will now work in more situations + - Repeatable.maximize is removed + - Challenge.maximize is removed +- Formulas have better typing information now +- Integrate functions now log errors if the variable input is not integrable +- Cyclical proxies now throw errors +- createFormulaPreview is now a JSX function +- Tree nodes are not automatically capitalized anymore +- upgrade.canPurchase now returns false if the upgrade is already bought +- TPS display is simplified and more performant now +### Fixed +- Actions could not be constructed +- Progress bar on actions was misaligned +- Many different issues the Board features (and many changes/improvements) +- Calculating max affordable could sometimes infinite loop +- Non-integrable formulas could cause errors in cost requirements +- estimateTime would not show "never" when production is 0 +- isInvertible and isIntegrable now properly handle nested formulas +- Repeatables' amount display would show the literal text "joinJSX" +- Repeatables would not buy max properly +- Reset buttons were showing wrong "currentAt" vs "nextAt" +- Step-wise formulas not updating their value correctly +- Bonus amount decorator now checks for `amount` property in the post construct callback +### Documentation +- Various typos fixed and a few sections made more thorough + ## [0.6.0] - 2023-04-20 ### Added - **BREAKING** New requirements system diff --git a/README.md b/README.md index e535eb2..5f8c741 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,6 @@ npm run build npm run preview ``` -### Lints and fixes files -``` -npm run lint -``` - ### Runs the tests using vite-jest ``` npm run test diff --git a/package-lock.json b/package-lock.json index 3e7acae..f747006 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "profectus", - "version": "0.6.0", + "version": "0.6.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "profectus", - "version": "0.6.0", + "version": "0.6.1", "dependencies": { "@fontsource/material-icons": "^4.5.4", "@fontsource/roboto-mono": "^4.5.8", diff --git a/package.json b/package.json index 4aa9568..3c1c415 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "profectus", - "version": "0.6.0", + "version": "0.6.1", "private": true, "scripts": { "start": "vite", diff --git a/src/App.vue b/src/App.vue index 9613f04..6a365ef 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,18 +1,25 @@ + + diff --git a/src/components/Info.vue b/src/components/Info.vue index 9dd0c2d..15395bf 100644 --- a/src/components/Info.vue +++ b/src/components/Info.vue @@ -38,7 +38,7 @@ target="_blank" > discord - The Paper Pilot Community + Profectus & Friends
diff --git a/src/components/Layer.vue b/src/components/Layer.vue index c00cf8a..1857535 100644 --- a/src/components/Layer.vue +++ b/src/components/Layer.vue @@ -1,5 +1,6 @@