-
Notifications
You must be signed in to change notification settings - Fork 21
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
Zcli package ignore #142
Zcli package ignore #142
Conversation
Code is working, tests seem to be working, but console.log() inside describe() function is not working.
Tests not running properly as .then() is not being run in package.test.ts
Functional testing working and Ignore feature is working and passing testing.
Added 'Configuration' subheading and moved app config information underneath it. Information on new .zcliignore feature is also included under this header.
packages/zcli-apps/package.json
Outdated
@@ -25,6 +25,7 @@ | |||
"express": "^4.17.1", | |||
"form-data": "^4.0.0", | |||
"fs-extra": "^10.0.0", | |||
"jszip": "^3.10.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious about the introduction of jszip
to the project when we already have a similar package adm-zip
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I didn't noticed. Changed from jszip to adm-zip in recent push
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation looks good to me
packages/zcli-apps/tests/functional/mocks/single_product_ignore/.zcliignore
Outdated
Show resolved
Hide resolved
packages/zcli-apps/tests/functional/mocks/single_product_ignore/manifest.json
Outdated
Show resolved
Hide resolved
Fixed a few nits, and changed code from using unnecessary additional 'jszip' package when zcli already uses 'adm-zip'.
We can delete |
Changed from jszip to pre-existing dependency adm-zip. Also changed from using .filter to .find in a case where only most recent object was needed.
…LI-package-ignore
ZCLI package ignore
Description
Added support for developers to specify files/folders to be ignored as part of the packaging process as requested in this PR.
Detail
Patterns following the gitignore specification included in a .zcliignore file in the root directory for the app will be excluded from packaging when any of the above commands are executed
Checklist
Includes new functional testing to ensure files specified are not included in packaging process.
Updated apps.md with information on .zcliignore feature
References