UNPKG

@sap/generator-cap-project

Version:

Creates a new SAP Cloud Application Programming Model project.

304 lines (192 loc) 5.94 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org). ## [2.0.6] - 2026-03-31 ### Changed - Internal refactoring, using typescript ## [2.0.5] - 2026-01-30 ### Changed - Yeoman generator now uses `cds init` cli to create project ## [2.0.4] - 2026-01-29 ### Added - `LobbyHandler` makes project names not longer than 64 characters when adding timestamp. ### Fixed - Generator adds `nodejs` if type is missing. ## [2.0.3] - 2026-01-15 ### Fixed - Generation error in BAS due to reused `@sap/cds-dk` instance ## [2.0.2] - 2025-06-11 ### Changed - updated dependencies ## [2.0.1] - 2025-05-09 ### Changed - errors during `npm install` after project creation will no abort the whole project creation process - Lobby: projects will contain `generation.log` file ## [2.0.0] - 2025-05-08 ### Fixed - make tests more robust ## [1.8.3] - 2025-01-23 ### Changed - updated dependencies ### Fixed - creat correct SAP Lobby config entry in case of errors ## [1.8.2] - 2024-12-03 ### Added - console output when installing npm dependencies is finished ## [1.8.1] - 2024-11-25 ### Fixed - Run `npm install` after project creation ## [1.8.0] - 2024-11-21 ### Added - support for project creation from Lobby ## [1.7.13] - 2024-09-16 ### Changed - internal refactorings ## [1.7.12] - 2024-07-09 ### Fixed - more robust validate-function assignment ## [1.7.11] - 2024-07-04 ### Changed - internal refactorings - improve error message handling ## [1.7.9] - 2024-02-14 ### Added - create generation log file `.gen/generation.log` and open it in `SAP Business Application Studio` after project creation. ### Changed - is Node.js project now ## [1.7.8] - 2023-12-13 ### Fixed - safeguard `env.error` method ## [1.7.7] - 2023-11-02 ### Changed - update yeoman-generator to `5.10.0` - update some dev dependencies ## [1.7.6] - 2023-10-24 ### Removed - handling for `cds-dk` version 3 or less ## [1.7.5] - 2023-10-13 ### Removed - version check for `@sap/cds-dk@1.7.x` version ## [1.7.4] - 2023-09-13 ### Fixed - improved error message in Application Wizard - add missing dependencies to fix bundling ## [1.7.3] - 2023-09-05 ### Added - add option `for = 'production'`; ## [1.7.2] - 2023-04-13 ### Changed - generator is now bundled into one file ## [1.7.1] - 2023-01-31 ### Fixed - remove circular call stack from Application Wizard logging ### Changed - project creation logging is less talkative ## [1.7.0] - 2023-01-13 ### Changed - Removing file system util - using native fs now - logger overrides console log methods for logging of cds-dk inside Application Wizard ## [1.6.8] - 2022-10-26 ### Changed - Removing `fs-extra` internally, requiring now node >= `14` ## [1.6.7] - 2022-08-03 ### Changed - Updated some dependencies. ## [1.6.6] - 2022-05-09 ### Fixed - Call `pathGetter` function using correct `this` context. - Using `cds env get` to get cds environment entry. ## [1.6.5] - 2022-04-26 ### Fixed - Removed `Package Manager` error message when running generator. - `FsUtil.getTouchedFiles` now uses Yeoman store to print added/changed files. ## [1.6.4] - 2022-03-08 ### Fixed - Add new `FsUtil` api methods. ## [1.6.3] - 2022-02-28 - Technical release. ## [1.6.2] - 2022-02-28 ### Changed - Update `yeoman-generator` dependency. ## [1.6.1] - 2022-02-04 ### Fixed - Various bug fixes ## [1.6.0] - 2021-09-20 ### Changed - Consume latest version of `@sap-devx/yeoman-ui-types`. - Consume latest version of `yeoman-generator`. ### Added - New log label `[cds]` for log output. ## [1.5.4] - 2021-07-19 ### Fixed - Destination root handling in `SAP Business Application Studio`. ## [1.5.2] - 2021-06-28 ### Changed - Internal refactorings ## [1.5.1] - 2021-06-22 ### Changed - Use `cds env` to determine path to `@sap/cds-dk`. ## [1.5.0] - 2021-05-04 ### Changed - Update dependencies ## [1.4.3] - 2021-04-29 ### Changed - Internal updates for `@sap/cds-dk`support. ## [1.4.2] - 2021-01-29 ### Changed - Consume latest version of `@sap-devx/yeoman-ui-types`. - Improved node modules lookup handling in `SAP Business Application Studio`. ## [1.4.1] - 2021-01-05 ### Fixed - Fix look up path bug in `SAP Business Application Studio` for node modules. ## [1.4.0] - 2020-10-15 ### Changed - Better support for `SAP Business Application Studio` via UI enhancements and logging. ## [1.3.0] - 2020-10-06 ### Changed - All file operations (write, copy, ...) commit directly after execution. ## [1.2.1] - 2020-09-22 ### Fixed - For `Java` projects also copy dot files, e.g. `.cdsrc.json`. ### Changed - Internal refactorings, now requiring `@sap/cds-dk` version `>=1.7.0`. ## [1.2.0] - 2020-09-01 ### Changed - Update `yeoman-generator` dependency. - Project names must not contain an underscore to ensure compatibility with Maven. - Added human readable display name. ## [1.1.3] - 2020-07-16 ### Fixed - Internal refactorings. - Internal bug fixes. ## [1.1.2] - 2020-07-02 ### Fixed - Internal bug fixes. ## [1.1.1] - 2020-06-08 ### Fixed - Internal refactorings. ## [1.1.0] ### Fixed - Bug in folder name validation fixed when folder name is not in parameter list on command line. ### Features - Using `yeoman-generator` library version `4.10.1`. ## [1.0.7] ### Fixed - Only allow word characters, numbers and '-' as folder name characters. ## [1.0.6] ### Fixed - Generator sets project folder correctly when finished. - Changed initial label to `Project Details` for better readability. - Improved error messages. ## [1.0.5] ### Features - Add mandatory prompt for project name. ## [1.0.4] ### Features - Discovery of `@sap/cds-dk` now also uses `cds -v` to get the home folder of cds. ## [1.0.3] ### Fixed - Fix error handling ### Features - Add parser for generic generator options.