Skip to content

Commit

Permalink
fix(sandbox): fix sandbox lint issues
Browse files Browse the repository at this point in the history
fix sandbox lint issues

MIGRATION CHANGE:
migration-20221122072057- prettier fix

BREAKING CHANGE:
lerna bootstrap will not be supported

GH-1673
  • Loading branch information
Surbhi-sharma1 committed Sep 13, 2023
1 parent 2ac3311 commit c562556
Show file tree
Hide file tree
Showing 73 changed files with 16,107 additions and 88,189 deletions.
20,876 changes: 15,180 additions & 5,696 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"packages/feature-toggle",
"packages/custom-sf-changelog/",
"services/*",
"sandbox/*",
"sandbox/chat-notification-pubnub-example/services"
"sandbox/**"
]
}
6 changes: 3 additions & 3 deletions sandbox/chat-notification-pubnub-example/facade/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
"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:cli": "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": "eslint --report-unused-disable-directives .",
"eslint:fix": "npm run eslint -- --fix",
"pretest": "npm run rebuild",
"test": "lb-mocha --allow-console-logs \"dist/__tests__\"",
"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 facade .",
Expand Down
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"
}
}
}
}
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"
}
}
}
}
Loading

0 comments on commit c562556

Please sign in to comment.