mirror of
https://github.com/swc-project/swc.git
synced 2024-12-03 13:17:09 +03:00
chore: Publish 1.4.1 with swc_core v0.90.8
This commit is contained in:
parent
447b66cd1b
commit
83dfc26dac
6
bindings/Cargo.lock
generated
6
bindings/Cargo.lock
generated
@ -224,7 +224,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "binding_core_wasm"
|
name = "binding_core_wasm"
|
||||||
version = "1.4.1-nightly-20240213.2"
|
version = "1.4.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"getrandom",
|
"getrandom",
|
||||||
@ -284,7 +284,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "binding_minifier_wasm"
|
name = "binding_minifier_wasm"
|
||||||
version = "1.4.1-nightly-20240213.2"
|
version = "1.4.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"getrandom",
|
"getrandom",
|
||||||
@ -3039,7 +3039,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "swc_cli"
|
name = "swc_cli"
|
||||||
version = "0.91.169"
|
version = "0.91.176"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"swc_cli_impl",
|
"swc_cli_impl",
|
||||||
|
@ -6,7 +6,7 @@ license = "Apache-2.0"
|
|||||||
name = "binding_core_wasm"
|
name = "binding_core_wasm"
|
||||||
publish = false
|
publish = false
|
||||||
repository = "https://github.com/swc-project/swc.git"
|
repository = "https://github.com/swc-project/swc.git"
|
||||||
version = "1.4.1-nightly-20240213.2"
|
version = "1.4.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
bench = false
|
bench = false
|
||||||
|
@ -6,7 +6,7 @@ license = "Apache-2.0"
|
|||||||
name = "binding_minifier_wasm"
|
name = "binding_minifier_wasm"
|
||||||
publish = false
|
publish = false
|
||||||
repository = "https://github.com/swc-project/swc.git"
|
repository = "https://github.com/swc-project/swc.git"
|
||||||
version = "1.4.1-nightly-20240213.2"
|
version = "1.4.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
bench = false
|
bench = false
|
||||||
|
@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
|
|||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
name = "swc_cli"
|
name = "swc_cli"
|
||||||
repository = "https://github.com/swc-project/swc.git"
|
repository = "https://github.com/swc-project/swc.git"
|
||||||
version = "0.91.169"
|
version = "0.91.176"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
bench = false
|
bench = false
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/core",
|
"name": "@swc/core",
|
||||||
"version": "1.4.1-nightly-20240213.2",
|
"version": "1.4.1",
|
||||||
"description": "Super-fast alternative for babel",
|
"description": "Super-fast alternative for babel",
|
||||||
"homepage": "https://swc.rs",
|
"homepage": "https://swc.rs",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
@ -57,7 +57,7 @@
|
|||||||
"build": "tsc -d && napi build --manifest-path bindings/Cargo.toml --platform -p binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts --release -o .",
|
"build": "tsc -d && napi build --manifest-path bindings/Cargo.toml --platform -p binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts --release -o .",
|
||||||
"build:dev": "tsc -d && napi build --manifest-path bindings/Cargo.toml --platform -p binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts -o .",
|
"build:dev": "tsc -d && napi build --manifest-path bindings/Cargo.toml --platform -p binding_core_node --js ./node-swc/src/binding.js --dts ./node-swc/src/binding.d.ts -o .",
|
||||||
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest --config ./node-swc/jest.config.js",
|
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest --config ./node-swc/jest.config.js",
|
||||||
"version": "napi version -p scripts/npm"
|
"version": "napi version --npm-dir scripts/npm"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.toml": [
|
"*.toml": [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/minifier",
|
"name": "@swc/minifier",
|
||||||
"version": "1.4.1-nightly-20240213.2",
|
"version": "1.4.1",
|
||||||
"description": "Super-fast alternative for terser",
|
"description": "Super-fast alternative for terser",
|
||||||
"homepage": "https://swc.rs",
|
"homepage": "https://swc.rs",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
@ -50,7 +50,7 @@
|
|||||||
"build": "tsc -d && napi build --platform --js ./src/binding.js --dts ./src/binding.d.ts --manifest-path ../../bindings/Cargo.toml -p binding_minifier_node --output-dir . --release",
|
"build": "tsc -d && napi build --platform --js ./src/binding.js --dts ./src/binding.d.ts --manifest-path ../../bindings/Cargo.toml -p binding_minifier_node --output-dir . --release",
|
||||||
"build:dev": "tsc -d && napi build --platform --js ./src/binding.js --dts ./src/binding.d.ts --manifest-path ../../bindings/Cargo.toml -p binding_minifier_node --output-dir .",
|
"build:dev": "tsc -d && napi build --platform --js ./src/binding.js --dts ./src/binding.d.ts --manifest-path ../../bindings/Cargo.toml -p binding_minifier_node --output-dir .",
|
||||||
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' echo 'no test'",
|
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' echo 'no test'",
|
||||||
"version": "napi version -p scripts/npm"
|
"version": "napi version --npm-dir scripts/npm"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
|
@ -1,42 +1,42 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/minifier-darwin-arm64",
|
"name": "@swc/minifier-darwin-arm64",
|
||||||
"version": "1.3.100",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"darwin"
|
"darwin"
|
||||||
],
|
],
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
"main": "minifier.darwin-arm64.node",
|
"main": "minifier.darwin-arm64.node",
|
||||||
"files": [
|
"files": [
|
||||||
"minifier.darwin-arm64.node",
|
"minifier.darwin-arm64.node",
|
||||||
"swc"
|
"swc"
|
||||||
],
|
],
|
||||||
"description": "Super-fast alternative for babel",
|
"description": "Super-fast alternative for babel",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"swc",
|
"swc",
|
||||||
"swcpack",
|
"swcpack",
|
||||||
"babel",
|
"babel",
|
||||||
"typescript",
|
"typescript",
|
||||||
"rust",
|
"rust",
|
||||||
"webpack",
|
"webpack",
|
||||||
"tsc"
|
"tsc"
|
||||||
],
|
],
|
||||||
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
||||||
"homepage": "https://swc.rs",
|
"homepage": "https://swc.rs",
|
||||||
"license": "Apache-2.0 AND MIT",
|
"license": "Apache-2.0 AND MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10"
|
"node": ">=10"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://registry.npmjs.org/",
|
"registry": "https://registry.npmjs.org/",
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/swc-project/swc.git"
|
"url": "git+https://github.com/swc-project/swc.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/swc-project/swc/issues"
|
"url": "https://github.com/swc-project/swc/issues"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,42 +1,42 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/minifier-darwin-x64",
|
"name": "@swc/minifier-darwin-x64",
|
||||||
"version": "1.4.0",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"darwin"
|
"darwin"
|
||||||
],
|
],
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
"main": "minifier.darwin-x64.node",
|
"main": "minifier.darwin-x64.node",
|
||||||
"files": [
|
"files": [
|
||||||
"minifier.darwin-x64.node",
|
"minifier.darwin-x64.node",
|
||||||
"swc"
|
"swc"
|
||||||
],
|
],
|
||||||
"description": "Super-fast alternative for babel",
|
"description": "Super-fast alternative for babel",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"swc",
|
"swc",
|
||||||
"swcpack",
|
"swcpack",
|
||||||
"babel",
|
"babel",
|
||||||
"typescript",
|
"typescript",
|
||||||
"rust",
|
"rust",
|
||||||
"webpack",
|
"webpack",
|
||||||
"tsc"
|
"tsc"
|
||||||
],
|
],
|
||||||
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
||||||
"homepage": "https://swc.rs",
|
"homepage": "https://swc.rs",
|
||||||
"license": "Apache-2.0 AND MIT",
|
"license": "Apache-2.0 AND MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10"
|
"node": ">=10"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://registry.npmjs.org/",
|
"registry": "https://registry.npmjs.org/",
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/swc-project/swc.git"
|
"url": "git+https://github.com/swc-project/swc.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/swc-project/swc/issues"
|
"url": "https://github.com/swc-project/swc/issues"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,38 +1,38 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/minifier-linux-arm-gnueabihf",
|
"name": "@swc/minifier-linux-arm-gnueabihf",
|
||||||
"version": "1.3.100",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
],
|
],
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm"
|
"arm"
|
||||||
],
|
],
|
||||||
"main": "minifier.linux-arm-gnueabihf.node",
|
"main": "minifier.linux-arm-gnueabihf.node",
|
||||||
"files": [
|
"files": [
|
||||||
"minifier.linux-arm-gnueabihf.node",
|
"minifier.linux-arm-gnueabihf.node",
|
||||||
"swc"
|
"swc"
|
||||||
],
|
],
|
||||||
"description": "Super-fast alternative for terser",
|
"description": "Super-fast alternative for terser",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"swc",
|
"swc",
|
||||||
"terser",
|
"terser",
|
||||||
"minifier"
|
"minifier"
|
||||||
],
|
],
|
||||||
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
||||||
"homepage": "https://swc.rs",
|
"homepage": "https://swc.rs",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12"
|
"node": ">=12"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://registry.npmjs.org/",
|
"registry": "https://registry.npmjs.org/",
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/swc-project/swc.git"
|
"url": "git+https://github.com/swc-project/swc.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/swc-project/swc/issues"
|
"url": "https://github.com/swc-project/swc/issues"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,45 +1,45 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/minifier-linux-arm64-gnu",
|
"name": "@swc/minifier-linux-arm64-gnu",
|
||||||
"version": "1.3.100",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
],
|
],
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
"main": "minifier.linux-arm64-gnu.node",
|
"main": "minifier.linux-arm64-gnu.node",
|
||||||
"files": [
|
"files": [
|
||||||
"minifier.linux-arm64-gnu.node",
|
"minifier.linux-arm64-gnu.node",
|
||||||
"swc"
|
"swc"
|
||||||
],
|
],
|
||||||
"libc": [
|
"libc": [
|
||||||
"glibc"
|
"glibc"
|
||||||
],
|
],
|
||||||
"description": "Super-fast alternative for babel",
|
"description": "Super-fast alternative for babel",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"swc",
|
"swc",
|
||||||
"swcpack",
|
"swcpack",
|
||||||
"babel",
|
"babel",
|
||||||
"typescript",
|
"typescript",
|
||||||
"rust",
|
"rust",
|
||||||
"webpack",
|
"webpack",
|
||||||
"tsc"
|
"tsc"
|
||||||
],
|
],
|
||||||
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
||||||
"homepage": "https://swc.rs",
|
"homepage": "https://swc.rs",
|
||||||
"license": "Apache-2.0 AND MIT",
|
"license": "Apache-2.0 AND MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10"
|
"node": ">=10"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://registry.npmjs.org/",
|
"registry": "https://registry.npmjs.org/",
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/swc-project/swc.git"
|
"url": "git+https://github.com/swc-project/swc.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/swc-project/swc/issues"
|
"url": "https://github.com/swc-project/swc/issues"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,45 +1,45 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/minifier-linux-arm64-musl",
|
"name": "@swc/minifier-linux-arm64-musl",
|
||||||
"version": "1.3.100",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
],
|
],
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
"main": "minifier.linux-arm64-musl.node",
|
"main": "minifier.linux-arm64-musl.node",
|
||||||
"files": [
|
"files": [
|
||||||
"minifier.linux-arm64-musl.node",
|
"minifier.linux-arm64-musl.node",
|
||||||
"swc"
|
"swc"
|
||||||
],
|
],
|
||||||
"libc": [
|
"libc": [
|
||||||
"musl"
|
"musl"
|
||||||
],
|
],
|
||||||
"description": "Super-fast alternative for babel",
|
"description": "Super-fast alternative for babel",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"swc",
|
"swc",
|
||||||
"swcpack",
|
"swcpack",
|
||||||
"babel",
|
"babel",
|
||||||
"typescript",
|
"typescript",
|
||||||
"rust",
|
"rust",
|
||||||
"webpack",
|
"webpack",
|
||||||
"tsc"
|
"tsc"
|
||||||
],
|
],
|
||||||
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
||||||
"homepage": "https://swc.rs",
|
"homepage": "https://swc.rs",
|
||||||
"license": "Apache-2.0 AND MIT",
|
"license": "Apache-2.0 AND MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10"
|
"node": ">=10"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://registry.npmjs.org/",
|
"registry": "https://registry.npmjs.org/",
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/swc-project/swc.git"
|
"url": "git+https://github.com/swc-project/swc.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/swc-project/swc/issues"
|
"url": "https://github.com/swc-project/swc/issues"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,45 +1,45 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/minifier-linux-x64-gnu",
|
"name": "@swc/minifier-linux-x64-gnu",
|
||||||
"version": "1.4.0",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
],
|
],
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
"main": "minifier.linux-x64-gnu.node",
|
"main": "minifier.linux-x64-gnu.node",
|
||||||
"files": [
|
"files": [
|
||||||
"minifier.linux-x64-gnu.node",
|
"minifier.linux-x64-gnu.node",
|
||||||
"swc"
|
"swc"
|
||||||
],
|
],
|
||||||
"libc": [
|
"libc": [
|
||||||
"glibc"
|
"glibc"
|
||||||
],
|
],
|
||||||
"description": "Super-fast alternative for babel",
|
"description": "Super-fast alternative for babel",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"swc",
|
"swc",
|
||||||
"swcpack",
|
"swcpack",
|
||||||
"babel",
|
"babel",
|
||||||
"typescript",
|
"typescript",
|
||||||
"rust",
|
"rust",
|
||||||
"webpack",
|
"webpack",
|
||||||
"tsc"
|
"tsc"
|
||||||
],
|
],
|
||||||
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
||||||
"homepage": "https://swc.rs",
|
"homepage": "https://swc.rs",
|
||||||
"license": "Apache-2.0 AND MIT",
|
"license": "Apache-2.0 AND MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10"
|
"node": ">=10"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://registry.npmjs.org/",
|
"registry": "https://registry.npmjs.org/",
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/swc-project/swc.git"
|
"url": "git+https://github.com/swc-project/swc.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/swc-project/swc/issues"
|
"url": "https://github.com/swc-project/swc/issues"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,45 +1,45 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/minifier-linux-x64-musl",
|
"name": "@swc/minifier-linux-x64-musl",
|
||||||
"version": "1.3.100",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
],
|
],
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
"main": "minifier.linux-x64-musl.node",
|
"main": "minifier.linux-x64-musl.node",
|
||||||
"files": [
|
"files": [
|
||||||
"minifier.linux-x64-musl.node",
|
"minifier.linux-x64-musl.node",
|
||||||
"swc"
|
"swc"
|
||||||
],
|
],
|
||||||
"libc": [
|
"libc": [
|
||||||
"musl"
|
"musl"
|
||||||
],
|
],
|
||||||
"description": "Super-fast alternative for babel",
|
"description": "Super-fast alternative for babel",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"swc",
|
"swc",
|
||||||
"swcpack",
|
"swcpack",
|
||||||
"babel",
|
"babel",
|
||||||
"typescript",
|
"typescript",
|
||||||
"rust",
|
"rust",
|
||||||
"webpack",
|
"webpack",
|
||||||
"tsc"
|
"tsc"
|
||||||
],
|
],
|
||||||
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
||||||
"homepage": "https://swc.rs",
|
"homepage": "https://swc.rs",
|
||||||
"license": "Apache-2.0 AND MIT",
|
"license": "Apache-2.0 AND MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10"
|
"node": ">=10"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://registry.npmjs.org/",
|
"registry": "https://registry.npmjs.org/",
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/swc-project/swc.git"
|
"url": "git+https://github.com/swc-project/swc.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/swc-project/swc/issues"
|
"url": "https://github.com/swc-project/swc/issues"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,42 +1,42 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/minifier-win32-arm64-msvc",
|
"name": "@swc/minifier-win32-arm64-msvc",
|
||||||
"version": "1.3.100",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"win32"
|
"win32"
|
||||||
],
|
],
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
"main": "minifier.win32-arm64-msvc.node",
|
"main": "minifier.win32-arm64-msvc.node",
|
||||||
"files": [
|
"files": [
|
||||||
"minifier.win32-arm64-msvc.node",
|
"minifier.win32-arm64-msvc.node",
|
||||||
"swc.exe"
|
"swc.exe"
|
||||||
],
|
],
|
||||||
"description": "Super-fast alternative for babel",
|
"description": "Super-fast alternative for babel",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"swc",
|
"swc",
|
||||||
"swcpack",
|
"swcpack",
|
||||||
"babel",
|
"babel",
|
||||||
"typescript",
|
"typescript",
|
||||||
"rust",
|
"rust",
|
||||||
"webpack",
|
"webpack",
|
||||||
"tsc"
|
"tsc"
|
||||||
],
|
],
|
||||||
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
||||||
"homepage": "https://swc.rs",
|
"homepage": "https://swc.rs",
|
||||||
"license": "Apache-2.0 AND MIT",
|
"license": "Apache-2.0 AND MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10"
|
"node": ">=10"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://registry.npmjs.org/",
|
"registry": "https://registry.npmjs.org/",
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/swc-project/swc.git"
|
"url": "git+https://github.com/swc-project/swc.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/swc-project/swc/issues"
|
"url": "https://github.com/swc-project/swc/issues"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,42 +1,42 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/minifier-win32-ia32-msvc",
|
"name": "@swc/minifier-win32-ia32-msvc",
|
||||||
"version": "1.3.100",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"win32"
|
"win32"
|
||||||
],
|
],
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"ia32"
|
"ia32"
|
||||||
],
|
],
|
||||||
"main": "minifier.win32-ia32-msvc.node",
|
"main": "minifier.win32-ia32-msvc.node",
|
||||||
"files": [
|
"files": [
|
||||||
"minifier.win32-ia32-msvc.node",
|
"minifier.win32-ia32-msvc.node",
|
||||||
"swc.exe"
|
"swc.exe"
|
||||||
],
|
],
|
||||||
"description": "Super-fast alternative for babel",
|
"description": "Super-fast alternative for babel",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"swc",
|
"swc",
|
||||||
"swcpack",
|
"swcpack",
|
||||||
"babel",
|
"babel",
|
||||||
"typescript",
|
"typescript",
|
||||||
"rust",
|
"rust",
|
||||||
"webpack",
|
"webpack",
|
||||||
"tsc"
|
"tsc"
|
||||||
],
|
],
|
||||||
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
||||||
"homepage": "https://swc.rs",
|
"homepage": "https://swc.rs",
|
||||||
"license": "Apache-2.0 AND MIT",
|
"license": "Apache-2.0 AND MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10"
|
"node": ">=10"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://registry.npmjs.org/",
|
"registry": "https://registry.npmjs.org/",
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/swc-project/swc.git"
|
"url": "git+https://github.com/swc-project/swc.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/swc-project/swc/issues"
|
"url": "https://github.com/swc-project/swc/issues"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,42 +1,42 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/minifier-win32-x64-msvc",
|
"name": "@swc/minifier-win32-x64-msvc",
|
||||||
"version": "1.4.0",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"win32"
|
"win32"
|
||||||
],
|
],
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
"main": "minifier.win32-x64-msvc.node",
|
"main": "minifier.win32-x64-msvc.node",
|
||||||
"files": [
|
"files": [
|
||||||
"minifier.win32-x64-msvc.node",
|
"minifier.win32-x64-msvc.node",
|
||||||
"swc.exe"
|
"swc.exe"
|
||||||
],
|
],
|
||||||
"description": "Super-fast alternative for babel",
|
"description": "Super-fast alternative for babel",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"swc",
|
"swc",
|
||||||
"swcpack",
|
"swcpack",
|
||||||
"babel",
|
"babel",
|
||||||
"typescript",
|
"typescript",
|
||||||
"rust",
|
"rust",
|
||||||
"webpack",
|
"webpack",
|
||||||
"tsc"
|
"tsc"
|
||||||
],
|
],
|
||||||
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
"author": "강동윤 <kdy1997.dev@gmail.com>",
|
||||||
"homepage": "https://swc.rs",
|
"homepage": "https://swc.rs",
|
||||||
"license": "Apache-2.0 AND MIT",
|
"license": "Apache-2.0 AND MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10"
|
"node": ">=10"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://registry.npmjs.org/",
|
"registry": "https://registry.npmjs.org/",
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/swc-project/swc.git"
|
"url": "git+https://github.com/swc-project/swc.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/swc-project/swc/issues"
|
"url": "https://github.com/swc-project/swc/issues"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/core-darwin-arm64",
|
"name": "@swc/core-darwin-arm64",
|
||||||
"version": "1.3.100",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"darwin"
|
"darwin"
|
||||||
],
|
],
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/core-darwin-x64",
|
"name": "@swc/core-darwin-x64",
|
||||||
"version": "1.4.0",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"darwin"
|
"darwin"
|
||||||
],
|
],
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/core-linux-arm-gnueabihf",
|
"name": "@swc/core-linux-arm-gnueabihf",
|
||||||
"version": "1.3.100",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
],
|
],
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/core-linux-arm64-gnu",
|
"name": "@swc/core-linux-arm64-gnu",
|
||||||
"version": "1.3.100",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
],
|
],
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/core-linux-arm64-musl",
|
"name": "@swc/core-linux-arm64-musl",
|
||||||
"version": "1.3.100",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
],
|
],
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/core-linux-x64-gnu",
|
"name": "@swc/core-linux-x64-gnu",
|
||||||
"version": "1.4.0",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
],
|
],
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/core-linux-x64-musl",
|
"name": "@swc/core-linux-x64-musl",
|
||||||
"version": "1.3.100",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"linux"
|
"linux"
|
||||||
],
|
],
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/core-win32-arm64-msvc",
|
"name": "@swc/core-win32-arm64-msvc",
|
||||||
"version": "1.3.100",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"win32"
|
"win32"
|
||||||
],
|
],
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/core-win32-ia32-msvc",
|
"name": "@swc/core-win32-ia32-msvc",
|
||||||
"version": "1.3.100",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"win32"
|
"win32"
|
||||||
],
|
],
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@swc/core-win32-x64-msvc",
|
"name": "@swc/core-win32-x64-msvc",
|
||||||
"version": "1.4.0",
|
"version": "1.4.1",
|
||||||
"os": [
|
"os": [
|
||||||
"win32"
|
"win32"
|
||||||
],
|
],
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -eux
|
set -eu
|
||||||
|
|
||||||
|
|
||||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||||
|
|
||||||
version="$1"
|
version="$1"
|
||||||
|
swc_core_version="$(cargo tree -i -p swc_core --depth 0 | awk '{print $2}')"
|
||||||
|
|
||||||
# Reset other changes
|
git pull || true
|
||||||
git commit $SCRIPT_DIR/publish.sh -m 'Update publish script' || true
|
yarn
|
||||||
git reset --hard
|
|
||||||
|
echo "Publishing $version with swc_core $swc_core_version"
|
||||||
|
|
||||||
# Update swc_core
|
# Update swc_core
|
||||||
(cd ./bindings && cargo upgrade -p swc_core --recursive false)
|
(cd ./bindings && cargo upgrade -p swc_core --recursive false)
|
||||||
@ -19,3 +21,20 @@ npm version "$version" --no-git-tag-version --allow-same-version || true
|
|||||||
(cd ./packages/minifier && npm version "$version" --no-git-tag-version --allow-same-version || true)
|
(cd ./packages/minifier && npm version "$version" --no-git-tag-version --allow-same-version || true)
|
||||||
(cd ./bindings && cargo set-version $version -p binding_core_wasm -p binding_minifier_wasm)
|
(cd ./bindings && cargo set-version $version -p binding_core_wasm -p binding_minifier_wasm)
|
||||||
(cd ./bindings && cargo set-version --bump patch -p swc_cli)
|
(cd ./bindings && cargo set-version --bump patch -p swc_cli)
|
||||||
|
|
||||||
|
|
||||||
|
# Commmit and tag
|
||||||
|
git add -A
|
||||||
|
git commit -am "chore: Publish $version with swc_core $swc_core_version"
|
||||||
|
git tag -a -m "swc_core $swc_core_version" "v$version"
|
||||||
|
|
||||||
|
|
||||||
|
# Update changelog
|
||||||
|
yarn changelog
|
||||||
|
git add -A
|
||||||
|
git commit -m 'chore: Update changelog'
|
||||||
|
|
||||||
|
# Publish packages
|
||||||
|
git push
|
||||||
|
git push --tags
|
||||||
|
(cd ./bindings && cargo mono publish --no-verify)
|
Loading…
Reference in New Issue
Block a user