@swarmion/nx-plugin
Advanced tools
Comparing version 0.5.5 to 0.5.6
@@ -46,2 +46,15 @@ "use strict"; | ||
var _symlink = require("./symlink"); | ||
Object.keys(_symlink).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _symlink[key]) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function get() { | ||
return _symlink[key]; | ||
} | ||
}); | ||
}); | ||
var _updateCodeWorkspace = require("./updateCodeWorkspace"); | ||
@@ -60,2 +73,15 @@ | ||
var _updatePackages = require("./updatePackages"); | ||
Object.keys(_updatePackages).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _updatePackages[key]) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function get() { | ||
return _updatePackages[key]; | ||
} | ||
}); | ||
}); | ||
var _updateRootPackageJson = require("./updateRootPackageJson"); | ||
@@ -62,0 +88,0 @@ |
@@ -20,4 +20,2 @@ "use strict"; | ||
var _symlink = require("../helpers/symlink"); | ||
var _types = require("../types"); | ||
@@ -51,4 +49,4 @@ | ||
return _context.abrupt("return", function () { | ||
(0, _symlink.symlinkVsCodeConfiguration)(options); | ||
(0, _devkit.installPackagesTask)(tree, true); | ||
(0, _helpers.symlinkVsCodeConfiguration)(options); | ||
(0, _helpers.updatePackages)(tree, options); | ||
}); | ||
@@ -55,0 +53,0 @@ |
@@ -20,4 +20,2 @@ "use strict"; | ||
var _symlink = require("../helpers/symlink"); | ||
var _types = require("../types"); | ||
@@ -50,4 +48,4 @@ | ||
return _context.abrupt("return", function () { | ||
(0, _symlink.symlinkVsCodeConfiguration)(options); | ||
(0, _devkit.installPackagesTask)(tree, true); | ||
(0, _helpers.symlinkVsCodeConfiguration)(options); | ||
(0, _helpers.updatePackages)(tree, options); | ||
}); | ||
@@ -54,0 +52,0 @@ |
export * from "./createFiles"; | ||
export * from "./normalizeOptions"; | ||
export * from "./packageGenerator"; | ||
export * from "./symlink"; | ||
export * from "./updateCodeWorkspace"; | ||
export * from "./updatePackages"; | ||
export * from "./updateRootPackageJson"; | ||
//# sourceMappingURL=index.js.map |
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; | ||
import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
import { formatFiles, installPackagesTask, writeJson } from '@nrwl/devkit'; | ||
import { formatFiles, writeJson } from '@nrwl/devkit'; | ||
import { join } from 'path'; | ||
import { normalizeOptions, packageGenerator } from "../helpers"; | ||
import { symlinkVsCodeConfiguration } from "../helpers/symlink"; | ||
import { normalizeOptions, packageGenerator, symlinkVsCodeConfiguration, updatePackages } from "../helpers"; | ||
import { GeneratorType } from "../types"; | ||
@@ -33,3 +32,3 @@ import { packageBuildTsConfig, packageJson, packageProjectJson, packageTsConfig } from "./typed-json-config"; | ||
symlinkVsCodeConfiguration(options); | ||
installPackagesTask(tree, true); | ||
updatePackages(tree, options); | ||
}); | ||
@@ -36,0 +35,0 @@ |
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator"; | ||
import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
import { formatFiles, installPackagesTask } from '@nrwl/devkit'; | ||
import { formatFiles } from '@nrwl/devkit'; | ||
import { join } from 'path'; | ||
import { normalizeOptions, packageGenerator } from "../helpers"; | ||
import { symlinkVsCodeConfiguration } from "../helpers/symlink"; | ||
import { normalizeOptions, packageGenerator, symlinkVsCodeConfiguration, updatePackages } from "../helpers"; | ||
import { GeneratorType } from "../types"; | ||
@@ -32,3 +31,3 @@ import { packageJson, packageProjectJson, packageTsConfig } from "./typed-json-config"; | ||
symlinkVsCodeConfiguration(options); | ||
installPackagesTask(tree, true); | ||
updatePackages(tree, options); | ||
}); | ||
@@ -35,0 +34,0 @@ |
export * from './createFiles'; | ||
export * from './normalizeOptions'; | ||
export * from './packageGenerator'; | ||
export * from './symlink'; | ||
export * from './updateCodeWorkspace'; | ||
export * from './updatePackages'; | ||
export * from './updateRootPackageJson'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@swarmion/nx-plugin", | ||
"description": "Generate and use type-safe contracts between your Serverless services.", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"contributors": [ | ||
@@ -53,7 +53,7 @@ "MaximeVivier", | ||
"@babel/preset-typescript": "^7.16.7", | ||
"@nrwl/devkit": "^13.10.1", | ||
"@nrwl/js": "^13.10.1", | ||
"@nrwl/linter": "^13.10.1", | ||
"@swarmion/configuration": "^0.5.4", | ||
"@types/node": "^17.0.23", | ||
"@nrwl/devkit": "^13.10.3", | ||
"@nrwl/js": "^13.10.3", | ||
"@nrwl/linter": "^13.10.3", | ||
"@swarmion/configuration": "^0.5.6", | ||
"@types/node": "^17.0.25", | ||
"@zerollup/ts-transform-paths": "^1.7.18", | ||
@@ -64,3 +64,3 @@ "babel-plugin-module-resolver": "^4.1.0", | ||
"jest": "^27.5.1", | ||
"nx": "^13.10.1", | ||
"nx": "^13.10.3", | ||
"prettier": "^2.6.2", | ||
@@ -71,3 +71,3 @@ "ts-node": "^10.7.0", | ||
}, | ||
"gitHead": "06357c5253787e3425c27a5445505b4710315478" | ||
"gitHead": "1289acf38431b0864e0d51353f28988b7ef9cdbd" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
246010
212
1323
2