Commit graph

1312 commits

Author SHA1 Message Date
林一二
fd72bf5a57 fix: menu label is null when i18n failed to load by other bugs
this fixes https://github.com/tiddly-gittly/TiddlyGit-Desktop/issues/75
2021-08-07 21:28:00 +08:00
林一二
c116ea40ea chore: upgrade deps 2021-08-07 21:06:59 +08:00
林一二
43d8e49c3b fix: logic error 2021-08-07 21:05:24 +08:00
林一二
41f064fa9c fix: template literal type is not working properly 2021-08-07 20:44:49 +08:00
林一二
e8b36edd1c fix: Webpack has been initialized using a configuration object that does not match the API schema
An unhandled error has occurred inside Forge:
Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
 - configuration.plugins[6] should be one of these:
   object { apply, … } | function
   -> Plugin of type object or instanceof Function.
   Details:
    * configuration.plugins[6] should be an object:
      object { apply, … }
      -> Plugin instance.
    * configuration.plugins[6] should be an instance of function.
      -> Function acting as plugin.
ValidationError: Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
 - configuration.plugins[6] should be one of these:
   object { apply, … } | function
   -> Plugin of type object or instanceof Function.
   Details:
    * configuration.plugins[6] should be an object:
      object { apply, … }
      -> Plugin instance.
    * configuration.plugins[6] should be an instance of function.
      -> Function acting as plugin.

This is because there is an undefined in the plugins list

