Changed build to dist for ts output
This commit is contained in:
parent
ae970f2c6b
commit
a3a4c6dce5
4 changed files with 1302 additions and 1233 deletions
2516
cider-yarn.lock
2516
cider-yarn.lock
File diff suppressed because it is too large
Load diff
13
package.json
13
package.json
|
@ -5,7 +5,7 @@
|
|||
"version": "1.1.0",
|
||||
"description": "A new look into listening and enjoying music in style and performance.",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "./build/index.js",
|
||||
"main": "./dist/index.js",
|
||||
"author": "Cider Collective <cryptofyre@cider.sh> (https://cider.sh)",
|
||||
"repository": "https://github.com/ciderapp/Cider.git",
|
||||
"bugs": {
|
||||
|
@ -18,9 +18,9 @@
|
|||
"watch": "tsc --watch",
|
||||
"test": "yarn build && playwright test",
|
||||
"start": "run-script-os",
|
||||
"start:win32": "yarn build && set ELECTRON_ENABLE_LOGGING=true && electron ./build/index.js --enable-accelerated-mjpeg-decode --enable-accelerated-video --disable-gpu-driver-bug-workarounds --ignore-gpu-blacklist --enable-native-gpu-memory-buffers",
|
||||
"start:linux": "yarn build && ELECTRON_ENABLE_LOGGING=true && electron ./build/index.js --enable-accelerated-mjpeg-decode --enable-accelerated-video --disable-gpu-driver-bug-workarounds --ignore-gpu-blacklist --enable-native-gpu-memory-buffers",
|
||||
"start:darwin": "yarn build && ELECTRON_ENABLE_LOGGING=true && electron ./build/index.js --enable-accelerated-mjpeg-decode --enable-accelerated-video --disable-gpu-driver-bug-workarounds --ignore-gpu-blacklist --enable-native-gpu-memory-buffers",
|
||||
"start:win32": "yarn build && set ELECTRON_ENABLE_LOGGING=true && electron ./dist/index.js --enable-accelerated-mjpeg-decode --enable-accelerated-video --disable-gpu-driver-bug-workarounds --ignore-gpu-blacklist --enable-native-gpu-memory-buffers",
|
||||
"start:linux": "yarn build && ELECTRON_ENABLE_LOGGING=true && electron ./dist/index.js --enable-accelerated-mjpeg-decode --enable-accelerated-video --disable-gpu-driver-bug-workarounds --ignore-gpu-blacklist --enable-native-gpu-memory-buffers",
|
||||
"start:darwin": "yarn build && ELECTRON_ENABLE_LOGGING=true && electron ./dist/index.js --enable-accelerated-mjpeg-decode --enable-accelerated-video --disable-gpu-driver-bug-workarounds --ignore-gpu-blacklist --enable-native-gpu-memory-buffers",
|
||||
"pack": "electron-builder --dir",
|
||||
"dist": "yarn build && electron-builder",
|
||||
"dist:all": "yarn build && electron-builder -mwl",
|
||||
|
@ -29,10 +29,11 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@sentry/electron": "^2.5.4",
|
||||
"@sentry/integrations": "^6.17.4",
|
||||
"discord-rpc": "^4.0.1",
|
||||
"ejs": "^3.1.6",
|
||||
"electron-fetch": "^1.7.4",
|
||||
"electron-log": "^4.4.4",
|
||||
"electron-log": "^4.4.5",
|
||||
"electron-notarize": "^1.1.1",
|
||||
"electron-packager": "^15.4.0",
|
||||
"electron-store": "^8.0.1",
|
||||
|
@ -118,7 +119,7 @@
|
|||
],
|
||||
"extends": null,
|
||||
"files": [
|
||||
"./build/**/*",
|
||||
"./dist/**/*",
|
||||
"./src/**/*",
|
||||
"./resources/icons/**/*"
|
||||
],
|
||||
|
|
|
@ -6,7 +6,7 @@ import * as fs from "fs";
|
|||
test("Launch electron app", async () => {
|
||||
|
||||
const paths = {
|
||||
"mainBuild": resolve(__dirname, "../../build/"),
|
||||
"mainBuild": resolve(__dirname, "../../dist/"),
|
||||
"main": resolve(__dirname, "../main"),
|
||||
"root": resolve(__dirname, "../../"),
|
||||
"cwd": __dirname,
|
||||
|
@ -17,7 +17,7 @@ test("Launch electron app", async () => {
|
|||
|
||||
console.log(fs.readdirSync(paths.main))
|
||||
|
||||
const electronApp = await electron.launch({ args: ['build/index.js'], cwd: paths.root });
|
||||
const electronApp = await electron.launch({ args: ['dist/index.js'], cwd: paths.root });
|
||||
|
||||
const appPath = await electronApp.evaluate(async ({ app }) => {
|
||||
// This runs in the main Electron process, parameter here is always
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"noImplicitAny": true,
|
||||
"strict": true,
|
||||
"sourceMap": true,
|
||||
"outDir": "./build",
|
||||
"outDir": "./dist",
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"*": ["node_modules/*"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue