Commit Graph

29 Commits

Author SHA1 Message Date
Cliff Meyers 33f643ea37 [JENKINS-37007] tick js-extensions and packages depending on it to 0.0.20 2016-07-28 13:29:21 -04:00
tfennelly c5011d8cc1 0.0.20-beta2 of js-extensions 2016-07-28 16:19:03 +01:00
Keith Zantow 7eaf71b391 [FIX JENKINS-35860] - extension point component type filter (#308)
* Add component type filter for extensionPoints
* Bump js-extensions beta version
* EXTENSIONS -> README
* more documentation for dataType vs. componentType
* modify usage of 'type' to 'dataType' for consistency
* Split ClassMetadataStore, modify extension filtering to a common method
* Separate componentType to its own file
2016-07-20 08:57:28 -07:00
Keith Zantow 550d02658e Fix issue with extension point bundle loading timing (#303) 2016-06-30 15:10:34 -04:00
Keith Zantow 0e57d411ab [FIX JENKINS-35990] refactor js extensions (#291)
* Redux skeleton code for testResults
* Render the test suites on the test tab
* JENKINS-35990 - Refactoring JS extensions API
* Refactor ExtensionStore and related to ES6 classes, add tests and docs
* Bump js-extensions versions
2016-06-28 21:28:16 -04:00
tfennelly ce878e3bb6 js-extensions 0.0.15 2016-06-07 12:48:44 +01:00
tfennelly 72dfa1f1c0 0.0.15-beta4 2016-06-07 12:21:07 +01:00
tfennelly 31e70de9d3 js-builder@0.0.33 2016-06-07 12:21:07 +01:00
tfennelly b59dde907a Externalize whatever deps we can
react and react-dom need to be done manually because we need to make sure they are done together
2016-06-07 12:21:07 +01:00
Thorsten Scherler 1a69dcaf93 [master] raise versions 2016-05-09 11:39:57 +02:00
Thorsten Scherler 16f7f6ece5 [feature/UX-32] fix peerdeps 2016-05-06 18:20:21 +02:00
Thorsten Scherler eb4f19af97 [feature/UX-32] WIP Implement basic infrastructure, now implement fetch the data and use the store for organisationPipeline 2016-04-27 01:34:31 +02:00
Thorsten Scherler 604fc36012 [feature/UX-32] Better error handling for extension points 2016-04-26 17:27:44 +02:00
tfennelly 1acff168c4 @jenkins-cd/js-extensions 0.0.12 2016-04-26 09:11:15 +01:00
tfennelly ae71ab485c js-extensions 0.0.12-beta1 2016-04-26 08:48:31 +01:00
tfennelly b78cc2913d React component based CSS loading
Based on component mount and unmount
2016-04-26 08:47:39 +01:00
tfennelly 9ca264ec58 Updated @jenkins-cd/js-modules to version 0.0.4 2016-04-26 08:37:48 +01:00
tfennelly cfca3034fe Updated to non-beta npm deps 2016-04-20 14:32:34 +01:00
tfennelly 584d547ff7 [UX-301] Add a js-builder extension/plugin to js-extensions 2016-04-20 12:53:28 +01:00
tfennelly 91fa146aa9 Updated dependencies
new js-builder and js-extensions published
2016-04-07 12:17:21 +01:00
tfennelly 5f892b5c36 [UX-239] Smoother "externalised" JS dependencies
js-builder now looks for "extDependencies" in the "jenkinscd" section of the package.json and generates
adjunct js-module bundles for the dependencies specified in their. js-modules triggers async loading from
the same adjunct urls.

This all means that we no longer need to create HPIs for these bundles (or most of them anyway - can still
if we need to). Instead, each plugin will bundle its own dependencies. At runtime, if that dependency
has not already been loaded by another plugin, js-modules will trigger loading of the dep from the adjunct url.

js-builder generates the dep bundle such that it ends up being bundled in the HPI. So, multiple plugins may end up
having the same js bundles (generated by js-builder), but that's ok as we include the version number in the URL.
At the moment, we blank out the patch version, which means we always treat e.g. v3.2.1 as being compatible with
v3.2.9, but do not treat v3.2.1 and v3.3.1 as being compatible. Hope this makes sense.
2016-04-07 07:33:07 +01:00
tfennelly e55856b1b7 Fix js-extensions build wtf 2016-04-07 07:32:05 +01:00
tfennelly 1713d1ca16 [FIX UX-248] Fix the versions of all @jenkins-cd/* npm deps 2016-04-06 17:41:34 +01:00
Josh McDonald e0644462c0 UX-236 - Fix a bug in ExtensionPoint blocking unmounting, bump version number 2016-04-05 17:45:07 +10:00
Josh McDonald 0de69258e7 #UX-33 * Some small improvements in js-extensions, and bump version number in anticipation of re-publish 2016-03-22 19:32:59 +11:00
tfennelly 5608bb8cf9 Updated to use @jenkins-cd scoped packages 2016-03-02 18:39:46 +00:00
tfennelly 06ad83bb31 Fixes to js-extensions to better handle unimplemented ExtensionPoints 2016-03-02 11:53:19 +00:00
tfennelly 31ecd20548 ExtensionPoint async loading 2016-03-02 11:53:19 +00:00
tfennelly 5b7a7bb5f6 Extracted ExtensionPoint and extension point store out into a standalone NPM package
Blue Ocean core will be able to create and "export" this (js-modules export). Plugins will "import" that shared instance, allowing them to register/add extension points etc etc.

Will need to enhance the render function to do the async loading of modules when it encounters extension points that are not yet registered.
2016-02-28 18:30:52 +00:00