Skip to content

Commit

Permalink
feat(core): test sr deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Apr 26, 2021
1 parent a44f26f commit fbc5bbf
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 9 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
tags: true

# e2e:
# runs-on: ubuntu-latest
Expand Down
5 changes: 3 additions & 2 deletions packages/core/src/generators/init/schema.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"$schema": "http://json-schema.org/schema",
"cli": "nx",
"id": "Init",
"title": "",
"id": "@nx-dotnet/core:init",
"title": "Initialize NxDotnet",
"description": "Update's user's gitignore file + initializes a blank config",
"type": "object",
"properties": {},
"required": []
Expand Down
6 changes: 6 additions & 0 deletions packages/core/src/models/build-executor-configuration.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { TargetConfiguration } from '@nrwl/devkit';

/**
* Returns a TargetConfiguration for the nx-dotnet/core:build executor
*/
export function GetBuildExecutorConfiguration(
projectName: string
): BuildExecutorConfiguration {
Expand All @@ -20,6 +23,9 @@ export function GetBuildExecutorConfiguration(
};
}

/**
* Configuration options relevant for the build executor
*/
export interface BuildExecutorConfiguration extends TargetConfiguration {
options: {
output: string;
Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/models/project-generator-schema.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/**
* Typing for the shared project generator's options
*/
export interface NxDotnetProjectGeneratorSchema {
name: string;
tags?: string;
Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/models/serve-executor-configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ export function GetServeExecutorConfig(): ServeTargetConfiguration {
};
}

/**
* Target configuration for nx-dotnet/core:serve
*/
export interface ServeTargetConfiguration extends TargetConfiguration {
options: {
configuration: 'Debug' | 'Release';
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"importHelpers": true,
"target": "es2015",
"module": "esnext",
"lib": ["es2017", "dom"],
"lib": ["es2019", "dom"],
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"baseUrl": ".",
Expand Down

0 comments on commit fbc5bbf

Please sign in to comment.