Skip to content

Commit 70f27d5

Browse files
Remove Oxide postinstall script (#19149)
This PR effectively reverts #17929. The bug in npm that required it was fixed a couple of months ago and with recent changes to pnpm that requires manually approving all postinstall scripts, this is creating some unnecessary noise.
1 parent 48c274d commit 70f27d5

File tree

5 files changed

+17
-280
lines changed

5 files changed

+17
-280
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Remove the `postinstall` script from oxide ([#19149])(https://github.com/tailwindlabs/tailwindcss/pull/19149)
13+
1014
### Added
1115

1216
- _Experimental_: Add `@container-size` utility ([#18901](https://github.com/tailwindlabs/tailwindcss/pull/18901))

crates/node/package.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@
3232
}
3333
},
3434
"license": "MIT",
35-
"dependencies": {
36-
"tar": "^7.5.1",
37-
"detect-libc": "^2.0.4"
38-
},
3935
"devDependencies": {
4036
"@napi-rs/cli": "^3.3.0",
4137
"@napi-rs/wasm-runtime": "^1.0.7",
@@ -46,8 +42,7 @@
4642
},
4743
"files": [
4844
"index.js",
49-
"index.d.ts",
50-
"scripts/install.js"
45+
"index.d.ts"
5146
],
5247
"publishConfig": {
5348
"provenance": true,
@@ -61,8 +56,7 @@
6156
"postbuild:wasm": "node ./scripts/move-artifacts.mjs",
6257
"dev": "cargo watch --quiet --shell 'npm run build'",
6358
"build:debug": "napi build --platform",
64-
"version": "napi version",
65-
"postinstall": "node ./scripts/install.js"
59+
"version": "napi version"
6660
},
6761
"optionalDependencies": {
6862
"@tailwindcss/oxide-android-arm64": "workspace:*",

crates/node/scripts/install.js

Lines changed: 0 additions & 143 deletions
This file was deleted.

integrations/oxide/postinstall.test.ts

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)