Skip to content

Commit b5803e0

Browse files
committed
Updated project automation to use latest swig-cli-modules version.
Updated DB migrations project to use latest from db-migrations-dotnet.
1 parent 551ef1c commit b5803e0

32 files changed

+437
-345
lines changed

.config/dotnet-tools.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"dotnet-ef": {
6+
"version": "8.0.0",
7+
"commands": [
8+
"dotnet-ef"
9+
]
10+
}
11+
}
12+
}

.env.template

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ PROJECT_NAME=drs
22
COMPOSE_PROJECT_NAME=drs
33
ASPNETCORE_ENVIRONMENT=Development
44
DB_NAME=drs
5+
DB_NAME_TEST=test_drs
56
DB_HOST=localhost
67
DB_PORT=5432
78
DB_ROOT_PASSWORD=Abc1234!

client/src/pages/ContentPolicy.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ export default function ContentPolicy() {
22
return (
33
<>
44
<h2>Content Policy</h2>
5-
<p> Last Updated: 5/14/22</p>
6-
7-
Be kind, no porn, don&apos;t waste space in our database.
5+
<p>Last Updated: ...</p>
86
</>
97

108
)

client/src/pages/Privacy.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export default function Privacy() {
22
return (
33
<>
44
<h2>Privacy Policy</h2>
5-
<p> Last Updated: ...</p>
5+
<p>Last Updated: ...</p>
66

77
<h3>Overview</h3>
88
<p>...</p>

docs/DevNotes.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ When working on swigfile changes within the new `swig-cli-modules` project, some
66

77
- `npm rm swig-cli-modules`
88
- `npm i -D ../swig-cli-modules`
9-
- In swig-cli-modules: `npm run watchEsm`
9+
- In swig-cli-modules: `npm run watch`
1010

1111
And to undo this just remove and re-add the dependency:
1212

@@ -36,3 +36,5 @@ npm update --save
3636
Don't forget to update root dependencies in addition to client project dependencies.
3737

3838
Updating past semver should probably be done one at a time to test for breaking changes for each dependency separately.
39+
40+
Note that dependencies with a major version of 0 will never be updated by `npm update --save`, so you'll have to manually run `npm i -D name-of-package@latest` to get the latest version.

docs/DotnetReactSandbox.md

+104-78
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)