Skip to content

Commit

Permalink
Merge branch 'main' into dependencies/lodash-submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
jayaddison committed Nov 10, 2020
2 parents d943cfa + 5bbad89 commit 35a0768
Show file tree
Hide file tree
Showing 797 changed files with 11,726 additions and 7,731 deletions.
17 changes: 16 additions & 1 deletion .circleci/config.yml
Expand Up @@ -63,7 +63,9 @@ jobs:
command: |
if [ -n "$CIRCLE_PULL_REQUEST" ]
then
git fetch origin refs/pull/$CIRCLE_PR_NUMBER/merge
# $CIRCLE_PR_NUMBER is not always defined:
# https://support.circleci.com/hc/en-us/articles/360047521451-Why-is-CIRCLE-PR-NUMBER-empty-
git fetch origin refs/pull/${CIRCLE_PULL_REQUEST##*/}/merge
git checkout -qf FETCH_HEAD
fi
- restore_cache: *restore-yarn-cache
Expand Down Expand Up @@ -153,6 +155,14 @@ jobs:
at: /tmp/verdaccio-workspace
- run: ./scripts/integration-tests/e2e-vue-cli.sh

e2e-jest:
executor: node-executor
steps:
- checkout
- attach_workspace:
at: /tmp/verdaccio-workspace
- run: ./scripts/integration-tests/e2e-jest.sh

workflows:
version: 2
build-standalone:
Expand All @@ -167,6 +177,7 @@ workflows:
- main
- next-8-dev
- next-8-rebased
context: babel-test262
test262-pr:
jobs:
- approve-test262-run:
Expand All @@ -188,6 +199,7 @@ workflows:
- master
- next-8-dev
- next-8-rebased
context: babel-test262
e2e:
jobs:
- publish-verdaccio
Expand All @@ -203,3 +215,6 @@ workflows:
- e2e-vue-cli:
requires:
- publish-verdaccio
- e2e-jest:
requires:
- publish-verdaccio
1 change: 1 addition & 0 deletions .eslintignore
Expand Up @@ -9,6 +9,7 @@ packages/babel-runtime-corejs2
packages/babel-runtime-corejs3
packages/*/node_modules
packages/*/lib
packages/*/dts
packages/*/dist
packages/*/test/fixtures
packages/*/test/tmp
Expand Down
25 changes: 19 additions & 6 deletions .eslintrc.js
Expand Up @@ -19,11 +19,24 @@ module.exports = {
node: true,
},
overrides: [
{
files: ["**/*.ts"],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
rules: {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error",
"no-dupe-class-members": "off",
"@typescript-eslint/no-dupe-class-members": "error",
"no-undef": "off",
"no-redeclare": "off",
},
},
{
files: [
"packages/*/src/**/*.js",
"codemods/*/src/**/*.js",
"eslint/*/src/**/*.js",
"packages/*/src/**/*.{js,ts}",
"codemods/*/src/**/*.{js,ts}",
"eslint/*/src/**/*.{js,ts}",
],
rules: {
"@babel/development/no-undefined-identifier": "error",
Expand All @@ -37,7 +50,7 @@ module.exports = {
"packages/*/test/**/*.js",
"codemods/*/test/**/*.js",
"eslint/*/test/**/*.js",
"packages/babel-helper-transform-fixture-test-runner/src/helpers.js",
"packages/babel-helper-transform-fixture-test-runner/src/helpers.{ts,js}",
"test/**/*.js",
],
env: {
Expand All @@ -53,15 +66,15 @@ module.exports = {
},
},
{
files: ["packages/babel-plugin-*/src/index.js"],
files: ["packages/babel-plugin-*/src/index.{js,ts}"],
excludedFiles: ["packages/babel-plugin-transform-regenerator/**/*.js"],
rules: {
"@babel/development/plugin-name": "error",
eqeqeq: ["error", "always", { null: "ignore" }],
},
},
{
files: ["packages/babel-parser/src/**/*.js"],
files: ["packages/babel-parser/src/**/*.{js,ts}"],
rules: {
"@babel/development-internal/dry-error-messages": [
"error",
Expand Down
1 change: 1 addition & 0 deletions .flowconfig
Expand Up @@ -16,6 +16,7 @@ lib/parser.js
lib/third-party-libs.js.flow
lib/preset-modules.js.flow
packages/babel-types/lib/index.js.flow
lib/babel-packages.js.flow

[options]
include_warnings=true
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Use Node.js latest
uses: actions/setup-node@v2-beta
with:
node-version: "*"
node-version: "15"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down Expand Up @@ -99,14 +99,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [13, 12, 10, 8, 6]
node-version: [14, 12, 10, 8, 6]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js latest
uses: actions/setup-node@v2-beta
with:
node-version: "*" # Build Babel on latest node versions
node-version: "*" # Build Babel on latest node LTS versions
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand All @@ -117,6 +117,10 @@ jobs:
- name: Install
run: |
BABEL_ENV=test-legacy make -j bootstrap-only
- name: Downgrade Jest for node <= 8
if: matrix.node-version == '6' || matrix.node-version == '8'
run: |
yarn remove jest && yarn add --dev jest@24
- uses: actions/download-artifact@v2
with:
name: babel-artifact
Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Expand Up @@ -70,3 +70,10 @@ packages/babel-standalone/babel.min.js
/eslint/*/LICENSE
!/packages/babel-eslint-plugin/LICENSE
/.vscode

/tsconfig.json
/packages/*/tsconfig.json
/packages/*/tsconfig.tsbuildinfo
/packages/*/dts
/codemods/*/dts
/eslint/*/dts
7 changes: 3 additions & 4 deletions .prettierrc
Expand Up @@ -10,15 +10,14 @@
"printWidth": 80,
"overrides": [{
"files": [
"**/codemods/*/src/**/*.js",
"**/codemods/*/src/**/*.{js,ts}",
"**/codemods/*/test/**/*.js",
"**/packages/*/src/**/*.js",
"**/packages/*/src/**/*.{js,ts}",
"**/packages/*/test/**/*.js",
"**/eslint/*/src/**/*.js",
"**/eslint/*/src/**/*.{js,ts}",
"**/eslint/*/test/**/*.js"
],
"options": {
"parser": "babel",
"trailingComma": "all"
}
}]
Expand Down
31 changes: 0 additions & 31 deletions .yarn-patches/@lerna/npm-publish.patch

This file was deleted.

92 changes: 0 additions & 92 deletions .yarn-patches/@lerna/pack-directory.patch

This file was deleted.

24 changes: 0 additions & 24 deletions .yarn-patches/@lerna/package-graph.patch

This file was deleted.

16 changes: 0 additions & 16 deletions .yarn-patches/@lerna/package.patch

This file was deleted.

17 changes: 0 additions & 17 deletions .yarn-patches/@lerna/version.patch

This file was deleted.

31 changes: 31 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-babel-release-tool.cjs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .yarn/releases/yarn-2.3.1.cjs

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions .yarnrc.yml
Expand Up @@ -4,6 +4,19 @@ enableTransparentWorkspaces: false

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-babel-release-tool.cjs
spec: "https://raw.githubusercontent.com/nicolo-ribaudo/yarn-plugin-babel-release-tool/main/bundles/%40yarnpkg/plugin-babel-release-tool.js"

releaseTool:
ignoreChanges:
- "*.md"
- "*.txt"
- test/**
- "**/test/**"
- codemods/**
- "@(!(native-modules|built-ins|plugins|package)).json"

unsafeHttpWhitelist:
- localhost

Expand Down

0 comments on commit 35a0768

Please sign in to comment.