Commit Graph

212 Commits

Author SHA1 Message Date
Marvin Sautter cf2d9b8335 Update babel-plugin-transform-barrels to the official version 1.0.17 for improved stability (#1663) 2024-09-22 22:27:51 -07:00
Marvin Sautter 3d7a6f70d8 JEST: Test faster by removing barrels (#1645) 2024-09-09 18:36:00 -07:00
Fireball5939 701c5d8e64 API: Fixed ns.singularity.donateToFaction being able to donate to SoA (#1595)
Fixed ns.singularity.donateToFaction bug
Fixed a bug within singularity.donateToFaction where you could use it to donate to Shadows Of Anarchy
Also updated the Node version in package-lock.json to 18
2024-08-17 14:10:01 -07:00
catloversg 6c2d44b0fe DOCUMENTATION: Fix errors and warnings shown by api-extractor (#1566) 2024-08-13 15:57:15 -07:00
catloversg 685b7d51f7 ELECTRON: Update Electron to v29 (#1556) 2024-08-08 18:10:55 -07:00
catloversg 9a77b47241 MISC: Remove js-sha256 (#1278) 2024-08-05 13:40:16 -07:00
Tom Prince dc93d166f0 BUGFIX: Use mathjax from npm, rather than vendored copy. (#1491) 2024-07-18 16:27:01 -07:00
catloversg 864613c616 MISC: Support JSX, TS, TSX script files (#1216) 2024-07-14 14:47:10 -07:00
Tom Prince c4adbfc0ad EDITOR: Update monaco-editor to 0.50.0. (#1468) 2024-07-07 00:11:30 -07:00
Tom Prince b277975656 EDITOR: Provide type definitions for React and ReactDOM in in-game editor. (#1458)
* Fix the type declaration of `!!raw-loader!` modules.

Instead of declaring them to export an object with a single key
`default` which is a string, the modules have a default export, which
is a string.

Note, that this doesn't actually change the generated code, just the
types that typescript sees. The code worked before because the only
thing done to the values was to coerce the values to a string, which
turned into a no-op.

* Switch from using `raw-loader` to using a source asset module.

`raw-loader` was deprecated in webpack v5.
2024-07-07 00:08:33 -07:00
Tom Prince 6fb6d38bd9 MISC: Update caniuse-lite to latest version. (#1459)
browserslist complains if caniuse-lite is more than 6 months old. This
updates to the latest version.

Note that there were no changes in supported versions based on this
update.
2024-07-05 14:02:33 -07:00
Snarling 8ee703760a Start 2.6.3 dev cycle 2024-07-03 19:39:21 -04:00
Snarling dc057d05fc minor package-lock update
Fixes an audit issue on a dev dependency
2024-06-25 19:30:30 -04:00
muesli4brekkies 4936d14639 TERMINAL: Add grep command (#1381) 2024-06-14 00:00:48 -07:00
Caldwell cb92643c7e IMPROVEMENT: partial migration @mui/styles to tss-react (#1338) 2024-06-03 12:27:13 -04:00
Snarling fe7e1c86bc Start 2.6.2 cycle (#1301) 2024-05-22 01:35:35 -04:00
catloversg 7b993f3550 MISC: Remove file-saver (#1217)
Also refactor to dedup our own download code
2024-04-19 13:38:44 -07:00
catloversg 8553bcb8fc MISC: Support compression of save data (#1162)
* Use Compression Streams API instead of jszip or other libraries.
* Remove usage of base64 in the new binary format.
* Do not convert binary data to string and back. The type of save data is SaveData, it's either string (old base64 format) or Uint8Array (new binary format).
* Proper support for interacting with electron-related code. Electron-related code assumes that save data is in the base64 format.
* Proper support for other tools (DevMenu, pretty-save.js). Full support for DevMenu will be added in a follow-up PR. Check the comments in src\DevMenu\ui\SaveFileDev.tsx for details.
2024-03-27 21:08:09 -07:00
catloversg 7c4cd7ef86 MISC: Update devDependencies (#1186)
Removing unused dependencies
2024-03-22 16:52:34 -07:00
catloversg fc8958af83 MISC: Remove jquery (#1167)
Changes wget, which was the only thing using it.
2024-03-20 14:20:29 -07:00
Snarling 1755b7cd7f 2.6.1dev initial state 2024-03-05 20:54:11 -05:00
catloversg ffc34387f0 CORPORATION: Add documentation (#1121)
This ports the PDF manual by @catloversg into .md form, so it can be used in-game and via browsing on GitHub.

It also adds MathJax rendering to in-game docs, so that the math formulas can be rendered. (GitHub already supports this natively.)
2024-03-04 03:10:18 -08:00
Snarling 498bb6128a Handle br tag in tables (#995) 2023-12-27 02:04:52 -05:00
Snarling 489ba595f3 VERSION: Begin 2.6.0 dev cycle (#992) 2023-12-26 11:53:27 -05:00
Snarling 997ae8c176 Changelog reset for 2.5.2 dev cycle 2023-11-30 17:21:31 -05:00
Caldwell 4e8c43fdbe install latest eslint (#912) 2023-11-03 21:20:32 -04:00
Snarling cb2f530b88 dedupe + audit fix (#890) 2023-10-24 04:32:48 -04:00
Snarling 87925f1900 EDITOR: Reorganization and minor efficiency improvements (#886) 2023-10-23 07:02:33 -04:00
Snarling 36312c660d CODE: Enable es2023 features (#870) 2023-10-23 04:49:12 -04:00
Caldwell 269a74d5c0 CODEBASE: update dependencies (#852) 2023-10-07 18:52:48 -04:00
Snarling 1b271d6e29 Update electron to latest (#850) 2023-10-04 19:46:08 -04:00
omuretsu 7f82ceaf24 npm audit fix 2023-10-02 20:07:22 -04:00
omuretsu a8e48ddb12 2.5.1 dev start 2023-10-02 19:46:57 -04:00
muesli4brekkies c5e2f65cb0 API: Added spawnDelay parameter to ns.spawn options, allowing user defined delay (#807) 2023-09-27 01:31:47 -04:00
Snarling 6d3495d05f Changelog update for 2.5.0 (#828) 2023-09-24 09:11:49 -04:00
Snarling de5ebc993b RELEASE: 2.4.1 (#752) 2023-08-26 18:07:09 -04:00
hydroflame 1a8b9a96ec Documentation added ingame (#667) 2023-07-12 17:10:52 -04:00
Aleksei Bezrodnov 1d5a735941 MISC: enforce eslint react checks (#640) 2023-06-26 22:29:44 -04:00
omuretsu 325224df27 2.3.2dev start 2023-06-07 15:06:47 -04:00
omuretsu f55551c0cd 2.3.1 release 2023-06-07 14:41:36 -04:00
Snarling 87f2ae459d UI: Better support for custom player React content (#513) 2023-05-22 05:28:24 -04:00
Snarling 04d49e3a6d SCRIPTS: Script modules are reused when they are imported (#461)
Also corrects some compile race conditions.
2023-04-07 00:33:51 -04:00
mjz19910 8b83791515 BUGFIX: Fix npm audit for webpack 5.75.0 (#457) 2023-04-01 07:58:18 -04:00
Snarling 71051cde9c Upgrade monaco and bump game version to 2.3.0dev (#369) 2023-02-23 21:43:29 -05:00
omuretsu 211e2bcb95 Fix Electron API server
VSCode integration fix for Electron version
2023-02-23 21:18:29 -05:00
Snarling d3f9554a6e 2.2.2 Release (#378) 2023-02-21 09:44:18 -05:00
omuretsu e9bdc29c8c Some dev updates
* Bump electron version to 22.2.1
* Fix npm run electron command (needed the electron-packager-all command which I had removed)
* Improve the npm run format command, no longer floods terminal with all file names
* Updated start command to serve the built version of the game in .app
* Remove some unused commands and unused workflows. Combined the ci and ci-pr workflows.
* Modify check for generated files logic. Attempt to fix so it will edit its own comment instead of posting a new one on every commit.
2023-02-11 15:12:55 -05:00
Snarling b4074328ec UI: Added new locale-aware and configurable number formatting (#354) 2023-02-11 13:18:50 -05:00
David Walker 0c2d402f0b INFRA: Update everything except React (#312) 2023-01-08 02:36:55 -05:00
David Walker 593b860241 New version of Electron, v22.0.0 (#302)
Fixes the blinking text bug!
2023-01-06 14:01:27 -05:00