Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Commit 7d12ba0

Browse files
diberryv-geberrdfberry
authored
API v4 on develop (instead of risking rebase) (#424)
* fix(api): move subdirs * fix(api): remove use of api-v4 and legacy subdir * fix(api): add azure function core tools to dev container startup * fix(api): add db connection, fn names in portal * fix(api): new root package.json * fix(api): package name * fix(api): rerun npm install without api-v4 * fix(api): update readme with manual test steps * fix(infra): api postpackage -> predeploy * fix(infra): rollback hook => azd provision, then azd deploy --------- Co-authored-by: Dina Berry (SHE/HER) <[email protected]> Co-authored-by: Dina Berry (personal) <[email protected]>
1 parent 4dbd1fb commit 7d12ba0

File tree

100 files changed

+5827
-11824
lines changed

Some content is hidden

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

100 files changed

+5827
-11824
lines changed

.devcontainer/post-create-command.sh

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ npm i -g npm@latest fuzz-run
66
# https://github.com/microsoft/playwright/issues/28331
77
npx playwright install --with-deps
88

9+
# Azure Functions core tools
10+
npm i -g azure-functions-core-tools@4 --unsafe-perm true
11+
912
# Install monorepo dependencies
1013
npm install
1114

.vscode/settings.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"cSpell.words": ["azdo", "Contoso", "Quickstart"],
3-
"azureFunctions.deploySubpath": "packages/api-v4",
3+
"azureFunctions.deploySubpath": "packages/api",
44
"azureFunctions.postDeployTask": "npm install (functions)",
55
"azureFunctions.projectLanguage": "TypeScript",
66
"azureFunctions.projectRuntime": "~4",
77
"debug.internalConsoleOptions": "neverOpen",
88
"azureFunctions.projectLanguageModel": 4,
9-
"azureFunctions.projectSubpath": "packages/api-v4",
9+
"azureFunctions.projectSubpath": "packages/api",
1010
"azureFunctions.preDeployTask": "npm prune (functions)"
1111
}

.vscode/tasks.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
"isBackground": true,
115115
"dependsOn": "npm build (functions)",
116116
"options": {
117-
"cwd": "${workspaceFolder}/packages/api-v4"
117+
"cwd": "${workspaceFolder}/packages/api"
118118
}
119119
},
120120
{
@@ -124,15 +124,15 @@
124124
"dependsOn": "npm clean (functions)",
125125
"problemMatcher": "$tsc",
126126
"options": {
127-
"cwd": "${workspaceFolder}/packages/api-v4"
127+
"cwd": "${workspaceFolder}/packages/api"
128128
}
129129
},
130130
{
131131
"type": "shell",
132132
"label": "npm install (functions)",
133133
"command": "npm install",
134134
"options": {
135-
"cwd": "${workspaceFolder}/packages/api-v4"
135+
"cwd": "${workspaceFolder}/packages/api"
136136
}
137137
},
138138
{
@@ -142,7 +142,7 @@
142142
"dependsOn": "npm build (functions)",
143143
"problemMatcher": [],
144144
"options": {
145-
"cwd": "${workspaceFolder}/packages/api-v4"
145+
"cwd": "${workspaceFolder}/packages/api"
146146
}
147147
},
148148
{
@@ -151,7 +151,7 @@
151151
"command": "npm run clean",
152152
"dependsOn": "npm install (functions)",
153153
"options": {
154-
"cwd": "${workspaceFolder}/packages/api-v4"
154+
"cwd": "${workspaceFolder}/packages/api"
155155
}
156156
}
157157
],

0 commit comments

Comments
 (0)