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

Drop support for Node.js v12 #11089

Merged
merged 23 commits into from
Apr 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b4b1b83
bump `postcss-load-config` in the oxide engine
RobinMalfait Apr 25, 2023
2738fce
bump `postcss-load-config` in the stable engine
RobinMalfait Apr 25, 2023
0a05a68
update changelog
RobinMalfait Apr 25, 2023
18a626e
Switch to stable
reinink Apr 25, 2023
0443610
Update Node to v14
reinink Apr 25, 2023
e8a4491
Update to latest dependency versions
reinink Apr 25, 2023
2bc6bd1
Update test helper for new version of `rimraf`
reinink Apr 25, 2023
6596c9c
Downgrade `lightningcss` to `v1.18.0`
reinink Apr 25, 2023
5bea807
Switch back to oxide
reinink Apr 25, 2023
c6a9e09
Update Github actions from Node 12 to Node 14
reinink Apr 25, 2023
4c57b54
Update oxide dependencies
reinink Apr 25, 2023
553e440
Update stable dependencies
reinink Apr 25, 2023
9868ff3
Update `content-resolution` integration test dependencies
reinink Apr 25, 2023
32319d8
Update `postcss-cli` integration test dependencies
reinink Apr 25, 2023
3ebf5aa
Update `rollup` integration test dependencies
reinink Apr 25, 2023
60b985a
Update `rollup-sass` integration test dependencies
reinink Apr 25, 2023
68dd542
Update `vite` integration test dependencies
reinink Apr 25, 2023
970ec57
Update `webpack-5` integration test dependencies
reinink Apr 25, 2023
cacdcf2
Update changelog
reinink Apr 25, 2023
befcc11
Remove `color-name` dependency
reinink Apr 25, 2023
be491e7
Replace `quick-lru` dependency with `@alloc/quick-lru`
reinink Apr 25, 2023
74763f2
Replace `quick-lru` dependency with `@alloc/quick-lru` in stable
reinink Apr 25, 2023
53d6ad5
Fix standalone CLI test
thecrypticace Apr 25, 2023
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
2 changes: 1 addition & 1 deletion .github/workflows/ci-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

strategy:
matrix:
node-version: [12, 18]
node-version: [14, 18]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-insiders-oxide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ jobs:
include:
- target: x86_64-unknown-linux-gnu
strip: strip
image: docker.io/centos/nodejs-12-centos7
image: docker.io/centos/nodejs-14-centos7
- target: aarch64-unknown-linux-gnu
strip: aarch64-linux-gnu-strip
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-oxide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
include:
- target: x86_64-unknown-linux-gnu
strip: strip
image: docker.io/centos/nodejs-12-centos7
image: docker.io/centos/nodejs-14-centos7
- target: aarch64-unknown-linux-gnu
strip: aarch64-linux-gnu-strip
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [12]
node-version: [14]

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Ensure multiple `theme(spacing[5])` calls with bracket notation in arbitrary properties work ([#11039](https://github.com/tailwindlabs/tailwindcss/pull/11039))
- Normalize arbitrary modifiers ([#11057](https://github.com/tailwindlabs/tailwindcss/pull/11057))

### Changed

- Drop support for Node.js v12 ([#11089](https://github.com/tailwindlabs/tailwindcss/pull/11089))

## [3.3.1] - 2023-03-30

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions integrations/content-resolution/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"devDependencies": {
"postcss": "^8.4.21",
"postcss-cli": "^9.1.0"
"postcss": "^8.4.23",
"postcss-cli": "^10.1.0"
}
}
4 changes: 2 additions & 2 deletions integrations/postcss-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"devDependencies": {
"postcss": "^8.4.21",
"postcss-cli": "^9.1.0"
"postcss": "^8.4.23",
"postcss-cli": "^10.1.0"
}
}
4 changes: 2 additions & 2 deletions integrations/rollup-sass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
}
},
"devDependencies": {
"rollup": "^3.20.0",
"rollup": "^3.21.0",
"rollup-plugin-postcss": "^4.0.2",
"sass": "^1.59.3"
"sass": "^1.62.0"
}
}
2 changes: 1 addition & 1 deletion integrations/rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"devDependencies": {
"rollup": "^3.20.0",
"rollup": "^3.21.0",
"rollup-plugin-postcss": "^4.0.2"
}
}
2 changes: 1 addition & 1 deletion integrations/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
},
"devDependencies": {
"isomorphic-fetch": "^3.0.0",
"vite": "^4.2.1"
"vite": "^4.3.2"
}
}
10 changes: 5 additions & 5 deletions integrations/webpack-5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
}
},
"devDependencies": {
"css-loader": "^6.7.1",
"mini-css-extract-plugin": "^2.7.2",
"postcss-loader": "^6.2.1",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
"css-loader": "^6.7.3",
"mini-css-extract-plugin": "^2.7.5",
"postcss-loader": "^7.2.4",
"webpack": "^5.80.0",
"webpack-cli": "^5.0.2"
}
}
35 changes: 18 additions & 17 deletions jest/runInTempDirectory.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
import fs from 'fs'
import fs from 'fs/promises'
import path from 'path'

import rimraf from 'rimraf'
import { rimraf } from 'rimraf'

let id = 0

export default function (callback) {
return new Promise((resolve) => {
const workerId = `${process.env.JEST_WORKER_ID}-${id++}`
const tmpPath = path.resolve(__dirname, `../__tmp_${workerId}`)
const currentPath = process.cwd()
/**
* @template T
* @param {() => Promise<T>} callback
* @returns {Promise<T>}
*/
export default async function (callback) {
const workerId = `${process.env.JEST_WORKER_ID}-${id++}`
const tmpPath = path.resolve(__dirname, `../__tmp_${workerId}`)
const currentPath = process.cwd()

rimraf.sync(tmpPath)
fs.mkdirSync(tmpPath)
process.chdir(tmpPath)
await rimraf(tmpPath)
await fs.mkdir(tmpPath)

callback().then(() => {
process.chdir(currentPath)
process.chdir(tmpPath)
let result = await callback()
process.chdir(currentPath)

rimraf.sync(tmpPath)
resolve()
})
})
await rimraf(tmpPath)
return result
}
Loading