Commit Graph

285 Commits

Author SHA1 Message Date
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
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