Skip to content

Commit

Permalink
6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
romainmenke committed Oct 23, 2024
1 parent fa8faf9 commit 1316489
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
!.editorconfig
!.gitignore
!.github
!.rollup.js
!.rollup.mjs
!.tape.js
!.travis.yml
*.log*
Expand Down
9 changes: 0 additions & 9 deletions .rollup.js → .rollup.mjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
import babel from 'rollup-plugin-babel';

export default {
input: 'src/index.js',
output: [
{ file: 'dist/index.cjs', format: 'cjs', sourcemap: false, strict: false, exports: 'auto' },
{ file: 'dist/index.mjs', format: 'esm', sourcemap: false, strict: false, exports: 'auto' }
],
plugins: [
babel({
presets: [
['@babel/env', { modules: false, targets: { node: 12 } }]
]
})
]
};
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changes to Input Range

### 6.0.0 (October 23, 2024)

- Updated: `postcss-selector-parser`
- Updated: minimum node version is now 18.

### 5.0.0 (April 12, 2022)

- Added: PostCSS 8 compatibility (breaking)
Expand Down
31 changes: 6 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postcss-input-range",
"version": "5.0.0",
"version": "6.0.0",
"description": "Style range inputs with unprefixed pseudo-classes",
"author": "Jonathan Neal <[email protected]>",
"license": "CC0-1.0",
Expand All @@ -23,47 +23,28 @@
"dist"
],
"scripts": {
"build": "rollup --config .rollup.js --silent",
"build": "rollup --config .rollup.mjs --silent",
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
"prepublishOnly": "npm run clean && npm run build && npm run test",
"test": "npm run lint && npm run test:tape",
"lint": "echint && eslint src/{*,**/*}.js --cache --ignore-path .gitignore --quiet",
"test:tape": "postcss-tape"
"test": "postcss-tape"
},
"engines": {
"node": "^12 || ^14 || >=16"
"node": ">=18"
},
"dependencies": {
"postcss-selector-parser": "^6.0.10"
"postcss-selector-parser": "^7.0.0"
},
"devDependencies": {
"@babel/core": "^7.17.2",
"@babel/eslint-parser": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"echint": "^4.0.1",
"echint-config-dev": "1.0.0",
"eslint": "^8.13.0",
"eslint-config-dev": "2.0.0",
"postcss": "^8.4.6",
"postcss-tape": "^6.0.1",
"rollup": "^2.67.2",
"rollup-plugin-babel": "^4.4.0"
"rollup": "^4.0.0"
},
"peerDependencies": {
"postcss": "^8.0.0"
},
"postcssConfig": {
"config": ".tape.js"
},
"echint": {
"extends": "dev"
},
"eslintConfig": {
"extends": "dev",
"parserOptions": {
"sourceType": "module"
}
},
"keywords": [
"postcss",
"css",
Expand Down

0 comments on commit 1316489

Please sign in to comment.