Skip to content

Commit a0de360

Browse files
authored
update rollup (#694)
* update rollup * fix windows support
1 parent fa8f8f1 commit a0de360

File tree

66 files changed

+143
-222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+143
-222
lines changed

cli/csstools-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"postcss": "^8.4.14"
7373
},
7474
"scripts": {
75-
"build": "rollup -c ../../rollup/default.js",
75+
"build": "rollup -c ../../rollup/default.mjs",
7676
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
7777
"csstools-cli": "csstools-cli",
7878
"lint": "npm run lint:eslint && npm run lint:package-json",

experimental/css-has-pseudo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"postcss": "^8.4"
4040
},
4141
"scripts": {
42-
"build": "rollup -c ../../rollup/default.js",
42+
"build": "rollup -c ../../rollup/default.mjs",
4343
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
4444
"lint": "npm run lint:eslint && npm run lint:package-json",
4545
"lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",

experimental/postcss-nesting/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"postcss": "^8.4"
3434
},
3535
"scripts": {
36-
"build": "rollup -c ../../rollup/default.js",
36+
"build": "rollup -c ../../rollup/default.mjs",
3737
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
3838
"docs": "node ../../.github/bin/generate-docs/install.mjs",
3939
"lint": "npm run lint:eslint && npm run lint:package-json",

package-lock.json

Lines changed: 43 additions & 137 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
"@rollup/plugin-babel": "^6.0.0",
2626
"@rollup/plugin-commonjs": "^23.0.0",
2727
"@rollup/plugin-node-resolve": "^15.0.0",
28+
"@rollup/plugin-terser": "^0.1.0",
2829
"@rollup/plugin-typescript": "^9.0.0",
2930
"@stryker-mutator/core": "^6.0.2",
3031
"@typescript-eslint/eslint-plugin": "^5.39.0",
3132
"eslint": "^8.25.0",
3233
"glob": "^8.0.3",
33-
"rollup": "^2.78.1",
34-
"rollup-plugin-terser": "^7.0.2",
34+
"rollup": "^3.2.5",
3535
"typescript": "^4.8.4"
3636
},
3737
"scripts": {

packages/css-parser-algorithms/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@csstools/css-tokenizer": "^1.0.0"
4242
},
4343
"scripts": {
44-
"build": "rollup -c ../../rollup/default.js",
44+
"build": "rollup -c ../../rollup/default.mjs",
4545
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
4646
"lint": "npm run lint:eslint && npm run lint:package-json",
4747
"lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",

packages/css-tokenizer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"dist"
3939
],
4040
"scripts": {
41-
"build": "rollup -c ../../rollup/default.js",
41+
"build": "rollup -c ../../rollup/default.mjs",
4242
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
4343
"lint": "npm run lint:eslint && npm run lint:package-json",
4444
"lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",

packages/media-query-list-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@csstools/css-tokenizer": "^1.0.0"
4343
},
4444
"scripts": {
45-
"build": "rollup -c ../../rollup/default.js",
45+
"build": "rollup -c ../../rollup/default.mjs",
4646
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
4747
"lint": "npm run lint:eslint && npm run lint:package-json",
4848
"lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",

packages/postcss-tape/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"postcss-html": "^1.5.0"
3232
},
3333
"scripts": {
34-
"build": "rollup -c ../../rollup/default.js",
34+
"build": "rollup -c ../../rollup/default.mjs",
3535
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
3636
"lint": "npm run lint:eslint && npm run lint:package-json",
3737
"lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",

packages/selector-specificity/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"postcss-selector-parser": "^6.0.10"
4646
},
4747
"scripts": {
48-
"build": "rollup -c ../../rollup/default.js",
48+
"build": "rollup -c ../../rollup/default.mjs",
4949
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
5050
"lint": "npm run lint:eslint && npm run lint:package-json",
5151
"lint:eslint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern",

0 commit comments

Comments
 (0)