Skip to content

Commit 9df6d73

Browse files
committed
Release v0.2.0
1 parent fb89c0f commit 9df6d73

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+21095
-20975
lines changed

.gitignore

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
.DS_Store
2-
node_modules
3-
/dist
4-
5-
6-
# local env files
7-
.env.local
8-
.env.*.local
9-
10-
# Log files
11-
npm-debug.log*
12-
yarn-debug.log*
13-
yarn-error.log*
14-
pnpm-debug.log*
15-
16-
# Editor directories and files
17-
.idea
18-
.vscode
19-
*.suo
20-
*.ntvs*
21-
*.njsproj
22-
*.sln
23-
*.sw?
24-
/dist.zip
25-
/.env
1+
.DS_Store
2+
node_modules
3+
/dist
4+
5+
6+
# local env files
7+
.env.local
8+
.env.*.local
9+
10+
# Log files
11+
npm-debug.log*
12+
yarn-debug.log*
13+
yarn-error.log*
14+
pnpm-debug.log*
15+
16+
# Editor directories and files
17+
.idea
18+
.vscode
19+
*.suo
20+
*.ntvs*
21+
*.njsproj
22+
*.sln
23+
*.sw?
24+
/dist.zip
25+
/.env

.release-it.json

Lines changed: 34 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,34 @@
1-
{
2-
"git": {
3-
"commitMessage": "Release v${version}",
4-
"requireCleanWorkingDir": false,
5-
"requireBranch": "master",
6-
"push": true,
7-
"commit": true,
8-
"changelog": "npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
9-
},
10-
"github": {
11-
"release": true,
12-
"assets": [
13-
"./dist.zip"
14-
]
15-
},
16-
"npm": {
17-
"publish": true
18-
},
19-
"hooks": {
20-
"before:init": [
21-
"npm run lint",
22-
"npm test"
23-
],
24-
"after:bump": [
25-
"npm run doc",
26-
"npm run build:npm",
27-
"npm run zip"
28-
],
29-
"after:release": [
30-
"npm run clean",
31-
"echo Successfully released ${name} v${version} to ${repo.repository}."
32-
]
33-
},
34-
"plugins": {
35-
"@release-it/bumper": {
36-
"out": "package.json"
37-
}
38-
}
39-
}
1+
{
2+
"git": {
3+
"commitMessage": "Release v${version}",
4+
"requireCleanWorkingDir": false,
5+
"requireBranch": "master",
6+
"push": true,
7+
"commit": true,
8+
"changelog": "npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
9+
},
10+
"github": {
11+
"release": true,
12+
"assets": [
13+
"./dist.zip"
14+
]
15+
},
16+
"npm": {
17+
"publish": true
18+
},
19+
"hooks": {
20+
"before:init": [
21+
"npm run lint",
22+
"npm test"
23+
],
24+
"after:bump": [
25+
"npm run doc",
26+
"npm run build:npm",
27+
"npm run zip"
28+
],
29+
"after:release": [
30+
"npm run clean",
31+
"echo Successfully released ${name} v${version} to ${repo.repository}."
32+
]
33+
}
34+
}

Jenkinsfile

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
1-
pipeline {
2-
agent {
3-
docker {
4-
image 'node'
5-
}
6-
7-
}
8-
stages {
9-
stage('Preparation') {
10-
parallel {
11-
stage('Dependencies') {
12-
steps {
13-
sh 'npm ci'
14-
}
15-
}
16-
17-
stage('Information') {
18-
steps {
19-
sh 'node -v'
20-
sh 'npm -v'
21-
}
22-
}
23-
24-
}
25-
}
26-
27-
stage('Build & Test') {
28-
parallel {
29-
stage('Build NPM') {
30-
steps {
31-
sh 'npm run build:npm'
32-
sh 'npm run zip'
33-
archiveArtifacts 'dist.zip'
34-
}
35-
}
36-
37-
stage('Build Demo') {
38-
steps {
39-
sh 'npm run build:demo'
40-
}
41-
}
42-
43-
stage('Lint') {
44-
steps {
45-
sh 'npm run lint'
46-
}
47-
}
48-
49-
}
50-
}
51-
52-
}
53-
environment {
54-
HOME = '.'
55-
}
56-
}
1+
pipeline {
2+
agent {
3+
docker {
4+
image 'node'
5+
}
6+
7+
}
8+
stages {
9+
stage('Preparation') {
10+
parallel {
11+
stage('Dependencies') {
12+
steps {
13+
sh 'npm ci'
14+
}
15+
}
16+
17+
stage('Information') {
18+
steps {
19+
sh 'node -v'
20+
sh 'npm -v'
21+
}
22+
}
23+
24+
}
25+
}
26+
27+
stage('Build & Test') {
28+
parallel {
29+
stage('Build NPM') {
30+
steps {
31+
sh 'npm run build:npm'
32+
sh 'npm run zip'
33+
archiveArtifacts 'dist.zip'
34+
}
35+
}
36+
37+
stage('Build Demo') {
38+
steps {
39+
sh 'npm run build:demo'
40+
}
41+
}
42+
43+
stage('Lint') {
44+
steps {
45+
sh 'npm run lint'
46+
}
47+
}
48+
49+
}
50+
}
51+
52+
}
53+
environment {
54+
HOME = '.'
55+
}
56+
}

