ember-cli-update | Update Ember CLI projects | Command Line Interface library
kandi X-RAY | ember-cli-update Summary
kandi X-RAY | ember-cli-update Summary
Update Ember CLI projects
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Opens the Blueprint
- Creates the build script .
- Saves the current blueprint
- Looks up the Blueprint from the args and returns it .
- Creates a new instance of the blueprint .
- Asynchronously loads a npm update .
- Save a Blueprint
- Parse the Blueprint name
- Loads a default stamp .
- Checks if the blueprint needs to be updated
ember-cli-update Key Features
ember-cli-update Examples and Code Snippets
npm install -g ember-cli-update
ember-cli-update --to 2.18
ember-cli-update --run-codemods
# ember-modules-codemod is the one that updates the imports
Community Discussions
Trending Discussions on ember-cli-update
QUESTION
I am new emberjs and trying to track my project via github. I currently have a directory tracking my changes /workspace
, which should contain a subdirectory /workspace/currentproj
. The top level directory is being tracked by my github however the lower level changes are not. When I check the status on currentproj
the files are being track but not by my remote repo. In the ember-cli-update.json
file I see a reference to a "outputRepo": "https://github.com/ember-cli/ember-new-output"
. I am wondering if that is where I need to add my repo information. If so its not working. How do track changes using my current repo?
I am using a mac air m1 with atom editor.
...ANSWER
Answered 2022-Jan-17 at 23:09It is tricky to help you here, because you mix ember
and git
things, while they are actually unrelated.
About the ember-cli-update.json
: you should not edit this, the outputRepo
is about where ember-cli-upgrade
will take the output of a new ember app to upgrade your app.
Now, also try to avoid mixing git
and github
. Github is an online platform for git, but the tool you locally use it git
, and unrelated to github
. Its the other way around: Github is a platform for git
, not git
is a tool from Github.
I'm not sure how you created the git
repos, but one importing thing here: ember new
by default generates a git
repo! Now I assume your issue may be the following:
- you created a new ember project within
/workspace
namedcurrentproject
, before there was agit
repository for/workspace
. - this created the new folder
/workspace/currentproj
, which is agit
repository. - you then created a git reposity for
/workspace
, now you have 2 nested git repositories.
To investigate this its important to understand one thing: A git repository is a folder with a .git
folder in it. Nothing else, there is no magic to it. This is how you can move a folder containing a repo around.
I would suggest to check if there is a /workspace/currentproj/.git
folder. If there is, you probably can safely delete it, since you want git to use the /workspace/.git
repo for this subfolder.
If this was not your issue another thing could be, that git status
does not list files folders without tracked files. You will only see the folder. However a git add --all
should add these files, so this could also be a possible issue.
Generally when troubleshooting git
its good to look for .git
folders and investigate the output of git status
and git log
. In your case you could run these commands from within /workspace
and /workspace/currentproj
and compare to investigate.
QUESTION
I have installed tinymce in my EmberJS application. When I run npm start
or even npm run build
, I get an error like so:
ANSWER
Answered 2020-Apr-10 at 13:56You just need to change line "typescript": "^3.7.2" -> "typescript": "~3.7.2"
Somehow your typescript got updated to 3.8, which has this issue: https://github.com/typed-ember/ember-cli-typescript/issues/1103
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ember-cli-update
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page