Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
f469f0d
refactor: move electron-builder config to pkg json
Christopher-Hayes Jun 4, 2022
d9bb811
chore: add Snyk to gitignore
Christopher-Hayes Jun 4, 2022
a6752e0
feat: create release github action config
Christopher-Hayes Jun 4, 2022
0cf34cd
fix: github release action versioning
Christopher-Hayes Jun 4, 2022
ef302f3
fix: local electron-build config import
Christopher-Hayes Jun 4, 2022
c58932e
refactor: build scripts to only build vue in ci
Christopher-Hayes Jun 4, 2022
2979312
feat: add mac code signing to gh release action
Christopher-Hayes Jun 4, 2022
8ad5956
feat: add snapcraft integration to release action
Christopher-Hayes Jun 4, 2022
6f304d4
chore: run v1.3.3 test release
Christopher-Hayes Jun 4, 2022
ff53f6e
ci: only run release action when new tag pushed
Christopher-Hayes Jun 4, 2022
e43b6d6
Merge branch 'linux-support'
Christopher-Hayes Jun 4, 2022
fa2f01e
chore: run v1.3.4 test release
Christopher-Hayes Jun 4, 2022
3c956dd
fix: update repository field to allow ci to create release
Christopher-Hayes Jun 4, 2022
a774969
chore: test release version v1.3.5
Christopher-Hayes Jun 4, 2022
58f6459
chore: release build tweaking
Christopher-Hayes Jun 4, 2022
bd3f5d5
ci: update release action build config
Christopher-Hayes Jun 4, 2022
2023638
Merge branch 'linux-support'
Christopher-Hayes Jun 4, 2022
e3aa020
chore: release test version v1.3.6
Christopher-Hayes Jun 4, 2022
f55a0d6
chore: add additional debug logging
Christopher-Hayes Jun 5, 2022
381a9f7
chore: test release version v1.3.7
Christopher-Hayes Jun 5, 2022
e9547d8
ci: gh actions build fixes
Christopher-Hayes Jun 5, 2022
0e542dd
chore: test release version v1.3.8
Christopher-Hayes Jun 5, 2022
192a565
Update README with release instructions
Christopher-Hayes Jun 5, 2022
d8437c0
build: remove .appimage x32 target
Christopher-Hayes Jun 5, 2022
67cee50
revert: prep package.json for PR
Christopher-Hayes Jun 5, 2022
ef8245a
chore: remove linux-support debug comments
Christopher-Hayes Jun 5, 2022
f2784b1
build: remove macos armx64 build target
Christopher-Hayes Jun 5, 2022
1bc6f6c
chore: remove unneeded import
Christopher-Hayes Jun 5, 2022
85ae97c
revert: appId change for debugging on fork
Christopher-Hayes Jun 6, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: gh actions build fixes
  • Loading branch information
Christopher-Hayes committed Jun 5, 2022
commit e9547d8052eccffd237b0a85a4459c67cf2f63f2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "tsc-watch -p tsconfig.electron.json --onSuccess 'npm run dev:server'",
"dev:server": "node build/src/scripts/dev-server.js",
"build": "npm run build:ci",
"build:ci": "npm run build:ci:renderer && node build/src/scripts/build-vue.js",
"build:ci": "npm run build:ci:renderer && node build/src/scripts/build-frontend.js",
"build:ci:renderer": "tsc -p tsconfig.vue.json",
"build:local": "npm run build:local:electron && node build/src/scripts/build.js ",
"build:local:electron": "tsc -p tsconfig.electron.json",
Expand Down
14 changes: 14 additions & 0 deletions src/scripts/build-frontend.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import buildVue from './build-vue'
import chalk from 'chalk'

process.env.NODE_ENV = 'production'

async function build () {
console.log(`${chalk.blueBright('\nBuild frontend started...\n')}`)

await buildVue()

console.log(`${chalk.greenBright('\nBuild frontend success!\n')}`)
}

build()
14 changes: 12 additions & 2 deletions tsconfig.vue.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,26 @@
"lib": ["ESNext", "DOM"],
"outDir": "./build",
"paths": {
"@/*": ["./src/*"]
"@/*": ["./src/*", "./src/renderer/*"]
},
"types": [
"unplugin-icons/types/vue",
]
},
"include": [
"src/config/*.ts",
// Only build Vue, this config file is used by GitHub Actions
// Собираем Vue, этот конфигурационный файл используется в GitHub Actions
"src/scripts/build-vue.ts",
"src/scripts/build-frontend.ts",
"src/config/*.ts",
"src/scripts/*.ts",
"src/main/**/*.ts",
"src/main/types"
"src/main/types",
"src/renderer/**/*.ts",
"src/renderer/**/*.d.ts",
"src/renderer/**/*.tsx",
"src/renderer/**/*.vue"
],
"exclude":[
"./node_modules",
Expand Down