README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
# vue-json-form
2-
###v0.1.0
3-
4-
Automaticly generates form from json schema and json ui schema.
5-
## Project setup
6-
```
7-
npm install
8-
```
9-
10-
### Compiles and hot-reloads for development
11-
```
12-
npm run serve
13-
```
14-
15-
### Compiles and minifies for production
16-
```
17-
npm run build
18-
```
19-
20-
### Lints and fixes files
21-
```
22-
npm run lint
23-
```
24-
1+
# vue-json-form
2+
###v0.1.0
3+
4+
Automaticly generates form from json schema and json ui schema.
5+
## Project setup
6+
```
7+
npm install
8+
```
9+
10+
### Compiles and hot-reloads for development
11+
```
12+
npm run serve
13+
```
14+
15+
### Compiles and minifies for production
16+
```
17+
npm run build
18+
```
19+
20+
### Lints and fixes files
21+
```
22+
npm run lint
23+
```
24+

docs/README.md

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
1-
# vue_json_form
2-
3-
Automaticly generates form json schema and json ui schema.
4-
## Project setup
5-
```
6-
npm install
7-
```
8-
9-
### Compiles and hot-reloads for development
10-
```
11-
npm run serve
12-
```
13-
14-
### Compiles and minifies for production
15-
```
16-
npm run build
17-
```
18-
19-
### Lints and fixes files
20-
```
21-
npm run lint
22-
```
23-
1+
# vue-json-form
2+
###v0.1.0
3+
4+
Automaticly generates form from json schema and json ui schema.
5+
## Project setup
6+
```
7+
npm install
8+
```
9+
10+
### Compiles and hot-reloads for development
11+
```
12+
npm run serve
13+
```
14+
15+
### Compiles and minifies for production
16+
```
17+
npm run build
18+
```
19+
20+
### Lints and fixes files
21+
```
22+
npm run lint
23+
```
24+

docs/components/ArrayItem.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# ArrayItem
2+
3+
## Props
4+
5+
<!-- @vuese:ArrayItem:props:start -->
6+
|Name|Description|Type|Required|Default|
7+
|---|---|---|---|---|
8+
|index|-|`Number`|`true`|-|
9+
|divider|-|`Boolean`|`false`|-|
10+
11+
<!-- @vuese:ArrayItem:props:end -->
12+
13+
14+
## Events
15+
16+
<!-- @vuese:ArrayItem:events:start -->
17+
|Event Name|Description|Parameters|
18+
|---|---|---|
19+
|deleteItem|-|-|
20+
21+
<!-- @vuese:ArrayItem:events:end -->
22+
23+
24+
## MixIns
25+
26+
<!-- @vuese:ArrayItem:mixIns:start -->
27+
|MixIn|
28+
|---|
29+
|formFieldMixin|
30+
31+
<!-- @vuese:ArrayItem:mixIns:end -->
32+
33+

docs/components/DateTime.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# DateTime
2+
3+
## MixIns
4+
5+
<!-- @vuese:DateTime:mixIns:start -->
6+
|MixIn|
7+
|---|
8+
|formFieldMixin|
9+
10+
<!-- @vuese:DateTime:mixIns:end -->
11+
12+

docs/components/FormField.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# FormField
22

3+
## Slots
4+
5+
<!-- @vuese:FormField:slots:start -->
6+
|Name|Description|Default Slot Content|
7+
|---|---|---|
8+
|prepend|-|-|
9+
|default|-|-|
10+
11+
<!-- @vuese:FormField:slots:end -->
12+
13+
314
## MixIns
415

516
<!-- @vuese:FormField:mixIns:start -->

0 commit comments

Comments
 (0)