cmyr-template-cli 1.25.1 → 1.25.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmyr-template-cli",
3
- "version": "1.25.1",
3
+ "version": "1.25.2",
4
4
  "description": "草梅友仁自制的项目模板创建器",
5
5
  "author": "CaoMeiYouRen",
6
6
  "license": "MIT",
@@ -46,8 +46,8 @@
46
46
  "@types/lodash": "^4.14.165",
47
47
  "@types/node": "^20.0.0",
48
48
  "@types/promise.any": "^2.0.0",
49
- "@typescript-eslint/eslint-plugin": "6.13.2",
50
- "@typescript-eslint/parser": "6.14.0",
49
+ "@typescript-eslint/eslint-plugin": "6.15.0",
50
+ "@typescript-eslint/parser": "6.15.0",
51
51
  "commitizen": "^4.2.2",
52
52
  "conventional-changelog-cli": "^4.0.0",
53
53
  "conventional-changelog-cmyr-config": "^2.1.1",
@@ -1,10 +1,11 @@
1
1
  # 阶段一:安装依赖
2
2
  FROM maven:3-eclipse-temurin-17-alpine as dependencies
3
3
 
4
- RUN java -version && mvn -version
5
-
6
4
  WORKDIR /home/app
7
5
 
6
+ RUN java -version && mvn -version && \
7
+ echo '<?xml version="1.0" encoding="UTF-8"?><settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"><mirrors><mirror><id>alimaven</id><mirrorOf>central</mirrorOf><name>aliyun maven</name><url>https://maven.aliyun.com/repository/public/</url></mirror></mirrors></settings>' > /usr/share/maven/conf/settings.xml
8
+
8
9
  COPY pom.xml /home/app/pom.xml
9
10
 
10
11
  # 只安装依赖,跳过测试
@@ -1,10 +1,11 @@
1
1
  # 阶段一:安装依赖
2
2
  FROM maven:3-eclipse-temurin-8-alpine as dependencies
3
3
 
4
- RUN java -version && mvn -version
5
-
6
4
  WORKDIR /home/app
7
5
 
6
+ RUN java -version && mvn -version && \
7
+ echo '<?xml version="1.0" encoding="UTF-8"?><settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"><mirrors><mirror><id>alimaven</id><mirrorOf>central</mirrorOf><name>aliyun maven</name><url>https://maven.aliyun.com/repository/public/</url></mirror></mirrors></settings>' > /usr/share/maven/conf/settings.xml
8
+
8
9
  COPY pom.xml /home/app/pom.xml
9
10
 
10
11
  # 只安装依赖,跳过测试