From 15386da90a9829ed2901fc095112c433da81b5eb Mon Sep 17 00:00:00 2001 From: Sergey Fuksman Date: Mon, 22 May 2023 17:34:15 +0300 Subject: [PATCH] Update precommit checker --- check-licenses.js | 6 +++--- package-lock.json | 1 - package.json | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/check-licenses.js b/check-licenses.js index 44b9cb25fe..d29dc73d8d 100644 --- a/check-licenses.js +++ b/check-licenses.js @@ -1,6 +1,6 @@ const fs = require('fs'); const https = require('https'); -const remoteConfigUrl = 'https://raw.githubusercontent.com/anytypeio/open/main/compliance/licenses-config.json'; +const remoteConfigUrl = 'https://raw.githubusercontent.com/anyproto/open/main/compliance/licenses-config.json'; function processLicenses(licenses, allowedLicenses) { const disallowedPackages = Object.keys(licenses).filter(pkg => { @@ -12,8 +12,8 @@ function processLicenses(licenses, allowedLicenses) { pkgLicenses = "LGPL" } - // Solutions developed by Anytype are allowed - if (licenses[pkg].publisher == "Anytype") { + // Solutions developed by Anytype or Any Association are allowed + if (licenses[pkg].publisher == "Anytype" || licenses[pkg].publisher == "Any" || licenses[pkg].publisher == "Any Association") { return false; } diff --git a/package-lock.json b/package-lock.json index faa147868b..96a91a9a28 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,6 @@ "name": "anytype", "version": "0.31.47-alpha", "hasInstallScript": true, - "license": "MIT", "dependencies": { "@electron/remote": "^2.0.8", "@sentry/browser": "^7.39.0", diff --git a/package.json b/package.json index 80194904fd..79f20858cd 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "url": "git+https://github.com/anyproto/anytype-ts.git" }, "author": { - "name": "Anytype", + "name": "Any Association", "email": "info@anytype.io" }, "bugs": {