gulpfile.js


Log

Author Commit Date CI Message
Michael Schmidt 80d475e4 2021-04-18T16:14:33 ESLint: Added no-use-before-define rule (#2866)
Michael Schmidt f46938e9 2021-04-17T22:35:25 ESLint: Added no-var rule (#2837)
Michael Schmidt b03e7eb0 2021-04-17T22:30:39 ESLint: Added semi rule (#2836)
Michael Schmidt 9cae4461 2021-04-17T22:26:40 ESLint: Added quotes rule (#2835)
Michael Schmidt 772d42be 2021-03-26T13:16:16 Added ESLint with minimal config (#2831)
Michael Schmidt 970674cf 2021-03-05T23:23:17 Added support for plaintext (#2738)
Michael Schmidt 7266e32f 2020-12-22T10:50:39 Treeview: Fixed icons on dark themes (#2631)
Michael Schmidt a409245e 2020-10-01T12:32:22 Show Language: Added title for plain text (#2555)
Michael Schmidt bf169e5f 2020-08-31T17:49:09 JSDoc: Fixed line ends (#2523)
Michael Schmidt bf4f3233 2020-08-06T17:44:57 Changelog for v1.21.0 (#2507)
Michael Schmidt 91fdd0b1 2020-06-28T01:58:55 Website: New assets directory for all web-only files (#2180)
Michael Schmidt 4ff555be 2020-06-28T01:34:29 Added JSDoc (#1782)
Michael Schmidt 5ff7932b 2020-06-12T16:09:46 Removed gulp `premerge` task (#2357)
Michael Schmidt abb800dd 2020-04-09T00:39:09 gulp: Improved `inlineRegexSource` (#2296)
Michael Schmidt 11053193 2020-04-05T14:31:56 gulp: Fixed language map (#2283)
Michael Schmidt 67afc5ad 2020-03-27T18:43:25 gulp: Inline regex source improvement (#2227) This removes more unnecessary escapes.
Michael Schmidt 1f7a245c 2020-03-07T11:53:31 Added tests for examples (#2216) This adds a new test to validate the structure and syntax of all examples and moves the existing example test into the mocha test suite.
Michael Schmidt dc136fd3 2020-01-13T14:37:43 Updated changelog for 1.19.0 (#2169) This also includes a small update to the changelog generation to account for `dependencies.js`.
Michael Schmidt 0b539136 2020-01-06T14:39:45 Added checks for examples (#2128) This adds a check to `premerge` to detect missing and lone examples. All currently missing examples were added with some exceptions.
RunDevelopment 2f495905 2019-12-18T16:55:46 gulp: Fixed changes task This fixes an issue in the changes task where removed languages were causing a property access on `undefined`.
Michael Schmidt 033c5ad8 2019-07-19T16:20:45 gulp: Split gulpfile.js and expanded `changes` task (#1835) This splits the `gulpfile.js` files into multiple files and expands the `changes` tasks to generate a commit-based changelog.
ExE Boss 0dd44d53 2019-07-17T21:22:24 gulp: Use `async` functions & drop testing on Node v6 (#1783) This refactors the `gulpfile.js` to use async/await for clearer code. It also drops testing for all NodeJS versions before NodeJS v8 because they don't support async/await.
Michael Schmidt d4373f3a 2019-06-08T23:50:11 gulp: JSON formatting for partly generated files (#1933) This introduces better formatting for the generated JSON objects in the Autoloader and Show language plugins.
mAAdhaTTah 3abaf68d 2019-03-24T14:35:05 Add command to generate CHANGELOG This forms the basis of the CHANGELOG, but the commits need to be formatted with the linkify command and sorted into the various sections.
Michael Schmidt 66b44e3b 2019-03-24T23:03:10 Travis: Fail when changed files are detected (#1819) This adds a new check to the Travis CI config which will cause the build to fail if any files change (This usually indicates that the committer forgot to rebuild Prism.). To implement this, we also add the `package-lock.json` file.
Michael Schmidt 52889b5b 2019-03-24T18:52:44 Autoloader: Added support for aliases (#1829) This adds alias support for the Autoloader plugin.
Michael Schmidt 6c9fe257 2019-03-02T17:43:23 gulp: Refactoring (#1780) Refactored gulpfile.js
ExE Boss 06627f6a 2019-03-01T13:41:02 Update gulp to version 4.0.0 (#1779)
Michael Schmidt 671f4ca0 2019-02-15T16:05:43 Improve gulp error messages with pump (#1741)
Michael Schmidt 217a6ea4 2019-01-24T15:41:32 Inline ALL regexes (#1716) This fixes that only the first regex of the form `/regex/.source` was inlined. (I forgot the `g` flag...)
Michael Schmidt e894fc89 2019-01-23T03:05:58 Inline regex source with gulp (#1537) Let gulp inline the source of inline regular expressions without flags in minified files. This means that gulp will replace `/regex/.source` with `'regex'`. ## Motivation Most IDEs support syntax highlighting and checking of JS inline regular expressions. This makes them easier to work with and less error-prone than having a string hold the expression. Inline regexes are also usually shorter than their string counterparts because you don't have to escape backslashes. There are also some linters (e.g. ESLint) for JS regular expression which (of course) won't work on strings. This lets you enjoy the advantages of inline regexes without worrying about the additional overhead of compiling another regular expression on the client side.
Michael Schmidt 4c66d72c 2019-01-22T11:55:33 Show Language plugin alias support and improvements (#1683) Adds support for aliases and optimizes the name guessing.
Golmote 689227ba 2018-04-05T19:08:57 Gulp: There is probably no need to minify `components/index.js`
Golmote ba60df09 2018-03-15T08:55:19 Core: Generate components.js from components.json and make it exportable to nodeJS. (#1354)
Andreas Rohner 54400fba 2016-02-17T15:26:01 Add property 'aliasTitles' to components.js This is necessary, because a language that has a lot of aliases like markup (HTML, SVG, XML, MathML), is only added to the languageMap once as "Markup". So any plugin that depends on the languageMap is limited by that. This patch allows the definition of additional titles for languages, depending on the alias that is used.
Golmote 8784bf98 2015-10-26T22:34:58 Update changelog
Golmote 5ec4e4dc 2015-10-21T06:43:17 Updated changelog + added gulp task to autolink PRs and commits in changelog
Golmote 42094eee 2015-09-10T09:09:03 Autoloader Plugin
Golmote 39bd8278 2015-08-18T19:00:24 Add gulp task to build languages map in Show language plugin (Fix #671)
Jannik Zschiesche c101a3fa 2014-07-29T10:53:54 Added default gulp task It just builds components, plugins and the main prism.js file.
Ben Briggs 44af8f43 2014-05-26T11:18:37 Introduce gulp build process.