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

Zcli package ignore #142

Merged
merged 18 commits into from
Nov 8, 2022
Merged

Zcli package ignore #142

merged 18 commits into from
Nov 8, 2022

Conversation

max1adam
Copy link
Contributor

@max1adam max1adam commented Oct 27, 2022

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

max1adam and others added 6 commits October 19, 2022 12:33
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.
@max1adam max1adam requested a review from zach-anthony October 27, 2022 04:23
@cl8au cl8au requested a review from a team November 2, 2022 05:33
@@ -25,6 +25,7 @@
"express": "^4.17.1",
"form-data": "^4.0.0",
"fs-extra": "^10.0.0",
"jszip": "^3.10.1",
Copy link
Contributor

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

Copy link
Contributor Author

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

Copy link
Contributor

@zach-anthony zach-anthony left a 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

Fixed a few nits, and changed code from using unnecessary additional 'jszip' package when zcli already uses 'adm-zip'.
@etanxing
Copy link
Contributor

etanxing commented Nov 4, 2022

We can delete packages/zcli-apps/tests/functional/mocks/single_product_ignore/.DS_Store as it's not required.

@max1adam max1adam merged commit ead7546 into master Nov 8, 2022
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.

5 participants