Skip to content

Commit

Permalink
Donate react-cra example from aspect-build/bazel-examples (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored Oct 3, 2023
1 parent f4bedd6 commit 27d7a1f
Show file tree
Hide file tree
Showing 27 changed files with 11,427 additions and 3,822 deletions.
1 change: 1 addition & 0 deletions frontend/.bazelignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
next.js/node_modules
packages/one/node_modules
react/node_modules
vue/node_modules
vue/libraries/simple/node_modules
3 changes: 3 additions & 0 deletions frontend/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
bazel_dep(name = "aspect_bazel_lib", version = "1.33.0")
bazel_dep(name = "aspect_rules_jest", version = "0.19.5")
bazel_dep(name = "aspect_rules_js", version = "1.32.2")
bazel_dep(name = "aspect_rules_swc", version = "1.0.2")
bazel_dep(name = "aspect_rules_ts", version = "2.0.0")
bazel_dep(name = "aspect_rules_rollup", version = "1.0.0")
bazel_dep(name = "bazel_skylib", version = "1.4.2")
Expand All @@ -14,6 +15,8 @@ npm.npm_translate_lock(
pnpm_lock = "//:pnpm-lock.yaml",
public_hoist_packages = {
"@next/eslint-plugin-next": ["next.js"],
"eslint-config-react-app": ["react"],
"eslint@8.28.0": ["react"],
},
verify_node_modules_ignored = "//:.bazelignore",
)
Expand Down
12 changes: 12 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@
"peerDependencies": {
"vue": "*"
}
},
"@typescript-eslint/eslint-plugin": {
"peerDependencies": {
"eslint": "*"
}
},
"postcss-loader": {
"peerDependencies": {
"postcss-flexbugs-fixes": "*",
"postcss-preset-env": "*",
"postcss-normalize": "*"
}
}
}
}
Expand Down
Loading

0 comments on commit 27d7a1f

Please sign in to comment.