2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-12 08:06:27 +00:00
Commit Graph

313 Commits

Author SHA1 Message Date
Ronan Jouchet
052d5c75a5 Update changelog for v47.1.2 2022-05-02 00:29:21 -04:00
Ronan Jouchet
334cbe28a5 Publish: fix Docker build failing because of Playwright, and make a convenience npm task for it 2022-05-02 00:27:58 -04:00
Ronan Jouchet
0afff67c11 Update changelog for v47.1.1 2022-05-02 00:13:31 -04:00
Ronan Jouchet
26bd19d6b0 Update changelog for v47.1.0 2022-05-02 00:09:07 -04:00
Ronan Jouchet
0963402264 Revert "Major-bump jest to 28": breaks tsc in weird ways, will retry later.
This reverts commit bd109099ce.
2022-05-01 23:51:04 -04:00
Ronan Jouchet
bd109099ce Major-bump jest to 28
No breaking changes for us, I think:
https://jestjs.io/blog/2022/04/25/jest-28
https://jestjs.io/docs/upgrading-to-jest28
2022-05-01 23:30:26 -04:00
Ronan Jouchet
0ff6e87308 Major bump axios to 0.27.x
No breaking changes for us: https://github.com/axios/axios/blob/master/CHANGELOG.md
2022-05-01 23:24:57 -04:00
Adam Weeden
d85aab718d
Extend timeout for playwright electron launch + playwright 1.21.1 (#1402) 2022-04-25 10:11:11 -04:00
Adam Weeden
ce04b3337c
Add some debugging to the playwright script + add a timeout for the playwright ci (#1400) 2022-04-22 10:51:00 -04:00
Adam Weeden
e664bc6af8
Add playwright integration testing to the app (PR #1397)
This PR allows us to code playwright integration tests that can potentially replace some of our manual tests and allow us automated testing of the app itself.

Current technical limitations:
* No app level keyboard simulation support (e.g, zoom in, zoom out, etc.)
* No code coverage support, so even though we are testing the app, the code coverage does not reflect this fact
2022-04-20 22:03:49 -04:00
Adam Weeden
3a8f66a7b6
macOS: universal architecture app support (fix #1384, PR #1386)
As noted in `API.md`:

- When specifying `universal` you must be building for the `darwin`, `mas`, `mac`, or `osx` platforms. This will generate a universal (M1 and x86) app.
2022-04-18 19:11:31 -04:00
Ronan Jouchet
567fede701 Update changelog for v47.0.0 2022-04-10 13:30:12 -04:00
Ronan Jouchet
c215d7a7b2 Update changelog for v46.2.1 2022-04-10 11:32:04 -04:00
Ronan Jouchet
2477b59dda Update changelog for v46.2.0 2022-03-20 23:44:36 -04:00
Ronan Jouchet
388eebb58b Update changelog for v46.1.1 2022-02-14 23:06:37 -05:00
Ronan Jouchet
5bcf165fe4 Upgrade dependencies
Including axios 0.25 -> 0.25, nothing breaking for us:
https://github.com/axios/axios/releases/tag/v0.26.0
2022-02-14 23:01:36 -05:00
Ronan Jouchet
35fb0fa7ff Update changelog for v46.1.0 2022-02-06 18:08:11 -05:00
Ronan Jouchet
6d46082220 Bump axios from 0.24.0 to 0.25
See https://github.com/axios/axios/blob/master/CHANGELOG.md#0250-january-18-2022
No obvious breaking changes, I think.
2022-02-06 17:51:20 -05:00
Ronan Jouchet
e4ab2dba5b Update changelog for v46.0.4 2022-01-06 10:50:42 -05:00
Ronan Jouchet
776f2a846d Update changelog for v46.0.3 2022-01-06 10:33:22 -05:00
Ronan Jouchet
863377d814 Update changelog for v46.0.2 2022-01-06 10:16:45 -05:00
Ronan Jouchet
0a561a62c0 Update changelog for v46.0.1 2022-01-06 09:58:15 -05:00
Ronan Jouchet
5276a839bb Update changelog for v46.0.0 2022-01-02 06:31:08 -05:00
Adam Weeden
d483597320
Upgrade Electron from 13 to 16 (PR #1288)
https://www.electronjs.org/docs/latest/breaking-changes

Co-authored-by: Ronan Jouchet <ronan@jouchet.fr>
2022-01-02 06:17:06 -05:00
Ronan Jouchet
24e8849564 Update changelog for v45.0.8 2021-12-06 23:48:19 -05:00
Ronan Jouchet
e9e523d957 Update changelog for v45.0.7 2021-12-06 16:27:13 -05:00
Ronan Jouchet
ec77741494 re-relock and fix script failing to do app if cli failed 2021-12-06 16:00:17 -05:00
Adam Weeden
b9c5e2b464
Fix upgrade not working (#1286)
* Attempt to get upgrade working right; in progress

* Got it fixed in Mac

* Fix some linting errors

* Finish fixing upgrade + tests

* Integration testing for global shortcuts

* Regenerate shrinkwrap

* Get rid of deprecated rmdirSync

* Remove instead of rm for 12.x support

* Make dereferencing platform dependent

* Fix folder copy funkiness

* Whoops

* Whoops 2: Extra Whoops

* Update Electron to 13.5.1; Fix auth manual tests

* Rework relock

* Add a request for help.

* Update @types/node to 14
2021-11-29 12:01:20 -05:00
Ronan Jouchet
adcf7c4c0c Update changelog for v45.0.6 2021-11-22 16:24:24 -05:00
Ronan Jouchet
e63a275ec9 Update changelog for v45.0.5 2021-11-01 15:59:22 -04:00
Ronan Jouchet
d68078f686 Bump axios to 0.24.0
https://github.com/axios/axios/blob/master/CHANGELOG.md
2021-11-01 15:54:03 -04:00
Ronan Jouchet
7cab31f974 Bump to eslint 8
https://eslint.org/docs/8.0.0/user-guide/migrating-to-8.0.0
2021-11-01 15:47:46 -04:00
Ronan Jouchet
fadcb73de7 Update changelog for v45.0.4 2021-09-24 23:03:48 -04:00
Ronan Jouchet
0570a20c99 Work around "npm shrinkwrap" failing to include some packages in lockfile 2021-09-24 23:01:15 -04:00
Ronan Jouchet
561beda96e Actually actually (TM) include lockfile in npm artifacts
Previous attempt failed by design of `npm pack` / `npm publish`,
as documented at https://docs.npmjs.com/cli/v6/configuring-npm/package-lock-json :

> One key detail about package-lock.json is that it cannot be published,
> and it will be ignored if found in any place other than the toplevel
> package. It shares a format with npm-shrinkwrap.json, which is
> essentially the same file, but allows publication.
>
> This is not recommended unless deploying a CLI tool or otherwise using
> the publication process for producing production packages.

, and we are a CLI tool. Switching to shrinkwrap.
2021-09-24 22:44:07 -04:00
Ronan Jouchet
8fdceee4dc Update changelog for v45.0.3 2021-09-24 22:21:33 -04:00
Ronan Jouchet
94142955f1 Update changelog for v45.0.2 2021-09-24 22:16:59 -04:00
Adam Weeden
d759695e5a
Workaround yargs coerce issue (#1283) 2021-09-22 09:26:49 -04:00
Ronan Jouchet
0d78978d9e Update changelog for v45.0.1 2021-09-20 11:45:36 -04:00
Ronan Jouchet
7ab2c14f4f Deps bumps: @types/jest, eslint-plugin-prettier 2021-09-20 11:32:47 -04:00
Ronan Jouchet
0fbe7d39cb Build: re-introduce a package-lock.json file
They were used a long time ago, then I scrapped them for simplicity to
new contributors. I'm re-considering this and re-introducing one, for
two (maybe three) reasons:

1. Reading on supply chain attacks
2. Build broken because of a dep change (see previous commit broken
   because of a change in yargs @ 17.1.0)
(3.) Performance
2021-09-20 11:25:43 -04:00
Ronan Jouchet
fcc3906f52 build:watch script: make it watch project folders 2021-09-20 10:32:32 -04:00
Ronan Jouchet
167f1e3be8 Update changelog for v45.0.0 2021-07-19 13:36:19 -04:00
Ronan Jouchet
5d9cb91739 Fix 'npm install'-time warning about outdated companion DT types
```
npm WARN deprecated @types/loglevel@1.6.3: This is a stub types definition. loglevel provides its own type definitions, so you do not need this installed.
npm WARN deprecated @types/electron-packager@15.0.1: This is a stub types definition. electron-packager provides its own type definitions, so you do not need this installed.
```

Also, add `@types/debug` necessary to fix build, as already done by
@TheCleric in https://github.com/nativefier/nativefier/pull/1230/files

Also, for all deps, bump minimum version to current version
2021-07-16 18:55:10 -04:00
Ronan Jouchet
c4327e97a7 Update changelog for v44.0.7 2021-07-10 16:06:47 -04:00
Ronan Jouchet
af80acf7e9 Update changelog for v44.0.6 2021-06-26 10:55:11 -04:00
Adam Weeden
b74c0bf959
Make app strict TypeScript + linting (and add a shared project) (#1231)
* Convert app to strict typing + shared library

* Fix new code post-merge

* Remove extraneous lint ignores

* Apply suggestions from code review

Co-authored-by: Ronan Jouchet <ronan@jouchet.fr>

* Fix prettier complaint

* Dedupe eslint files

* Fix some refs after merge

* Fix clean:full command

Co-authored-by: Ronan Jouchet <ronan@jouchet.fr>
2021-06-26 09:59:28 -04:00
Ronan Jouchet
f8f48d2f09 Update changelog for v44.0.5 2021-06-25 16:17:59 -04:00
Ronan Jouchet
996183b949 Update changelog for v44.0.4 2021-06-15 22:36:01 -04:00
Adam Weeden
7a08a2d676
Enable TypeScript strict:true, and more typescript-eslint rules (#1223)
* Catch promise errors better

* Move subFunctions to bottom of createNewWindow

* Use parents when creating child BrowserWindow instances

* Some about:blank pages have an anchor (for some reason)

* Inject browserWindowOptions better

* Interim refactor to MainWindow object

* Split up the window functions/helpers/events some

* Further separate out window functions + tests

* Add a mock for unit testing functions that access electron

* Add unit tests for onWillPreventUnload

* Improve windowEvents tests

* Add the first test for windowHelpers

* Move WebRequest event handling to node

* insertCSS completely under test

* clearAppData completely under test

* Fix contextMenu require bug

* More tests + fixes

* Fix + add to createNewTab tests

* Convert createMainWindow back to func + work out gremlins

* Move setupWindow away from main since its shared

* Make sure contextMenu is handling promises

* Fix issues with fullscreen not working + menu refactor

* Run jest against app/dist so that we can hit app unit tests as well

* Requested PR changes

* Add strict typing; tests currently failing

* Fix failing unit tests

* Add some more eslint warnings and fixes

* More eslint fixes

* Strict typing on (still issues with the lib dir)

* Fix the package.json import/require

* Fix some funky test errors

* Warn -> Error for eslint rules

* @ts-ignore -> @ts-expect-error

* Add back the ext code I removed
2021-06-15 22:20:49 -04:00