cmyr-template-cli 1.28.8 → 1.28.10

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.28.8",
3
+ "version": "1.28.10",
4
4
  "description": "草梅友仁自制的项目模板创建器",
5
5
  "author": "CaoMeiYouRen",
6
6
  "license": "MIT",
@@ -1,12 +1,12 @@
1
- FROM caomeiyouren/alpine-nodejs:latest as nodejs
1
+ FROM caomeiyouren/alpine-nodejs:latest AS nodejs
2
2
 
3
3
  RUN npm config set registry https://registry.npmmirror.com && \
4
4
  pnpm config set registry https://registry.npmmirror.com &&
5
5
 
6
- FROM caomeiyouren/alpine-nodejs-minimize:latest as runtime
6
+ FROM caomeiyouren/alpine-nodejs-minimize:latest AS runtime
7
7
 
8
8
  # 阶段一:构建阶段
9
- FROM nodejs as builder
9
+ FROM nodejs AS builder
10
10
 
11
11
  WORKDIR /home/app
12
12
 
@@ -19,7 +19,7 @@ COPY . /home/app
19
19
  RUN pnpm run build
20
20
 
21
21
  # 阶段二:缩小阶段
22
- FROM nodejs as docker-minifier
22
+ FROM nodejs AS docker-minifier
23
23
 
24
24
  WORKDIR /home/app
25
25
 
@@ -6,7 +6,7 @@
6
6
  </a>
7
7
  <% } -%>
8
8
  <% if (projectVersion && isJSProject) { -%>
9
- <img alt="Version" src="https://img.shields.io/github/package-json/v/<%= packageName %>.svg" />
9
+ <img alt="Version" src="https://img.shields.io/github/package-json/v/<%= authorGithubUsername %>/<%= packageName %>.svg" />
10
10
  <% } -%>
11
11
  <% if (isGithubRepos && isInitSemanticRelease) { -%>
12
12
  <a href="<%= repositoryUrl %>/actions?query=workflow%3ARelease" target="_blank">