Comments (7)
I agree with the first approach: the installation of Hexo only requires npm, while git is optional.
Besides, hexo-theme-landscape
can be installed through npm, which will reduce the number of git submodules.
The package was registered on npm a few years ago: https://www.npmjs.com/package/hexo-theme-landscape
I have contacted npm support and obtained the ownership of the package.
from hexo-cli.
the installation of Hexo only requires npm, while git is optional.
hexo currently mentions git is required though and hexo init
defaults to git-cloning hexo-starter. but really, using hexo actually doesn't need git, indeed many themes show git clone
in their installation guide, however users can use github's "download zip" as well (we can mention this in docs); and of course new themes are being npm-published.
I can also imagine that the installation of Git Windows to be a bit intimidating for newcomers (git bash, PATH, commit unix-style, credential helper, etc).
I have contacted npm support and obtained the ownership of the package.
🎉
from hexo-cli.
I also noticed our past effort in version-controlling the "assets/" folder (see 4.1.0 and 3.1.0) have no effect at all because hexo init
defaults to cloning latest master of hexo-starter, e.g. hexo-cli v3 installs hexo v5.
Currently the "assets/" submodule is only used for unit testing.
from hexo-cli.
@curbengh How could I transfer the hexo-theme-landscape
package to hexojs organization (https://www.npmjs.com/org/hexojs) on npm? Thanks
See also
hexojs/hexo-theme-landscape#173
hexojs/hexo-starter#45
from hexo-cli.
I believe @NoahDragon is the admin of hexojs
npm org, so just add him abnerchou <[email protected]>
as owner and he can do the rest.
$ npm owner ls hexo
abnerchou <[email protected]>
curben <[email protected]>
ertrzyiks <[email protected]>
hexobot <[email protected]>
jlhwung <[email protected]>
tomap <[email protected]>
tommy351 <[email protected]>
yoshinorin <[email protected]>
from hexo-cli.
We could also point to a GitHub repo in the meantime
from hexo-cli.
hexo-starter has been updated: hexojs/hexo-starter#45
Now you can use git submodule to update the assets
folder and publish it with hexo-cli
on npm
See also hexojs/hexo#4569
from hexo-cli.
Related Issues (20)
- Update hexo-starter submodule to use [email protected]
- hexo 命令只有help init version 三个command 官网方法未解决 HOT 3
- add a CLI command to create new themes HOT 5
- hexo init firstWeb fails HOT 6
- A bug regarding init project with a hexadecimal name HOT 2
- Hexo CLI fresh Ubuntu install generating zero-length files HOT 2
- All files generate in public is empty, but localhost:4000 works well. HOT 5
- When we remove hexo in package.json,the generate(or any other command) action won't work HOT 3
- hexo init HOT 2
- HELP!!! [Error: EPERM: operation not permitted, mkdir 'D:\' HOT 3
- Contact HOT 2
- Feature request: Improving Bash completion
- Just a dev question - Why extend from eventEmitter when the methods are never used (hexo-cli) ?
- New version of Highlight.js breaks npm installation HOT 4
- Hexo init failed on `git clone` HOT 2
- 建议改进脚手架,使用 npm create HOT 2
- v4.3.1 does not contain #432 HOT 1
- The behavior of `hexo g` is affected by `new_post_name` HOT 1
- Release v2.0.0 HOT 2
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 hexo-cli.