Skip to content
This repository has been archived by the owner on Aug 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #38 from Outer-Wilds-New-Horizons/dev
Browse files Browse the repository at this point in the history
0.6.4
  • Loading branch information
Bwc9876 authored Sep 5, 2022
2 parents 0c44908 + b5d35a9 commit 81f48b3
Show file tree
Hide file tree
Showing 17 changed files with 7,488 additions and 1,852 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ parserOptions:
plugins:
- react
- "@typescript-eslint"
ignorePatterns:
- "updates/*.js"
rules:
quotes:
- error
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
tagName: v__VERSION__ # tauri-action replaces \_\_VERSION\_\_ with the app version
releaseName: "Version __VERSION__"
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
release:
types: [released]

jobs:
UpdateVersionFile:
name: "Update Version File"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3.3.0
- name: Update File
run: |
cd updates
node generateUpdateFile.js
cd ..
- name: Commit Changes
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add updates/latest-version.json
git commit -m "Updated Version File"
- name: Push Schemas
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.github_token }}
branch: ${{ github.ref }}
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist
src-tauri/target
updates/latest-version.json
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,21 @@
[![Downloads](https://img.shields.io/github/downloads/Outer-Wilds-New-Horizons/nh-config-editor/total?logo=github&style=for-the-badge)](https://github.com/Outer-Wilds-New-Horizons/nh-config-editor/releases)

[![Build Release](https://img.shields.io/github/workflow/status/Outer-Wilds-New-Horizons/nh-config-editor/Build%20Release?style=for-the-badge)](https://github.com/Outer-Wilds-New-Horizons/nh-config-editor/actions/workflows/build_release.yml)
[![Tests](https://img.shields.io/github/workflow/status/Outer-Wilds-New-Horizons/nh-config-editor/Run%20Tests/main)](https://github.com/Outer-Wilds-New-Horizons/nh-config-editor/actions/workflows/tests.yml)
[![CodeQL](https://img.shields.io/github/workflow/status/Outer-Wilds-New-Horizons/nh-config-editor/CodeQL?label=CodeQL&style=for-the-badge)](https://github.com/Outer-Wilds-New-Horizons/nh-config-editor/actions/workflows/codeql-analysis.yml)


An application you can use to graphically edit your [New Horizons](https://nh.outerwildsmods.com) configs!

## Installation

- Head to the [releases](https://github.com/Outer-Wilds-New-Horizons/nh-config-editor/releases) page
- Select the file for your OS
- Download and open!
- Head to the [releases](https://github.com/Outer-Wilds-New-Horizons/nh-config-editor/releases) page
- Select the file for your OS
- Download and open!

## Features

- Form-based editing of planet, system, translation, and manifest configs.
- Advanced validation for filepaths, ids, and more.
- Build action that minifies your configs and zips them up for you.
- Form-based editing of planet, system, translation, and manifest configs.
- Advanced validation for file-paths, ids, and more.
- Build action that minifies your configs and zips them up for you.

## Contributing

Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nh-config-editor",
"private": true,
"packageManager": "pnpm@6.11.0",
"version": "0.6.3",
"version": "0.6.4",
"scripts": {
"preinstall": "npx only-allow pnpm",
"schema": "ts-json-schema-generator -f tsconfig.json -p src/Common/AppData/Settings.ts -t Settings -o src/Common/AppData/SettingsSchema.json --no-type-check --minify true && prettier --write ./src/Common/AppData/SettingsSchema.json",
Expand Down Expand Up @@ -42,6 +42,7 @@
"vscode-json-languageservice": "^5.1.0"
},
"devDependencies": {
"@redux-devtools/cli": "^1.0.7",
"@tauri-apps/cli": "^1.0.5",
"@testing-library/react": "^13.3.0",
"@types/json-schema": "^7.0.11",
Expand All @@ -60,6 +61,7 @@
"jsdom": "^20.0.0",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"react-devtools": "^4.25.0",
"remote-redux-devtools": "^0.5.16",
"sass": "^1.54.4",
"ts-json-schema-generator": "^1.0.0",
Expand Down
Loading

0 comments on commit 81f48b3

Please sign in to comment.