Skip to content

Commit

Permalink
feat(backend): Convert backend to TS upgrade/next (#2058)
Browse files Browse the repository at this point in the history
* feat(backend): Convert Bodiless backend package to TypeScript

* fix backend test

* push build test

* lock update; react type version upgrade
  • Loading branch information
dewen committed May 3, 2023
1 parent d889687 commit dfc56be
Show file tree
Hide file tree
Showing 27 changed files with 1,591 additions and 1,117 deletions.
1 change: 1 addition & 0 deletions .eslintignore
@@ -1,6 +1,7 @@
html.js
**/lib
**/doc
packages/bodiless-backend/bin
packages/gatsby-theme-bodiless/dist
packages/gatsby-theme-bodiless/cjs
packages/gatsby-theme-bodiless/index.js
Expand Down
17 changes: 16 additions & 1 deletion .vscode/launch.json
Expand Up @@ -2,6 +2,8 @@
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
// Ref:
// https://code.visualstudio.com/docs/editor/variables-reference
"version": "0.2.0",
"compounds": [
// Launches the Gatsby stack and opens Chrome.
Expand Down Expand Up @@ -103,7 +105,7 @@
"sourceMaps": false
},
{
"name": "Jest Current File",
"name": "Jest Current File (Windows)",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/node_modules/.bin/jest",
Expand All @@ -116,6 +118,19 @@
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
}
},
{
"name": "Jest Current File (Mac/Linux)",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": [
"${relativeFile}"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
// Update the node version below if v16.13.0 is not available locally.
"runtimeExecutable": "${userHome}/.nvm/versions/node/v16.13.0/bin/node",
},
{
"name": "Launch Chrome",
"type": "chrome",
Expand Down

0 comments on commit dfc56be

Please sign in to comment.