Skip to content

Commit

Permalink
chore: changes for easier debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
melsener committed Mar 12, 2024
1 parent dca6e8a commit 9557b83
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"audit-fix": "HUSKY_SKIP_HOOKS=1 dev-tools npm-audit-fix --production --team-reviewers dx",
"prepare": "./scripts/install_husky.sh",
"pre-commit": "lint-staged",
"pre-push": "npm run test"
"pre-push": "npm run test",
"clean": "rm -rf dist"
},
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions src/package/manifest.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"full": "Zeplin"
},
"description": {
"short": "Get updates from your Zeplin workspace",
"full": "Zeplin is an organized workspace where you can publish designs from design tools and the entire team can collaborate to ship beautiful products. With the Zeplin for Microsoft Teams app, you can connect Zeplin projects to channels and get notifications about design changes and conversations."
"short": "TEST V2 -- Get updates from your Zeplin workspace",
"full": "TEST V2 -- Zeplin is an organized workspace where you can publish designs from design tools and the entire team can collaborate to ship beautiful products. With the Zeplin for Microsoft Teams app, you can connect Zeplin projects to channels and get notifications about design changes and conversations."
},
"icons": {
"outline": "icon-outline.png",
Expand All @@ -29,7 +29,7 @@
"connectors": [
{
"connectorId": "${NEXT_PRIVATE_CONNECTOR_ID}",
"configurationUrl": "${NEXT_PRIVATE_BASE_URL}/?theme={theme}&channel={channelName}",
"configurationUrl": "${NEXT_PRIVATE_BASE_URL}/?theme={theme}&channel=General",
"scopes": [
"team"
]
Expand Down
2 changes: 1 addition & 1 deletion src/server/adapters/mongo/mongo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Mongo {
private mongoose!: Mongoose;

async init(uri: string, { isDebug = false }: MongoOptions): Promise<void> {

Check failure on line 24 in src/server/adapters/mongo/mongo.ts

View workflow job for this annotation

GitHub Actions / Check Code Quality

'isDebug' is assigned a value but never used
mongoose.set("debug", isDebug);
// mongoose.set("debug", isDebug);

Check warning on line 25 in src/server/adapters/mongo/mongo.ts

View workflow job for this annotation

GitHub Actions / Check Code Quality

Comments should not begin with a lowercase character

this.mongoose = await mongoose.connect(uri, options);
logger.info("Mongodb connection is established.");
Expand Down
1 change: 1 addition & 0 deletions src/server/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class App {
this.expressApp.use((req, res) => {
const parsedUrl = parse(req.url, true);
nextApp.getRequestHandler()(req, res, parsedUrl);
console.log(new Date(), "NEXTJS", req.url);

Check warning on line 59 in src/server/app.ts

View workflow job for this annotation

GitHub Actions / Check Code Quality

Unexpected console statement
});
}

Expand Down

0 comments on commit 9557b83

Please sign in to comment.