Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/next/jsdocDemoLink #742

Closed
wants to merge 74 commits into from
Closed

feat/next/jsdocDemoLink #742

wants to merge 74 commits into from

Conversation

flovogt
Copy link
Member

@flovogt flovogt commented May 4, 2022

  • [INTERNAL] Enable CI for branches next, main
  • [INTERNAL] Bump @ui5/logger from 2.0.1 to 3.0.0-next.0
  • [FIX] Bundler: Sort raw modules by default
  • [INTERNAL] Enhance replaceVersion task to handle ${project.version} pattern
  • [INTERNAL] Enable buildThemes for libraries without .library
  • In-range update of npm dependencies
  • [INTERNAL] Bump @ui5/logger from 3.0.0-next.0 to 3.0.0-alpha.0
  • [INTERNAL] Bump @ui5/fs from 2.0.6 to 3.0.0-alpha.0
  • Release 3.0.0-alpha.0
  • [INTERNAL] Bump @ui5/logger from 3.0.0-alpha.0 to 3.0.1-alpha.0
  • [INTERNAL] Bump @ui5/fs from 3.0.0-alpha.0 to 3.0.0-alpha.1
  • [FEATURE] Add minify task and processor ([FEATURE] Add minify task and processor #666)
  • In-range update of npm dependencies
  • In-range update of npm dependencies
  • [INTERNAL] Align JSdoc generation with npm 8 workspace setup
  • [FIX] generateResourcesJson: Analyze debug bundles ([FIX] generateResourcesJson: Analyze debug bundles #669)
  • [BREAKING] moduleBundler: Always default to optimize: true ([BREAKING] moduleBundler: Always default to optimize: true #685)
  • [INTERNAL] Fix tests failing in npm workspace environment
  • [INTERNAL] minify: Omit .js.map from build results
  • [FIX] generateResourcesJson: Don't list resources omitted from build result
  • [INTERNAL] Update tests
  • [BREAKING] generateResourcesJson: Make 'dependencies' parameter mandatory
  • In-range update of npm dependencies
  • [BREAKING] Require Node.js >= 16.13.2 / npm >= 8
  • [INTERNAL] Upgrade ESlint / Use ES2021
  • [FEATURE] Support ES2021 language features
  • [FIX] Bundler: Ensure reproducibility for bundles with multiple parts ([FIX] Bundler: Ensure reproducibility for bundles with multiple parts #689)
  • In-range update of npm dependencies
  • [INTERNAL] Bump @ui5/logger from 3.0.1-alpha.0 to 3.0.1-alpha.1
  • [INTERNAL] Bump @ui5/fs from 3.0.0-alpha.1 to 3.0.0-alpha.2
  • Release 3.0.0-alpha.1
  • [INTERNAL] npm release: Add missing CHANGELOG file
  • [FEATURE] replaceVersion/Copyright: Also process test-resources ([FEATURE] replaceVersion/Copyright: Also process test-resources #693)
  • [INTERNAL] Upgrade espree to v9.3.1
  • [FEATURE] Generate source maps for bundles ([FEATURE] Generate source maps for bundles #695)
  • In-range update of npm dependencies
  • [FIX] XMLTemplateAnalyzer: Analyze core:require of FragmentDefinition
  • [INTERNAL] Remove unused expected build results
  • [INTERNAL] git-chglog: Fix mutli-release-branch setup
  • [INTERNAL] generateFlexChangesBundle: Fix minUI5Version check for UI5 v1.100.0+
  • Release 3.0.0-alpha.2
  • [FIX] LocatorResourcePool: Wait for resources in prepare step ([FIX] LocatorResourcePool wait for resources in prepare step #719)
  • In-range update of npm dependencies
  • [INTERNAL] minify task: Add more test cases
  • [INTERNAL] moduleBundler: Fix JSDoc returns type
  • [INTERNAL] Remove unused commented code
  • [INTERNAL] generateBundle: Add unit test
  • [INTERNAL] moduleBundler: Fix 'sourceMap' option default
  • [INTERNAL] minifier: Add missing 'options' parameter
  • [INTERNAL] generateBundle: Fix empty bundle, add more tests
  • [INTERNAL] generateBundle: Fix ReaderCollection name
  • [INTERNAL] generateBundle: Add test for exception
  • [INTERNAL] Enhance generateStandaloneAppBundle tests
  • [INTERNAL] Add tests for error handling
  • [INTERNAL] Refactor code to create moduleNameMapping
  • [INTERNAL] minifier: Adopt default param handling
  • [INTERNAL] replaceVersion: Also process css files
  • Release 3.0.0-alpha.3
  • [INTERNAL] Azure: Re-run coverage test only
  • In-range update of npm dependencies
  • [FEATURE] builder: Add cssVariables option ([FEATURE] builder: add cssVariables option #728)
  • Release 3.0.0-alpha.4
  • [INTERNAL] ApplicationBuilder: Align task order of "minify"
  • [FIX] LibraryBuilder: Align task order of "generateComponentPreload"
  • [FEATURE] generateThemeDesignerResources task: Create css_variables.less ([FEATURE] generateThemeDesignerResources task: Create css_variables.less #730)
  • Release 3.0.0-alpha.5
  • [INTERNAL] generateLibraryManifest: Ignore dependency resources ([INTERNAL] generateLibraryManifest: Ignore dependency resources #735)
  • In-range update of npm dependencies
  • [FIX] generateResourcesJson: Add raw-module info for debug bundles ([FIX] generateResourcesJson: Add raw-module info for debug bundles #736)
  • [FIX] JSModuleAnalyzer: Fix detection of bundle name ([FIX] JSModuleAnalyzer: Fix detection of bundle name #705)
  • [INTERNAL] Bump @ui5/fs from 3.0.0-alpha.2 to 3.0.0-alpha.3
  • Release 3.0.0-alpha.6
  • [FEATURE] Enable modern preload bundles without dependencies ([FEATURE] Enable modern preload bundles without dependencies #739)
  • [INTERNAL] JSDoc generation: enable links with prefix 'demo:'

RandomByte and others added 30 commits November 24, 2021 11:19
Unlike the documentation states, topological sorting of modules within
'raw' sections was not enabled by default.

Sorting is based on dependencies only, so enabling it by default should
only solve issues in case dependencies are declared but sort was not
enabled.
If no dependencies are defined, the order will not change.

This could only break use cases where dependencies have been wrongly
declared and a user relies on the current unsorted order.
…attern

Ensures that the build task "replaceVersion" replaces
the pattern ${project.version} equally to ${version}.

JIRA: CPOUI5FOUNDATION-423
Fixes that libraries using a "library.js" file but no ".library"
file can also build theming files.
Combines debug-file creation, source-map generation and minification.
Replaces existing tasks/processors 'uglify' and 'createDebugFiles'.

Also introduce new global tags `IsDebugVariant` and `HasDebugVariant`.

BREAKING CHANGE:
The following tasks have been removed:
- createDebugFiles
- uglify

The following processors have been removed:
- debugFileCreator
- resourceCopier
- uglifier

As a replacement, the new 'minify' task and 'minifier' processor can be
used.

Note: The minify task is executed earlier, before the bundling
process takes place. Existing 'beforeTask' and 'afterTask' configuration of
custom tasks might need to be adapted to cater for this change.
bundleOptions are often omitted. So document them as optional and always
default 'optimize' to true, even if bundleOptions are specified.
Source maps are currently only required during the build process
(e.g. for creating source maps of bundles) but not as build output.
Therefore they will be omitted from the build result.
…result

Resources that are tagged to be omitted from the build result should not
be listed in the resources.json as it should represent a listing of
files that are part of the build output.
Resources of dependencies should also not be used for dependency lookups
if they are omitted from the results as they also won't be listed in the
resources.json of that dependency.
BREAKING CHANGE:
Support for older Node.js and npm releases has been dropped.
Only Node.js v16.13.2 and npm v8 or higher are supported.
By upgrading espree to the latest version, ES2021 language features
are now supported.
…#689)

Sort modules in preload sections alphabetically.
This caused different bundle contents based on the order of modules that
the resolver provides, which is not deterministic.

Remove terser from size estimation as modules are now already optimized
if the 'optimize' bundle option is enabled.
This caused incorrect estimations about the bundle size which resulted
into size differences of the individual parts.
matz3 and others added 25 commits March 10, 2022 14:51
Follow-up of #693
There are use cases for a version placeholder in *.css files.

This also adds some basic tests for placeholder replacements during
a library build.
ESLint and other checks are covered via GH Actions.
In the LibraryBuilder the task is executed before the
generateManifestBundle and before any of the bundle tasks.
Therefore, the minify task should be executed right after the
replaceVersion task.
Task should be executed after generateManifestBundle, to align with
the current documentation and ApplicationBuilder implementation.

BREAKING CHANGE:
For library projects, the task "generateComponentPreload" is now
executed after tasks "generateLibraryManifest" and
"generateManifestBundle" instead of before them.
)

The raw-module info within .library is only maintained using the
non-debug name (module name).
Therefore, the analysis must use that name when running with debug bundles.

Furthermore the handling of the "module" property for debug resources
has been changed to only take place within the ResourceCollector.

JIRA: CPOUI5FOUNDATION-480
Allows using the following JSDoc syntax {@link demo:my/module/page/demo.html My Demo}
@flovogt flovogt requested a review from matz3 May 4, 2022 03:40
@flovogt flovogt closed this May 4, 2022
@flovogt flovogt deleted the feat/next/jsdocDemoLink branch May 4, 2022 03:41
@flovogt flovogt restored the feat/next/jsdocDemoLink branch May 4, 2022 03:41
@flovogt flovogt deleted the feat/next/jsdocDemoLink branch May 4, 2022 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants