Skip to content

Commit

Permalink
Chore: Improve Build script & Bump Versions (#57)
Browse files Browse the repository at this point in the history
* Added quiet & removed lipe from build
* Updated versions
  • Loading branch information
CEbbinghaus authored Dec 17, 2024
1 parent 2053f33 commit ff42da3
Show file tree
Hide file tree
Showing 7 changed files with 1,362 additions and 1,348 deletions.
10 changes: 5 additions & 5 deletions .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,29 @@ description = 'Build the CLI'

[tasks."build:backend"]
description = 'Build the Backend'
run = "node --no-warnings=ExperimentalWarning 'util/build.mjs' -o backend"
run = "node --no-warnings=ExperimentalWarning 'util/build.mjs' -q -o backend"
sources = ['backend/Cargo.toml', 'backend/src/**/*.rs']
outputs = ['build/bin/backend']

[tasks."build:frontend"]
description = 'Build the Frontend'
run = "node --no-warnings=ExperimentalWarning 'util/build.mjs' -o frontend"
run = "node --no-warnings=ExperimentalWarning 'util/build.mjs' -q -o frontend"
sources = ['package.json', 'lib/package.json', '{src,lib}/**/*.{ts,tsx,codegen}']
outputs = ['dist/index.js']

[tasks."build:collect"]
depends = ["build:backend", "build:frontend"]
description = 'Collect the build artifacts'
run = "node --no-warnings=ExperimentalWarning 'util/build.mjs' -o collect"
run = "node --no-warnings=ExperimentalWarning 'util/build.mjs' -q -o collect"
sources = ['backend/target/release/backend', 'dist/index.js', 'main.py', 'package.json', 'plugin.json', 'README.md']
outputs = ['build/**/*.*']

[tasks."copy"]
depends = ["build"]
description = 'Copy MicroSDeck to the SteamDeck Plugins'
run = "node --no-warnings=ExperimentalWarning 'util/build.mjs' -o copy"
run = "node --no-warnings=ExperimentalWarning 'util/build.mjs' -q -o copy"

[tasks."upload"]
depends = ["build"]
description = 'Upload MicroSDeck to the SteamDeck'
run = "node --no-warnings=ExperimentalWarning 'util/build.mjs' -o upload"
run = "node --no-warnings=ExperimentalWarning 'util/build.mjs' -q -o upload"
684 changes: 299 additions & 385 deletions lib/pnpm-lock.yaml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"homepage": "https://github.com/CEbbinghaus/MicroSDeck#readme",
"devDependencies": {
"@decky/ui": "^4.7.1",
"@decky/ui": "^4.8.3",
"@rollup/plugin-commonjs": "^21.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
Expand All @@ -35,20 +35,20 @@
"@types/react": "16.14.0",
"@types/webpack": "^5.28.5",
"merge-anything": "^6.0.2",
"rollup": "^4.22.4",
"rollup": "^4.28.1",
"rollup-plugin-codegen": "^1.0.0",
"rollup-plugin-external-globals": "^0.11.0",
"rollup-plugin-import-assets": "^1.1.1",
"shx": "^0.3.4",
"tslib": "^2.7.0",
"tslib": "^2.8.1",
"typescript": "^4.9.5"
},
"dependencies": {
"@cebbinghaus/microsdeck": "link:lib",
"@decky/api": "^1.1.2",
"@decky/rollup": "^1.0.1",
"@mdx-js/react": "^3.0.1",
"@mdx-js/rollup": "^3.0.1",
"@mdx-js/react": "^3.1.0",
"@mdx-js/rollup": "^3.1.0",
"lipe": "^0.3.4",
"react": "^18.3.1",
"react-icons": "^4.12.0"
Expand Down
Loading

0 comments on commit ff42da3

Please sign in to comment.