Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nx-go/nx-go

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nx-go/nx-go - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

src/schematics/application/files/main_test.go.template

2

package.json
{
"name": "@nx-go/nx-go",
"version": "1.4.0",
"version": "1.5.0",
"main": "src/index.js",

@@ -5,0 +5,0 @@ "schematics": "./collection.json",

@@ -73,3 +73,3 @@ <div align="center">

"cmd": "gow",
"main": "apps/api/src/main.go"
"main": "apps/api/main.go"
}

@@ -76,0 +76,0 @@ }

import { BuilderContext, BuilderOutput } from '@angular-devkit/architect';
import { Observable } from 'rxjs';
import { BuildBuilderSchema } from './schema';
export declare function runBuilder(options: BuildBuilderSchema, context: BuilderContext): Observable<BuilderOutput>;
declare const _default: import("@angular-devkit/architect/src/internal").Builder<BuildBuilderSchema>;
import { LintBuilderSchema } from './schema';
export declare function runBuilder(options: LintBuilderSchema, context: BuilderContext): Observable<BuilderOutput>;
declare const _default: import("@angular-devkit/architect/src/internal").Builder<LintBuilderSchema>;
export default _default;

@@ -11,5 +11,5 @@ "use strict";

return rxjs_1.from(context.getProjectMetadata((_a = context === null || context === void 0 ? void 0 : context.target) === null || _a === void 0 ? void 0 : _a.project)).pipe(operators_1.map((project) => {
const root = project.root;
const sources = `${root}/**/*.go`;
return go_utils_1.runGoCommand(context, 'fmt', [sources]);
const cwd = `${project.root}`;
const sources = `./...`;
return go_utils_1.runGoCommand(context, 'fmt', [sources], { cwd });
}));

@@ -16,0 +16,0 @@ }

@@ -5,5 +5,5 @@ import { Architect } from '@angular-devkit/architect'

import { join } from 'path'
import { BuildBuilderSchema } from './schema'
import { LintBuilderSchema } from './schema'
const options: BuildBuilderSchema = {}
const options: LintBuilderSchema = {}

@@ -10,0 +10,0 @@ describe('Command Runner Builder', () => {

import { JsonObject } from '@angular-devkit/core'
export interface BuildBuilderSchema extends JsonObject {
outputPath: string
main: string
}
export interface LintBuilderSchema extends JsonObject {}

@@ -32,3 +32,3 @@ "use strict";

const appProjectRoot = normalizedOptions.projectRoot;
const sourceRoot = `${appProjectRoot}/src`;
const sourceRoot = appProjectRoot;
const project = workspace.projects.add({

@@ -35,0 +35,0 @@ name: normalizedOptions.projectName,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc