enriquecaballero / branchsite Goto Github PK
View Code? Open in Web Editor NEWCLI tool for publishing your static website to a separate branch
License: MIT License
CLI tool for publishing your static website to a separate branch
License: MIT License
The interesting part:
✖ Install dependencies using npm
→ spawn yarn ENOENT
Build static assets using npm
{ Error: spawn yarn ENOENT
at exports._errnoException (util.js:1026:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
code: 'ENOENT',
errno: 'ENOENT',
syscall: 'spawn yarn',
path: 'yarn',
spawnargs: [ 'install' ],
stdout: '',
stderr: '',
failed: true,
signal: null,
cmd: 'yarn install',
timedOut: false,
killed: false,
context: {} }
(node:98351) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): Error: spawn yarn ENOENT
I'm assuming this is because I don't have Yarn installed. even using --no-yarn
helps.
After moving to semantic-release
, we can no longer parse out the version number from package.json
. We'll have to come up with a way of injecting the current version number during the build process.
commander
maintenance is doubtful, maybe consider using meow
?
Need to leverage the GH_TOKEN that Travis CI exports to be able to push to GitHub. Need to figure out a secure way of achieving this.
Just using git push
might cause problems with some CI's such as Jenkins. Jenkins, for example, always checks out a revision and never exactly master
, so its push to needs to explicitly know it's going to HEAD:master
before any subtree push
.
As of v1.4.0, branchsite
allows the user to stage files even when the --no-commit
arg is passed in, by using --stage
. Should the staging of files happen regardless of --no-commit
as default behavior?
It might be a good idea to improve the gh-pages workflow by matching those done by others via the use of deploy keys
References:
Some libraries bump up the version number in package.json and create a CHANGELOG.md file based off commit history, commiting them in the process (see standard-version
). Would be ideal to allow the user to amend that last (tagged) commit (without losing the original tag) instead of just creating a brand new commit.
Caporal
is now at 1.3.0
, and npm audit
reports 3 vulnerabilities in branchsite
because of a nested dependency (in [email protected]
) of older lodash
in cli-table2
, which was mitigated by caporal
. switching to cli-table3
3.4.9
to 3.4.10
.This version is covered by your current version range and after updating it in your project the build failed.
uglify-js is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 18 commits.
9707ccd
v3.4.10
cb8f3a2
add Node.js 10 to CI tests (#3342)
8b3259e
fix corner case in reduce_vars
(#3341)
b66f47b
update dependencies
8d2e6f3
fix function inlining after reduce_vars
(#3340)
b3ef5e5
enhance evaluate
(#3339)
627f5fb
fix corner case with nameCache
(#3338)
d90777b
parse mangle.properties.regex
in --config-file
properly (#3337)
e49297e
improve usability of pure_funcs
(#3336)
ebd82b3
fix corner case in collapse_vars
(#3334)
d074aa6
fix corner case in collapse_vars
(#3333)
b052f62
fix corner case in reduce_vars
(#3332)
d4ac84b
fix corner case in arguments
& reduce_vars
(#3331)
e250396
fix corner case in arguments
(#3330)
c6fa39b
Update README.md (#3311)
There are 18 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | lint-staged |
Current Version | 3.4.1 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As lint-staged is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
<a name"3.4.2">
The new version differs by 4 commits.
c7283b7
fix: Only pass gitDir for git specific executables (#162)
2c4538f
chore(package): update jest to version 20.0.1 (#167)
12e38f0
chore(package): update babel-jest to version 20.0.0 (#160)
7e4ed51
docs: Use husky in examples (#156)
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
The README is pretty generic right now -- has plenty of room to grow
Need to come up with proper testing for this module...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.