lincd-cli 0.2.37 → 0.2.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,23 @@
1
+ node_modules
2
+ frontend/build
3
+ frontend/web/assets
4
+ data/uploads
5
+ data/metadata
6
+ data/sessions
7
+ .yarn/*
8
+ !.yarn/patches
9
+ !.yarn/plugins
10
+ !.yarn/releases
11
+ !.yarn/sdks
12
+ !.yarn/versions
13
+ packages/**/dist
14
+ packages/**/lib
15
+ packages/**/.yarn/*
16
+ !packages/**/.yarn/patches
17
+ !packages/**/.yarn/plugins
18
+ !packages/**/.yarn/releases
19
+ !packages/**/.yarn/sdks
20
+ !packages/**/.yarn/versions
21
+ .idea
22
+ android/app/build
23
+ ios/App/App/public
@@ -0,0 +1,8 @@
1
+ nodeLinker: "node-modules"
2
+ npmRegistryServer: "https://registry.npmjs.org/"
3
+
4
+ plugins:
5
+ - path: .yarn/plugins/@yarnpkg/plugin-version.cjs
6
+ spec: "@yarnpkg/plugin-version"
7
+
8
+ yarnPath: .yarn/releases/yarn-3.6.1.cjs
@@ -0,0 +1 @@
1
+ mrgit.json
@@ -35,7 +35,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
35
35
  return (mod && mod.__esModule) ? mod : { "default": mod };
36
36
  };
37
37
  Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.executeCommandForPackage = exports.addCapacitor = exports.executeCommandForEachPackage = exports.buildUpdated = exports.publishPackage = exports.publishUpdated = exports.buildPackage = exports.buildMetadata = exports.register = exports.createPackage = exports.depCheck = exports.createComponent = exports.createSetComponent = exports.createShape = exports.createOntology = exports.getLincdPackages = exports.buildAll = exports.developPackage = exports.createApp = void 0;
38
+ exports.executeCommandForPackage = exports.addCapacitor = exports.addLinesToFile = exports.executeCommandForEachPackage = exports.buildUpdated = exports.publishPackage = exports.publishUpdated = exports.buildPackage = exports.buildMetadata = exports.register = exports.createPackage = exports.depCheck = exports.createComponent = exports.createSetComponent = exports.createShape = exports.setNameVariables = exports.createOntology = exports.getLincdPackages = exports.buildAll = exports.developPackage = exports.createApp = void 0;
39
39
  const path_1 = __importDefault(require("path"));
40
40
  const fs_extra_1 = __importDefault(require("fs-extra"));
41
41
  const utils_1 = require("./utils");
