diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml deleted file mode 100644 index bc7210a..0000000 --- a/.forgejo/workflows/deploy.yaml +++ /dev/null @@ -1,31 +0,0 @@ -name: Build and Deploy -on: - push: - branches: - - 'main' - workflow_dispatch: -jobs: - build-and-deploy: - if: github.repository != 'profectus-engine/Profectus' # Don't build placeholder mod on main repo - runs-on: docker - steps: - - name: Setup RSync - run: | - apt-get update - apt-get install -y rsync - - - name: Checkout 🛎️ - uses: actions/checkout@v2 - with: - submodules: recursive - - - name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. - run: | - npm ci - npm run build - - - name: Deploy 🚀 - uses: https://github.com/JamesIves/github-pages-deploy-action@v4.2.5 - with: - branch: pages # The branch the action should deploy to. - folder: dist # The folder the action should deploy. diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml deleted file mode 100644 index 33df8d8..0000000 --- a/.forgejo/workflows/test.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: Run Tests -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] -jobs: - test: - runs-on: docker - - steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - name: Use Node.js 16.x - uses: actions/setup-node@v3 - with: - node-version: 16.x - - run: npm ci - - run: npm run build --if-present - - run: npm test diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8293b9e..f4210ed 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,7 +3,6 @@ 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 c41d085..c6b970d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,11 +1,11 @@ -name: Run Tests +name: Build and Deploy on: push: branches: [ main ] pull_request: branches: [ main ] jobs: - test: + build: runs-on: ubuntu-latest steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 78e51ce..41df500 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,42 +6,6 @@ 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 5f8c741..e535eb2 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,11 @@ 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 f747006..3e7acae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "profectus", - "version": "0.6.1", + "version": "0.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "profectus", - "version": "0.6.1", + "version": "0.6.0", "dependencies": { "@fontsource/material-icons": "^4.5.4", "@fontsource/roboto-mono": "^4.5.8", diff --git a/package.json b/package.json index 3c1c415..4aa9568 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "profectus", - "version": "0.6.1", + "version": "0.6.0", "private": true, "scripts": { "start": "vite", diff --git a/src/App.vue b/src/App.vue index 6a365ef..9613f04 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,25 +1,18 @@ - - diff --git a/src/components/Info.vue b/src/components/Info.vue index 15395bf..9dd0c2d 100644 --- a/src/components/Info.vue +++ b/src/components/Info.vue @@ -38,7 +38,7 @@ target="_blank" > discord - Profectus & Friends + The Paper Pilot Community
diff --git a/src/components/Layer.vue b/src/components/Layer.vue index 1857535..c00cf8a 100644 --- a/src/components/Layer.vue +++ b/src/components/Layer.vue @@ -1,6 +1,5 @@