-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sandbox): fix sandbox lint issues
fix sandbox lint issues MIGRATION CHANGE: migration-20221122072057- prettier fix BREAKING CHANGE: lerna bootstrap will not be supported GH-1673
- Loading branch information
1 parent
2ac3311
commit c562556
Showing
73 changed files
with
16,107 additions
and
88,189 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
170 changes: 85 additions & 85 deletions
170
sandbox/chat-notification-pubnub-example/services/chat-service/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,87 +1,87 @@ | ||
{ | ||
"name": "@sourceloop/chat-notif-example_chat-service", | ||
"version": "0.3.34", | ||
"description": "sourceloop chat service", | ||
"keywords": [ | ||
"loopback-application", | ||
"loopback" | ||
], | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"private": true, | ||
"engines": { | ||
"node": "16 || 17 || 18" | ||
}, | ||
"scripts": { | ||
"build": "lb-tsc", | ||
"build:watch": "lb-tsc --watch", | ||
"lint": "npm run eslint && npm run prettier:check", | ||
"lint:fix": "npm run eslint:fix && npm run prettier:fix", | ||
"prettier:cli": "lb-prettier \"**/*.ts\" \"**/*.js\"", | ||
"prettier:check": "npm run prettier:cli -- -l", | ||
"prettier:fix": "npm run prettier:cli -- --write", | ||
"eslint": "lb-eslint --report-unused-disable-directives .", | ||
"eslint:fix": "npm run eslint -- --fix", | ||
"pretest": "npm run rebuild", | ||
"test": "lb-mocha --allow-console-logs \"dist/__tests__\"", | ||
"posttest": "npm run lint", | ||
"test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js && npm run posttest", | ||
"docker:build": "docker build -t chatservice .", | ||
"docker:run": "docker run -p 3000:3000 -d chatservice", | ||
"premigrate": "npm run build", | ||
"migrate": "node ./dist/migrate", | ||
"preopenapi-spec": "npm run build", | ||
"openapi-spec": "node ./dist/openapi-spec", | ||
"prestart": "npm run rebuild", | ||
"start": "node -r source-map-support/register .", | ||
"clean": "lb-clean dist *.tsbuildinfo .eslintcache", | ||
"rebuild": "npm run clean && npm run build", | ||
"db:migrate": "./node_modules/db-migrate/bin/db-migrate up --config './migrations/database.json'", | ||
"db:migrate:down": "./node_modules/db-migrate/bin/db-migrate down --config './migrations/database.json'", | ||
"db:migrate:reset": "./node_modules/db-migrate/bin/db-migrate reset --config './migrations/database.json'" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "" | ||
}, | ||
"author": "Ankur <[email protected]>", | ||
"license": "", | ||
"files": [ | ||
"README.md", | ||
"dist", | ||
"src", | ||
"!*/__tests__" | ||
], | ||
"dependencies": { | ||
"@loopback/boot": "^6.1.0", | ||
"@loopback/core": "^5.1.0", | ||
"@loopback/repository": "^6.1.0", | ||
"@loopback/rest": "^13.1.0", | ||
"@loopback/rest-explorer": "^6.1.0", | ||
"@loopback/service-proxy": "^6.1.0", | ||
"@sourceloop/chat-service": "^5.0.4", | ||
"@sourceloop/core": "^8.0.3", | ||
"db-migrate": "^1.0.0-beta.21", | ||
"db-migrate-pg": "^1.3.0", | ||
"dotenv": "^16.0.3", | ||
"dotenv-extended": "^2.9.0", | ||
"loopback-connector-kv-redis": "^4.0.0", | ||
"loopback-connector-postgresql": "^6.0.6", | ||
"prom-client": "^14.0.1", | ||
"tslib": "^2.5.3" | ||
}, | ||
"devDependencies": { | ||
"@loopback/build": "^10.1.0", | ||
"@loopback/eslint-config": "^14.0.1", | ||
"@loopback/testlab": "^6.1.0", | ||
"@types/node": "^18.11.18", | ||
"eslint": "^8.44.0", | ||
"source-map-support": "^0.5.21", | ||
"typescript": "~4.9.5" | ||
}, | ||
"overrides": { | ||
"check-code-coverage": { | ||
"lodash": "^4.17.21" | ||
} | ||
"name": "@sourceloop/chat-notif-example_chat-service", | ||
"version": "0.3.34", | ||
"description": "sourceloop chat service", | ||
"keywords": [ | ||
"loopback-application", | ||
"loopback" | ||
], | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"private": true, | ||
"engines": { | ||
"node": "16 || 17 || 18" | ||
}, | ||
"scripts": { | ||
"build": "lb-tsc", | ||
"build:watch": "lb-tsc --watch", | ||
"lint": "npm run eslint && npm run prettier:check", | ||
"lint:fix": "npm run eslint:fix && npm run prettier:fix", | ||
"prettier:cli": "prettier \"**/*.ts\" \"**/*.js\"", | ||
"prettier:check": "npm run prettier:cli -- -l", | ||
"prettier:fix": "npm run prettier:cli -- --write", | ||
"eslint": "eslint --report-unused-disable-directives .", | ||
"eslint:fix": "npm run eslint -- --fix", | ||
"pretest": "npm run rebuild", | ||
"test": "echo 'no Tests'", | ||
"posttest": "npm run lint", | ||
"test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js && npm run posttest", | ||
"docker:build": "docker build -t chatservice .", | ||
"docker:run": "docker run -p 3000:3000 -d chatservice", | ||
"premigrate": "npm run build", | ||
"migrate": "node ./dist/migrate", | ||
"preopenapi-spec": "npm run build", | ||
"openapi-spec": "node ./dist/openapi-spec", | ||
"prestart": "npm run rebuild", | ||
"start": "node -r source-map-support/register .", | ||
"clean": "lb-clean dist *.tsbuildinfo .eslintcache", | ||
"rebuild": "npm run clean && npm run build", | ||
"db:migrate": "./node_modules/db-migrate/bin/db-migrate up --config './migrations/database.json'", | ||
"db:migrate:down": "./node_modules/db-migrate/bin/db-migrate down --config './migrations/database.json'", | ||
"db:migrate:reset": "./node_modules/db-migrate/bin/db-migrate reset --config './migrations/database.json'" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "" | ||
}, | ||
"author": "Ankur <[email protected]>", | ||
"license": "", | ||
"files": [ | ||
"README.md", | ||
"dist", | ||
"src", | ||
"!*/__tests__" | ||
], | ||
"dependencies": { | ||
"@loopback/boot": "^6.1.0", | ||
"@loopback/core": "^5.1.0", | ||
"@loopback/repository": "^6.1.0", | ||
"@loopback/rest": "^13.1.0", | ||
"@loopback/rest-explorer": "^6.1.0", | ||
"@loopback/service-proxy": "^6.1.0", | ||
"@sourceloop/chat-service": "^5.0.4", | ||
"@sourceloop/core": "^8.0.3", | ||
"db-migrate": "^1.0.0-beta.21", | ||
"db-migrate-pg": "^1.3.0", | ||
"dotenv": "^16.0.3", | ||
"dotenv-extended": "^2.9.0", | ||
"loopback-connector-kv-redis": "^4.0.0", | ||
"loopback-connector-postgresql": "^6.0.6", | ||
"prom-client": "^14.0.1", | ||
"tslib": "^2.5.3" | ||
}, | ||
"devDependencies": { | ||
"@loopback/build": "^10.1.0", | ||
"@loopback/eslint-config": "^14.0.1", | ||
"@loopback/testlab": "^6.1.0", | ||
"@types/node": "^18.11.18", | ||
"eslint": "^8.44.0", | ||
"source-map-support": "^0.5.21", | ||
"typescript": "~4.9.5" | ||
}, | ||
"overrides": { | ||
"check-code-coverage": { | ||
"lodash": "^4.17.21" | ||
} | ||
} | ||
} | ||
} |
182 changes: 91 additions & 91 deletions
182
sandbox/chat-notification-pubnub-example/services/notifications-service/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,94 +1,94 @@ | ||
{ | ||
"name": "@sourceloop/chat-notif-example_notif-service", | ||
"version": "0.4.19", | ||
"description": "sample for real-time chat api micro service using notification service and chat service Provider can be socket. Need this in sandbox.", | ||
"keywords": [ | ||
"loopback-application", | ||
"loopback" | ||
], | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"engines": { | ||
"node": "16 || 17 || 18" | ||
"name": "@sourceloop/chat-notif-example_notif-service", | ||
"version": "0.4.19", | ||
"description": "sample for real-time chat api micro service using notification service and chat service Provider can be socket. Need this in sandbox.", | ||
"keywords": [ | ||
"loopback-application", | ||
"loopback" | ||
], | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"engines": { | ||
"node": "16 || 17 || 18" | ||
}, | ||
"private": true, | ||
"scripts": { | ||
"build": "lb-tsc", | ||
"build:watch": "lb-tsc --watch", | ||
"lint": "npm run eslint && npm run prettier:check", | ||
"lint:fix": "npm run eslint:fix && npm run prettier:fix", | ||
"prettier:cli": "prettier \"**/*.ts\" \"**/*.js\"", | ||
"prettier:check": "npm run prettier:cli -- -l", | ||
"prettier:fix": "npm run prettier:cli -- --write", | ||
"eslint": "eslint --report-unused-disable-directives .", | ||
"eslint:fix": "npm run eslint -- --fix", | ||
"pretest": "npm run rebuild", | ||
"test": "echo 'no Tests'", | ||
"posttest": "npm run lint", | ||
"test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js && npm run posttest", | ||
"docker:build": "docker build -t chat-and-notif .", | ||
"docker:run": "docker run -p 3000:3000 -d chat-and-notif", | ||
"premigrate": "npm run build", | ||
"migrate": "node ./dist/migrate", | ||
"preopenapi-spec": "npm run build", | ||
"openapi-spec": "node ./dist/openapi-spec", | ||
"prestart": "npm run rebuild", | ||
"start": "node -r source-map-support/register .", | ||
"clean": "lb-clean dist *.tsbuildinfo .eslintcache", | ||
"rebuild": "npm run clean && npm run build", | ||
"db:migrate": "./node_modules/db-migrate/bin/db-migrate up --config './migrations/database.json'", | ||
"db:migrate:down": "./node_modules/db-migrate/bin/db-migrate down --config './migrations/database.json'", | ||
"db:migrate:reset": "./node_modules/db-migrate/bin/db-migrate reset --config './migrations/database.json'" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "" | ||
}, | ||
"author": "Ankur <[email protected]>", | ||
"license": "", | ||
"files": [ | ||
"README.md", | ||
"dist", | ||
"src", | ||
"!*/__tests__" | ||
], | ||
"dependencies": { | ||
"@loopback/boot": "^6.1.0", | ||
"@loopback/core": "^5.1.0", | ||
"@loopback/repository": "^6.1.0", | ||
"@loopback/rest": "^13.1.0", | ||
"@loopback/rest-explorer": "^6.1.0", | ||
"@loopback/service-proxy": "^6.1.0", | ||
"@sourceloop/core": "^8.0.3", | ||
"@sourceloop/notification-service": "^7.0.4", | ||
"db-migrate": "^1.0.0-beta.21", | ||
"db-migrate-pg": "^1.3.0", | ||
"dotenv": "^16.0.3", | ||
"firebase-admin": "^11.9.0", | ||
"loopback-connector-kv-redis": "^4.0.0", | ||
"loopback-connector-postgresql": "^6.0.6", | ||
"loopback4-notifications": "^6.0.1", | ||
"nodemailer": "^6.7.5", | ||
"prom-client": "^14.0.1", | ||
"pubnub": "^7.2.1", | ||
"socket.io-client": "^4.5.1", | ||
"tslib": "^2.5.3" | ||
}, | ||
"devDependencies": { | ||
"@loopback/build": "^10.1.0", | ||
"@loopback/eslint-config": "^14.0.1", | ||
"@loopback/testlab": "^6.1.0", | ||
"@types/node": "^18.11.18", | ||
"eslint": "^8.44.0", | ||
"source-map-support": "^0.5.21", | ||
"typescript": "~4.9.5" | ||
}, | ||
"overrides": { | ||
"check-code-coverage": { | ||
"lodash": "^4.17.21" | ||
}, | ||
"private": true, | ||
"scripts": { | ||
"build": "lb-tsc", | ||
"build:watch": "lb-tsc --watch", | ||
"lint": "npm run eslint && npm run prettier:check", | ||
"lint:fix": "npm run eslint:fix && npm run prettier:fix", | ||
"prettier:cli": "lb-prettier \"**/*.ts\" \"**/*.js\"", | ||
"prettier:check": "npm run prettier:cli -- -l", | ||
"prettier:fix": "npm run prettier:cli -- --write", | ||
"eslint": "lb-eslint --report-unused-disable-directives .", | ||
"eslint:fix": "npm run eslint -- --fix", | ||
"pretest": "npm run rebuild", | ||
"test": "lb-mocha --allow-console-logs \"dist/__tests__\"", | ||
"posttest": "npm run lint", | ||
"test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js && npm run posttest", | ||
"docker:build": "docker build -t chat-and-notif .", | ||
"docker:run": "docker run -p 3000:3000 -d chat-and-notif", | ||
"premigrate": "npm run build", | ||
"migrate": "node ./dist/migrate", | ||
"preopenapi-spec": "npm run build", | ||
"openapi-spec": "node ./dist/openapi-spec", | ||
"prestart": "npm run rebuild", | ||
"start": "node -r source-map-support/register .", | ||
"clean": "lb-clean dist *.tsbuildinfo .eslintcache", | ||
"rebuild": "npm run clean && npm run build", | ||
"db:migrate": "./node_modules/db-migrate/bin/db-migrate up --config './migrations/database.json'", | ||
"db:migrate:down": "./node_modules/db-migrate/bin/db-migrate down --config './migrations/database.json'", | ||
"db:migrate:reset": "./node_modules/db-migrate/bin/db-migrate reset --config './migrations/database.json'" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "" | ||
}, | ||
"author": "Ankur <[email protected]>", | ||
"license": "", | ||
"files": [ | ||
"README.md", | ||
"dist", | ||
"src", | ||
"!*/__tests__" | ||
], | ||
"dependencies": { | ||
"@loopback/boot": "^6.1.0", | ||
"@loopback/core": "^5.1.0", | ||
"@loopback/repository": "^6.1.0", | ||
"@loopback/rest": "^13.1.0", | ||
"@loopback/rest-explorer": "^6.1.0", | ||
"@loopback/service-proxy": "^6.1.0", | ||
"@sourceloop/core": "^8.0.3", | ||
"@sourceloop/notification-service": "^7.0.4", | ||
"db-migrate": "^1.0.0-beta.21", | ||
"db-migrate-pg": "^1.3.0", | ||
"dotenv": "^16.0.3", | ||
"firebase-admin": "^11.9.0", | ||
"loopback-connector-kv-redis": "^4.0.0", | ||
"loopback-connector-postgresql": "^6.0.6", | ||
"loopback4-notifications": "^6.0.1", | ||
"nodemailer": "^6.7.5", | ||
"prom-client": "^14.0.1", | ||
"pubnub": "^7.2.1", | ||
"socket.io-client": "^4.5.1", | ||
"tslib": "^2.5.3" | ||
}, | ||
"devDependencies": { | ||
"@loopback/build": "^10.1.0", | ||
"@loopback/eslint-config": "^14.0.1", | ||
"@loopback/testlab": "^6.1.0", | ||
"@types/node": "^18.11.18", | ||
"eslint": "^8.44.0", | ||
"source-map-support": "^0.5.21", | ||
"typescript": "~4.9.5" | ||
}, | ||
"overrides": { | ||
"check-code-coverage": { | ||
"lodash": "^4.17.21" | ||
}, | ||
"node-apn": { | ||
"node-forge": "^1.3.1" | ||
} | ||
"node-apn": { | ||
"node-forge": "^1.3.1" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.