aboutsummaryrefslogtreecommitdiffstats
path: root/build/release/cdn.js
Commit message (Collapse)AuthorAgeFilesLines
* Release: migrate release process to release-itTimmy Willison2024-07-111-164/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *Authors* - Checking and updating authors has been migrated to a custom script in the repo *Changelog* - changelogplease is no longer maintained - generate changelog in markdown for GitHub releases - generate changelog in HTML for blog posts - generate contributors list in HTML for blog posts *dist* - clone dist repo, copy files, and commit/push - commit tag with dist files on main branch; remove dist files from main branch after release *cdn* - clone cdn repo, copy files, and commit/push - create versioned and unversioned copies in cdn/ - generate md5 sums and archives for Google and MSFT *build* - implement reproducible builds and verify release builds * uses the last modified date for the latest commit * See https://reproducible-builds.org/ - the verify workflow also ensures all files were properly published to the CDN and npm *docs* - the new release workflow is documented at build/release/README.md *misc* - now that we don't need the jquery-release script and now that we no longer need to build on Node 10, we can use ESM in all files in the build folder - move dist wrappers to "wrappers" folders for easy removal of all built files - limit certain workflows to the main repo (not forks) - version in package.json has been set to beta.1 so that the next release will be beta.2 - release-it added the `preReleaseBase` option and we now always set it to `1` in the npm script. This is a noop for stable releases. Fixes jquery/jquery-release#114 Closes gh-5512
* Build: migrate more uses of fs.promises; use node: protocolTimmy Willison2024-03-111-24/+33
| | | | Ref gh-5440
* Build: Add `exports` to package.json, export slim & esm buildsMichał Gołębiowski-Owczarek2023-07-101-98/+131
| | | | | | | | | | | | | | | | | | | | Summary of the changes: * define the `exports` field in `package.json`; `jQuery` & `$` are also exported as named exports in ESM builds now * declare `"type": "module"` globally except for the `build` folder * add the `--esm` option to `grunt custom`, generating jQuery as an ECMAScript module into the `dist-module` folder * expand `node_smoke_tests` to test the slim & ESM builds and their various combinations; also, test both jQuery loaded via a path to the file as well as from module specifiers that should be parsed via the `exports` feature * add details about ESM usage to the release package README * run `compare_size` on all built minified files; don't run it anymore on unminified files where they don't provide lots of value * remove the remove_map_comment task; SWC doesn't insert the `//# sourceMappingURL=` pragma by default so there's nothing to strip Fixes gh-4592 Closes gh-5255
* Release: add support for md5 sums in windowsTimmy Willison2023-03-091-2/+15
| | | Close gh-5219
* Build: Require strict mode in Node.js scripts via ESLintMichał Gołębiowski-Owczarek2019-10-091-0/+2
| | | | | | | | So far, only browser-based JS files were required to be in strict mode (in the function form). This commit adds such a requirement to Node.js scripts where the global form is preferred. All Node.js scripts in sloppy mode were converted to strict mode. Closes gh-4499
* Release: md5sum -> md5 -r for MACTimmy Willison2017-03-161-1/+1
|
* Build: Make sourcemap updates in two .replace() passesDave Methvin2016-09-191-4/+5
| | | | | Fixes gh-3260 Closes gh-3321
* Release: push a custom slim build to the CDNTimmy Willison2015-11-161-9/+10
| | | | | Fixes gh-2653 Close gh-2711
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-9/+10
| | | | Fixes gh-2056
* Release: remove sourcemap comment from all copies of minified fileTimmy Willison2015-01-301-6/+0
| | | | Fixes gh-1707
* Release: fix CDN archive creationTimmy Willison2015-01-291-30/+45
| | | | Fixes gh-1940
* Release: Distribute files to distribution repoTimmy Willison2015-01-291-0/+106
Fixes gh-1869 Fixes gh-1673 Fixes gh-2045