Commit Graph

240 Commits

Author SHA1 Message Date
Michael Taylor
47b7a6f656 CODEBASE: Update packages-lock.json to not use vulnerable versions (#2405) 2025-11-28 01:19:44 -08:00
catloversg
1d3b96326e DEPS: Update Electron version (#2360) 2025-10-23 12:31:23 -04:00
Michael Taylor
d785f20921 CODEBASE: Minor React related packages update (#2353)
* CODEBASE: Update @types/react & react-dom packages

Update @types/react and @types/react-dom to
17.0.26 (ts3.8) and 17.0.89 (ts3.8) from
17.0.21 (2021) and 17.0.67.

To major changes, no apparent breaking changes,
mostly packaging fixes.

* CODEBASE: Update react-syntax-higher package

Update from 15.5.0 (2022) to 15.6.6 (August 2025) which
fixes a bug with wrapLines (15.6.0, 15.6.1), fixes some
small bugs in 15.6.3 (line count, spelling), and
primarily updates dependencies, in particular prismjs to 1.30.0.

* CODEBASE: Update react-draggable package

Updates from 4.4.6 to
[4.5.0](https://github.com/react-grid-layout/react-draggable/commits/master/),
some small fixes, updated dependencies. Nothing critical, but
nothing breaking or radical as far as I can tell.

* CODEBASE: Update tss-react package

Patch level update of [tss-react](https://www.tss-react.dev/) package,
from 4.9.10 (Apr 2024) to 4.9.19 (Jul 2025). Appears to be primarily
for React 19 and Material UI 7 support. Low-priority, but should be
low-risk.

* CODEBASE: Update react-refresh package

[react-refresh](https://www.npmjs.com/package/react-refresh)
From 0.17.0 to 0.18.0.
2025-10-18 09:15:52 -07:00
Michael Taylor
f12fc380cc MUI: Update minor version of material UI and Emotion packages (#2339) 2025-10-08 14:11:24 -07:00
Michael Taylor
dcd2f33f7c CODEBASE: Update api-documentor and api-extractor (#2320)
* Update api-documentor and api-extractor. #1566 follow-up.

I have verified that the HTML/markdown table generation bug in
[#4878](https://github.com/microsoft/rushstack/issues/4878) in rushstack
for api-documentor has been fixed as per rushstack#5256. The testcase
[repro](https://github.com/catloversg/api-documenter-bug-pr-4578) now
produces the correct expected output.

I have confirmed that the generated output in bitburner from
`npm run doc` now generated HTML tables, and correctly inserts
a blank line between the </table> and the follow line (e.g. Returns).

Stylisticly it could use some whitespace, but it is correctly rendered.

This commit is only the updated packages, not the updated generated
documentation. I assume that is automatically generated by the GitHub
workflow.

* Follow up to 5f732a6f35, include `npm run doc` changed docs.

* Add missing license info

* Fix React warning

---------

Co-authored-by: CatLover <152669316+catloversg@users.noreply.github.com>
2025-09-26 14:52:39 -07:00
Michael Taylor
09ecd915c2 DEVENV: Update NodeJS to v22 (#2318)
* move to minimum nodejs 22 (from 18)
2025-09-23 11:46:26 -07:00
Snarling
0c64c3620d ELECTRON: Build universal macOS binary (#2306) 2025-09-05 23:35:29 -07:00
catloversg
b8398ba4c1 CODEBASE: Update dev dependencies (#2246) 2025-07-17 14:21:03 -07:00
catloversg
6a23c85e12 UI: Search and read NS API docs in editor tab and documentation tab (#2163) 2025-05-31 23:53:20 -07:00
catloversg
b53180ff1e MISC: Remove APIs that were deprecated a long time ago (#2088) 2025-05-10 22:10:48 -07:00
catloversg
44b8baa8ad ELECTRON: Use steamworks.js to integrate with Steamworks SDK (#1563) 2025-04-14 16:19:17 -07:00
catloversg
a9900072da MISC: Remove support for running NS1 scripts (#2083) 2025-04-11 13:41:48 -07:00
Snarling
3691e4b8d8 Initial 3.0 dev update (#2070) 2025-04-04 03:47:22 -04:00
Snarling
d0d7767003 RELEASE: 2.8.1 (#2069) 2025-04-04 03:35:54 -04:00
Michael Ficocelli
d62a1f38ca BUGFIX: Add mathjax-full and csstype as direct dependencies, since we depend on them (#2037)
* [CHORE] Add mathjax-full as a direct dependency, since we depend on it

* [CHORE] Add csstype as a direct dependency, since we depend on it

* [CHORE] Tell TS that it's OK?

* [CHORE] Use correct csstype version
2025-03-20 15:53:40 -07:00
Snarling
6530b43886 Initial changes for 3.0 dev cycle (#1994)
Update constants.ts
Update version numbers in package jsons
2025-03-05 05:46:02 -05:00
Snarling
02c4f9c68d 2.8 Release Prep (#1993)
Update constants.ts
Update version in package.jsons
Move changelog to documented changelog
2025-03-05 03:18:53 -05:00
catloversg
3ba89eb388 CODEBASE: Update api-extractor (#1982) 2025-02-27 22:39:58 -08:00
catloversg
5f29c5b043 CODEBASE: Update webpack and katex (#1975) 2025-02-27 10:43:33 -08:00
catloversg
9920b6ae4d MISC: Add source map to transformed scripts (#1812)
* MISC: Add source map to transformed scripts

* Print error to console
2025-01-19 13:50:50 -08:00
catloversg
d75b0af6b2 CODEBASE: Update webpack and its plugins (#1825) 2024-12-18 03:14:01 -08:00
Snarling
bf095ea9e3 VERSION: Start dev branch 2.7.1 (#1832) 2024-12-08 16:41:53 -05:00
Snarling
a58eace23a RELEASE: Version 2.7.0 (#1829) 2024-12-08 15:51:46 -05:00
catloversg
67704f2ab0 CODEBASE: Use "esnext" target when transforming code with swc (#1810) 2024-11-30 16:02:32 -08:00
catloversg
faed78cf2c CODEBASE: Validate AllGangs and StockMarket after loading with JSON.parse (#1783) 2024-11-27 01:13:47 -08:00
catloversg
6d2e106371 MISC: Change current version to 2.7.0 (#1795) 2024-11-27 00:07:16 -08:00
catloversg
75cf9c88b5 CODEBASE: Fix lint errors 3 (#1758)
This is a really big refactor because it actually *fixes* a lot of the lint errors instead of disabling them.
2024-11-14 08:18:57 -08:00
catloversg
48b25d2223 MISC: Update monaco-editor (#1769) 2024-11-12 07:20:42 -08:00
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