Reorganize `src/` directory (#87)
Test Plan: Note that tests still pass, and all changes to snapshot files are verbatim moves. wchargin-branch: reorg
This commit is contained in:
parent
30600004e4
commit
ca85fdf234
|
@ -60,7 +60,7 @@ module.exports = {
|
|||
// point within the build directory.
|
||||
backendEntryPoints: {
|
||||
fetchAndPrintGitHubRepo: resolveApp(
|
||||
"src/backend/bin/fetchAndPrintGitHubRepo.js"
|
||||
"src/plugins/github/bin/fetchAndPrintGitHubRepo.js"
|
||||
),
|
||||
},
|
||||
};
|
||||
|
|
|
@ -19,7 +19,7 @@ main() {
|
|||
>"${output}" \
|
||||
;
|
||||
diff -uw \
|
||||
src/backend/githubDemoData/example-repo.json \
|
||||
src/plugins/github/demoData/example-repo.json \
|
||||
"${output}" \
|
||||
;
|
||||
rm "${output}"
|
|
@ -1,8 +1,8 @@
|
|||
// @flow
|
||||
|
||||
import type {Node, Edge} from "./graph";
|
||||
import type {Address} from "./address";
|
||||
import {Graph} from "./graph";
|
||||
import type {Node, Edge} from "../../core/graph";
|
||||
import type {Address} from "../../core/address";
|
||||
import {Graph} from "../../core/graph";
|
||||
const stringify = require("json-stable-stringify");
|
||||
|
||||
export const GITHUB_PLUGIN_NAME = "sourcecred/github-beta";
|
|
@ -1,7 +1,7 @@
|
|||
// @flow
|
||||
|
||||
import {GithubParser, getNodeType, getEdgeType} from "./githubPlugin";
|
||||
import exampleRepoData from "./githubDemoData/example-repo.json";
|
||||
import exampleRepoData from "./demoData/example-repo.json";
|
||||
|
||||
describe("GithubParser", () => {
|
||||
describe("whole repo parsing", () => {
|
Loading…
Reference in New Issue