mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-05-26 11:31:43 +00:00
chore: move package json to root (#813)
* chore: move package json to root folder * chore: also lint prettier codestyle * chore: configure ModManUi files to use lf eof * chore: update npm versions * chore: update README of ModMan * chore: adjust ci to use package json of root folder
This commit is contained in:
+2
-2
@@ -1,3 +1,3 @@
|
||||
# All .sh files should be lf line endings
|
||||
*.sh text eol=cl
|
||||
|
||||
*.sh text eol=lf
|
||||
src/ModManUi/** text=auto eol=lf
|
||||
|
||||
@@ -67,9 +67,9 @@ jobs:
|
||||
- name: Build UI
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: |
|
||||
npm --prefix src/ModManUi install
|
||||
npm --prefix src/ModManUi run lint
|
||||
npm --prefix src/ModManUi run build
|
||||
npm install
|
||||
npm run lint
|
||||
npm run build
|
||||
|
||||
- name: Build
|
||||
working-directory: ${{ github.workspace }}
|
||||
@@ -126,9 +126,9 @@ jobs:
|
||||
- name: Build UI
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: |
|
||||
npm --prefix src/ModManUi install
|
||||
npm --prefix src/ModManUi run lint
|
||||
npm --prefix src/ModManUi run build
|
||||
npm install
|
||||
npm run lint
|
||||
npm run build
|
||||
|
||||
- name: Build
|
||||
working-directory: ${{ github.workspace }}
|
||||
|
||||
+6
-1
@@ -1,6 +1,11 @@
|
||||
local/
|
||||
/local/
|
||||
/build/
|
||||
|
||||
.vscode
|
||||
.idea
|
||||
user*.*
|
||||
*.aps
|
||||
|
||||
node_modules
|
||||
/src/ModManUi/dist
|
||||
npm-debug.log*
|
||||
|
||||
+680
-622
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "openassettools",
|
||||
"private": true,
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"workspaces": [
|
||||
"src/ModManUi"
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "npm --workspaces run dev",
|
||||
"build": "npm --workspaces run build",
|
||||
"lint": "npm --workspaces run lint",
|
||||
"format": "npm --workspaces run format"
|
||||
},
|
||||
"enginesComment": {
|
||||
"npm": "Required for min-release-age setting"
|
||||
},
|
||||
"engines": {
|
||||
"npm": ">=11.10.0"
|
||||
}
|
||||
}
|
||||
@@ -20,13 +20,13 @@ This will require NodeJS to be installed on your machine.
|
||||
|
||||
```shell
|
||||
# Download dependencies
|
||||
npm --prefix src/ModManUi install
|
||||
npm install
|
||||
|
||||
# Build frontend
|
||||
npm --prefix src/ModManUi run build
|
||||
npm run build
|
||||
|
||||
# Optional: Dev Server for UI development
|
||||
npm --prefix src/ModManUi run dev
|
||||
npm run dev
|
||||
```
|
||||
|
||||
## How does it work
|
||||
@@ -36,6 +36,6 @@ Unlike frameworks like Electron this does not ship a browser engine alongside it
|
||||
On Windows, this makes use of [WebView2](https://learn.microsoft.com/en-us/microsoft-edge/webview2), on Linux it uses [WebKitGTK](https://webkitgtk.org).
|
||||
|
||||
This adds the following dependencies:
|
||||
* **Windows**: An up-to-date OS with at the very least Windows10. The WebView2 library for development is downloaded by premake.
|
||||
* **Linux**: Developing and using ModMan requires the following dependencies to be installed: `gtk4 webkitgtk-6.0`
|
||||
|
||||
- **Windows**: An up-to-date OS with at the very least Windows10. The WebView2 library for development is downloaded by premake.
|
||||
- **Linux**: Developing and using ModMan requires the following dependencies to be installed: `gtk4 webkitgtk-6.0`
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
lerna-debug.log*
|
||||
|
||||
node_modules
|
||||
dist
|
||||
dist-ssr
|
||||
*.local
|
||||
|
||||
# Editor directories and files
|
||||
.vscode/*
|
||||
!.vscode/extensions.json
|
||||
.idea
|
||||
.DS_Store
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
@@ -1 +0,0 @@
|
||||
src-tauri
|
||||
+25
-30
@@ -1,52 +1,47 @@
|
||||
{
|
||||
"name": "openassettools",
|
||||
"name": "@openassettools/modman",
|
||||
"private": true,
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "run-p type-check \"build-only {@}\" --",
|
||||
"preview": "vite preview",
|
||||
"build-only": "vite build",
|
||||
"type-check": "vue-tsc --build",
|
||||
"lint": "eslint . --fix",
|
||||
"format": "prettier --write **/*.{js,ts,vue,html,json,yml,yaml,md}"
|
||||
"build": "run-p build:type-check \"build:vite {@}\" --",
|
||||
"build:vite": "vite build",
|
||||
"build:type-check": "vue-tsc --build",
|
||||
"lint": "run-p lint:eslint lint:prettier",
|
||||
"lint:eslint": "eslint .",
|
||||
"lint:prettier": "prettier --check .",
|
||||
"format": "prettier --write ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@fontsource/inter": "5.2.8",
|
||||
"@primeuix/themes": "2.0.3",
|
||||
"pinia": "3.0.4",
|
||||
"primevue": "4.5.5",
|
||||
"vue": "3.5.32",
|
||||
"vue-router": "5.0.4"
|
||||
"vue": "3.5.34",
|
||||
"vue-router": "5.0.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tsconfig/node24": "24.0.4",
|
||||
"@types/jsdom": "28.0.1",
|
||||
"@types/node": "25.6.0",
|
||||
"@vitejs/plugin-vue": "6.0.6",
|
||||
"@vitest/eslint-plugin": "1.6.16",
|
||||
"@types/jsdom": "28.0.3",
|
||||
"@types/node": "25.9.1",
|
||||
"@vitejs/plugin-vue": "6.0.7",
|
||||
"@vitest/eslint-plugin": "1.6.17",
|
||||
"@vue/eslint-config-prettier": "10.2.0",
|
||||
"@vue/eslint-config-typescript": "14.7.0",
|
||||
"@vue/test-utils": "2.4.6",
|
||||
"@vue/test-utils": "2.4.10",
|
||||
"@vue/tsconfig": "0.9.1",
|
||||
"eslint": "10.2.1",
|
||||
"eslint-plugin-vue": "10.8.0",
|
||||
"jiti": "2.6.1",
|
||||
"jsdom": "29.0.2",
|
||||
"npm-run-all2": "8.0.4",
|
||||
"eslint": "10.4.0",
|
||||
"eslint-plugin-vue": "10.9.1",
|
||||
"jiti": "2.7.0",
|
||||
"jsdom": "29.1.1",
|
||||
"npm-run-all2": "9.0.0",
|
||||
"prettier": "3.8.3",
|
||||
"sass": "1.99.0",
|
||||
"sass": "1.100.0",
|
||||
"typescript": "6.0.3",
|
||||
"vite": "8.0.8",
|
||||
"vite-plugin-vue-devtools": "8.1.1",
|
||||
"vitest": "4.1.4",
|
||||
"vue-tsc": "3.2.6"
|
||||
},
|
||||
"enginesComment": {
|
||||
"npm": "Required for min-release-age setting"
|
||||
},
|
||||
"engines": {
|
||||
"npm": ">=11.10.0"
|
||||
"vite": "8.0.14",
|
||||
"vite-plugin-vue-devtools": "8.1.2",
|
||||
"vitest": "4.1.7",
|
||||
"vue-tsc": "3.3.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user