@git.zone/cli 7.0.1 → 7.1.1
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/.smartconfig.json +6 -5
- package/assets/templates/ci_default/.gitea/workflows/default_nottags.yaml +15 -50
- package/assets/templates/ci_default/.gitea/workflows/default_tags.yaml +17 -86
- package/assets/templates/ci_docker/.gitea/workflows/docker_nottags.yaml +18 -56
- package/assets/templates/ci_docker/.gitea/workflows/docker_tags.yaml +17 -89
- package/assets/templates/dockerfile_service/Dockerfile +18 -37
- package/assets/templates/dockerfile_service/dockerignore +10 -0
- package/assets/templates/service/npmextra.json +0 -9
- package/assets/templates/smartconfig/_smartconfig.json +0 -3
- package/assets/templates/vscode/.vscode/settings.json +0 -4
- package/assets/templates/website/.smartscaf.yml +1 -0
- package/assets/templates/website/npmextra.json +0 -9
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/classes.gitzoneconfig.d.ts +0 -3
- package/dist_ts/classes.gitzoneconfig.js +1 -10
- package/dist_ts/helpers.smartconfigmigrations.d.ts +1 -0
- package/dist_ts/helpers.smartconfigmigrations.js +83 -4
- package/dist_ts/mod_config/index.js +55 -2
- package/dist_ts/mod_format/formatters/smartconfig.formatter.js +1 -4
- package/dist_ts/mod_format/formatters/templates.formatter.js +4 -10
- package/dist_ts/mod_format/formatters/tsconfig.formatter.js +11 -2
- package/package.json +3 -3
- package/readme.md +6 -2
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/classes.gitzoneconfig.ts +0 -16
- package/ts/helpers.smartconfigmigrations.ts +98 -3
- package/ts/mod_config/index.ts +60 -0
- package/ts/mod_format/formatters/smartconfig.formatter.ts +0 -3
- package/ts/mod_format/formatters/templates.formatter.ts +3 -10
- package/ts/mod_format/formatters/tsconfig.formatter.ts +10 -1
- package/assets/templates/ci_default_private/.gitea/workflows/default_nottags.yaml +0 -66
- package/assets/templates/ci_default_private/.gitea/workflows/default_tags.yaml +0 -103
- package/assets/templates/website/Dockerfile +0 -3
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
name: Default (tags)
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
tags:
|
|
6
|
-
- '*'
|
|
7
|
-
|
|
8
|
-
env:
|
|
9
|
-
IMAGE: code.foss.global/hosttoday/ht-docker-node:npmci
|
|
10
|
-
NPMCI_COMPUTED_REPOURL: https://${-{gitea.repository_owner}-}:${-{secrets.GITEA_TOKEN}-}@{{module.githost}}/${-{gitea.repository}-}.git
|
|
11
|
-
NPMCI_TOKEN_NPM: ${-{secrets.NPMCI_TOKEN_NPM}-}
|
|
12
|
-
NPMCI_TOKEN_NPM2: ${-{secrets.NPMCI_TOKEN_NPM2}-}
|
|
13
|
-
NPMCI_GIT_GITHUBTOKEN: ${-{secrets.NPMCI_GIT_GITHUBTOKEN}-}
|
|
14
|
-
NPMCI_URL_CLOUDLY: ${-{secrets.NPMCI_URL_CLOUDLY}-}
|
|
15
|
-
|
|
16
|
-
jobs:
|
|
17
|
-
security:
|
|
18
|
-
runs-on: ubuntu-latest
|
|
19
|
-
continue-on-error: true
|
|
20
|
-
container:
|
|
21
|
-
image: ${-{ env.IMAGE }-}
|
|
22
|
-
|
|
23
|
-
steps:
|
|
24
|
-
- uses: actions/checkout@v3
|
|
25
|
-
|
|
26
|
-
- name: Prepare
|
|
27
|
-
run: |
|
|
28
|
-
pnpm install -g pnpm
|
|
29
|
-
pnpm install -g @ship.zone/npmci
|
|
30
|
-
npmci npm prepare
|
|
31
|
-
|
|
32
|
-
- name: Audit production dependencies
|
|
33
|
-
run: |
|
|
34
|
-
npmci command npm config set registry https://registry.npmjs.org
|
|
35
|
-
npmci command pnpm audit --audit-level=high --prod
|
|
36
|
-
continue-on-error: true
|
|
37
|
-
|
|
38
|
-
- name: Audit development dependencies
|
|
39
|
-
run: |
|
|
40
|
-
npmci command npm config set registry https://registry.npmjs.org
|
|
41
|
-
npmci command pnpm audit --audit-level=high --dev
|
|
42
|
-
continue-on-error: true
|
|
43
|
-
|
|
44
|
-
test:
|
|
45
|
-
if: ${-{ always() }-}
|
|
46
|
-
needs: security
|
|
47
|
-
runs-on: ubuntu-latest
|
|
48
|
-
container:
|
|
49
|
-
image: ${-{ env.IMAGE }-}
|
|
50
|
-
|
|
51
|
-
steps:
|
|
52
|
-
- uses: actions/checkout@v3
|
|
53
|
-
|
|
54
|
-
- name: Prepare
|
|
55
|
-
run: |
|
|
56
|
-
pnpm install -g pnpm
|
|
57
|
-
pnpm install -g @ship.zone/npmci
|
|
58
|
-
npmci npm prepare
|
|
59
|
-
|
|
60
|
-
- name: Test stable
|
|
61
|
-
run: |
|
|
62
|
-
npmci node install stable
|
|
63
|
-
npmci npm install
|
|
64
|
-
npmci npm test
|
|
65
|
-
|
|
66
|
-
- name: Test build
|
|
67
|
-
run: |
|
|
68
|
-
npmci node install stable
|
|
69
|
-
npmci npm install
|
|
70
|
-
npmci npm build
|
|
71
|
-
|
|
72
|
-
metadata:
|
|
73
|
-
needs: test
|
|
74
|
-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
|
75
|
-
runs-on: ubuntu-latest
|
|
76
|
-
container:
|
|
77
|
-
image: ${-{ env.IMAGE }-}
|
|
78
|
-
continue-on-error: true
|
|
79
|
-
|
|
80
|
-
steps:
|
|
81
|
-
- uses: actions/checkout@v3
|
|
82
|
-
|
|
83
|
-
- name: Prepare
|
|
84
|
-
run: |
|
|
85
|
-
pnpm install -g pnpm
|
|
86
|
-
pnpm install -g @ship.zone/npmci
|
|
87
|
-
npmci npm prepare
|
|
88
|
-
|
|
89
|
-
- name: Code quality
|
|
90
|
-
run: |
|
|
91
|
-
npmci command npm install -g typescript
|
|
92
|
-
npmci npm install
|
|
93
|
-
|
|
94
|
-
- name: Trigger
|
|
95
|
-
run: npmci trigger
|
|
96
|
-
|
|
97
|
-
- name: Build docs and upload artifacts
|
|
98
|
-
run: |
|
|
99
|
-
npmci node install stable
|
|
100
|
-
npmci npm install
|
|
101
|
-
pnpm install -g @git.zone/tsdoc
|
|
102
|
-
npmci command tsdoc
|
|
103
|
-
continue-on-error: true
|