Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@

Creates a UmiJS application/plugin/block/library using the command line.

[![codecov](https://codecov.io/gh/umijs/create-umi/branch/master/graph/badge.svg)](https://codecov.io/gh/umijs/create-umi)
[![NPM version](https://img.shields.io/npm/v/create-umi.svg?style=flat)](https://npmjs.org/package/create-umi)
[![CircleCI](https://circleci.com/gh/umijs/create-umi/tree/master.svg?style=svg)](https://circleci.com/gh/umijs/create-umi/tree/master)
[![NPM downloads](http://img.shields.io/npm/dm/create-umi.svg?style=flat)](https://npmjs.org/package/create-umi)
[![GitHub Actions status](https://github.com/umijs/create-umi/workflows/Node%20CI/badge.svg)](https://github.com/umijs/create-umi)
[![codecov](https://codecov.io/gh/umijs/create-umi/branch/master/graph/badge.svg)](https://codecov.io/gh/umijs/create-umi) [![NPM version](https://img.shields.io/npm/v/create-umi.svg?style=flat)](https://npmjs.org/package/create-umi) [![CircleCI](https://circleci.com/gh/umijs/create-umi/tree/master.svg?style=svg)](https://circleci.com/gh/umijs/create-umi/tree/master) [![NPM downloads](http://img.shields.io/npm/dm/create-umi.svg?style=flat)](https://npmjs.org/package/create-umi) [![GitHub Actions status](https://github.com/umijs/create-umi/workflows/Node%20CI/badge.svg)](https://github.com/umijs/create-umi)

## Usage

Expand All @@ -16,11 +12,9 @@ $ yarn create umi [appName]

## Boilerplates

* `ant-design-pro` - Create project with a layout-only ant-design-pro boilerplate, use together with umi block.
* `app ` - Create project with a simple boilerplate, support typescript.
* `block ` - Create a umi block.
* `library ` - Create a library with umi.
* `plugin ` - Create a umi plugin.
- `ant-design-pro` - Create project with a layout-only ant-design-pro boilerplate, use together with umi block.
- `app` - Create project with a simple boilerplate, support typescript.
- `plugin` - Create a umi plugin.

## Usage Example

Expand All @@ -30,8 +24,6 @@ $ yarn create umi
? Select the boilerplate type (Use arrow keys)
ant-design-pro - Create project with a layout-only ant-design-pro boilerplate, use together with umi block.
❯ app - Create project with a simple boilerplate, support typescript.
block - Create a umi block.
library - Create a library with umi.
plugin - Create a umi plugin.

? Do you want to use typescript? (y/N)
Expand Down
19 changes: 5 additions & 14 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
module.exports = {
setupFilesAfterEnv: [
'./test/jest.setup.js'
],
modulePathIgnorePatterns: [
"<rootDir>/.*/templates",
],
testPathIgnorePatterns: [
"/lib/"
],
collectCoverageFrom: [
'!lib/**/templates/**',
'lib/**/*.{js.ts}',
],
}
setupFilesAfterEnv: ['./test/jest.setup.js'],
modulePathIgnorePatterns: ['<rootDir>/.*/templates'],
testPathIgnorePatterns: ['/lib/'],
collectCoverageFrom: ['!lib/**/templates/**', 'lib/**/*.{js.ts}'],
};
56 changes: 0 additions & 56 deletions lib/generators/block/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions lib/generators/block/meta.json

This file was deleted.

7 changes: 0 additions & 7 deletions lib/generators/block/templates/.prettierignore

This file was deleted.

11 changes: 0 additions & 11 deletions lib/generators/block/templates/.prettierrc

This file was deleted.

5 changes: 0 additions & 5 deletions lib/generators/block/templates/.umirc.js

This file was deleted.

9 changes: 0 additions & 9 deletions lib/generators/block/templates/.umirc.ts

This file was deleted.

21 changes: 0 additions & 21 deletions lib/generators/block/templates/LICENSE

This file was deleted.

13 changes: 0 additions & 13 deletions lib/generators/block/templates/README.md

This file was deleted.

7 changes: 0 additions & 7 deletions lib/generators/block/templates/_gitignore

This file was deleted.

27 changes: 0 additions & 27 deletions lib/generators/block/templates/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions lib/generators/block/templates/src/index.css

This file was deleted.

9 changes: 0 additions & 9 deletions lib/generators/block/templates/src/index.js

This file was deleted.

12 changes: 0 additions & 12 deletions lib/generators/block/templates/src/index.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions lib/generators/block/templates/tsconfig.json

This file was deleted.

2 changes: 0 additions & 2 deletions lib/generators/block/templates/typings.d.ts

This file was deleted.

55 changes: 0 additions & 55 deletions lib/generators/library/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions lib/generators/library/meta.json

This file was deleted.

4 changes: 0 additions & 4 deletions lib/generators/library/templates/.fatherrc.js

This file was deleted.

9 changes: 0 additions & 9 deletions lib/generators/library/templates/.fatherrc.ts

This file was deleted.

5 changes: 0 additions & 5 deletions lib/generators/library/templates/.prettierignore

This file was deleted.

11 changes: 0 additions & 11 deletions lib/generators/library/templates/.prettierrc

This file was deleted.

21 changes: 0 additions & 21 deletions lib/generators/library/templates/LICENSE

This file was deleted.

Loading