mirror of
https://gitee.com/easii/mapstruct-plus.git
synced 2025-12-06 09:08:54 +08:00
feat: deploy
This commit is contained in:
parent
ffa6dfecf3
commit
22a5580931
@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npx commitlint --edit "${1}"
|
||||
@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npx lint-staged
|
||||
19
package.json
19
package.json
@ -8,28 +8,13 @@
|
||||
"predeploy": "cp CNAME ./dist",
|
||||
"deploy": "gh-pages -d dist",
|
||||
"dev": "dumi dev",
|
||||
"prepare": "husky install && dumi setup",
|
||||
"prepare": "dumi setup",
|
||||
"start": "npm run dev"
|
||||
},
|
||||
"commitlint": {
|
||||
"extends": [
|
||||
"@commitlint/config-conventional"
|
||||
]
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{md,json}": [
|
||||
"prettier --write --no-error-on-unmatched-pattern"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^17.1.2",
|
||||
"@commitlint/config-conventional": "^17.1.0",
|
||||
"dumi": "^2.0.2",
|
||||
"dumi-theme-antd-style": "^0.10.5",
|
||||
"gh-pages": "^5.0.0",
|
||||
"husky": "^8.0.1",
|
||||
"lint-staged": "^13.0.3",
|
||||
"prettier": "^2.7.1"
|
||||
"gh-pages": "^5.0.0"
|
||||
},
|
||||
"authors": [
|
||||
"linpeilie@qq.com"
|
||||
|
||||
82
pom.xml
82
pom.xml
@ -8,6 +8,8 @@
|
||||
<artifactId>mapstruct-plus-pom</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<version>${mapstruct-plus.version}</version>
|
||||
<name>Mapstruct Plus</name>
|
||||
<description>mapstruct增加工具包</description>
|
||||
<modules>
|
||||
<module>mapstruct-plus</module>
|
||||
<module>mapstruct-plus-spring-boot-starter</module>
|
||||
@ -20,6 +22,7 @@
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<mapstruct.version>1.5.1.Final</mapstruct.version>
|
||||
<projectUrl>https://github.com/linpeilie/mapstruct-plus.git</projectUrl>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
@ -98,7 +101,86 @@
|
||||
<artifactId>flatten-maven-plugin</artifactId>
|
||||
<version>1.1.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>2.8.2</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.9.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>2.2.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>1.5</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.sonatype.plugins</groupId>
|
||||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||||
<version>1.6.7</version>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<serverId>ossrh</serverId>
|
||||
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
|
||||
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>linpeilie</name>
|
||||
<email>linpeilie@qq.com</email>
|
||||
<url>${projectUrl}</url>
|
||||
</developer>
|
||||
</developers>
|
||||
<!--以下部分内容不需要修改,直接复制咱贴即可-->
|
||||
<url>${projectUrl}</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The Apache Software License, Version 2.0</name>
|
||||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo,manual</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<!-- 采用projectUrl变量代替这个值,方便给重复利用这个配置,也就是上面的标签替换一下值就行 -->
|
||||
<connection>${projectUrl}</connection>
|
||||
<developerConnection>${projectUrl}</developerConnection>
|
||||
<url>${projectUrl}</url>
|
||||
</scm>
|
||||
|
||||
</project>
|
||||
Loading…
x
Reference in New Issue
Block a user