exports.renderer [
  DefinePlugin {
    definitions: { 'process.env.NODE_ENV': '"development"' }
  },
  CspHtmlWebpackPlugin {
    cspPluginPolicy: {
      'base-uri': [Array],
      'object-src': [Array],
      'script-src': [Array],
      'style-src': [Array],
      'frame-src': [Array],
      'worker-src': [Array]
    },
    opts: {
      enabled: true,
      hashingMethod: 'sha256',
      hashEnabled: [Object],
      nonceEnabled: [Object],
      processFn: [Function: defaultProcessFn]
    }
  },
  WebpackBarPlugin {
    profile: false,
    handler: [Function (anonymous)],
    modulesCount: 5000,
    dependenciesCount: 10000,
    showEntries: true,
    showModules: true,
    showDependencies: true,
    showActiveModules: true,
    percentBy: undefined,
    options: {
      name: 'webpack',
      color: 'green',
      reporters: [Array],
      reporter: null
    },
    reporters: [ FancyReporter {} ]
  },
  undefined
]
2021-08-07 19:57:26 +08:00
林一二
e583557eac v0.4.2-a4 2021-08-07 18:53:55 +08:00
林一二
8969658db2 lint: auto fix 2021-08-07 18:53:06 +08:00
林一二
7e615fe86c feat: add stats.json to out, and prepare report 2021-08-07 18:36:36 +08:00
林一二
55f0b7b6fc refactor: use afterPack.js to prepare worker dependencies 2021-08-07 18:23:41 +08:00
林一二
34af575f39 chore: disable BundleAnalyzerPlugin 2021-08-07 18:02:25 +08:00
林一二
3193e78379 fix: strangely, app won't build without this module installed 2021-08-07 13:34:00 +08:00
林一二
77b6e84378 refactor: remove unused deps, move things to devDepdency to reduce size 2021-08-07 13:20:27 +08:00
林一二
9a6e7f4557 fix: not ts import plugin @material-ui/icons
this fixes https://github.com/tiddly-gittly/TiddlyGit-Desktop/issues/88
2021-08-07 13:04:49 +08:00
林一二
b2185885af feat: add bundle analyzer 2021-08-07 12:24:15 +08:00
林一二
02a0c9aa08 v0.4.2-a3 2021-08-07 11:53:48 +08:00
林一二
2bba4ac83f fix: catch loadURL so it won't throw error while we still have retry times 2021-08-07 11:52:52 +08:00
林一二
04c3273e6c fix: update isLoading to false when load succeed 2021-08-07 10:44:51 +08:00
林一二
f0810fc85f refactor: remove unused chat.google.com 2021-08-07 10:41:08 +08:00
林一二
1d3d998e3a docs: add back listener of updateCanGoBack 2021-08-07 10:40:43 +08:00
林一二
d2fbb3ded1 v0.4.2-a2 2021-08-05 14:12:07 +08:00
林一二
8b87723e68 fix: prevent accessing object that may destroyed after await 2021-08-05 13:30:57 +08:00
林一二
c6858c2757 fix: Object has been destroyed after await
This fixes https://github.com/tiddly-gittly/TiddlyGit-Desktop/issues/94
2021-08-05 13:27:16 +08:00
林一二
93755a9884 fix: retry before set didFailedMessage 2021-08-05 13:21:06 +08:00
林一二
0383449943 fix: nodejs wiki start slow on system startup, which cause -102 ERR_CONNECTION_REFUSED even if wiki said it is booted, we have to retry several times 2021-08-05 13:13:51 +08:00
林一二
6ad7e2d9a7 fix: let main wiki start first, and let other wiki sync one by one, to prevent high CPU usage 2021-08-05 13:13:44 +08:00
tiddlygit-test
b9f4b0ca70 Update package-lock.json 2021-08-04 01:34:49 +08:00
tiddlygit-test
744000560d v0.4.2-a1 2021-08-04 01:34:43 +08:00
tiddlygit-test
8acad93431 fix: wiki view loading timing 2021-08-04 01:29:28 +08:00
林一二
44e56246d9 feat: add progress bar
https://github.com/unjs/webpackbar
2021-07-29 20:30:34 +08:00
tiddlygit-test
e46c0b28d3 Update FileSystemMonitor.js 2021-07-29 00:23:15 +08:00
lin onetwo
8e608b857b
Update README.md 2021-07-28 23:16:32 +08:00
林一二
d46442449a v0.4.1 2021-07-28 20:29:10 +08:00
lin onetwo
90c7847c15
Update release.yml 2021-07-28 20:08:49 +08:00
林一二
c0c979a1fb v0.4.1-a21 2021-07-28 13:16:35 +08:00
林一二
f2382ce8a9 fix: don't try reload view immediately after start wiki 2021-07-28 13:14:34 +08:00
林一二
facc06faea fix: all sync watcher should be non-blocking 2021-07-28 13:14:03 +08:00
林一二
6bcb0181b1 refactor: await fs.unlink 2021-07-28 12:31:30 +08:00
tiddlygit-test
4b57e3440b feat: add timestamp to log 2021-07-28 02:40:16 +08:00
tiddlygit-test
3f882d22d7 fix: sync in non-blocking way 2021-07-28 02:36:03 +08:00
tiddlygit-test
54374c8d12 v0.4.1-a19 2021-07-28 02:18:19 +08:00
tiddlygit-test
7fbdcab499 fix: setWikiStartLock 2021-07-28 02:15:59 +08:00
tiddlygit-test
ac797cdb8e fix: make sync to cloud non-blocking 2021-07-28 01:50:22 +08:00
tiddlygit-test
2c780be582 fix: upgrade git-sync 2021-07-28 01:21:01 +08:00
tiddlygit-test
5f227ac77a fix: copy full dugite to asarunpack 2021-07-28 01:14:15 +08:00
tiddlygit-test
b05c38b72d fix: assign LOCAL_GIT_DIRECTORY to point to actural git folder in packaged electron
https://github.com/desktop/dugite/issues/96
2021-07-25 15:32:28 +08:00
tiddlygit-test
7c30ef4ca0 fix: createSubWiki wrong arg order 2021-07-25 00:13:35 +08:00
tiddlygit-test
46c81e08d6 0.4.1-a18 2021-07-24 21:32:18 +08:00
tiddlygit-test
691e61b4ad fix: disable watch-fs, because it delete $:/FileSystemPath every time 2021-07-24 21:31:19 +08:00
tiddlygit-test
b79d93a03c refactor: shared init process to separate file, and add log to it 2021-07-24 19:57:32 +08:00
tiddlygit-test
dcb7b4fda1 fix: do more init work using initializeWorkspaceView when create workspace 2021-07-24 19:35:30 +08:00