{"_id":"@asafyos/sapui5","_rev":"4-2eec55a82d8ee81789e41e6e544476e0","name":"@asafyos/sapui5","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@asafyos/sapui5","version":"1.0.0","keywords":[],"author":{"name":"Asaf Yosef"},"license":"ISC","_id":"@asafyos/sapui5@1.0.0","maintainers":[{"name":"asafyos","email":"asafsaf3@gmail.com"}],"bin":{"sapui5":"dist/bin.js"},"dist":{"shasum":"bc165f4c098e52e981abbaddc9573aa1508e5ae0","tarball":"https://registry.npmjs.org/@asafyos/sapui5/-/sapui5-1.0.0.tgz","fileCount":54,"integrity":"sha512-xtLBVH1VyBbBeGl+IaKJ/QmEgsvYixIA87bVnouUDuZG2Ls/fHSrMweqowQMFFxRyOdFRtF3VlZDthvcoS59vg==","signatures":[{"sig":"MEQCIFqvLttjOG7Z0UIwz8fuOufVUlz0U0GJK0SDhBb6pmuBAiBZGrL0gbXmK1JH6YKAvl0DgOE9R0jK0mV3Mp0Z/5dlZw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":149277},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"91ebb5d11c1dcfa68017b1ca74261e2813acccb1","scripts":{"build":"tsc -p tsconfig.json","start":"ts-node src/draft.ts","commit":"cz","prepublishOnly":"npm run build"},"_npmUser":{"name":"asafyos","email":"asafsaf3@gmail.com"},"_npmVersion":"10.5.0","description":"CLI for sapui5 projects","directories":{},"_nodeVersion":"20.12.2","dependencies":{"ejs":"^3.1.6","chalk":"^4.1.2","listr2":"^3.10.0","enquirer":"^2.3.6","fs-extra":"^10.0.0","commander":"^7.2.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.0.1","rimraf":"^3.0.2","ts-node":"^10.2.1","prettier":"^2.4.1","@types/ejs":"^3.0.5","typescript":"^4.4.4","@types/node":"^16.11.4","@types/chalk":"^2.2.0","@types/fs-extra":"^9.0.12","@types/prettier":"^2.4.1","eslint-config-prettier":"^8.3.0","cz-conventional-changelog":"^3.3.0"},"_npmOperationalInternal":{"tmp":"tmp/sapui5_1.0.0_1720075338146_0.7122974667759063","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@asafyos/sapui5","version":"1.0.1","keywords":[],"author":{"name":"Asaf Yosef"},"license":"ISC","_id":"@asafyos/sapui5@1.0.1","maintainers":[{"name":"asafyos","email":"asafsaf3@gmail.com"}],"bin":{"sapui5":"dist/bin.js"},"dist":{"shasum":"37eb1018afddea97660a570a019b1fa559162b4f","tarball":"https://registry.npmjs.org/@asafyos/sapui5/-/sapui5-1.0.1.tgz","fileCount":54,"integrity":"sha512-CL2qU4Zvk7KoolxuZPX4TZ1r+wk1VIbb2IcXA2ZMj0XAbHcRCaBUb+DnSJ1Ga7YQWxdqVD0F6qz1vM+mpFXw9w==","signatures":[{"sig":"MEUCIQCjoyZGsgf7ilzA0U00bxJGuRSb0yZzS7Lx+YVcI6p+oAIgS8m8O43pYqvYnG5BMAwnEQGpl3W7tkZO1Cg9T2/AKqU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":149367},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"b14914097362218de5513e9fa1f1e22899964f63","scripts":{"build":"tsc -p tsconfig.json","start":"ts-node src/draft.ts","commit":"cz","prepublishOnly":"npm run build"},"_npmUser":{"name":"asafyos","email":"asafsaf3@gmail.com"},"_npmVersion":"10.5.0","description":"CLI for sapui5 projects","directories":{},"_nodeVersion":"20.12.2","dependencies":{"ejs":"^3.1.6","chalk":"^4.1.2","listr2":"^3.10.0","enquirer":"^2.3.6","fs-extra":"^10.0.0","commander":"^7.2.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.0.1","rimraf":"^3.0.2","ts-node":"^10.2.1","prettier":"^2.4.1","@types/ejs":"^3.0.5","typescript":"^4.4.4","@types/node":"^16.11.4","@types/chalk":"^2.2.0","@types/fs-extra":"^9.0.12","@types/prettier":"^2.4.1","eslint-config-prettier":"^8.3.0","cz-conventional-changelog":"^3.3.0"},"_npmOperationalInternal":{"tmp":"tmp/sapui5_1.0.1_1720618415637_0.4078960707953794","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@asafyos/sapui5","version":"1.0.2","keywords":[],"author":{"name":"Asaf Yosef"},"license":"ISC","_id":"@asafyos/sapui5@1.0.2","maintainers":[{"name":"asafyos","email":"asafsaf3@gmail.com"}],"bin":{"sapui5":"dist/bin.js"},"dist":{"shasum":"563fbb94ff51749568f1a91fe1272ba2acb9b01f","tarball":"https://registry.npmjs.org/@asafyos/sapui5/-/sapui5-1.0.2.tgz","fileCount":54,"integrity":"sha512-daqMtUmkD7TOzu56926vI5fBgmuvXQhUOSU/budq85amqpGN0GmUbH6RLGkoEAAQdBfPdh/2JtL8ehbH0wmWbA==","signatures":[{"sig":"MEUCIQDHAZGEthadlGzZaa18sPBx5ytRpmAinDVKYYxw7H4J4gIgFDTNVit5i7REtRbz+4zbEb8mwtLtEw1X5SDUjkQZBFM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":149414},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"193a9b302d897b3c3ab0e0ca2a436dfc50b5866c","scripts":{"build":"tsc -p tsconfig.json","start":"ts-node src/draft.ts","commit":"cz","prepublishOnly":"npm run build"},"_npmUser":{"name":"asafyos","email":"asafsaf3@gmail.com"},"_npmVersion":"11.2.0","description":"CLI for sapui5 projects","directories":{},"_nodeVersion":"22.14.0","dependencies":{"ejs":"^3.1.6","chalk":"^4.1.2","listr2":"^3.10.0","enquirer":"^2.3.6","fs-extra":"^10.0.0","commander":"^7.2.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.0.1","rimraf":"^3.0.2","ts-node":"^10.2.1","prettier":"^2.4.1","@types/ejs":"^3.0.5","typescript":"^4.4.4","@types/node":"^16.11.4","@types/chalk":"^2.2.0","@types/fs-extra":"^9.0.12","@types/prettier":"^2.4.1","eslint-config-prettier":"^8.3.0","cz-conventional-changelog":"^3.3.0"},"_npmOperationalInternal":{"tmp":"tmp/sapui5_1.0.2_1744036955306_0.9157011775022481","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@asafyos/sapui5","version":"1.0.3","description":"CLI for sapui5 projects","bin":{"sapui5":"dist/bin.js"},"scripts":{"start":"ts-node src/draft.ts","build":"tsc -p tsconfig.json","prepublishOnly":"npm run build","commit":"cz"},"keywords":[],"author":{"name":"Asaf Yosef"},"license":"ISC","dependencies":{"chalk":"^4.1.2","commander":"^7.2.0","ejs":"^3.1.6","enquirer":"^2.3.6","fs-extra":"^10.0.0","listr2":"^3.10.0"},"devDependencies":{"@types/chalk":"^2.2.0","@types/ejs":"^3.0.5","@types/fs-extra":"^9.0.12","@types/node":"^16.11.4","@types/prettier":"^2.4.1","cz-conventional-changelog":"^3.3.0","eslint":"^8.0.1","eslint-config-prettier":"^8.3.0","prettier":"^2.4.1","rimraf":"^3.0.2","ts-node":"^10.2.1","typescript":"^4.4.4"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"_id":"@asafyos/sapui5@1.0.3","gitHead":"c6eab9ad958a69e75b9950febdb21bc9b9d530e7","_nodeVersion":"22.14.0","_npmVersion":"11.2.0","dist":{"integrity":"sha512-9yZ5xm6vskme+MzhvzDd+lBrYGe8lOHvMuRQhZ9E8vKOyTnEod1VkoBFozrCjDEXu21DfWZrH048DpdnB091uQ==","shasum":"a960d911323f66e2c6265253b5dea78f9ecad4f3","tarball":"https://registry.npmjs.org/@asafyos/sapui5/-/sapui5-1.0.3.tgz","fileCount":52,"unpackedSize":146167,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCDcV9iqYYoXOL9h/Zfnu2ds1uzswaJlIQh4kqFhX7j6AIhAJViYXAa1UR386R/jXT64e51N4MlL3/6wE/JhbKchjlV"}]},"_npmUser":{"name":"asafyos","email":"asafsaf3@gmail.com"},"directories":{},"maintainers":[{"name":"asafyos","email":"asafsaf3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sapui5_1.0.3_1779956859123_0.8729150032455602"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-04T06:42:18.048Z","modified":"2026-05-28T08:27:39.584Z","1.0.0":"2024-07-04T06:42:18.278Z","1.0.1":"2024-07-10T13:33:35.847Z","1.0.2":"2025-04-07T14:42:35.493Z","1.0.3":"2026-05-28T08:27:39.253Z"},"author":{"name":"Asaf Yosef"},"license":"ISC","keywords":[],"description":"CLI for sapui5 projects","maintainers":[{"name":"asafyos","email":"asafsaf3@gmail.com"}],"readme":"# @asafyos/sapui5\n\n## Description\n\nthis package is an upgraded version of [sapui5_gen_cli](https://github.com/SaarED/sapui5_gen_cli).\n\nThis package offers the same features and more!!!\n\n## Getting Started\n\nGetting Started\nuse the keyword sapui5, for information use\n\n`sapui5 -h`\n\n## Creating new project\n\n`sapui5 init`\n\n| Question             |                            Description                             | Shortcut |\n| :------------------- | :----------------------------------------------------------------: | :------: |\n| Choose template type |                 Defines the project template type                  |    -t    |\n| Project theme        |                  Set the theme of the application                  |          |\n| Project name         | Defines project name (also will be the name of the created folder) |    -n    |\n| Namespace            |                       Project namespace name                       |          |\n| Main view name       |    Project main view name, type is determined by template type     |          |\n| UI5 version          |                 set the version of the application                 |    -v    |\n| Server host          |           The host name of the server as run by ICF node           |          |\n| Server port          |             The port of the server as run by ICF node              |          |\n\n### Options\n\n-   `--no-install` - Skips auto installation (npm i) while generating\n\n## Converting SAP webIDE project to vscode project\n\n`sapui5 webide`\n\n| Question             |                            Description                             | Shortcut |\n| :------------------- | :----------------------------------------------------------------: | :------: |\n| Choose template type |                 Defines the project template type                  |    -t    |\n| Project name         | Defines project name (also will be the name of the created folder) |    -n    |\n| Namespace            |                       Project namespace name                       |          |\n| UI5 version          |                 set the version of the application                 |    -v    |\n| Server host          |           The host name of the server as run by ICF node           |          |\n| Server port          |             The port of the server as run by ICF node              |          |\n\n### Options\n\n-   `--no-install` - Skips auto installation (npm i) while generating\n\n# Working on existing project\n\nfor convenience, commands that affect sapui5 **_ONLY_** starts with `sapui5 g|generate`<br>\nothers starts with `sapui5 add`\n\n<span style=\"color: orange\">IMPORTANT</span> - to work on existing project, the project **_MUST_** have **sapui5.settings.json** in the root folder.<br>\nif the project was created with `sapui5 init` command, the file should already exist.<br>\n**ALL COMMANDS MUST RUN IN THE ROOT FOLDER**\n\n## Adding settings file\n\n`sapui5 add settings`\n\n| Question     |      Description       |\n| :----------- | :--------------------: |\n| Project name |  Defines project name  |\n| Namespace    | Project namespace name |\n\nWill overwrite existing settings file if exists!\n\n## Adding grunt file\n\n`sapui5 add grunt`\n\n## Generating view\n\n`sapui5 g|generate view|v <name>`\n\nGenerates view and its controller, type is auto selected from settings file\n\n## Generating fragment\n\n`sapui5 g|generate fragment|f <name>`\n\nGenerates fragment, type is auto selected from settings file\n\n# Running a project\n\nThe project run with the help of grunt. in the package.json the scripts are defined, wich you can use to run the project.\n<br> Run tasks in the vscode to use the scripts: `>Tasks: Run Task`\n\n| action | Description                                    | Command                                                               | Task          |\n| :----- | :--------------------------------------------- | :-------------------------------------------------------------------- | :------------ |\n| Start  | Run and test your project in the local machine | `npm run start`                                                       | `npm: start`  |\n| Deploy | Upload the project to the server               | `npm run deploy --username=<sap_user_name> --password=<sap-password>` | `npm: deploy` |\n\n<span style=\"color: orange\">Note</span> Before using the _Deploy_ task, make sure to update the `bsp_application_description`, `package` and `change_request_id` values in Gruntfile.js (grunt.initConfig -> settings -> upload).\n\n# Authors\n\n-   Saar Shalom - Original writer\n-   Tomer Mor - Refactor and improvments\n-   Asaf Yosef - Second refactor and generalizations\n","readmeFilename":"README.md"}