{"_id":"@abapify/adt-export","_rev":"5-9374017ed5222f252a322452a6f3a35e","name":"@abapify/adt-export","dist-tags":{"latest":"0.4.1"},"versions":{"0.0.0":{"name":"@abapify/adt-export","version":"0.0.0","_id":"@abapify/adt-export@0.0.0","maintainers":[{"name":"theplenkov-npm","email":"petr.plenkov@gmail.com"}],"dist":{"shasum":"6d9de082819085a0389c80f5976f16b9da274ca6","tarball":"https://registry.npmjs.org/@abapify/adt-export/-/adt-export-0.0.0.tgz","fileCount":2,"integrity":"sha512-HQaEoPwxj5nthNlUWCbzv9+KaIViOUikPnQ2arlRD1wUaS5iaQqOyN4QUuyviH18/MdRMyvKt+GHZGNoUbvjOA==","signatures":[{"sig":"MEUCIQDqpyZZRSDkf6MDREy8zrSoVVhayO5EWG2HpzBuoqEvCgIgNpssbEsdiaYA5PMBoL0QK6v+Qj7k0fD5SdTLuqyq4S4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":228},"_npmUser":{"name":"theplenkov-npm","email":"petr.plenkov@gmail.com"},"_npmVersion":"11.12.1","description":"Placeholder — real package is published via CI/CD (trusted publishing).","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/adt-export_0.0.0_1776719540747_0.39122644847696786","host":"s3://npm-registry-packages-npm-production"}},"0.3.5":{"name":"@abapify/adt-export","version":"0.3.5","keywords":["sap","adt","abap","export","deploy","abapgit"],"license":"MIT","_id":"@abapify/adt-export@0.3.5","maintainers":[{"name":"theplenkov-npm","email":"petr.plenkov@gmail.com"}],"homepage":"https://github.com/abapify/adt-cli/tree/main/packages/adt-export#readme","bugs":{"url":"https://github.com/abapify/adt-cli/issues"},"dist":{"shasum":"a3a12f30924602576540e0929d8f4744c48c3251","tarball":"https://registry.npmjs.org/@abapify/adt-export/-/adt-export-0.3.5.tgz","fileCount":2,"integrity":"sha512-pNKrdlyiwlQstrEGVUySiF45MWm2pA9sWzV/mXavPJNI9JHv9vwvLgRMaWYvv4vFHf09XYXBl8MFFkyGGn4GFw==","signatures":[{"sig":"MEUCIFLABiUGbiv3mLqyOg1mKN9voCAV9DisdO3ELkPvKjS4AiEA+mi2y5oCUUl0rX9LLgmFw7euCId4XTVo8Vx5i7NgsF4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@abapify%2fadt-export@0.3.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4245},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":"./dist/index.mjs","./package.json":"./package.json","./commands/export":"./dist/commands/export.mjs","./commands/activate":"./dist/commands/activate.mjs","./commands/roundtrip":"./dist/commands/roundtrip.mjs"},"gitHead":"185666fe6ccb304e7b08529eb376ec2493131a7a","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0f30b253-8b07-45de-a748-65ecb54a0b1f"}},"repository":{"url":"git+https://github.com/abapify/adt-cli.git","type":"git","directory":"packages/adt-export"},"_npmVersion":"11.12.1","description":"Export CLI plugin for adt-cli - deploy local files to SAP","directories":{},"_nodeVersion":"24.14.1","dependencies":{"diff":"^8.0.3","chalk":"^5.6.2","@abapify/adk":"0.3.5","fast-xml-parser":"^5.5.5","@abapify/adt-locks":"0.3.5","@abapify/adt-plugin":"0.3.5","@abapify/adt-plugin-abapgit":"0.3.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/adt-export_0.3.5_1776723684276_0.3326597472729542","host":"s3://npm-registry-packages-npm-production"}},"0.3.6":{"name":"@abapify/adt-export","version":"0.3.6","keywords":["sap","adt","abap","export","deploy","abapgit"],"license":"MIT","_id":"@abapify/adt-export@0.3.6","maintainers":[{"name":"theplenkov-npm","email":"petr.plenkov@gmail.com"}],"homepage":"https://github.com/abapify/adt-cli/tree/main/packages/adt-export#readme","bugs":{"url":"https://github.com/abapify/adt-cli/issues"},"dist":{"shasum":"7d189c015022b02708935e8b01e7d796dcdd394e","tarball":"https://registry.npmjs.org/@abapify/adt-export/-/adt-export-0.3.6.tgz","fileCount":2,"integrity":"sha512-oFQitKAMXjIHRIsAoJS9HLdIyrORslwm4Kd036Tvo5q556AjQutAh3dJQDplOaSWrRzpLzR54K4+9k/bOWCOsg==","signatures":[{"sig":"MEYCIQCyOTRGLS7F7UXaQ6VXO5Gtq2ooHB6DmXg+oDpeA7U65QIhAJtOru6N1fmI2i2QsvTyZ43dFcM06SxfpHqA4wEh8e5f","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@abapify%2fadt-export@0.3.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4245},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":"./dist/index.mjs","./package.json":"./package.json","./commands/export":"./dist/commands/export.mjs","./commands/activate":"./dist/commands/activate.mjs","./commands/roundtrip":"./dist/commands/roundtrip.mjs"},"gitHead":"489b2b4ad7c2ea972f323d4c356997ac5962ba9e","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0f30b253-8b07-45de-a748-65ecb54a0b1f"}},"repository":{"url":"git+https://github.com/abapify/adt-cli.git","type":"git","directory":"packages/adt-export"},"_npmVersion":"11.11.0","description":"Export CLI plugin for adt-cli - deploy local files to SAP","directories":{},"_nodeVersion":"24.14.1","dependencies":{"diff":"^8.0.3","chalk":"^5.6.2","@abapify/adk":"0.3.6","fast-xml-parser":"^5.5.5","@abapify/adt-locks":"0.3.6","@abapify/adt-plugin":"0.3.6","@abapify/adt-plugin-abapgit":"0.3.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/adt-export_0.3.6_1776744829830_0.32859120145941856","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@abapify/adt-export","version":"0.4.0","keywords":["sap","adt","abap","export","deploy","abapgit"],"license":"MIT","_id":"@abapify/adt-export@0.4.0","maintainers":[{"name":"theplenkov-npm","email":"petr.plenkov@gmail.com"}],"homepage":"https://github.com/abapify/adt-cli/tree/main/packages/adt-export#readme","bugs":{"url":"https://github.com/abapify/adt-cli/issues"},"dist":{"shasum":"25ac414fa7f0fffb3e5731b360b9e6705faa4c37","tarball":"https://registry.npmjs.org/@abapify/adt-export/-/adt-export-0.4.0.tgz","fileCount":2,"integrity":"sha512-w5OXi6lr8E8Fro8na4oYn0DU3JEH7Su9Sw0ZpShJ4ITaL4Y3fKYJhc12p7g8Vhei3YZ/DVVMwOwVY33ZqUKy0w==","signatures":[{"sig":"MEQCIFB0vvn3DdGt8akIiAnGnI81j4a9h5Tk2M0F5+jCrN6/AiBAW4Q/QeuUfi2OXUQzJWrcnetnWgMysbS0bIpTd83i4w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@abapify%2fadt-export@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4245},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","module":"./dist/index.mjs","exports":{".":"./dist/index.mjs","./package.json":"./package.json","./commands/export":"./dist/commands/export.mjs","./commands/activate":"./dist/commands/activate.mjs","./commands/roundtrip":"./dist/commands/roundtrip.mjs"},"gitHead":"81dc9eea47fe419e41d246f0ec212fa78570a489","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0f30b253-8b07-45de-a748-65ecb54a0b1f"}},"repository":{"url":"git+https://github.com/abapify/adt-cli.git","type":"git","directory":"packages/adt-export"},"_npmVersion":"11.13.0","description":"Export CLI plugin for adt-cli - deploy local files to SAP","directories":{},"_nodeVersion":"24.16.0","dependencies":{"diff":"^8.0.3","chalk":"^5.6.2","@abapify/adk":"0.4.0","fast-xml-parser":"^5.5.5","@abapify/adt-locks":"0.4.0","@abapify/adt-plugin":"0.4.0","@abapify/adt-plugin-abapgit":"0.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/adt-export_0.4.0_1780072671773_0.32512360591491096","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@abapify/adt-export","version":"0.4.1","description":"Export CLI plugin for adt-cli - deploy local files to SAP","license":"MIT","publishConfig":{"access":"public"},"type":"module","main":"./dist/index.mjs","types":"./dist/index.d.mts","exports":{".":"./dist/index.mjs","./commands/export":"./dist/commands/export.mjs","./commands/roundtrip":"./dist/commands/roundtrip.mjs","./commands/activate":"./dist/commands/activate.mjs","./package.json":"./package.json"},"keywords":["sap","adt","abap","export","deploy","abapgit"],"dependencies":{"@abapify/adk":"0.4.1","@abapify/adt-locks":"0.4.1","@abapify/adt-plugin":"0.4.1","@abapify/adt-plugin-abapgit":"0.4.1","chalk":"^5.6.2","diff":"^8.0.3","fast-xml-parser":"^5.5.5"},"module":"./dist/index.mjs","repository":{"type":"git","url":"git+https://github.com/abapify/adt-cli.git","directory":"packages/adt-export"},"homepage":"https://github.com/abapify/adt-cli/tree/main/packages/adt-export#readme","bugs":{"url":"https://github.com/abapify/adt-cli/issues"},"gitHead":"9d3b996a5c760a8db67e28c4df3c30098bd29e4a","_id":"@abapify/adt-export@0.4.1","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-dBXWNZfub628Q3832JRZkepZjWFp8NmRl1Mc/Qe6BroPRL8twDqx12KU2RwM4sRRAn0yMvWZYrKz4oj5toK9nA==","shasum":"341fb6e98f2ab270611e0aefbdef50b422ec022a","tarball":"https://registry.npmjs.org/@abapify/adt-export/-/adt-export-0.4.1.tgz","fileCount":19,"unpackedSize":158058,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@abapify%2fadt-export@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAFYZRiqI8bf7GUI/7Rmn3feAbsXViIebVMAHU08WuaCAiAO7+b0E7Ih6BMc+IxGCE1sFI9MtjDg5clF8wEG+O/6lg=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0f30b253-8b07-45de-a748-65ecb54a0b1f"}},"directories":{},"maintainers":[{"name":"theplenkov-npm","email":"petr.plenkov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/adt-export_0.4.1_1780074955751_0.6486853511961315"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-20T21:12:20.599Z","modified":"2026-05-29T17:15:56.363Z","0.0.0":"2026-04-20T21:12:20.868Z","0.3.5":"2026-04-20T22:21:24.406Z","0.3.6":"2026-04-21T04:13:49.964Z","0.4.0":"2026-05-29T16:37:51.905Z","0.4.1":"2026-05-29T17:15:55.910Z"},"bugs":{"url":"https://github.com/abapify/adt-cli/issues"},"license":"MIT","homepage":"https://github.com/abapify/adt-cli/tree/main/packages/adt-export#readme","keywords":["sap","adt","abap","export","deploy","abapgit"],"repository":{"type":"git","url":"git+https://github.com/abapify/adt-cli.git","directory":"packages/adt-export"},"description":"Export CLI plugin for adt-cli - deploy local files to SAP","maintainers":[{"name":"theplenkov-npm","email":"petr.plenkov@gmail.com"}],"readme":"# @abapify/adt-export\n\n[![version](https://img.shields.io/github/package-json/v/abapify/adt-cli?filename=packages/adt-export/package.json)](https://github.com/abapify/adt-cli/pkgs/npm/%40abapify%2Fadt-export)\n\nExport CLI plugin for adt-cli — deploy local serialized files to SAP.\n\n## Installation\n\n```bash\nnpm install @abapify/adt-export\n```\n\n## Usage\n\nAdd to your `adt.config.ts`:\n\n```typescript\nexport default {\n  commands: ['@abapify/adt-export/commands/export'],\n};\n```\n\nThen use the command:\n\n```bash\n# Dry run - see what would be exported\nadt export --source ./my-objects --format abapgit --dry-run\n\n# Export to SAP with transport\nadt export --source ./my-objects --format abapgit --transport DEVK900123\n\n# Export specific object types only\nadt export --source ./my-objects --format abapgit --transport DEVK900123 --types CLAS,INTF\n\n# Export without activation (save inactive)\nadt export --source ./my-objects --format abapgit --transport DEVK900123 --no-activate\n```\n\n## Options\n\n| Option                      | Description                                             | Default                   |\n| --------------------------- | ------------------------------------------------------- | ------------------------- |\n| `-s, --source <path>`       | Source directory containing serialized files            | `.`                       |\n| `-f, --format <format>`     | Format plugin: `abapgit`, `@abapify/adt-plugin-abapgit` | `abapgit`                 |\n| `-t, --transport <request>` | Transport request for changes                           | (required unless dry-run) |\n| `-p, --package <package>`   | Target package for new objects                          |                           |\n| `--types <types>`           | Filter by object types (comma-separated)                |                           |\n| `--dry-run`                 | Validate without saving to SAP                          | `false`                   |\n| `--no-activate`             | Save inactive (skip activation)                         | `false`                   |\n\n## Architecture\n\nThis plugin follows the two-generator pattern:\n\n1. **FileTree** (provided by CLI) → yields files to format plugin\n2. **Format Plugin** → yields ADK objects ready to deploy\n\nThe export command:\n\n1. Creates a FileTree from the source directory\n2. Calls the format plugin's `export(fileTree)` generator\n3. For each yielded ADK object:\n   - Filters by type if specified\n   - Saves inactive (unless dry run)\n4. Bulk activates all objects (unless `--no-activate`)\n\n## Why a Separate Plugin?\n\nExport functionality can modify your SAP system. By making it an explicit opt-in plugin:\n\n- Users must consciously add it to their config\n- No accidental deployments from typos\n- Clear separation of read-only vs write operations\n- Easier to audit which projects have deploy capabilities\n\n## Supported Formats\n\n- **abapgit** / `@abapify/adt-plugin-abapgit` - abapGit format (`.abap` + `.xml` files)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}