ueberdb2 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/.github/dependabot.yml +11 -0
- package/.github/workflows/npmpublish.yml +34 -10
- package/package.json +4 -4
|
@@ -52,8 +52,8 @@ jobs:
|
|
|
52
52
|
- 6379:6379
|
|
53
53
|
timeout-minutes: 10
|
|
54
54
|
steps:
|
|
55
|
-
- uses: actions/checkout@
|
|
56
|
-
- uses: actions/setup-node@
|
|
55
|
+
- uses: actions/checkout@v3
|
|
56
|
+
- uses: actions/setup-node@v3
|
|
57
57
|
with:
|
|
58
58
|
node-version: 12
|
|
59
59
|
- run: npm ci
|
|
@@ -78,16 +78,34 @@ jobs:
|
|
|
78
78
|
needs: test
|
|
79
79
|
runs-on: ubuntu-latest
|
|
80
80
|
steps:
|
|
81
|
-
-
|
|
82
|
-
|
|
81
|
+
-
|
|
82
|
+
uses: actions/checkout@v3
|
|
83
|
+
with:
|
|
84
|
+
fetch-depth: 0
|
|
85
|
+
-
|
|
86
|
+
uses: actions/setup-node@v3
|
|
83
87
|
with:
|
|
84
88
|
node-version: 12
|
|
85
89
|
registry-url: https://registry.npmjs.org/
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
-
|
|
90
|
+
cache: 'npm'
|
|
91
|
+
# This is required if the package has a prepare script that uses something
|
|
92
|
+
# in dependencies or devDependencies. This is also needed for bumping the
|
|
93
|
+
# version.
|
|
94
|
+
-
|
|
95
|
+
run: npm ci
|
|
96
|
+
-
|
|
97
|
+
name: Bump version (patch)
|
|
98
|
+
run: |
|
|
99
|
+
LATEST_TAG=$(git describe --tags --abbrev=0) || exit 1
|
|
100
|
+
NEW_COMMITS=$(git rev-list --count "${LATEST_TAG}"..) || exit 1
|
|
101
|
+
[ "${NEW_COMMITS}" -gt 0 ] || exit 0
|
|
102
|
+
git config user.name 'github-actions[bot]'
|
|
103
|
+
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
|
|
104
|
+
npm version patch
|
|
105
|
+
# Update the branch before pushing the tag in case the branch can't be
|
|
106
|
+
# fast-forwarded.
|
|
107
|
+
git push
|
|
108
|
+
git push --follow-tags
|
|
91
109
|
# `npm publish` must come after `git push` otherwise there is a race
|
|
92
110
|
# condition: If two PRs are merged back-to-back then master/main will be
|
|
93
111
|
# updated with the commits from the second PR before the first PR's
|
|
@@ -98,6 +116,12 @@ jobs:
|
|
|
98
116
|
# already-used version number. By running `npm publish` after `git push`,
|
|
99
117
|
# back-to-back merges will cause the first merge's workflow to fail but
|
|
100
118
|
# the second's will succeed.
|
|
101
|
-
-
|
|
119
|
+
-
|
|
120
|
+
run: npm publish
|
|
121
|
+
env:
|
|
122
|
+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
123
|
+
-
|
|
124
|
+
name: Add package to etherpad organization
|
|
125
|
+
run: npm access grant read-write etherpad:developers
|
|
102
126
|
env:
|
|
103
127
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
package/package.json
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"pg": "^8.7.1",
|
|
33
33
|
"redis": "^3.1.2",
|
|
34
34
|
"rethinkdb": "^2.4.2",
|
|
35
|
-
"simple-git": "^
|
|
35
|
+
"simple-git": "^3.3.0"
|
|
36
36
|
},
|
|
37
37
|
"optionalDependencies": {
|
|
38
38
|
"sqlite3": "github:mapbox/node-sqlite3#593c9d498be2510d286349134537e3bf89401c4a"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"cli-table": "^0.3.8",
|
|
42
42
|
"eslint": "^7.32.0",
|
|
43
|
-
"eslint-config-etherpad": "^2.0.
|
|
43
|
+
"eslint-config-etherpad": "^2.0.3",
|
|
44
44
|
"eslint-plugin-cypress": "^2.12.1",
|
|
45
45
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
46
46
|
"eslint-plugin-mocha": "^9.0.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
49
49
|
"eslint-plugin-promise": "^5.1.1",
|
|
50
50
|
"eslint-plugin-you-dont-need-lodash-underscore": "^6.12.0",
|
|
51
|
-
"mocha": "^9.
|
|
51
|
+
"mocha": "^9.2.2",
|
|
52
52
|
"randexp": "^0.5.3",
|
|
53
53
|
"wtfnode": "^0.9.1"
|
|
54
54
|
},
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"url": "https://github.com/ether/ueberDB.git"
|
|
58
58
|
},
|
|
59
59
|
"main": "./index",
|
|
60
|
-
"version": "2.0.
|
|
60
|
+
"version": "2.0.5",
|
|
61
61
|
"bugs": {
|
|
62
62
|
"url": "https://github.com/ether/ueberDB/issues"
|
|
63
63
|
},
|