Panagiotis Papadopoulos
ac3e96291a
build(copy-dist): simplify "build" copying
...
there's no need to read the folder structure and then copy each single file in a loop
=> just copy the whole folder and be done with it :-)
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
9ac451e2b2
build(copy-dist): consolidate files and folder copying into one asset copying job
...
there's no benefit in having them split up like before
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
dbc2df0820
build(copy-dist): consolidate folder copying
...
the "srcDirsToCopy" block is useless now, we can just use the previous dirsToCopy to achieve the exact same thing
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
24382d8176
build(copy-dist): avoid copying over the app dir into dist
...
we have the bundled "app-dist" already in the "dist", copying over the original unbundled "app" folder serves no benefit here
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
af5e4ee3b5
build(copy-dist): copy over required folders/files from "public" folder
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
135101f57b
build(copy-dist): do not copy build folder into src folder
...
stop the build folder from being copied into the dist/src subfolder
→ there is no sense in doing that
→ the contents of the build folder are corretly copied previously already (see line 26ff)
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
60a2b56636
chore(copy-dist): removee unnecesary copy of tsconfig.webpack.json
...
webpack bundling already ran before this script, so there is no need to copy this file over
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
6c4a1732ad
build(copy-trilium): use npm run build:ts
2025-03-07 23:14:56 +01:00
Elian Doran
e76601cd21
fix(bin): empty package.json
2025-03-07 23:58:41 +02:00
Elian Doran
e252b491ba
chore(bin): make less error-tolerant
2025-03-07 23:57:31 +02:00
Elian Doran
555dcc956e
chore(release): 0.92.3-beta
2025-03-07 23:55:26 +02:00
Panagiotis Papadopoulos
f8c8b9eb3f
build(build-server): stop copying dump-db during build
2025-03-05 09:28:41 +01:00
Panagiotis Papadopoulos
2beaaa95bf
chore(prettier): fix code style
2025-03-02 20:47:57 +01:00
Elian Doran
f6224d9ec4
Merge pull request #1168 from TriliumNext/chore_bootstrap-ts-ignore
...
build: bundle bootstrap with webpack
2025-02-22 14:57:47 +02:00
Elian Doran
50d491b432
build(release): update master branch automatically
2025-02-22 14:25:31 +02:00
Elian Doran
899ad6450a
build(release): use different commit message
2025-02-22 14:02:13 +02:00
Panagiotis Papadopoulos
e7d204dfd2
chore(copy-dist): remove now unneeded manual copying of bootstrap dir
...
webpack is taking care of that for us
2025-02-22 11:56:56 +01:00
Elian Doran
324233be50
Merge pull request #1201 from TriliumNext/chore_fix-copy-dist-log
...
chore(copy-dist): "unpack" log messages before printing
2025-02-16 15:00:41 +02:00
Panagiotis Papadopoulos
dd4f8a8c27
chore(copy-dist): "unpack" log messages before printing
...
previously it was printin all messages as part of an array, i.e.
["message"]
After spreading the array, we get the desired out
"message"
2025-02-15 13:08:13 +01:00
Panagiotis Papadopoulos
11a9dfd693
Merge branch 'develop' into chore_npm-scripts-namescape
2025-02-15 09:02:23 +01:00
Elian Doran
9299f90b85
feat(docs): internal API docs
2025-02-15 00:33:12 +02:00
Elian Doran
81d5d16e1a
chore(bin): convert generate-openapi to typescript
2025-02-15 00:02:00 +02:00
Elian Doran
2fe6881d73
Merge pull request #1192 from FliegendeWurst/openapi-docs-2
...
More OpenAPI docs
2025-02-14 23:57:39 +02:00
FliegendeWurst
a115214070
Document some note, branch, tree routes
2025-02-14 09:40:38 +01:00
Panagiotis Papadopoulos
9cddb1deac
chore(scripts): namespace "build:webpack"
2025-02-14 08:41:34 +01:00
Panagiotis Papadopoulos
47002aa95a
chore(scripts): namespace "chore:update-build-info"
2025-02-14 08:38:18 +01:00
FliegendeWurst
0f0ebed78a
Document sync push/pull
2025-02-13 23:51:42 +01:00
Elian Doran
508908ded8
Merge pull request #1173 from TriliumNext/fix_etapi-openapi-integration
...
build: fix missing copying of etapi.openapi.yaml in build process
2025-02-13 21:49:04 +02:00
FliegendeWurst
be4b74e791
Automated OpenAPI spec generation
2025-02-13 17:02:03 +01:00
Panagiotis Papadopoulos
010783102a
build: fix missing copying of etapi.openapi.yaml into dist folder
...
fixes build via electron-forge
2025-02-12 23:09:20 +01:00
Panagiotis Papadopoulos
61e56023d4
refactor(electron-forge/deb): make desktop.ejs easier to read
...
in theory we could use variables in ejs, but unfortunately electron uses lodash template to create the file, which itself DOES NOT like any let/const/var assignments – wasted a bit of time finding this out, before coming up with this solution
2025-02-02 22:25:56 +01:00
Elian Doran
2baf75d0c1
feat(electron): custom icon for the windows installer
2025-02-01 14:39:36 +02:00
Elian Doran
495fce7594
feat(tray): use template for menu icons
2025-02-01 12:57:51 +02:00
Elian Doran
ddb277e8e5
feat(tray): use template for main icon
2025-02-01 12:53:11 +02:00
Elian Doran
6db51d648b
feat(tray): black icon for macOS
2025-02-01 12:49:01 +02:00
Elian Doran
c80bf48d13
fix(tray): bring back dev icon
2025-02-01 12:45:32 +02:00
Elian Doran
0f2e50d265
feat(tray): higher DPI icon
2025-02-01 12:41:43 +02:00
Elian Doran
43ba49833d
feat(tray): try add 1.25x and 1.5x for Windows high-DPI
2025-02-01 12:22:13 +02:00
Elian Doran
755774042e
feat(tray): support hi-DPI
2025-02-01 11:59:42 +02:00
Elian Doran
0bf3f890a2
feat(tray): support custom icon for dev mode
2025-02-01 11:34:35 +02:00
Elian Doran
4701edff4c
feat(tray): support dark theme for icons
2025-02-01 10:32:57 +02:00
Elian Doran
736f329857
feat(tray): use icons for tray items
2025-02-01 10:21:25 +02:00
Elian Doran
2cc7113c2c
refactor(deps): get rid of print-this
2025-02-01 00:52:46 +02:00
Panagiotis Papadopoulos
ed33b72f57
chore(assets): remove manual provision of knockout
...
this is only used in setup.ts and there it is already packed by webpack – so no need to manually provide it as static asset anymore
2025-01-29 08:48:03 +01:00
Panagiotis Papadopoulos
ad02b86719
chore: remove now unnecessary manual copying of share.js
...
this is now correctly handled by the webpack build
2025-01-26 21:39:34 +01:00
Elian Doran
0b0fcc0685
Merge pull request #1021 from TriliumNext/chore_move-generate-documents
...
chore: move generate_documents to bin folder
2025-01-22 23:42:45 +02:00
Elian Doran
7a3a5141af
fix(geomap): not working on electron
2025-01-22 23:08:25 +02:00
Panagiotis Papadopoulos
1d03818337
chore(generate_documents): add note about script being broken currently
2025-01-20 22:54:12 +01:00
Panagiotis Papadopoulos
3206a7fe73
chore: move generate_documents to bin folder
...
this file is never called in production code and wouldn't even run, even if it was:
the `lorem-ipsum` dependency is in devDependencies, so never gets installed in
any dist builds
move the file to a place where it makes more sense and avoid it getting packaged
without any reason.
2025-01-20 21:46:25 +01:00
Elian Doran
eaacdb57d1
fix(build): add back copying canvas dist files
2025-01-18 11:19:35 +02:00