Skip to content

Commit

Permalink
API v4 on develop (instead of risking rebase) (#424)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored Jan 10, 2024
1 parent 4dbd1fb commit 7d12ba0
Show file tree
Hide file tree
Showing 100 changed files with 5,827 additions and 11,824 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/post-create-command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ npm i -g npm@latest fuzz-run
# https://github.com/microsoft/playwright/issues/28331
npx playwright install --with-deps

# Azure Functions core tools
npm i -g azure-functions-core-tools@4 --unsafe-perm true

# Install monorepo dependencies
npm install

4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"cSpell.words": ["azdo", "Contoso", "Quickstart"],
"azureFunctions.deploySubpath": "packages/api-v4",
"azureFunctions.deploySubpath": "packages/api",
"azureFunctions.postDeployTask": "npm install (functions)",
"azureFunctions.projectLanguage": "TypeScript",
"azureFunctions.projectRuntime": "~4",
"debug.internalConsoleOptions": "neverOpen",
"azureFunctions.projectLanguageModel": 4,
"azureFunctions.projectSubpath": "packages/api-v4",
"azureFunctions.projectSubpath": "packages/api",
"azureFunctions.preDeployTask": "npm prune (functions)"
}
10 changes: 5 additions & 5 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"isBackground": true,
"dependsOn": "npm build (functions)",
"options": {
"cwd": "${workspaceFolder}/packages/api-v4"
"cwd": "${workspaceFolder}/packages/api"
}
},
{
Expand All @@ -124,15 +124,15 @@
"dependsOn": "npm clean (functions)",
"problemMatcher": "$tsc",
"options": {
"cwd": "${workspaceFolder}/packages/api-v4"
"cwd": "${workspaceFolder}/packages/api"
}
},
{
"type": "shell",
"label": "npm install (functions)",
"command": "npm install",
"options": {
"cwd": "${workspaceFolder}/packages/api-v4"
"cwd": "${workspaceFolder}/packages/api"
}
},
{
Expand All @@ -142,7 +142,7 @@
"dependsOn": "npm build (functions)",
"problemMatcher": [],
"options": {
"cwd": "${workspaceFolder}/packages/api-v4"
"cwd": "${workspaceFolder}/packages/api"
}
},
{
Expand All @@ -151,7 +151,7 @@
"command": "npm run clean",
"dependsOn": "npm install (functions)",
"options": {
"cwd": "${workspaceFolder}/packages/api-v4"
"cwd": "${workspaceFolder}/packages/api"
}
}
],
Expand Down
Loading

0 comments on commit 7d12ba0

Please sign in to comment.