virmator 2.0.2 → 2.0.5
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/.prettierrc.js +0 -2
- package/README.md +0 -2
- package/dist/cli/config/config-key.d.ts +0 -2
- package/dist/cli/config/config-key.js +0 -1
- package/dist/cli/config/config-paths.js +0 -1
- package/package.json +12 -12
- package/separate-configs/npmignore.txt +1 -3
- package/.github/workflows/virmator-prerelease.yml +0 -47
package/.prettierrc.js
CHANGED
|
@@ -27,8 +27,6 @@ const prettierConfig = {
|
|
|
27
27
|
arrowParens: 'always',
|
|
28
28
|
bracketSpacing: false,
|
|
29
29
|
endOfLine: 'lf',
|
|
30
|
-
// Arrays with just a single element don't wrap. But after that, they always wrap.
|
|
31
|
-
multilineArrayWrapThreshold: 1,
|
|
32
30
|
htmlWhitespaceSensitivity: 'ignore',
|
|
33
31
|
jsonRecursiveSort: true,
|
|
34
32
|
bracketSameLine: false,
|
package/README.md
CHANGED
|
@@ -145,7 +145,6 @@ Prettier
|
|
|
145
145
|
PrettierIgnore
|
|
146
146
|
TsConfig
|
|
147
147
|
GitAttributes
|
|
148
|
-
GitHubActionsPrerelease
|
|
149
148
|
GitHubActionsTaggedRelease
|
|
150
149
|
GitHubActionsTest
|
|
151
150
|
GitIgnore
|
|
@@ -164,7 +163,6 @@ Update config files that aren't used in any virmator commands, like GitHub actio
|
|
|
164
163
|
#### list of possible arguments:
|
|
165
164
|
|
|
166
165
|
GitAttributes
|
|
167
|
-
GitHubActionsPrerelease
|
|
168
166
|
GitHubActionsTaggedRelease
|
|
169
167
|
GitHubActionsTest
|
|
170
168
|
GitIgnore
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/** These config files are not used by any virmator commands but they are still helpful. */
|
|
2
2
|
export declare enum BareConfigKey {
|
|
3
3
|
GitAttributes = "GitAttributes",
|
|
4
|
-
GitHubActionsPrerelease = "GitHubActionsPrerelease",
|
|
5
4
|
GitHubActionsTaggedRelease = "GitHubActionsTaggedRelease",
|
|
6
5
|
GitHubActionsTest = "GitHubActionsTest",
|
|
7
6
|
GitIgnore = "GitIgnore",
|
|
@@ -20,7 +19,6 @@ export declare enum CommandConfigKey {
|
|
|
20
19
|
}
|
|
21
20
|
export declare const ConfigKey: {
|
|
22
21
|
GitAttributes: BareConfigKey.GitAttributes;
|
|
23
|
-
GitHubActionsPrerelease: BareConfigKey.GitHubActionsPrerelease;
|
|
24
22
|
GitHubActionsTaggedRelease: BareConfigKey.GitHubActionsTaggedRelease;
|
|
25
23
|
GitHubActionsTest: BareConfigKey.GitHubActionsTest;
|
|
26
24
|
GitIgnore: BareConfigKey.GitIgnore;
|
|
@@ -5,7 +5,6 @@ exports.ConfigKey = exports.CommandConfigKey = exports.BareConfigKey = void 0;
|
|
|
5
5
|
var BareConfigKey;
|
|
6
6
|
(function (BareConfigKey) {
|
|
7
7
|
BareConfigKey["GitAttributes"] = "GitAttributes";
|
|
8
|
-
BareConfigKey["GitHubActionsPrerelease"] = "GitHubActionsPrerelease";
|
|
9
8
|
BareConfigKey["GitHubActionsTaggedRelease"] = "GitHubActionsTaggedRelease";
|
|
10
9
|
BareConfigKey["GitHubActionsTest"] = "GitHubActionsTest";
|
|
11
10
|
BareConfigKey["GitIgnore"] = "GitIgnore";
|
|
@@ -17,7 +17,6 @@ const hiddenVirmatorDirectory = `.${package_name_1.packageName}`;
|
|
|
17
17
|
const configFileMap = {
|
|
18
18
|
[config_key_1.ConfigKey.Cspell]: '.cspell.json',
|
|
19
19
|
[config_key_1.ConfigKey.GitAttributes]: '.gitattributes',
|
|
20
|
-
[config_key_1.ConfigKey.GitHubActionsPrerelease]: (0, path_1.join)('.github', 'workflows', 'virmator-prerelease.yml'),
|
|
21
20
|
[config_key_1.ConfigKey.GitHubActionsTaggedRelease]: (0, path_1.join)('.github', 'workflows', 'virmator-tagged-release.yml'),
|
|
22
21
|
[config_key_1.ConfigKey.GitHubActionsTest]: (0, path_1.join)('.github', 'workflows', 'virmator-tests.yml'),
|
|
23
22
|
[config_key_1.ConfigKey.GitIgnore]: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "virmator",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "Handle all the stuffs in one package.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"automation",
|
|
@@ -42,26 +42,26 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@types/jest": "27.4.1",
|
|
44
44
|
"ansi-styles": "5.2.0",
|
|
45
|
-
"augment-vir": "1.
|
|
46
|
-
"cspell": "5.19.
|
|
45
|
+
"augment-vir": "1.9.1",
|
|
46
|
+
"cspell": "5.19.5",
|
|
47
47
|
"fs-extra": "10.0.1",
|
|
48
48
|
"jest": "27.5.1",
|
|
49
49
|
"markdown-code-example-inserter": "0.1.7",
|
|
50
|
-
"prettier": "2.6.
|
|
51
|
-
"prettier-plugin-jsdoc": "0.3.
|
|
52
|
-
"prettier-plugin-multiline-arrays": "0.0
|
|
50
|
+
"prettier": "2.6.2",
|
|
51
|
+
"prettier-plugin-jsdoc": "0.3.36",
|
|
52
|
+
"prettier-plugin-multiline-arrays": "1.0.0",
|
|
53
53
|
"prettier-plugin-organize-imports": "2.3.4",
|
|
54
|
-
"prettier-plugin-packagejson": "2.2.
|
|
54
|
+
"prettier-plugin-packagejson": "2.2.17",
|
|
55
55
|
"prettier-plugin-sort-json": "0.0.2",
|
|
56
|
-
"simple-git": "3.
|
|
57
|
-
"ts-jest": "27.1.
|
|
56
|
+
"simple-git": "3.5.0",
|
|
57
|
+
"ts-jest": "27.1.4",
|
|
58
58
|
"ts-node": "10.7.0",
|
|
59
|
-
"tsconfig-paths": "3.14.
|
|
60
|
-
"typescript": "4.6.
|
|
59
|
+
"tsconfig-paths": "3.14.1",
|
|
60
|
+
"typescript": "4.6.3"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@types/fs-extra": "9.0.13",
|
|
64
|
-
"@types/node": "17.0.
|
|
64
|
+
"@types/node": "17.0.23"
|
|
65
65
|
},
|
|
66
66
|
"engines": {
|
|
67
67
|
"node": ">=14",
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
.gitignore
|
|
6
6
|
.prettierignore
|
|
7
7
|
.prettierrc.js
|
|
8
|
+
.virmator/
|
|
8
9
|
.vscode/
|
|
9
10
|
*.test.d.ts
|
|
10
11
|
*.test.js
|
|
@@ -13,9 +14,6 @@ dist/readme-examples/
|
|
|
13
14
|
dist/scripts/
|
|
14
15
|
dist/test/
|
|
15
16
|
dist/vite/
|
|
16
|
-
index.html
|
|
17
|
-
public/
|
|
18
|
-
scripts/
|
|
19
17
|
src/
|
|
20
18
|
test-files/
|
|
21
19
|
tsconfig-base.json
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
name: branch-prerelease
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_run:
|
|
5
|
-
workflows: ['tests']
|
|
6
|
-
types:
|
|
7
|
-
- completed
|
|
8
|
-
branches:
|
|
9
|
-
- '**'
|
|
10
|
-
|
|
11
|
-
# this is currently running on main no matter what, even when a different branch triggered "tests"
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
branch-prerelease:
|
|
15
|
-
name: 'branch prerelease'
|
|
16
|
-
runs-on: 'ubuntu-latest'
|
|
17
|
-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
|
18
|
-
steps:
|
|
19
|
-
- uses: actions/checkout@v3
|
|
20
|
-
with:
|
|
21
|
-
ref: 'update-commands'
|
|
22
|
-
- name: Use Node.js 16.x
|
|
23
|
-
uses: actions/setup-node@v1
|
|
24
|
-
with:
|
|
25
|
-
node-version: 16.x
|
|
26
|
-
- name: run test
|
|
27
|
-
run: |
|
|
28
|
-
npm ci
|
|
29
|
-
npm run test:full
|
|
30
|
-
- name: pack and set vars
|
|
31
|
-
id: vars
|
|
32
|
-
run: |
|
|
33
|
-
branchName="${GITHUB_REF#refs/*/}"
|
|
34
|
-
echo ::set-output name=prereleaseTagName::"$branchName-$GITHUB_SHA"
|
|
35
|
-
|
|
36
|
-
originalTarName="$(npm pack)"
|
|
37
|
-
packageName="$(npm -s run env echo '$npm_package_name')"
|
|
38
|
-
newTarName="$packageName-$GITHUB_SHA.tgz"
|
|
39
|
-
mv "$originalTarName" "$newTarName"
|
|
40
|
-
echo ::set-output name=tarName::"$newTarName"
|
|
41
|
-
- uses: 'marvinpinto/action-automatic-releases@latest'
|
|
42
|
-
with:
|
|
43
|
-
repo_token: '${{ secrets.GITHUB_TOKEN }}'
|
|
44
|
-
automatic_release_tag: 'prerelease-${{ steps.vars.outputs.prereleaseTagName }}'
|
|
45
|
-
prerelease: true
|
|
46
|
-
files: |
|
|
47
|
-
${{ steps.vars.outputs.tarName }}
|