larvitcms 3.0.0 → 3.0.3
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/workflows/ci.yml +14 -0
- package/README.md +1 -1
- package/package.json +6 -6
- package/renovate.json +2 -7
- package/.github/workflows/actions.yml +0 -43
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
name: larvitcms CI
|
|
2
|
+
|
|
3
|
+
on: [push]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
test:
|
|
7
|
+
uses: larvit/standards/.github/workflows/test-mariadb.yml@master
|
|
8
|
+
|
|
9
|
+
publish:
|
|
10
|
+
if: github.ref == 'refs/heads/master'
|
|
11
|
+
needs: test
|
|
12
|
+
uses: larvit/standards/.github/workflows/publish.yml@master
|
|
13
|
+
secrets:
|
|
14
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[](https://github.com/larvit/larvitcms/actions)
|
|
2
2
|
|
|
3
3
|
# larvitcms
|
|
4
4
|
Very simple and basic CMS backend and admin page
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "larvitcms",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "Simple blog module with admin GUI for larvitadmingui",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Mikael 'Lilleman' Göransson",
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
},
|
|
10
10
|
"private": false,
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"larvitdb": "3.2.
|
|
13
|
-
"larvitdbmigration": "
|
|
12
|
+
"larvitdb": "3.2.5",
|
|
13
|
+
"larvitdbmigration": "7.0.2",
|
|
14
14
|
"larvitslugify": "2.0.1",
|
|
15
|
-
"larvitutils": "5.0.
|
|
15
|
+
"larvitutils": "5.0.6",
|
|
16
16
|
"lodash": "4.17.21",
|
|
17
17
|
"uuid": "8.3.2"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"eslint": "8.
|
|
21
|
-
"mocha": "9.2.
|
|
20
|
+
"eslint": "8.14.0",
|
|
21
|
+
"mocha": "9.2.2",
|
|
22
22
|
"nyc": "15.1.0"
|
|
23
23
|
},
|
|
24
24
|
"keywords": [
|
package/renovate.json
CHANGED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
name: larvitsession CI
|
|
2
|
-
|
|
3
|
-
on: [push, pull_request]
|
|
4
|
-
|
|
5
|
-
jobs:
|
|
6
|
-
test:
|
|
7
|
-
runs-on: ubuntu-latest
|
|
8
|
-
|
|
9
|
-
strategy:
|
|
10
|
-
matrix:
|
|
11
|
-
node-version: [14.x, 16.x]
|
|
12
|
-
|
|
13
|
-
steps:
|
|
14
|
-
- uses: getong/mariadb-action@v1.1
|
|
15
|
-
with:
|
|
16
|
-
host port: 3306
|
|
17
|
-
container port: 3306
|
|
18
|
-
mariadb version: '10.7'
|
|
19
|
-
mysql database: 'test'
|
|
20
|
-
mysql root password: 'test'
|
|
21
|
-
|
|
22
|
-
- uses: actions/checkout@v2
|
|
23
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
24
|
-
uses: actions/setup-node@v2
|
|
25
|
-
with:
|
|
26
|
-
node-version: ${{ matrix.node-version }}
|
|
27
|
-
cache: 'npm'
|
|
28
|
-
- run: npm ci
|
|
29
|
-
- shell: bash
|
|
30
|
-
run: |
|
|
31
|
-
cat << EOF > ./config/db_test.json
|
|
32
|
-
{
|
|
33
|
-
"connectionLimit": 10,
|
|
34
|
-
"host": "127.0.0.1",
|
|
35
|
-
"port": 3306,
|
|
36
|
-
"user": "root",
|
|
37
|
-
"password": "test",
|
|
38
|
-
"charset": "utf8mb4_general_ci",
|
|
39
|
-
"supportBigNumbers": true,
|
|
40
|
-
"database": "test"
|
|
41
|
-
}
|
|
42
|
-
EOF
|
|
43
|
-
- run: npm test
|