@@ -56,7 +56,7 @@ const createApp = (name, basePath = process.cwd()) => __awaiter(void 0, void 0,
56
56
  if (!name) {
57
57
  console.warn('Please provide a name as the first argument');
58
58
  }
59
- let { hyphenName, camelCaseName, underscoreName } = setNameVariables(name);
59
+ let { hyphenName, camelCaseName, underscoreName } = (0, exports.setNameVariables)(name);
60
60
  let targetFolder = path_1.default.join(basePath, hyphenName);
61
61
  if (!fs_extra_1.default.existsSync(targetFolder)) {
62
62
  fs_extra_1.default.mkdirSync(targetFolder);
@@ -64,13 +64,17 @@ const createApp = (name, basePath = process.cwd()) => __awaiter(void 0, void 0,
64
64
  fs_extra_1.default.copySync(path_1.default.join(__dirname, '..', 'defaults', 'app-with-backend'), targetFolder);
65
65
  //make sure the data folder exists (even though its empty).. copying empty folders does not work with fs.copySync
66
66
  fs_extra_1.default.mkdirSync(path_1.default.join(targetFolder, 'data'), { recursive: true });
67
- // fs.renameSync(path.join(targetFolder, '.yarnrc.yml.template'), path.join(targetFolder, '.yarnrc.yml'));
67
+ fs_extra_1.default.mkdirSync(path_1.default.join(targetFolder, 'data/uploads/resized'), { recursive: true });
68
+ fs_extra_1.default.renameSync(path_1.default.join(targetFolder, 'gitignore.template'), path_1.default.join(targetFolder, '.gitignore'));
69
+ fs_extra_1.default.renameSync(path_1.default.join(targetFolder, 'yarnrc.yml.template'), path_1.default.join(targetFolder, '.yarnrc.yml'));
68
70
  // fs.copySync(path.join(__dirname, '..', 'defaults', 'app'), targetFolder);
69
71
  log("Creating new LINCD application '" + name + "'");
70
72
  //replace variables in some copied files
71
73
  yield replaceVariablesInFolder(targetFolder);
72
74
  let hasYarn = yield hasYarnInstalled();
73
- let installCommand = hasYarn ? 'yarn install' : 'npm install';
75
+ let installCommand = hasYarn
76
+ ? 'export NODE_OPTIONS="--no-network-family-autoselection" && yarn install'
77
+ : 'npm install';
74
78
  yield (0, utils_1.execp)(`cd ${hyphenName} && ${installCommand}`, true).catch((err) => {
75
79
  console.warn('Could not install dependencies or start application');
76
80
  });
@@ -101,11 +105,11 @@ function debugInfo(...messages) {
101
105
  // console.log(gruntConfig);
102
106
  // process.exit();
103
107
  // }
104
- // if (gruntConfig && gruntConfig.analyse === true) {
105
- messages.forEach((message) => {
106
- console.log(chalk_1.default.cyan('Info: ') + message);
107
- });
108
- // }
108
+ if (gruntConfig && gruntConfig.analyse === true) {
109
+ messages.forEach((message) => {
110
+ console.log(chalk_1.default.cyan('Info: ') + message);
111
+ });
112
+ }
109
113
  }
110
114
  function warn(...messages) {
111
115
  messages.forEach((message) => {
@@ -235,8 +239,12 @@ function runOnPackagesGroupedByDependencies(lincdPackages, onBuildStack, onStack
235
239
  });
236
240
  if (stack.length <= 0 && done.size < lincdPackages.size) {
237
241
  console.log(chalk_1.default.red('Only ' + done.size + ' out of ' + lincdPackages.size + ' packages have been built'));
238
- console.log('ALL remaining packages have dependencies that have not been met. This may point to ' + chalk_1.default.red('circular dependencies.'));
239
- console.log('Already built: ' + Array.from(done).map(p => chalk_1.default.green(p.packageName)).join(', '));
242
+ console.log('ALL remaining packages have dependencies that have not been met. This may point to ' +
243
+ chalk_1.default.red('circular dependencies.'));
244
+ console.log('Already built: ' +
245
+ Array.from(done)
246
+ .map((p) => chalk_1.default.green(p.packageName))
247
+ .join(', '));
240
248
  console.log(chalk_1.default.blue('\nTo solve this issue') + ': find the circular dependencies below and fix the dependencies:\n\n');
241
249
  //TODO: actually find and name the packages that have circular dependencies
242
250
  // let circular = [];
@@ -254,15 +262,20 @@ function runOnPackagesGroupedByDependencies(lincdPackages, onBuildStack, onStack
254
262
  // process.exit();
255
263
  // }
256
264
  // });
257
- lincdPackages.forEach(pkg => {
265
+ lincdPackages.forEach((pkg) => {
258
266
  let deps = dependencies.get(pkg);
259
267
  if (!done.has(pkg)) {
260
- console.log(chalk_1.default.red(pkg.packageName) + ' has not been built yet. Unbuilt dependencies:\n' + deps.filter(dependency => {
261
- return !Array.from(done).some(p => {
262
- // console.log(p.packageName,dependency.packageName,p===dependency)
263
- return p === dependency;
264
- });
265
- }).map(p => chalk_1.default.red('\t- ' + ((p === null || p === void 0 ? void 0 : p.packageName) ? p.packageName : p.toString()) + '\n')).join(" "));
268
+ console.log(chalk_1.default.red(pkg.packageName) +
269
+ ' has not been built yet. Unbuilt dependencies:\n' +
270
+ deps
271
+ .filter((dependency) => {
272
+ return !Array.from(done).some((p) => {
273
+ // console.log(p.packageName,dependency.packageName,p===dependency)
274
+ return p === dependency;
275
+ });
276
+ })
277
+ .map((p) => chalk_1.default.red('\t- ' + ((p === null || p === void 0 ? void 0 : p.packageName) ? p.packageName : p.toString()) + '\n'))
278
+ .join(' '));
266
279
  // console.log(chalk.red(pkg.packageName)+' has not been built yet. Built dependencies:\n' + deps.filter(dependency => {
267
280
  // return Array.from(done).some(p => p.packageName === pkg.packageName)
268
281
  // }).map(p => chalk.green('\t- '+p.packageName+'\n')).join(" "))
@@ -282,19 +295,19 @@ function runOnPackagesGroupedByDependencies(lincdPackages, onBuildStack, onStack
282
295
  runStack(startStack);
283
296
  }
284
297
  function hasDependency(pkg, childPkg, dependencies, depth = 1) {
285
- console.log("Does " + pkg.packageName + " have dep " + childPkg.packageName + " ?");
298
+ console.log('Does ' + pkg.packageName + ' have dep ' + childPkg.packageName + ' ?');
286
299
  let deps = dependencies.get(pkg);
287
- if (deps.some(dependency => {
300
+ if (deps.some((dependency) => {
288
301
  console.log(dependency.packageName, childPkg.packageName, dependency === childPkg);
289
302
  if (depth === 2)
290
303
  return false;
291
304
  // return dependency === childPkg;
292
305
  return dependency === childPkg || hasDependency(dependency, childPkg, dependencies, depth++);
293
306
  })) {
294
- console.log("##YES");
307
+ console.log('##YES');
295
308
  return true;
296
309
  }
297
- console.log("going up");
310
+ console.log('going up');
298
311
  return false;
299
312
  }
300
313
  function buildAll(target, target2, target3) {
@@ -353,7 +366,11 @@ function buildAll(target, target2, target3) {
353
366
  }
354
367
  //unless told otherwise, build the package
355
368
  if (!command) {
356
- command = (0, utils_1.execPromise)('cd ' + pkg.path + ' && yarn exec lincd build' + (target ? ' ' + target : '') + (target2 ? ' ' + target2 : ''), false, false, {}, false);
369
+ command = (0, utils_1.execPromise)('cd ' +
370
+ pkg.path +
371
+ ' && yarn exec lincd build' +
372
+ (target ? ' ' + target : '') +
373
+ (target2 ? ' ' + target2 : ''), false, false, {}, false);
357
374
  debugInfo(chalk_1.default.cyan('Building ' + pkg.packageName));
358
375
  }
359
376
  return command
@@ -487,8 +504,8 @@ function setVariable(name, replacement) {
487
504
  variables[name] = replacement;
488
505
  }
489
506
  var replaceVariablesInFile = (filePath) => __awaiter(void 0, void 0, void 0, function* () {
490
- var fileContent = yield fs_extra_1.default.readFile(filePath, 'utf8').catch(err => {
491
- console.warn(chalk_1.default.red("Could not read file " + filePath));
507
+ var fileContent = yield fs_extra_1.default.readFile(filePath, 'utf8').catch((err) => {
508
+ console.warn(chalk_1.default.red('Could not read file ' + filePath));
492
509
  });
493
510
  if (fileContent) {
494
511
  var newContent = replaceCurlyVariables(fileContent);
@@ -524,7 +541,7 @@ const createOntology = (prefix, uriBase, basePath = process.cwd()) => __awaiter(
524
541
  uriBase = 'http://lincd.org/ont/' + prefix + '/';
525
542
  }
526
543
  setVariable('uri_base', uriBase);
527
- let { hyphenName, camelCaseName, underscoreName } = setNameVariables(prefix);
544
+ let { hyphenName, camelCaseName, underscoreName } = (0, exports.setNameVariables)(prefix);
528
545
  //copy ontology accessor file
529
546
  log("Creating files for ontology '" + prefix + "'");
530
547
  let targetFile = path_1.default.join(targetFolder, hyphenName + '.ts');
@@ -638,6 +655,7 @@ const setNameVariables = function (name) {
638
655
  setVariable('plain_name', plainName);
639
656
  return { hyphenName, camelCaseName, underscoreName, plainName };
640
657
  };
658
+ exports.setNameVariables = setNameVariables;
641
659
  function getSourceFolder(basePath = process.cwd()) {
642
660
  //LINCD App
643
661
  if (fs_extra_1.default.existsSync(path_1.default.join(basePath, 'frontend', 'src'))) {
@@ -655,7 +673,7 @@ function getSourceFolder(basePath = process.cwd()) {
655
673
  const createShape = (name, basePath = process.cwd()) => __awaiter(void 0, void 0, void 0, function* () {
656
674
  let sourceFolder = getSourceFolder(basePath);
657
675
  let targetFolder = ensureFolderExists(sourceFolder, 'shapes');
658
- let { hyphenName, camelCaseName, underscoreName } = setNameVariables(name);
676
+ let { hyphenName, camelCaseName, underscoreName } = (0, exports.setNameVariables)(name);
659
677
  //copy default shape file
660
678
  // log("Creating files for shape '" + name + "'");
661
679
  let targetFile = path_1.default.join(targetFolder, hyphenName + '.ts');
@@ -673,7 +691,7 @@ const createShape = (name, basePath = process.cwd()) => __awaiter(void 0, void 0
673
691
  exports.createShape = createShape;
674
692
  const createSetComponent = (name, basePath = process.cwd()) => __awaiter(void 0, void 0, void 0, function* () {
675
693
  let targetFolder = ensureFolderExists(basePath, 'src', 'components');
676
- let { hyphenName, camelCaseName, underscoreName } = setNameVariables(name);
694
+ let { hyphenName, camelCaseName, underscoreName } = (0, exports.setNameVariables)(name);
677
695
  //copy default shape file
678
696
  log("Creating files for set component '" + name + "'");
679
697
  let targetFile = path_1.default.join(targetFolder, hyphenName + '.tsx');
@@ -689,7 +707,7 @@ exports.createSetComponent = createSetComponent;
689
707
  const createComponent = (name, basePath = process.cwd()) => __awaiter(void 0, void 0, void 0, function* () {
690
708
  let sourceFolder = getSourceFolder(basePath);
691
709
  let targetFolder = ensureFolderExists(sourceFolder, 'components');
692
- let { hyphenName, camelCaseName, underscoreName } = setNameVariables(name);
710
+ let { hyphenName, camelCaseName, underscoreName } = (0, exports.setNameVariables)(name);
693
711
  //copy default shape file
694
712
  log("Creating files for component '" + name + "'");
695
713
  let targetFile = path_1.default.join(targetFolder, hyphenName + '.tsx');
@@ -712,9 +730,9 @@ const depCheck = () => __awaiter(void 0, void 0, void 0, function* () {
712
730
  if (results.missing) {
713
731
  let missing = Object.keys(results.missing);
714
732
  //currently react is not an explicit dependency, but we should add it as a peer dependency
715
- missing.splice(missing.indexOf("react"));
733
+ missing.splice(missing.indexOf('react'));
716
734
  if (missing.length > 0) {
717
- console.warn(chalk_1.default.red("Missing dependencies:\n\t" + missing.join(",\n\t")));
735
+ console.warn(chalk_1.default.red('Missing dependencies:\n\t' + missing.join(',\n\t')));
718
736
  }
719
737
  }
720
738
  // if(Object.keys(results.invalidFiles).length > 0) {
@@ -755,7 +773,7 @@ const createPackage = (name, uriBase, basePath = process.cwd()) => __awaiter(voi
755
773
  setVariable('package_name', name);
756
774
  //extra variable for clarity (will be same as 'name')
757
775
  setVariable('output_file_name', name);
758
- let { hyphenName, camelCaseName, underscoreName } = setNameVariables(cleanPackageName);
776
+ let { hyphenName, camelCaseName, underscoreName } = (0, exports.setNameVariables)(cleanPackageName);
759
777
  log("Creating new LINCD package '" + name + "'");
760
778
  fs_extra_1.default.copySync(path_1.default.join(__dirname, '..', 'defaults', 'package'), targetFolder);
761
779
  //replace variables in some of the copied files
@@ -929,7 +947,7 @@ const buildMetadata = () => __awaiter(void 0, void 0, void 0, function* () {
929
947
  }
930
948
  else {
931
949
  if (!response.packageUri) {
932
- console.warn("No package URI from meta data. Not building meta data for this package");
950
+ console.warn('No package URI from meta data. Not building meta data for this package');
933
951
  return;
934
952
  }
935
953
  let pkgNode = models_1.NamedNode.getOrCreate(response.packageUri);
@@ -1043,7 +1061,7 @@ const getLastCommitTime = (packagePath) => {
1043
1061
  // process.exit();
1044
1062
  return (0, utils_1.execPromise)(`git log -1 --format="%h %ci" -- ${packagePath}`)
1045
1063
  .then((result) => __awaiter(void 0, void 0, void 0, function* () {
1046
- let commitId = result.substring(0, result.indexOf(" "));
1064
+ let commitId = result.substring(0, result.indexOf(' '));
1047
1065
  let date = result.substring(commitId.length + 1);
1048
1066
  let lastCommitDate = new Date(date);
1049
1067
  let changes = yield (0, utils_1.execPromise)(`git show --stat --oneline ${commitId} -- ${packagePath}`);
@@ -1103,10 +1121,10 @@ var publishUpdated = function (test = false) {
1103
1121
  return chalk_1.default.gray(pckg.packageName + ' is private');
1104
1122
  // return previousResult + ' ' + chalk.gray(pckg.packageName + ' is private\n');
1105
1123
  }
1106
- console.log("testing npm");
1124
+ console.log('testing npm');
1107
1125
  return (0, utils_1.execPromise)('npm info ' + pckg.packageName + ' --json')
1108
1126
  .then((output) => __awaiter(this, void 0, void 0, function* () {
1109
- console.log("testing npm done");
1127
+ console.log('testing npm done');
1110
1128
  var info;
1111
1129
  try {
1112
1130
  if (output == '' || output.includes('E404')) {
@@ -1146,10 +1164,10 @@ var publishUpdated = function (test = false) {
1146
1164
  shouldPublish = lastPublishDate.getTime() < lastCommitInfo.date.getTime();
1147
1165
  //ignore changes to package.json if that's the only change, because when we publish the version number changes, which is then committed
1148
1166
  //(note there is always 2 lines for commit info + number of files changed)
1149
- let changedFiles = lastCommitInfo.changes.split("\n").filter(line => line.includes("|"));
1167
+ let changedFiles = lastCommitInfo.changes.split('\n').filter((line) => line.includes('|'));
1150
1168
  let numberOfFilesChanges = changedFiles.length;
1151
1169
  // console.log("CHECK "+lastCommitInfo.changes.includes("package.json")+" - "+numberOfFilesChanges)
1152
- if (shouldPublish && lastCommitInfo.changes.includes("package.json") && numberOfFilesChanges === 1) {
1170
+ if (shouldPublish && lastCommitInfo.changes.includes('package.json') && numberOfFilesChanges === 1) {
1153
1171
  shouldPublish = false;
1154
1172
  }
1155
1173
  if (shouldPublish) {
@@ -1159,7 +1177,10 @@ var publishUpdated = function (test = false) {
1159
1177
  lastPublishDate.toTimeString() +
1160
1178
  ' published ' +
1161
1179
  info.version);
1162
- log(lastCommitInfo.date.toDateString() + ' ' + new Date(lastCommitInfo.date).toTimeString() + ' source last committed:');
1180
+ log(lastCommitInfo.date.toDateString() +
1181
+ ' ' +
1182
+ new Date(lastCommitInfo.date).toTimeString() +
1183
+ ' source last committed:');
1163
1184
  log(lastCommitInfo.changes);
1164
1185
  }
1165
1186
  }
@@ -1222,7 +1243,7 @@ function getEnvJsonPath(relativeToPath = process.cwd()) {
1222
1243
  }
1223
1244
  // let path = './';
1224
1245
  for (let i = 0; i <= 10; i++) {
1225
- let envFile = yield (0, get_env_vars_1.getEnvFile)({ filePath: relativeToPath + path + '.env.json' }).catch(err => {
1246
+ let envFile = yield (0, get_env_vars_1.getEnvFile)({ filePath: relativeToPath + path + '.env.json' }).catch((err) => {
1226
1247
  return null;
1227
1248
  });
1228
1249
  if (envFile) {
@@ -1296,7 +1317,7 @@ var buildUpdated = function (back, target, target2, test = false) {
1296
1317
  let packagesLeft = packages.size;
1297
1318
  runOnPackagesGroupedByDependencies(packages, (packageGroup, dependencies) => {
1298
1319
  debugInfo('Now checking: ' + chalk_1.default.blue(packageGroup.map((i) => i.packageName)));
1299
- debugInfo((packagesLeft) + " packages left.");
1320
+ debugInfo(packagesLeft + ' packages left.');
1300
1321
  packagesLeft = packagesLeft - packageGroup.length;
1301
1322
  return (pkg) => __awaiter(this, void 0, void 0, function* () {
1302
1323
  // debugInfo('# Checking package ' + pkg.packageName);
@@ -1466,15 +1487,16 @@ exports.executeCommandForEachPackage = executeCommandForEachPackage;
1466
1487
  var gitIgnore = function (...entries) {
1467
1488
  //add each entry to the .gitignore file
1468
1489
  let gitIgnorePath = path_1.default.resolve(process.cwd(), '.gitignore');
1469
- addLinesToFile(gitIgnorePath, entries);
1490
+ (0, exports.addLinesToFile)(gitIgnorePath, entries);
1470
1491
  };
1471
1492
  var addLinesToFile = function (filePath, entries) {
1472
1493
  let fileContents = fs_extra_1.default.readFileSync(filePath, { encoding: 'utf8' });
1473
- entries.forEach(entry => {
1494
+ entries.forEach((entry) => {
1474
1495
  fileContents += '\n' + entry;
1475
1496
  });
1476
1497
  fs_extra_1.default.writeFileSync(filePath, fileContents);
1477
1498
  };
1499
+ exports.addLinesToFile = addLinesToFile;
1478
1500
  var addCapacitor = function (basePath = process.cwd()) {
1479
1501
  return __awaiter(this, void 0, void 0, function* () {
1480
1502
  let targetFolder = ensureFolderExists(basePath);
@@ -1484,12 +1506,12 @@ var addCapacitor = function (basePath = process.cwd()) {
1484
1506
  let envCmdPath = path_1.default.resolve(basePath, '.env-cmdrc.json');
1485
1507
  let envCmd = JSON.parse(fs_extra_1.default.readFileSync(envCmdPath, { encoding: 'utf8' }));
1486
1508
  envCmd['static-dev'] = {
1487
- "NODE_ENV": "production",
1488
- "SITE_ROOT": "http://localhost:4000",
1489
- "DATA_ROOT": "http://localhost:4000/data",
1490
- "OUTPUT_PATH": "./frontend/web/assets",
1491
- "ASSET_PATH": "./assets/",
1492
- "ENTRY_PATH": "./frontend/src/index-static.tsx"
1509
+ NODE_ENV: 'production',
1510
+ SITE_ROOT: 'http://localhost:4000',
1511
+ DATA_ROOT: 'http://localhost:4000/data',
1512
+ OUTPUT_PATH: './frontend/web/assets',
1513
+ ASSET_PATH: './assets/',
1514
+ ENTRY_PATH: './frontend/src/index-static.tsx',
1493
1515
  };
1494
1516
  fs_extra_1.default.writeFile(envCmdPath, JSON.stringify(envCmd, null, 2));
1495
1517
  log('Edited .env-cmdrc.json');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lincd-cli",
3
- "version": "0.2.37",
3
+ "version": "0.2.39",
4
4
  "description": "Command line tools for the lincd.js library",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -41,13 +41,13 @@
41
41
  "chalk": "4.1.0",
42
42
  "child-process-promise": "^2.2.1",
43
43
  "colors": "^1.4.0",
44
- "commander": "^9.4.0",
44
+ "commander": "^11.0.0",
45
45
  "copy-webpack-plugin": "^11.0.0",
46
46
  "css-loader": "^6.7.1",
47
47
  "depcheck": "^1.4.3",
48
48
  "env-cmd": "^10.1.0",
49
49
  "find-nearest-package-json": "^2.0.1",
50
- "fs-extra": "^10.1.0",
50
+ "fs-extra": "^11.1.1",
51
51
  "glob": "^7.1.6",
52
52
  "grunt": "^1.3.0",
53
53
  "grunt-cli": "^1.4.3",
@@ -58,8 +58,8 @@
58
58
  "grunt-ts": "^6.0.0-beta.22",
59
59
  "grunt-webpack": "^5.0.0",
60
60
  "license-info-webpack-plugin": "^3.0.0",
61
- "lincd": "^0.5",
62
- "lincd-jsonld": "^0.1.21",
61
+ "lincd": "0.5.26",
62
+ "lincd-jsonld": "^0.1.22",
63
63
  "lincd-modules": "^0.1",
64
64
  "load-grunt-tasks": "^5.1.0",
65
65
  "mini-css-extract-plugin": "^2.7.5",
@@ -1,16 +0,0 @@
1
- const fs = require('fs');
2
- const which = require('which');
3
- const homedir = require('os').homedir();
4
- const path = require('path');
5
-
6
- which('node').then(resolved => {
7
- try {
8
- fs.writeFileSync(
9
- path.join(homedir, '.huskyrc'),
10
- `export PATH="${path.join(resolved, '..')}:$PATH"`,
11
- );
12
- } catch (err) {
13
- console.log(err);
14
- }
15
- console.log('created .huskyrc in ' + homedir);
16
- });