-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Conversation
* Remove tests from publishing. sass#683 * Uses new strategy to validate binary after the download. * Moves mocha under dev-dependencies in package.json. * Truncates the forth potion from v8 version as discussed in sass#710. * Moves pangyp from dev to main dependencies in package.json. Issue URLs: sass#683 and sass#710. PR URL: sass#717.
* Removes tests from publishing. sass#683 * Uses new strategy to validate binary after the download. * Moves mocha under dev-dependencies in package.json. * Truncates the forth portion from v8 version as discussed in sass#710. * Moves pangyp from dev to main dependencies in package.json. Issue URLs: sass#683 and sass#710. PR URL: sass#717.
@andreitognolo, does SnapCI actually build and run the tests? It never fails (even when we have something broken) and reports back success in about five seconds! Are we missing something here? |
lib-cov | ||
node_modules | ||
vendor | ||
test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is .gitignore
union test
, because npm docs suggest: in absence of .npmignore, it takes .gitignore into account and when .npmignore is present, it essentially overrides .gitignore.
* Based on sindresorhus/meow#2. * Improves info text; inspired by Less CLI. :) PR URL: sass#717.
* Based on sindresorhus/meow#2. * Adds alias -v. * Improves info text; inspired by Less CLI. :) PR URL: sass#717.
* Based on sindresorhus/meow#2. * Adds alias -v. * Improves info text; inspired by Less CLI. :) PR URL: sass#717.
@@ -28,10 +30,26 @@ function getRuntimeInfo() { | |||
*/ | |||
|
|||
function getBinaryIdentifiableName() { | |||
var v8SemVersion = process.versions.v8; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All this code is essentially just
var v8SemVersion = process.versions.v8.split('.').slice(0, 2).join('.')
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be .slice(0, 3)
to extract semver?
In some releases (for instance node v0.12.0), there are three portions (3.28.73). While in others (all iojs releases till date) have four portions.
I thought it would be good to save a join when v8 version already have three portions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're correct it should be (0,3)
I thought it would be good to save a join when v8 version already have three portions.
Since this is essentially a one off operation I don't see any benefit in saving a join
when it comes at the cost of added verbosity.
It took me a couple reads of this this code to understand it and I already knew what it was trying to do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. 👍
Fixed by 9bd034c.
* Removes tests from publishing. sass#683 * Uses new strategy to validate binary after the download. * Moves mocha under dev-dependencies in package.json. * Truncates the forth portion from v8 version as discussed in sass#710. * Moves pangyp from dev to main dependencies in package.json. Issue URLs: sass#683 and sass#710. PR URL: sass#717.
* Based on sindresorhus/meow#2. * Adds alias -v. * Improves info text; inspired by Less CLI. :) PR URL: sass#717.
* Based on sindresorhus/meow#2. * Adds alias -v. * Improves info text; inspired by Less CLI. :) PR URL: sass#717.
* Based on sindresorhus/meow#2. * Adds alias -v. * Improves info text; inspired by Less CLI. :) * Updates readme. PR URL: sass#717.
* Removes tests from publishing. sass#683 * Uses new strategy to validate binary after the download. * Moves mocha under dev-dependencies in package.json. * Truncates the forth portion from v8 version as discussed in sass#710. * Moves pangyp from dev to main dependencies in package.json. Issue URLs: sass#683 and sass#710. PR URL: sass#717.
* Based on sindresorhus/meow#2. * Adds alias -v. * Improves info text; inspired by Less CLI. :) * Updates readme. PR URL: sass#717.
* Adds instructions. * Removes obsolete info. This is for DRY'ing comments on repeating issues.
23eeed8
to
3d4042e
Compare
Implement emitting utf8 charset when seen in output
the download.
package.json.
as discussed in Time to ship 3.0.0? #710.
package.json.
The new version text looks like:
@lukeapage, hope you don't mind! ©️ 😉
This is for DRY'ing comments on repeating issues.