Commit Graph

320 Commits

Author SHA1 Message Date
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
Jake Bailey 6ee5db95c2 Use package.json files array instead of .npmignore (#50408) 2022-08-23 14:14:20 -07:00
Jake Bailey 6362fb2dce Replace eslint rulesdir with eslint-plugin-local, convert eslint rules to JS (#50380) 2022-08-22 13:46:03 -07:00
Jake Bailey 6cbb39ba8b Re-caret dependencies so deps like eslint continue to be bumped (#50368) 2022-08-19 12:58:54 -07:00
Jake Bailey ef88fbb8ab Remove some unused deps and dead code (#50367) 2022-08-19 09:42:14 -07:00
Jake Bailey df25b77d0f Run eslint at root, rather than on src and scripts individually (#50327) 2022-08-18 11:24:10 -07:00
Jake Bailey 66d8b95941 Ensure all scripts are checked, fix errors (#50326) 2022-08-17 16:42:50 -07:00
Jake Bailey 9f7c0cbad7 Run ESLint over our JS files, fix all lints (#50172) 2022-08-15 08:42:26 -07:00
Daniel Rosenwasser 6aa9b87f54 Bump version to 4.9. (#50239) 2022-08-09 13:33:52 -07:00
Jake Bailey a3a5e009a5 Downgrade es5-ext via overrides (#50061) 2022-08-03 10:47:30 -07:00
Jake Bailey 1361567ea4 Update to npm 8, pin in package.json via volta and corepack (#49941) 2022-07-27 14:02:24 -07:00
Jake Bailey 9f1983d8f4 Downgrade node-fetch back to v2 (#49592) 2022-06-17 11:19:42 -07:00
Jake Bailey 734b9828a6 Update all depedencies, including ESLint 8, refresh lockfile (#49550) 2022-06-16 13:39:42 -07:00
Jake Bailey 884f5ac258 Ensure scripts compile, are checked in strict mode (#49524) 2022-06-14 16:28:42 -07:00
Daniel Rosenwasser 94391dc9b5 Bump version to 4.8. 2022-05-07 00:22:34 +00:00
Jake Bailey 5fd0b6432e Clean up a load of unused dependencies, broken jake script (#48214) 2022-03-11 09:36:03 -08:00
Daniel Rosenwasser 67d376c882 Update version to 4.7 and update baselines. (#47856) 2022-02-11 16:18:55 -08:00
Daniel Rosenwasser 04d77fe900 Update to TypeScript 4.5.5, fix semantic lints. (#47529)
* Update to TypeScript 4.5.5, fix semantic lints.

* Remove extra parens.

* Remove now-outdated non-null comment around #18217.
2022-01-20 11:33:30 -08:00
Jack Works 9b5abac4f4 chore: add packageManager field to support corepack (#46756) 2021-12-09 14:46:27 +00:00
Ron Buckton c792a66065 Pin chalk to ^4.1 (#46985)
* Pin chalk to ^4.1

* Revert #46931
2021-12-02 11:05:17 -08:00
Daniel Rosenwasser d89076381e Bump version to 4.6 and accept baselines. (#46612) 2021-11-01 11:45:22 -07:00
Orta Therox b250f0c85f Fix main by using '.default' on the new ms release (#45910)
* Fix main by using '.default' on the new ms release

* Lock to v2

* Update v1 lockfile

* Revert code change
2021-09-16 09:52:54 -07:00
Andrew Branch 1a981d1df1 Remove unused code coverage command (#45684) 2021-09-01 15:39:10 -07:00
Andrew Branch 983ddf5bb5 Update packages (#45587) 2021-08-26 12:06:12 -07:00
Daniel Rosenwasser 66980fc8dc Bump version to 4.5. 2021-08-06 23:28:17 +00:00
Oleksandr T 7c47be76b0 fix(44738): fix eslint rules (#44739) 2021-06-25 14:50:19 -07:00
Daniel Rosenwasser d662d94957 Bump version to 4.4. (#44028)
* Bump version to 4.4.

* Update Baselines and/or Applied Lint Fixes

Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2021-05-10 12:42:48 -07:00
Andrew Branch ba68dc89b2 Remove pin, it’s fixed (#43766) 2021-04-21 14:18:04 -07:00
Andrew Branch a433c3c0ce Pin octokit types (#43762)
* Pin @octokit/types to fix build error

* Allow update package lock to be run on a workflow dispatch
2021-04-21 11:50:29 -07:00
Ron Buckton fbd7f7db20 Update typescript-eslint to latest (#43381) 2021-03-25 14:46:16 -07:00
Daniel Rosenwasser 290b0ea94d Pin Node version for Volta users. (#42746) 2021-02-10 12:56:22 -08:00