Commit 77c7b07
authored
refactor: Incl. generated code (protos, what not) in
This pull request standardizes and improves the cleaning process across
several packages by ensuring that generated code directories are
consistently removed by the `clean` script. It also updates the
`.gitignore` in the SDK package to match the new generated code
structure.
### Changes
**Build and clean script improvements:**
* Updated the `clean` script in the following `package.json` files to
remove the `generated` or `src/generated` directories, ensuring that all
generated code is properly cleaned:
-
[`packages/autocertifier-client/package.json`](diffhunk://#diff-ce36aa2971623458d0b35543ec3caf4e8df12445e570d4c599e3142a79b87de5L24-R24):
Now removes `generated` directory.
-
[`packages/dht/package.json`](diffhunk://#diff-48deceddbbe98a41ff1d0f560db132548031fbd96d790c09ffeed924a20e8a05L30-R30):
Now removes `generated` directory.
-
[`packages/proto-rpc/package.json`](diffhunk://#diff-e81a3463e3e75e879c7fa17b1609d29d02bb633aaceb777564c9f88a48729ff9L25-R25):
Now removes `generated` directory.
-
[`packages/trackerless-network/package.json`](diffhunk://#diff-e73f8b6abf767f5f6271d1dcbf5188b40d63732e6a8cd772b44f677c2fc36bc1L25-R25):
Now removes `generated` directory.
-
[`packages/sdk/package.json`](diffhunk://#diff-77164cc5c071d1488e1cf72c0f91fdd99dd8976edb5004c83198bbd517039572L40-R40):
Now removes `src/generated` directory.
**`.gitignore` update:**
* Updated `packages/sdk/.gitignore` to ignore the entire `src/generated`
directory instead of individual subdirectories, aligning it with the new
cleaning behavior.clean scripts; stop tracking sdk's generated config validator (#3292)1 parent 924ecf2 commit 77c7b07
File tree
8 files changed
+7
-8
lines changed- packages
- autocertifier-client
- dht
- proto-rpc
- sdk
- bin
- src/generated
- trackerless-network
8 files changed
+7
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments