Skip to content

Commit

Permalink
chore() publish 6.5.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Sep 19, 2019
1 parent 8c9c6f4 commit 593e2d6
Show file tree
Hide file tree
Showing 36 changed files with 536 additions and 821 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nestjs/schematics",
"version": "6.4.5",
"version": "6.5.0",
"description": "Nest - modern, fast, powerful node.js web framework (@schematics)",
"main": "index.js",
"publishConfig": {
Expand All @@ -10,8 +10,8 @@
"build": "rm -rf dist && tsc --project tsconfig.json",
"lint:src": "tslint --project tsconfig.json",
"lint:test": "tslint --project test/tsconfig.json",
"test": "jest --no-cache --config test/jest-config.json",
"test:dev": "npm run -s test -- --watchAll"
"test": "NODE_ENV=test jest --no-cache --config test/jest-config.json",
"test:dev": "NODE_ENV=test npm run -s test -- --watchAll"
},
"repository": {
"type": "git",
Expand All @@ -29,6 +29,7 @@
"dependencies": {
"@angular-devkit/core": "8.3.4",
"@angular-devkit/schematics": "8.3.4",
"fs-extra": "^8.1.0",
"ts-morph": "^4.0.0",
"typescript": "3.4.5"
},
Expand Down
5 changes: 5 additions & 0 deletions src/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@
"factory": "./lib/library/library.factory#main",
"description": "Create a Nest library (mono-repo).",
"schema": "./lib/library/schema.json"
},
"app": {
"factory": "./lib/sub-app/sub-app.factory#main",
"description": "Create a Nest application (mono-repo).",
"schema": "./lib/sub-app/schema.json"
}
}
}
1 change: 0 additions & 1 deletion src/lib/application/files/ts/nest-cli.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"language": "ts",
"collection": "@nestjs/schematics",
"sourceRoot": "src"
}
2 changes: 0 additions & 2 deletions src/lib/configuration/configuration.factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ describe('Configuration Factory', () => {
files.find(filename => filename === '/project/nest-cli.json'),
).not.toBeUndefined();
expect(JSON.parse(tree.readContent('/project/nest-cli.json'))).toEqual({
language: 'ts',
collection: '@nestjs/schematics',
sourceRoot: 'src',
});
Expand Down Expand Up @@ -52,7 +51,6 @@ describe('Configuration Factory', () => {
files.find(filename => filename === '/project/nest-cli.json'),
).not.toBeUndefined();
expect(JSON.parse(tree.readContent('/project/nest-cli.json'))).toEqual({
language: 'ts',
collection: 'foo',
sourceRoot: 'src',
});
Expand Down
1 change: 0 additions & 1 deletion src/lib/configuration/files/ts/nest-cli.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"language": "<%= language %>",
"collection": "<%= collection %>",
"sourceRoot": "src"
}
2 changes: 2 additions & 0 deletions src/lib/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ export const DEFAULT_LANGUAGE = 'ts';
export const DEFAULT_VERSION = '0.0.1';
export const DEFAULT_PATH_NAME = 'src';
export const DEFAULT_LIB_PATH = 'libs';
export const DEFAULT_APPS_PATH = 'apps';
export const TEST_ENV = 'test';
Loading

0 comments on commit 593e2d6

Please sign in to comment.