Skip to content

Commit

Permalink
feat: when using swc and no browserslist could be resolved, pass the …
Browse files Browse the repository at this point in the history
…ecma version directly as a target instead of generating a browserslist based on it. Closes #163
  • Loading branch information
wessberg committed Jan 3, 2022
1 parent c87a494 commit a2e88e5
Show file tree
Hide file tree
Showing 4 changed files with 1,019 additions and 978 deletions.
58 changes: 29 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"version": "pnpm run preversion && pnpm run generate:all && git add .",
"release": "np --no-cleanup --no-yarn --no-tests",
"update:check": "pnpx npm-check-updates -x typescript-* --dep dev,prod",
"update:commit": "pnpx npm-check-updates -u -x typescript-* --dep dev,prod && pnpm update && pnpm install"
"update:commit": "pnpx npm-check-updates -u -x typescript-*,chalk --dep dev,prod && pnpm update && pnpm install"
},
"keywords": [
"rollup",
Expand Down Expand Up @@ -49,45 +49,45 @@
],
"license": "MIT",
"devDependencies": {
"@rollup/plugin-alias": "^3.1.8",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-multi-entry": "^4.1.0",
"@types/babel__core": "^7.1.16",
"@types/node": "^16.11.7",
"@types/babel__core": "^7.1.18",
"@types/node": "^17.0.7",
"@types/prettier": "^2.4.2",
"@types/semver": "^7.3.9",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"@wessberg/ts-config": "^1.1.3",
"@babel/core": "7.16.0",
"@babel/runtime": "7.16.3",
"@babel/preset-env": "7.16.4",
"@babel/plugin-transform-runtime": "7.16.4",
"@swc/core": "1.2.110",
"@swc/helpers": "0.2.14",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"@wessberg/ts-config": "^2.0.0",
"@babel/core": "7.16.7",
"@babel/runtime": "7.16.7",
"@babel/preset-env": "7.16.7",
"@babel/plugin-transform-runtime": "7.16.7",
"@swc/core": "1.2.125",
"@swc/helpers": "0.3.2",
"ava": "3.15.0",
"babel-preset-minify": "^0.5.1",
"eslint": "^8.2.0",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsdoc": "^37.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsdoc": "^37.5.0",
"fast-glob": "^3.2.7",
"helpertypes": "^0.0.17",
"helpertypes": "^0.0.18",
"husky": "^7.0.4",
"memfs": "^3.3.0",
"np": "7.5.0",
"npm-check-updates": "12.0.2",
"pnpm": "^6.22.2",
"prettier": "^2.4.1",
"pretty-quick": "^3.1.2",
"memfs": "^3.4.1",
"np": "7.6.0",
"npm-check-updates": "12.1.0",
"pnpm": "^6.24.4",
"prettier": "^2.5.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"rollup": "^2.60.0",
"rollup": "^2.62.0",
"sandhog": "^1.0.43",
"semver": "7.3.5",
"standard-changelog": "^2.0.27",
"ts-node": "10.4.0",
"typescript": "^4.5.2",
"typescript": "^4.5.4",
"typescript-3-4-1": "npm:typescript@3.4.1",
"typescript-3-5-1": "npm:typescript@3.5.1",
"typescript-3-6-2": "npm:typescript@3.6.2",
Expand All @@ -101,15 +101,15 @@
"typescript-4-4-2": "npm:typescript@4.4.2"
},
"dependencies": {
"@rollup/pluginutils": "^4.1.1",
"@rollup/pluginutils": "^4.1.2",
"@wessberg/stringutil": "^1.0.19",
"browserslist": "^4.18.1",
"browserslist": "^4.19.1",
"browserslist-generator": "^1.0.65",
"chalk": "^4.1.2",
"chalk": "4.1.2",
"compatfactory": "^0.0.12",
"crosspath": "1.0.0",
"magic-string": "^0.25.7",
"ts-clone-node": "^0.3.29",
"ts-clone-node": "^0.3.30",
"tslib": "^2.3.1"
},
"peerDependencies": {
Expand Down

0 comments on commit a2e88e5

Please sign in to comment.