chore: remove js-green-licenses (#7201)

This commit is contained in:
Rachel Fenichel
2023-06-27 13:36:06 -07:00
committed by GitHub
parent 452abd4b93
commit e2cd1bad24
4 changed files with 0 additions and 998 deletions

View File

@@ -15,7 +15,6 @@ const gulp = require('gulp');
const buildTasks = require('./scripts/gulpfiles/build_tasks');
const packageTasks = require('./scripts/gulpfiles/package_tasks');
const gitTasks = require('./scripts/gulpfiles/git_tasks');
const licenseTasks = require('./scripts/gulpfiles/license_tasks');
const appengineTasks = require('./scripts/gulpfiles/appengine_tasks');
const releaseTasks = require('./scripts/gulpfiles/release_tasks');
const docsTasks = require('./scripts/gulpfiles/docs_tasks');
@@ -41,7 +40,6 @@ module.exports = {
// Manually-invokable targets, with prerequisites where required.
messages: buildTasks.messages, // Generate msg/json/en.json et al.
checkLicenses: licenseTasks.checkLicenses,
clean: gulp.parallel(buildTasks.cleanBuildDir, packageTasks.cleanReleaseDir),
test: testTasks.test,
testGenerators: testTasks.generators,

972
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -37,7 +37,6 @@
"format:check": "prettier --check .",
"generate:langfiles": "exit 1 # Deprecated; use \"npm run messages\" instead.",
"messages": "gulp messages",
"license": "gulp checkLicenses",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"langfiles": "gulp langfiles",
@@ -99,7 +98,6 @@
"gulp-sourcemaps": "^3.0.0",
"gulp-umd": "^2.0.0",
"http-server": "^14.0.0",
"js-green-licenses": "^4.0.0",
"json5": "^2.2.0",
"markdown-tables-to-json": "^0.1.7",
"mocha": "^10.0.0",

View File

@@ -1,22 +0,0 @@
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Gulp tasks to check the licenses of Blockly dependencies.
*/
const jsgl = require('js-green-licenses');
function checkLicenses() {
const checker = new jsgl.LicenseChecker();
checker.setDefaultHandlers();
return checker.checkLocalDirectory('.');
};
module.exports = {
// Manually-invokable targets, with prerequisites where required.
checkLicenses: checkLicenses
};