Comments (5)
it also deletes the old src/package.xml
manifest, which should go anyway ...
perhaps we make that the description, cleans folder so that it only contains sfdx metadata that are in the current default org
from force-source-clean.
added a .forceignore
with the following and the method runs, but the file gets deleted (fine in this case)
a lot of this boils down to is there a good reason to have non-sfdx files in package folders (kind of feel like now, let's be opinionated and say if it doesn't exist in the org it's deleted, regardless of whether it's an sfdx file our not. package folders are just for sfdx files
from force-source-clean.
Ya, looks like the error.
I think we could exclude .
files and .forceIgnore
. EVERYTHING else will be removed. As you saw before, nothing else should be in the source folders as it will break the standards sfdx force:source
commands... So by deleting everything else it really is "cleaning up"
from force-source-clean.
I think the only TODO from this issue is just to make this behavior more apparent in the command help and readme.md
from force-source-clean.
mostly, i'd say #6 is a todo that comes out of this, but yeah it seems like you'd expect clean to delete these files and to mirror the current constraints of the sfdx command
from force-source-clean.
Related Issues (15)
- default -x
- -f insted of -n for skip prompt? HOT 1
- Basic Test Suite
- Dont Change File Permissions on Clean HOT 3
- Include Fields on Managed Objects HOT 4
- Improvement: Respect .forceIgnore HOT 6
- Do not work with sfdx-cli/7.123.1 HOT 2
- Emails Incorrectly Cleaned HOT 2
- Incorrectly Deletes Text Static Resources HOT 14
- Spinner During Clean HOT 2
- Pre-Clean Backup and Maybye Restore on Error HOT 9
- Add Command Line Automate to match standard functions HOT 2
- Support Auto Completing Manifest Name (Ref #17) HOT 4
- Missing module 'tmp' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from force-source-clean.