Skip to content

Commit 4eef5a7

Browse files
authored
refactor: create monorepo infrastructure (#98)
1 parent a135b1f commit 4eef5a7

File tree

87 files changed

+19542
-7214
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+19542
-7214
lines changed

.dockerignore

-6
This file was deleted.

.eslintignore

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ syntest/
99
*.json
1010
*.md
1111
LICENSE*
12+
Dockerfile
1213

1314
# The instrumentation files are copied from istanbul (and modified).
1415
# In the future in a big refactor the instrumentation should be redone such that these files dont have to be ignored anymore.
15-
src/instrumentation/Instrumenter.ts
16-
src/instrumentation/VisitState.ts
17-
src/instrumentation/Visitor.ts
16+
**/instrumentation/Instrumenter.ts
17+
**/instrumentation/VisitState.ts
18+
**/instrumentation/Visitor.ts

.gitignore

-9
Original file line numberDiff line numberDiff line change
@@ -116,16 +116,7 @@ dist
116116
.vscode-test
117117

118118
### Syntest Javascript ###
119-
#package-lock.json
120119

121120
# End of https://www.toptal.com/developers/gitignore/api/node
122121

123-
.npmrc
124-
temp/
125-
.npmrc
126122

127-
.syntest.js
128-
.syntest/
129-
syntest/
130-
profiling/
131-
experiments/results/*

.prettierignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
dist/
33
node_modules/
44
.*
5-
LICENSE*
5+
*.jpg
6+
NOTICE
7+
Dockerfile

LICENSE.header.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright 2021-[yyyy] Delft University of Technology and SynTest contributors
33
*
4-
* This file is part of SynTest Javascript - SynTest Javascript.
4+
* This file is part of SynTest Framework - SynTest Javascript.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lerna.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3+
"useWorkspaces": true,
4+
"version": "independent",
5+
"ignoreChanges": ["**/*.md", "**/test/**/*.test.ts"],
6+
"command": {
7+
"version": {
8+
"message": "chore(release): publish new version"
9+
}
10+
}
11+
}

nx.json

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"tasksRunnerOptions": {
3+
"default": {
4+
"runner": "nx/tasks-runners/default",
5+
"options": {
6+
"cacheableOperations": [
7+
"build",
8+
"format",
9+
"format:check",
10+
"lint",
11+
"lint:fix",
12+
"test",
13+
"test:coverage",
14+
"test:coverage:ci"
15+
],
16+
"parallel": 10
17+
}
18+
}
19+
},
20+
"namedInputs": {
21+
"default": [
22+
"{projectRoot}/**/*.ts",
23+
"{projectRoot}/**/*.js",
24+
"{projectRoot}/**/*.json"
25+
]
26+
},
27+
"targetDefaults": {
28+
"build": {
29+
"dependsOn": ["^build"],
30+
"inputs": ["default"],
31+
"outputs": ["{projectRoot}/dist"]
32+
},
33+
"format": {
34+
"outputs": ["{projectRoot}/lib"]
35+
},
36+
"lint:fix": {
37+
"outputs": ["{projectRoot}/lib"]
38+
},
39+
"test": {
40+
"dependsOn": ["build", "^build"],
41+
"inputs": ["default"]
42+
},
43+
"test:coverage": {
44+
"dependsOn": ["build", "^build"],
45+
"inputs": ["default"],
46+
"outputs": ["{projectRoot}/coverage"]
47+
},
48+
"test:coverage:ci": {
49+
"dependsOn": ["build", "^build"],
50+
"inputs": ["default"],
51+
"outputs": ["{projectRoot}/coverage"]
52+
},
53+
"test:watch": {
54+
"dependsOn": ["build", "^build"],
55+
"inputs": ["default"]
56+
}
57+
}
58+
}

0 commit comments

Comments
 (0)