@visualon/gitea-releaser 1.0.1 → 1.0.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 +4 -1
- package/.editorconfig +0 -24
- package/.eslintignore +0 -28
- package/.eslintrc.json +0 -168
- package/.github/workflows/publish.yml +0 -46
- package/.github/workflows/test.yml +0 -34
- package/.husky/pre-commit +0 -6
- package/.lintstagedrc.json +0 -5
- package/.markdownlint-cli2.jsonc +0 -26
- package/.node-version +0 -1
- package/.prettierignore +0 -27
- package/.prettierrc.json +0 -5
- package/renovate.json +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visualon/gitea-releaser",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"gitea",
|
|
6
6
|
"forgejo",
|
|
@@ -23,6 +23,9 @@
|
|
|
23
23
|
],
|
|
24
24
|
"type": "module",
|
|
25
25
|
"bin": "./src/index.js",
|
|
26
|
+
"files": [
|
|
27
|
+
"src"
|
|
28
|
+
],
|
|
26
29
|
"dependencies": {
|
|
27
30
|
"clipanion": "4.0.0-rc.2",
|
|
28
31
|
"conventional-changelog-conventionalcommits": "7.0.2",
|
package/.editorconfig
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# EditorConfig is awesome:http://EditorConfig.org
|
|
2
|
-
|
|
3
|
-
# top-most EditorConfig file
|
|
4
|
-
root = true
|
|
5
|
-
|
|
6
|
-
# Don't use tabs for indentation.
|
|
7
|
-
[*]
|
|
8
|
-
charset = utf-8
|
|
9
|
-
indent_style = space
|
|
10
|
-
indent_size = 2
|
|
11
|
-
insert_final_newline = true
|
|
12
|
-
trim_trailing_whitespace = true
|
|
13
|
-
max_line_length = 160
|
|
14
|
-
end_of_line = lf
|
|
15
|
-
|
|
16
|
-
# Markdown files
|
|
17
|
-
[*.md]
|
|
18
|
-
max_line_length = off
|
|
19
|
-
trim_trailing_whitespace = false
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
[*.{cmd,bat}]
|
|
23
|
-
end_of_line = crlf
|
|
24
|
-
|
package/.eslintignore
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/.git/
|
|
2
|
-
/coverage/
|
|
3
|
-
/docs/
|
|
4
|
-
/node_modules/
|
|
5
|
-
|
|
6
|
-
obj/
|
|
7
|
-
bin/
|
|
8
|
-
/tmp/
|
|
9
|
-
|
|
10
|
-
/sp/
|
|
11
|
-
/src/
|
|
12
|
-
/test/
|
|
13
|
-
/Client/
|
|
14
|
-
|
|
15
|
-
libs/scripting/src/lib/placeholder/PlaceholderScriptLexer.ts
|
|
16
|
-
libs/scripting/src/lib/placeholder/PlaceholderScriptParser.ts
|
|
17
|
-
|
|
18
|
-
# angular
|
|
19
|
-
/.angular/
|
|
20
|
-
/dist/
|
|
21
|
-
/.nx/cache
|
|
22
|
-
|
|
23
|
-
# yarn v2+
|
|
24
|
-
.pnp.*
|
|
25
|
-
.yarn/*
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/.pnpm-store
|
package/.eslintrc.json
DELETED
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
"plugins": ["@nx", "jest"],
|
|
4
|
-
"overrides": [
|
|
5
|
-
{
|
|
6
|
-
"files": ["*.ts", "*.tsx"],
|
|
7
|
-
"extends": ["plugin:@nx/typescript"],
|
|
8
|
-
"rules": {}
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"files": ["*.js", "*.jsx", "*.mjs"],
|
|
12
|
-
"extends": ["plugin:@nx/javascript"],
|
|
13
|
-
"rules": {}
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"files": ["*.ts", "*.tsx", "*.js", "*.jsx", "*.mjs"],
|
|
17
|
-
"parserOptions": {
|
|
18
|
-
"project": ["./tsconfig.*?.json"],
|
|
19
|
-
"extraFileExtensions": [".mjs"]
|
|
20
|
-
},
|
|
21
|
-
"plugins": ["@angular-eslint/eslint-plugin", "@typescript-eslint"],
|
|
22
|
-
"extends": [
|
|
23
|
-
"eslint:recommended",
|
|
24
|
-
"plugin:import/errors",
|
|
25
|
-
"plugin:import/warnings",
|
|
26
|
-
"plugin:import/typescript",
|
|
27
|
-
"plugin:jest/recommended",
|
|
28
|
-
"plugin:jest/style",
|
|
29
|
-
"plugin:@typescript-eslint/eslint-recommended",
|
|
30
|
-
"plugin:@typescript-eslint/recommended",
|
|
31
|
-
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
32
|
-
"plugin:promise/recommended",
|
|
33
|
-
"plugin:jest-formatting/recommended",
|
|
34
|
-
"plugin:@angular-eslint/recommended",
|
|
35
|
-
"plugin:@angular-eslint/template/process-inline-templates",
|
|
36
|
-
"prettier"
|
|
37
|
-
],
|
|
38
|
-
"settings": {
|
|
39
|
-
"import/resolver": {
|
|
40
|
-
"typescript": {
|
|
41
|
-
"project": "./tsconfig.base.json"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"rules": { "import/no-cycle": 2 }
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"files": ["*.ts"],
|
|
49
|
-
"rules": {
|
|
50
|
-
"@typescript-eslint/explicit-member-accessibility": "off",
|
|
51
|
-
"@typescript-eslint/explicit-function-return-type": "off",
|
|
52
|
-
"@typescript-eslint/interface-name-prefix": 0,
|
|
53
|
-
"@typescript-eslint/no-empty-interface": [
|
|
54
|
-
"error",
|
|
55
|
-
{
|
|
56
|
-
"allowSingleExtends": true
|
|
57
|
-
}
|
|
58
|
-
],
|
|
59
|
-
"@typescript-eslint/no-parameter-properties": "off",
|
|
60
|
-
"@typescript-eslint/no-unused-vars": [
|
|
61
|
-
2,
|
|
62
|
-
{
|
|
63
|
-
"vars": "all",
|
|
64
|
-
"args": "after-used",
|
|
65
|
-
"ignoreRestSiblings": false,
|
|
66
|
-
"argsIgnorePattern": "^_"
|
|
67
|
-
}
|
|
68
|
-
],
|
|
69
|
-
"@typescript-eslint/no-unsafe-member-access": 1,
|
|
70
|
-
"@typescript-eslint/no-unsafe-assignment": 1,
|
|
71
|
-
"@typescript-eslint/no-redundant-type-constituents": 1,
|
|
72
|
-
"@typescript-eslint/no-base-to-string": 1,
|
|
73
|
-
"curly": [2, "all"],
|
|
74
|
-
"no-restricted-imports": [
|
|
75
|
-
"error",
|
|
76
|
-
{
|
|
77
|
-
"paths": ["lodash"]
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"import/default": 0,
|
|
81
|
-
"import/named": 0,
|
|
82
|
-
"import/namespace": 0,
|
|
83
|
-
"import/no-named-as-default-member": 0,
|
|
84
|
-
"import/order": [
|
|
85
|
-
"error",
|
|
86
|
-
{
|
|
87
|
-
"alphabetize": {
|
|
88
|
-
"order": "asc"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
],
|
|
92
|
-
"sort-imports": [
|
|
93
|
-
"error",
|
|
94
|
-
{
|
|
95
|
-
"ignoreCase": false,
|
|
96
|
-
"ignoreDeclarationSort": true,
|
|
97
|
-
"ignoreMemberSort": false,
|
|
98
|
-
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"]
|
|
99
|
-
}
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"files": ["jest.*.{js,mjs}", "*.config.{js,mjs}", "tools/**/*.mjs"],
|
|
105
|
-
"env": {
|
|
106
|
-
"node": true
|
|
107
|
-
},
|
|
108
|
-
"rules": {
|
|
109
|
-
"@typescript-eslint/no-unused-vars": "off",
|
|
110
|
-
"@typescript-eslint/no-unsafe-assignment": 0,
|
|
111
|
-
"@typescript-eslint/no-var-requires": 0,
|
|
112
|
-
"@typescript-eslint/restrict-template-expressions": 0,
|
|
113
|
-
"@typescript-eslint/no-unsafe-return": 0,
|
|
114
|
-
"@typescript-eslint/no-unsafe-call": 0,
|
|
115
|
-
"@typescript-eslint/no-unsafe-member-access": 0
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"files": ["__mocks__/**.js"],
|
|
120
|
-
"env": {
|
|
121
|
-
"node": true
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"files": ["{libs,apps}/**/*.ts"],
|
|
126
|
-
"env": {
|
|
127
|
-
"browser": true
|
|
128
|
-
},
|
|
129
|
-
"rules": {
|
|
130
|
-
"@typescript-eslint/restrict-template-expressions": [
|
|
131
|
-
"error",
|
|
132
|
-
{
|
|
133
|
-
"allowBoolean": true,
|
|
134
|
-
"allowNullish": true
|
|
135
|
-
}
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"files": ["{libs,apps}/**/*.spec.ts"],
|
|
141
|
-
"env": {
|
|
142
|
-
"jest/globals": true,
|
|
143
|
-
"node": true
|
|
144
|
-
},
|
|
145
|
-
"rules": {
|
|
146
|
-
"@nx/enforce-module-boundaries": [
|
|
147
|
-
"error",
|
|
148
|
-
{
|
|
149
|
-
"enforceBuildableLibDependency": true,
|
|
150
|
-
"allow": [],
|
|
151
|
-
"depConstraints": [
|
|
152
|
-
{
|
|
153
|
-
"sourceTag": "*",
|
|
154
|
-
"onlyDependOnLibsWithTags": ["*"]
|
|
155
|
-
}
|
|
156
|
-
]
|
|
157
|
-
}
|
|
158
|
-
]
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"files": ["*.html"],
|
|
163
|
-
"parser": "@angular-eslint/template-parser",
|
|
164
|
-
"plugins": ["@angular-eslint/template"],
|
|
165
|
-
"rules": {}
|
|
166
|
-
}
|
|
167
|
-
]
|
|
168
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
name: publish
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
tags:
|
|
6
|
-
- v*
|
|
7
|
-
|
|
8
|
-
permissions:
|
|
9
|
-
contents: read
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
publish-npm:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
|
|
15
|
-
permissions:
|
|
16
|
-
contents: write
|
|
17
|
-
|
|
18
|
-
steps:
|
|
19
|
-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
|
20
|
-
with:
|
|
21
|
-
fetch-depth: 0 # Important for changelog
|
|
22
|
-
filter: blob:none # We don't need all blobs
|
|
23
|
-
|
|
24
|
-
- run: corepack enable
|
|
25
|
-
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
|
26
|
-
with:
|
|
27
|
-
node-version-file: .node-version
|
|
28
|
-
registry-url: https://registry.npmjs.org/
|
|
29
|
-
- run: pnpm install
|
|
30
|
-
|
|
31
|
-
- run: echo VERSION=${GITHUB_REF_NAME#v} >> $GITHUB_ENV
|
|
32
|
-
- run: pnpm version ${VERSION}
|
|
33
|
-
- name: Generate changelog with git-cliff
|
|
34
|
-
uses: tj-actions/git-cliff@v1.4.2
|
|
35
|
-
with:
|
|
36
|
-
args: --latest --strip all
|
|
37
|
-
output: 'CHANGELOG.md'
|
|
38
|
-
|
|
39
|
-
- run: pnpm publish --access public
|
|
40
|
-
env:
|
|
41
|
-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
42
|
-
- uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # v1.13.0
|
|
43
|
-
with:
|
|
44
|
-
bodyFile: 'CHANGELOG.md'
|
|
45
|
-
name: ${{ env.VERSION }}
|
|
46
|
-
prerelease: ${{ contains(github.ref_name, '-') }}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
name: test
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
merge_group:
|
|
8
|
-
pull_request:
|
|
9
|
-
branches:
|
|
10
|
-
- main
|
|
11
|
-
|
|
12
|
-
permissions:
|
|
13
|
-
contents: read
|
|
14
|
-
|
|
15
|
-
concurrency:
|
|
16
|
-
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
|
|
17
|
-
cancel-in-progress: true
|
|
18
|
-
|
|
19
|
-
jobs:
|
|
20
|
-
test:
|
|
21
|
-
runs-on: ubuntu-latest
|
|
22
|
-
steps:
|
|
23
|
-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
|
24
|
-
|
|
25
|
-
- run: corepack enable
|
|
26
|
-
|
|
27
|
-
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
|
28
|
-
with:
|
|
29
|
-
node-version-file: .node-version
|
|
30
|
-
|
|
31
|
-
- run: pnpm install
|
|
32
|
-
|
|
33
|
-
- run: pnpm lint:prettier
|
|
34
|
-
- run: pnpm pack
|
package/.husky/pre-commit
DELETED
package/.lintstagedrc.json
DELETED
package/.markdownlint-cli2.jsonc
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"config": {
|
|
3
|
-
"extends": "markdownlint/style/prettier",
|
|
4
|
-
"list-marker-space": {
|
|
5
|
-
"ul_multi": 1,
|
|
6
|
-
"ul_single": 1
|
|
7
|
-
},
|
|
8
|
-
"ul-indent": {
|
|
9
|
-
"indent": 2
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
// Disable some built-in rules
|
|
13
|
-
"no-emphasis-as-heading": false,
|
|
14
|
-
"first-line-heading": false,
|
|
15
|
-
"line-length": false,
|
|
16
|
-
"no-emphasis-as-header": false,
|
|
17
|
-
"no-inline-html": false,
|
|
18
|
-
"single-h1": false
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
// Define glob expressions to use (only valid at root)
|
|
22
|
-
// "globs": ["**/*.md"],
|
|
23
|
-
|
|
24
|
-
// Define glob expressions to ignore
|
|
25
|
-
"ignores": [".yarn", "**/node_modules/**", "**/TestResults/**", "**/bin/**", "**/obj/**", "coverage/", "LICENSE"]
|
|
26
|
-
}
|
package/.node-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
20.10.0
|
package/.prettierignore
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Add files here to ignore them from prettier formatting
|
|
2
|
-
yarn.lock
|
|
3
|
-
/.git/
|
|
4
|
-
|
|
5
|
-
libs/scripting/src/lib/placeholder/PlaceholderScriptLexer.ts
|
|
6
|
-
libs/scripting/src/lib/placeholder/PlaceholderScriptParser.ts
|
|
7
|
-
|
|
8
|
-
bin/
|
|
9
|
-
obj/
|
|
10
|
-
coverage/
|
|
11
|
-
.coverage/
|
|
12
|
-
dist/
|
|
13
|
-
/.angular/
|
|
14
|
-
/tmp/
|
|
15
|
-
/.vs/
|
|
16
|
-
node_modules/
|
|
17
|
-
|
|
18
|
-
# yarn v2+
|
|
19
|
-
/.yarn/*
|
|
20
|
-
/.pnp.*
|
|
21
|
-
|
|
22
|
-
.eslintcache
|
|
23
|
-
|
|
24
|
-
/.nx/cache
|
|
25
|
-
|
|
26
|
-
pnpm-lock.yaml
|
|
27
|
-
/.pnpm-store
|
package/.prettierrc.json
DELETED