Skip to content

Commit

Permalink
build helper-validator-identifier before babel-types
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Mar 20, 2020
1 parent 206d006 commit 8b34e8e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
12 changes: 11 additions & 1 deletion Gulpfile.js
Expand Up @@ -226,9 +226,19 @@ gulp.task("build-rollup", () => buildRollup(libBundles));
gulp.task("build-babel-standalone", () => buildRollup(standaloneBundle));

gulp.task("build-babel", () => buildBabel(/* exclude */ libBundles));
gulp.task("build-babel-types", () =>
gulp.task("build-babel-types-deps", () =>
buildBabel(
/* exclude */ libBundles,
"packages/babel-helper-validator-identifier/src/**/*.js"
)
);
gulp.task("build-babel-types-self", () =>
buildBabel(/* exclude */ libBundles, "packages/babel-types/src/**/*.js")
);
gulp.task(
"build-babel-types",
gulp.series("build-babel-types-deps", "build-babel-types-self")
);
gulp.task("build", gulp.parallel("build-rollup", "build-babel"));

gulp.task("default", gulp.series("build"));
Expand Down
1 change: 0 additions & 1 deletion packages/babel-types/package.json
Expand Up @@ -13,7 +13,6 @@
"types": "lib/index.d.ts",
"dependencies": {
"@babel/helper-validator-identifier": "^7.9.0",
"esutils": "^2.0.2",
"lodash": "^4.17.13",
"to-fast-properties": "^2.0.0"
},
Expand Down

0 comments on commit 8b34e8e

Please sign in to comment.