Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: bump swc #1099

Merged
merged 1 commit into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
190 changes: 103 additions & 87 deletions packages/examples/rollup-swc-example/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/examples/rollup-swc-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^11.2.1",
"@swc/core": "1.3.68",
"@swc/core": "1.3.81",
"concurrently": "7.0.0",
"cross-env": "^7.0.3",
"dotenv": "^16.0.3",
Expand Down
190 changes: 103 additions & 87 deletions packages/examples/swc-example/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/examples/swc-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"license": "MIT",
"devDependencies": {
"@swc/cli": "^0.1.57",
"@swc/core": "1.3.68",
"@swc/core": "1.3.81",
"cross-env": "^7.0.3"
}
}
190 changes: 103 additions & 87 deletions packages/examples/vite-swc-example/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/examples/vite-swc-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"preview": "echo HELLO=import-meta-env > .env && import-meta-env -x .env.example.public && vite preview"
},
"devDependencies": {
"@swc/core": "1.3.68",
"@swc/core": "1.3.81",
"cross-env": "^7.0.3",
"dotenv": "^16.0.3",
"rimraf": "^3.0.2",
Expand Down
190 changes: 103 additions & 87 deletions packages/examples/webpack-swc-example/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/examples/webpack-swc-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"preview": "echo HELLO=import-meta-env > .env && import-meta-env -x .env.example.public && node ../serve.js -d dist -p 4173"
},
"devDependencies": {
"@swc/core": "1.3.68",
"@swc/core": "1.3.81",
"concurrently": "7.0.0",
"cross-env": "^7.0.3",
"dotenv": "^16.0.3",
Expand Down
24 changes: 12 additions & 12 deletions packages/swc/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/swc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rust-ini = "0.19.0"
serde = "1.0.188"
serde_json = "1.0.107"
string_cache = "0.8.7"
swc_core = { version = "0.83.38", features = [
swc_core = { version = "0.82.0", features = [
"ecma_plugin_transform",
"ecma_ast_serde",
] }
Expand Down
4 changes: 2 additions & 2 deletions packages/swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"main": "import_meta_env_swc.wasm",
"scripts": {
"prepare": "rustup target add wasm32-wasi",
"build": "cargo build --all --release --target wasm32-wasi",
"build": "cargo build --all --release --target wasm32-wasi --locked",
"prepack": "cp target/wasm32-wasi/release/import_meta_env_swc.wasm .",
"pack": "rm -rf *.tgz && pnpm pack && node ../../scripts/rename-tgz.js",
"postinstall": "node -e \"try{require('./scripts/postinstall')}catch(e){}\"",
Expand All @@ -28,7 +28,7 @@
"homepage": "https://github.com/iendeavor/import-meta-env/tree/main/packages/swc#readme",
"peerDependencies": {
"@import-meta-env/cli": "^0.5.1 || ^0.6.1",
"@swc/core": "^1.3.68"
"@swc/core": "^1.3.81"
},
"peerDependenciesMeta": {
"@import-meta-env/cli": {
Expand Down