Skip to content

Commit

Permalink
build: allow js in distbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
oreHGA committed Oct 7, 2023
1 parent 775cebc commit aeb19f2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/master_neurofusion-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
npm run test --if-present
- name: Zip artifact for deployment
run: zip release.zip ./neurofusion/server -r
run: zip release.zip ./neurofusion/server -r -x "*node_modules*"

- name: Upload artifact for deployment job
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master_neurofusionbackendprd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
npm run test --if-present
- name: Zip artifact for deployment
run: zip release.zip ./neurofusion/server -r
run: zip release.zip ./neurofusion/server -r -x "*node_modules*"

- name: Upload artifact for deployment job
uses: actions/[email protected]
Expand Down
12 changes: 6 additions & 6 deletions neurofusion/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "https://usefusion.app/",
"scripts": {
"build": "npx tsc",
"start": "npx ts-node index.ts"
"start": "npx tsc; node dist/index.js"
},
"dependencies": {
"@azure/storage-blob": "^12.12.0",
Expand All @@ -33,10 +33,7 @@
"pg": "^8.8.0",
"sequelize": "^6.28.0",
"sqlite3": "^5.1.4",
"websocket-polyfill": "^0.0.3",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"@types/node": "^20.6.5"
"websocket-polyfill": "^0.0.3"
},
"devDependencies": {
"@babel/cli": "^7.23.0",
Expand All @@ -45,6 +42,9 @@
"@babel/preset-env": "^7.22.20",
"@types/cors": "^2.8.14",
"@types/express": "^4.17.18",
"sequelize-cli": "^6.5.2"
"sequelize-cli": "^6.5.2",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"@types/node": "^20.6.5"
}
}
2 changes: 1 addition & 1 deletion neurofusion/server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
// "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */

/* JavaScript Support */
// "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
"allowJs": true /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */,
// "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
// "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */

Expand Down

1 comment on commit aeb19f2

@vercel
Copy link

@vercel vercel bot commented on aeb19f2 Oct 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

fusion – ./neurofusion/next-client

fusion-git-master-neurofusion-research-inc.vercel.app
fusion-neurofusion-research-inc.vercel.app
usefusion.app
www.usefusion.app

Please sign in to comment.