Fix packages
This commit is contained in:
parent
25a03fa656
commit
7ac622d31e
|
@ -10,6 +10,7 @@ repository = "https://github.com/wilsonzlin/hyperbuild.git"
|
|||
version = "0.0.4"
|
||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||
edition = "2018"
|
||||
include = ["/gen/**/*", "/src/**/*", "/build.rs", "/Cargo.toml", "/LICENSE", "/README.md"]
|
||||
|
||||
[badges]
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
[package]
|
||||
name = "hyperbuild-nodejs"
|
||||
publish = false
|
||||
version = "0.0.4"
|
||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||
license = "MIT"
|
||||
|
@ -15,5 +16,5 @@ crate-type = ["cdylib"]
|
|||
neon-build = "0.3.3"
|
||||
|
||||
[dependencies]
|
||||
hyperbuild = { path = "../.." }
|
||||
hyperbuild = "0.0.4"
|
||||
neon = "0.3.3"
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
"version": "0.0.4",
|
||||
"description": "One-pass in-place HTML minifier written in Rust with advanced whitespace handling",
|
||||
"main": "lib/index.js",
|
||||
"files": [
|
||||
"lib/index.js",
|
||||
"native/index.node"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/wilsonzlin/hyperbuild.git"
|
||||
|
@ -30,14 +26,16 @@
|
|||
"postpack": "rm README.md"
|
||||
},
|
||||
"keywords": [
|
||||
"html",
|
||||
"c",
|
||||
"fast",
|
||||
"build",
|
||||
"builder",
|
||||
"compress",
|
||||
"compressor",
|
||||
"fast",
|
||||
"html",
|
||||
"minifier",
|
||||
"minify",
|
||||
"preprocess",
|
||||
"preprocessor",
|
||||
"minify",
|
||||
"minifier"
|
||||
"rust"
|
||||
]
|
||||
}
|
||||
|
|
2
version
2
version
|
@ -11,7 +11,7 @@ for (const f of ["Cargo.toml", "nodejs/native/Cargo.toml"]) {
|
|||
replaceInFile(f, /^version = "\d+\.\d+\.\d+"\s*$/m, `version = "${NEW_VERSION}"`);
|
||||
}
|
||||
|
||||
for (const f of ["README.md"]) {
|
||||
for (const f of ["README.md", "nodejs/native/Cargo.toml"]) {
|
||||
replaceInFile(f, /^hyperbuild = "\d+\.\d+\.\d+"\s*$/m, `hyperbuild = "${NEW_VERSION}"`);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue