Skip to content

Commit

Permalink
perf: change build target to es2018 (#1423)
Browse files Browse the repository at this point in the history
* perf: change build target to es2018

* chore: versions

* chore: set engines.node to >= 10.19.0

* chore: remove plugin-proposal-async-generator-functions

* chore: more versions
  • Loading branch information
merceyz authored Jun 1, 2020
1 parent d60f043 commit 6dda734
Show file tree
Hide file tree
Showing 49 changed files with 229 additions and 93 deletions.
100 changes: 36 additions & 64 deletions .pnp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions .yarn/versions/faebf4c5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
releases:
"@yarnpkg/builder": prerelease
"@yarnpkg/cli": prerelease
"@yarnpkg/core": prerelease
"@yarnpkg/doctor": prerelease
"@yarnpkg/fslib": prerelease
"@yarnpkg/json-proxy": prerelease
"@yarnpkg/libui": prerelease
"@yarnpkg/libzip": prerelease
"@yarnpkg/parsers": prerelease
"@yarnpkg/plugin-compat": prerelease
"@yarnpkg/plugin-constraints": prerelease
"@yarnpkg/plugin-dlx": prerelease
"@yarnpkg/plugin-essentials": prerelease
"@yarnpkg/plugin-exec": prerelease
"@yarnpkg/plugin-file": prerelease
"@yarnpkg/plugin-git": prerelease
"@yarnpkg/plugin-github": prerelease
"@yarnpkg/plugin-http": prerelease
"@yarnpkg/plugin-init": prerelease
"@yarnpkg/plugin-interactive-tools": prerelease
"@yarnpkg/plugin-link": prerelease
"@yarnpkg/plugin-node-modules": prerelease
"@yarnpkg/plugin-npm": prerelease
"@yarnpkg/plugin-npm-cli": prerelease
"@yarnpkg/plugin-pack": prerelease
"@yarnpkg/plugin-patch": prerelease
"@yarnpkg/plugin-pnp": prerelease
"@yarnpkg/plugin-stage": prerelease
"@yarnpkg/plugin-typescript": prerelease
"@yarnpkg/plugin-version": prerelease
"@yarnpkg/plugin-workspace-tools": prerelease
"@yarnpkg/pnp": prerelease
"@yarnpkg/pnpify": prerelease
"@yarnpkg/shell": prerelease

declined:
- "@yarnpkg/eslint-config"
- vscode-zipfs
1 change: 0 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ module.exports = {
`@babel/plugin-proposal-nullish-coalescing-operator`,
[`@babel/plugin-proposal-decorators`, {legacy: true}],
[`@babel/plugin-proposal-class-properties`, {loose: true}],
`@babel/plugin-proposal-async-generator-functions`,
],
presets: [
`@babel/preset-typescript`,
Expand Down
4 changes: 4 additions & 0 deletions constraints.pro
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ gen_enforced_dependency(WorkspaceCwd, 'tslib', null, DependencyType) :-
gen_enforced_field(WorkspaceCwd, 'license', 'BSD-2-Clause') :-
workspace(WorkspacedCwd).

% This rule will enforce that all packages must have a engines.node field of >=10.19.0
gen_enforced_field(WorkspaceCwd, 'engines.node', '>=10.19.0') :-
workspace(WorkspacedCwd).

% Required to make the package work with the GitHub Package Registry
gen_enforced_field(WorkspaceCwd, 'repository.type', 'git') :-
workspace(WorkspacedCwd).
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"@arcanis/sherlock": "^1.0.38",
"@babel/cli": "^7.2.3",
"@babel/core": "^7.7.4",
"@babel/plugin-proposal-async-generator-functions": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.3.3",
"@babel/plugin-proposal-decorators": "^7.4.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
Expand Down Expand Up @@ -86,5 +85,8 @@
"repository": {
"type": "git",
"url": "ssh://[email protected]/yarnpkg/berry.git"
},
"engines": {
"node": ">=10.19.0"
}
}
3 changes: 3 additions & 0 deletions packages/acceptance-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
"repository": {
"type": "git",
"url": "ssh://[email protected]/yarnpkg/berry.git"
},
"engines": {
"node": ">=10.19.0"
}
}
3 changes: 3 additions & 0 deletions packages/acceptance-tests/pkg-tests-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@
"devDependencies": {
"@types/finalhandler": "1.1.0",
"@types/serve-static": "1.13.3"
},
"engines": {
"node": ">=10.19.0"
}
}
3 changes: 3 additions & 0 deletions packages/acceptance-tests/pkg-tests-fixtures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
"repository": {
"type": "git",
"url": "ssh://[email protected]/yarnpkg/berry.git"
},
"engines": {
"node": ">=10.19.0"
}
}
3 changes: 3 additions & 0 deletions packages/acceptance-tests/pkg-tests-specs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
},
"devDependencies": {
"@types/lodash": "^4.14.136"
},
"engines": {
"node": ">=10.19.0"
}
}
3 changes: 3 additions & 0 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
"repository": {
"type": "git",
"url": "ssh://[email protected]/yarnpkg/berry.git"
},
"engines": {
"node": ">=10.19.0"
}
}
3 changes: 3 additions & 0 deletions packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,8 @@
"@types/react-select": "3.0.11",
"@types/tinycolor2": "1.4.2",
"@types/webpack": "^4.32.1"
},
"engines": {
"node": ">=10.19.0"
}
}
5 changes: 4 additions & 1 deletion packages/plugin-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@
},
"files": [
"/lib/**/*"
]
],
"engines": {
"node": ">=10.19.0"
}
}
5 changes: 4 additions & 1 deletion packages/plugin-constraints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@
},
"files": [
"/lib/**/*"
]
],
"engines": {
"node": ">=10.19.0"
}
}
5 changes: 4 additions & 1 deletion packages/plugin-dlx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@
},
"files": [
"/lib/**/*"
]
],
"engines": {
"node": ">=10.19.0"
}
}
5 changes: 4 additions & 1 deletion packages/plugin-essentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@
},
"files": [
"/lib/**/*"
]
],
"engines": {
"node": ">=10.19.0"
}
}
5 changes: 4 additions & 1 deletion packages/plugin-exec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@
},
"files": [
"/lib/**/*"
]
],
"engines": {
"node": ">=10.19.0"
}
}
Loading

0 comments on commit 6dda734

Please sign in to comment.