-
Notifications
You must be signed in to change notification settings - Fork 41
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
Dependency Manager in core #58
Comments
I'm thinking of adding a Modelled after VSCode's {
"dependencies": [
{
"type": "node",
"name": "Prettier",
"package": "prettier"
},
{
"type": "exec",
"name": "PHP-CS-Fixer",
"program": "php-cs-fixer",
"version": {
"parse": (text: string) => {
try {
return text.match(/version (.*) by/)[1] + ".0";
} catch (error) {
return text.match(/PHP CS Fixer (\d+\.\d+\.\d+)/)[1];
}
}
},
"docker": {
"image": "unibeautify/php-cs-fixer"
}
},
]
} |
Another idea is: {
"dependencies": {
"Prettier": {
"type": "node",
"package": "prettier"
},
"PHP-CS-Fixer": {
"type": "exec",
"program": "php-cs-fixer",
"version": {
"parse": (text: string) => {
try {
return text.match(/version (.*) by/)[1] + ".0";
} catch (error) {
return text.match(/PHP CS Fixer (\d+\.\d+\.\d+)/)[1];
}
}
},
"docker": {
"image": "unibeautify/php-cs-fixer"
}
}
}
} |
I would vote for the first example. |
@szeck87 : Feel free to use the 👍 reaction 😉. I do as well and am implementing it as such now. |
Glavin001
added a commit
that referenced
this issue
Mar 22, 2018
Glavin001
added a commit
that referenced
this issue
Mar 22, 2018
Merged
Pull Request in progress! #63 |
Glavin001
added a commit
that referenced
this issue
Mar 22, 2018
Glavin001
added a commit
that referenced
this issue
Mar 27, 2018
Glavin001
added a commit
that referenced
this issue
Mar 27, 2018
Glavin001
added a commit
that referenced
this issue
Mar 27, 2018
Glavin001
added a commit
that referenced
this issue
Mar 27, 2018
Glavin001
added a commit
that referenced
this issue
Mar 28, 2018
Glavin001
added a commit
that referenced
this issue
Mar 29, 2018
Glavin001
added a commit
that referenced
this issue
Mar 30, 2018
Glavin001
added a commit
that referenced
this issue
Mar 30, 2018
Glavin001
added a commit
that referenced
this issue
Mar 31, 2018
Glavin001
added a commit
that referenced
this issue
Apr 4, 2018
Glavin001
added a commit
that referenced
this issue
Apr 5, 2018
Glavin001
added a commit
that referenced
this issue
Apr 5, 2018
Glavin001
added a commit
that referenced
this issue
Apr 7, 2018
Glavin001
added a commit
that referenced
this issue
Apr 7, 2018
Glavin001
added a commit
that referenced
this issue
Apr 7, 2018
See #58. Improve Dependency not installed error message
Glavin001
added a commit
that referenced
this issue
Apr 9, 2018
Glavin001
added a commit
that referenced
this issue
Apr 9, 2018
Glavin001
added a commit
that referenced
this issue
Apr 10, 2018
Glavin001
added a commit
that referenced
this issue
Apr 10, 2018
Published to v0.12.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See Glavin001/atom-beautify#1687
require
(builtin)requireg
(global)Project specific (local)(moved to Add support for local (project specific) Node dependency #81 )Docker(moved to Add Docker dependency support #80 )errors
for the dependency to https://github.com/Unibeautify/unibeautify/blob/master/src/DependencyManager/Dependency.ts#L32The text was updated successfully, but these errors were encountered: