-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Tools for project related task #36
Comments
I'm not sure it is doable. Both bash and fish do not let you change your context in the script, because they run scripts in separate context. I was trying to do it and I was not able to find a solution. But I found |
I'm not sure why it wouldn't be doable. If this command is just about quickly changing the directory, then it's just a
to:
or (when going to the ckeditor5-core/ckeditor5):
plus you lose autocompletion... So it's an idea I had, but I'm not sure that it will be of any value. I just know that I've been tired of jumping between these directories all the time, but when we'll have the other problems resolved, perhaps I won't need to do that any more. |
I've pushed branch with prototype of grunt task that creates and initializes new CKEditor5 plugin: t/36.
Can you think of any other tasks required when creating new plugin? |
Added new grunt task
|
Created pull request #37 that adds
For now it creates innitial configuration from package.json file - checks out repositories provided in |
I've added new commit to pull request #37. It adds grunt option, called |
Created new pull request #40. |
ckeditor has or will have a recommended project template to construct a new plugin? Having said that, I liked the project templates built with cookiecutter. cookiecutter the operation is pretty simple. to create a project template, simply define your template variables in a This is a javascript es6 project template created with cookiecutter: https://github.com/agconti/cookiecutter-es6-boilerplate to test, install cookiecutter. and run cookiecutter https://github.com/agconti/cookiecutter-es6-boilerplate |
Yes. We're creating a scaffolder, so you'll just have to clone this repository (i.e.
|
@Reinmar yes, it sound good. let me know when this scaffolder are ready to test, I would try to create a version of it, but using cookiecutter. ( point me the repository, if it already exists ) another question: I am totally new to the node.js ecosystem. Is normal npm take 20 minutes to download dependencies in clean machine? |
I'm not sure it makes sense to use cookiecutter for it, because there are many other tasks related to scaffolding, such as linking the repositories, installing git hooks, etc. Plus, Python would become another dependency.
Depends on how many dependencies you are installing, your internet connection speed and your machine. However, I've never seen it taking 20 minutes. 2-5 minutes tops. However, I've heard something that the new version of npm (Node package manager) has some performance issues – e.g. npm/npm#10380 |
npm link
and installing githooks.git st
or printing informations which the git prompt provides for all repositories. The latter should be well formatted (in a table/list probably, with colours preferably).pushd
or keep this task in every ckeditor5 related repo, so in every single one you'd be able to dogrunt cd core
,grunt cd plugin-foo
.npm update
which does not break npm links.package.json
'sdependencies
, then we're home – inckeditor5
one will create a branch for her/his configuration (kept inpackage.json
and our tool will check out all the stuff to the correct branches and update them).I'm now working on 4 repositories and I honestly spent so much time on trying to figure out the state of each of it that it started to be irritating and blocking. I wasted 4 hours today doing the maintenance ;/
The text was updated successfully, but these errors were encountered: