@ui5/builder 2.11.3 → 3.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,12 +2,12 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
4
4
 
5
- A list of unreleased changes can be found [here](https://github.com/SAP/ui5-builder/compare/v2.11.3...HEAD).
5
+ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-builder/compare/v3.0.0-alpha.0...HEAD).
6
6
 
7
- <a name="v2.11.3"></a>
8
- ## [v2.11.3] - 2021-12-12
7
+ <a name="v3.0.0-alpha.0"></a>
8
+ ## [v3.0.0-alpha.0] - 2021-12-14
9
9
  ### Bug Fixes
10
- - Enable buildThemes for libraries without .library [`7b941a7`](https://github.com/SAP/ui5-builder/commit/7b941a797210463a9fa8ca50753662c5db373aa6)
10
+ - **Bundler:** Sort raw modules by default [`0e11b69`](https://github.com/SAP/ui5-builder/commit/0e11b6965a1d2e63a96e9b738e38975b5ac755bc)
11
11
 
12
12
 
13
13
  <a name="v2.11.2"></a>
@@ -639,7 +639,7 @@ to load the custom bundle file instead.
639
639
  - Add ability to configure component preloads and custom bundles [`2241e5f`](https://github.com/SAP/ui5-builder/commit/2241e5ff98fd95f1f80cc74959655ae7a9c660e7)
640
640
 
641
641
 
642
- [v2.11.3]: https://github.com/SAP/ui5-builder/compare/v2.11.2...v2.11.3
642
+ [v3.0.0-alpha.0]: https://github.com/SAP/ui5-builder/compare/v2.11.2...v3.0.0-alpha.0
643
643
  [v2.11.2]: https://github.com/SAP/ui5-builder/compare/v2.11.1...v2.11.2
644
644
  [v2.11.1]: https://github.com/SAP/ui5-builder/compare/v2.11.0...v2.11.1
645
645
  [v2.11.0]: https://github.com/SAP/ui5-builder/compare/v2.10.0...v2.11.0
@@ -289,7 +289,7 @@ class BundleResolver {
289
289
 
290
290
  return collectModulesForSection(section).
291
291
  then( (modules) => {
292
- if ( section.mode == SectionType.Raw && section.sort ) {
292
+ if ( section.mode == SectionType.Raw && section.sort !== false ) {
293
293
  // sort the modules in topological order
294
294
  return topologicalSort(pool, modules).then( (modules) => {
295
295
  log.verbose(" resolved modules (sorted): %s", modules);
@@ -18,7 +18,7 @@ module.exports = function({workspace, options: {pattern, version}}) {
18
18
  return stringReplacer({
19
19
  resources: allResources,
20
20
  options: {
21
- pattern: "${version}",
21
+ pattern: /\$\{(?:project\.)?version\}/g,
22
22
  replacement: version
23
23
  }
24
24
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/builder",
3
- "version": "2.11.3",
3
+ "version": "3.0.0-alpha.0",
4
4
  "description": "UI5 Tooling - Builder",
5
5
  "author": {
6
6
  "name": "SAP SE",
@@ -104,8 +104,8 @@
104
104
  "url": "git@github.com:SAP/ui5-builder.git"
105
105
  },
106
106
  "dependencies": {
107
- "@ui5/fs": "^2.0.6",
108
- "@ui5/logger": "^2.0.1",
107
+ "@ui5/fs": "^3.0.0-alpha.0",
108
+ "@ui5/logger": "^3.0.0-alpha.0",
109
109
  "cheerio": "1.0.0-rc.9",
110
110
  "escape-unicode": "^0.2.0",
111
111
  "escope": "^3.6.0",