Commit Graph

300 Commits

Author SHA1 Message Date
Jake Bailey
76f3f47b8b Remove use of fs-extra (#55468) 2023-08-23 16:42:45 -07:00
Jimmy Wärting
3a22d3aded Remove the dependency of "del" (#55112)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-08-23 16:42:37 -07:00
Jake Bailey
5e8c261b6a dprint the codebase (#54820) 2023-08-16 14:26:38 -07:00
Jake Bailey
08e9f179a9 Update esbuild to 0.19 (#55304) 2023-08-08 17:57:07 -07:00
Daniel Rosenwasser
c395d17a32 Bump version to 5.3. 2023-08-07 22:51:43 +00:00
Jake Bailey
2b4bf5ae0d Remove eslint-plugin-import (#54835) 2023-07-14 16:01:32 -07:00
Josh Goldberg ✨
0ae8ca11d2 Updated typescript-eslint to v6 (#54693)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-07-14 15:36:10 -07:00
Jake Bailey
980f931bd5 Downgrade octokit back to v19 to regain node 14/16 support (#54991) 2023-07-12 10:23:22 -07:00
Jake Bailey
4c7dfb6632 Update to esbuild 0.18 (#54595) 2023-06-12 10:02:43 -07:00
Ron Buckton
913e556373 Add --coverage option to build scripts for tests (#54499) 2023-06-02 16:00:47 -04:00
Daniel Rosenwasser
dad9ae0ce8 Bump version to 5.2 and update baselines. 2023-05-15 17:53:13 +00:00
Jake Bailey
08285abaec Revert octokit pinning now that the package is fixed (#53966) 2023-05-12 09:25:09 -07:00
Jake Bailey
7c03f7b500 Bump volta to v20 and packageManager to latest (#54187) 2023-05-09 09:58:38 -07:00
Jake Bailey
726b48fe4b Fix script compilation by pinning back some deps (#53937) 2023-04-20 14:29:13 -07:00
Jake Bailey
04f813d164 Bump minimum Node to 14.17, ES to 2020 for TS 5.1 (#53291) 2023-04-14 19:36:13 -07:00
Jake Bailey
7bde5efe94 Update azure-devops-node-api (#53370) 2023-03-29 16:29:39 -07:00
Jake Bailey
ba42ad3646 Bump TS devDep to ^5.0.2 (#53299) 2023-03-16 20:46:09 -07:00
Jake Bailey
9ccf47fec5 Move smoke test package script into scripts (#53245) 2023-03-14 15:27:07 -07:00
Jake Bailey
9dfd5ea221 Bump TS devDep to 5.0 RC to fix eslint (#53243) 2023-03-14 08:30:19 -07:00
Jake Bailey
7898cc1866 Set package.json minimum to Node 12.20 (#53183) 2023-03-09 14:27:13 -08:00
Jake Bailey
941b30c975 Pin all of the deps besides @types/node and @octokit/rest (#53026) 2023-02-28 22:58:00 -08:00
Jake Bailey
e2283e99b4 Downgrade glob to v8 to fix build (#53015) 2023-02-27 23:05:16 -08:00
Daniel Rosenwasser
4374ffd628 Bump version to 5.1, fix 'ignoreDeprecations', and update baselines. (#52975) 2023-02-26 20:56:07 -08:00
Jake Bailey
2a8436c529 Use eslint-plugin-simple-import-sort (#52090) 2023-02-02 14:36:21 -08:00
Jake Bailey
da085ae57d Update to esbuild 0.17 (#52238) 2023-01-18 10:51:53 -08:00
Jake Bailey
ef81c80482 Bump LKG and package.json to 5.0.0-dev.20230112 (#51787) 2023-01-12 19:17:37 -08:00
Jake Bailey
0c23344a1e Update esbuild to v0.16.5 and use new --packages=external option (#51877) 2022-12-13 12:47:36 -08:00
Gabriela Araujo Britto
6327931d4f create special --no-typecheck script (#51830) 2022-12-08 17:04:58 -08:00
Jake Bailey
4f951d72f0 Update to esbuild v0.16 (#51803) 2022-12-07 19:54:35 -08:00
Ron Buckton
e67b06e909 Simplistic watch mode for runtests (#51461)
* Simplistic watch mode for runtests

* Use esbuild WatchMode object for testRunner updates

* switch AbortController to CancelToken
2022-11-09 15:07:08 -05:00
Jake Bailey
b4715d3891 Replace eslint-plugin-jsdoc by extending local jsdoc-format rule, saving ~20% of our linting time (#51438) 2022-11-08 13:59:48 -08:00
Jake Bailey
555d174c46 Bump volta/packageManager in package.json (#51445) 2022-11-08 07:50:27 -08:00
Jake Bailey
acfe7ac6d2 Remove mkdirp
If our build scripts target Node 10+, we can use the builtin mkdir
function in recursive mode instead.
2022-11-07 13:35:48 -08:00
Jake Bailey
aec2761d31 Modernize localize script, use new XML library
This file is pretty much the same as it was when it was committed in
2017; these days, we can write clearer code with async/await and new FS
APIs.

Additionally, we can improve the performance of this script by using a
newer/faster/maintained XML library. This will enable us to run the
script unconditionally in a later commit.
2022-11-07 13:35:48 -08:00
Jake Bailey
394c4ae68b Use jsonc-parser instead of LKG compiler in build
Profiling the build roughly half of the time spent loading the
build is spent importing typescript.js, for this one function.

Since this stack is already adding required devDependencies, switch
readJson to use jsonc-parser (published by the VS Code team), rather
than importing the entire LKG typescript.js library.
2022-11-07 13:35:48 -08:00
Jake Bailey
3cd72e76b2 Change build system to hereby
This eliminates a significant number of dependencies, eliminating all
npm audit issues, speeding up `npm ci` by 20%, and overall making the
build faster (faster startup, direct code is faster than streams, etc)
and clearer to understand.

I'm finding it much easier to make build changes for the module
transform with this; I can more clearly indicate task dependencies and
prevent running tasks that don't need to be run.

Given we're changing our build process entirely (new deps, new steps),
it seems like this is a good time to change things up.
2022-11-07 13:35:48 -08:00
Jake Bailey
4139807e75 Add build via esbuild
This configures the existing build tasks to use esbuild by default. If
using the plain files is desired, passing `--bundle=false` will build
using plain files and still produce a runnable system.

This is only a basic build; a more efficient build is provided later
when gulp is replaced by hereby.
2022-11-07 13:34:44 -08:00
Daniel Rosenwasser
c49c733c1f Bump version to 5.0. 2022-10-31 13:42:28 -07:00
Jake Bailey
ad56b5ca56 Convert scripts/Gulpfile to checked mjs/cjs so they can run without compilation (#50988) 2022-10-07 09:50:46 -07:00
Jake Bailey
45148dd715 Update LKG to 4.8.4 (#50987) 2022-09-29 12:42:20 -07:00
Daniel Rosenwasser
4ab9e76fb7 Use paths in package.json 'files' array that work with npm 6 and later. (#50930) 2022-09-23 16:05:20 -07:00
Jake Bailey
f16ca7dd36 Remove 'async' dependency, used only in errorCheck.ts, modernize file (#50667) 2022-09-23 09:54:36 -07:00
Jake Bailey
2f1ba45cba Update LKG and devDep of typescript to v4.8.3 (#50689) 2022-09-08 12:00:16 -07:00
Jake Bailey
3c3820b1a4 Simplify CI detection (#50661) 2022-09-06 16:36:37 -07:00
Jake Bailey
5c2f770d97 Remove unused cancellation from build (#50658) 2022-09-06 12:43:06 -07:00
Jake Bailey
c89f355a41 Remove redundant pretest script (#50518) 2022-08-29 12:12:32 -07:00
Jake Bailey
8f895997d2 Don't include .gitattributes in package (#50475) 2022-08-26 12:15:30 -07:00
Jake Bailey
226dd0b7bf Fix typechecking related lints that changed post 4.8, update LKG to 4.8.2 (#50472) 2022-08-26 11:41:45 -07:00
Jake Bailey
e675ea8dd8 Remove AUTHORS.md, .mailmap, authors.ts script (#50410) 2022-08-25 15:38:09 -07:00
Jake Bailey
5ba22e05a9 Remove top level loc folder (#50421) 2022-08-25 11:44:24 -07:00