Skip to content

Commit a2b3c30

Browse files
committed
chore: move repo to loopbackio org
Signed-off-by: Diana Lau <[email protected]>
1 parent 97a055c commit a2b3c30

8 files changed

+6294
-12
lines changed

.github/ISSUE_TEMPLATE/Question.md

-5
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,4 @@ Please use one of the following resources for help:
1919
- https://groups.google.com/forum/#!forum/loopbackjs
2020
- https://gitter.im/strongloop/loopback
2121
22-
**Immediate support**
23-
24-
- https://strongloop.com/api-connect-faqs/
25-
- https://strongloop.com/node-js/subscription-plans/
26-
2722
-->

.github/workflows/continuous-integration.yaml

+34-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
15-
node-version: [10, 12, 14, 15]
15+
node-version: [12, 14, 16]
1616
services:
1717
postgres:
1818
image: postgres:latest
@@ -30,3 +30,36 @@ jobs:
3030
- run: npm test
3131
env:
3232
PGUSER: postgres
33+
code-lint:
34+
name: Code Lint
35+
runs-on: ubuntu-latest
36+
timeout-minutes: 60
37+
steps:
38+
- uses: actions/checkout@v2
39+
- name: Use Node.js 14
40+
uses: actions/setup-node@v2
41+
with:
42+
node-version: 14
43+
- name: Bootstrap project
44+
run: |
45+
npm ci --ignore-scripts
46+
- name: Verify code linting
47+
run: npm run lint
48+
49+
commit-lint:
50+
name: Commit Lint
51+
runs-on: ubuntu-latest
52+
timeout-minutes: 60
53+
steps:
54+
- uses: actions/checkout@v2
55+
with:
56+
fetch-depth: 0
57+
- name: Use Node.js 14
58+
uses: actions/setup-node@v2
59+
with:
60+
node-version: 14
61+
- name: Bootstrap project
62+
run: |
63+
npm ci --ignore-scripts
64+
- name: Verify commit linting
65+
run: npx commitlint --from origin/master --to HEAD --verbose

.npmrc

-1
This file was deleted.

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Contributing to `loopback-connector-postgresql` is easy. In a few simple steps:
1414
* Adhere to code style outlined in the [Google C++ Style Guide][] and
1515
[Google Javascript Style Guide][].
1616

17-
* Sign the [Contributor License Agreement](https://cla.strongloop.com/agreements/strongloop/loopback-connector-postgresql)
17+
* Sign the [Developer Certificate of Origin](#developer-certificate-of-origin)
1818

1919
* Submit a pull request through Github.
2020

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ Besides the basic LoopBack types, as we introduced above, you can also specify t
470470
</details>
471471
472472
{% include warning.html content="
473-
Not all database types are supported for operating CRUD operations and queries with filters. For example, type Array cannot be filtered correctly, see GitHub issues: [# 441](https://github.com/strongloop/loopback-connector-postgresql/issues/441) and [# 342](https://github.com/strongloop/loopback-connector-postgresql/issues/342).
473+
Not all database types are supported for operating CRUD operations and queries with filters. For example, type Array cannot be filtered correctly, see GitHub issues: [# 441](https://github.com/loopbackio/loopback-connector-postgresql/issues/441) and [# 342](https://github.com/loopbackio/loopback-connector-postgresql/issues/342).
474474
" %}
475475
476476
### PostgreSQL types to LoopBack

commitlint.config.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Copyright IBM Corp. 2021. All Rights Reserved.
2+
// Node module: loopback-connector-postgresql
3+
// This file is licensed under the MIT License.
4+
// License text available at https://opensource.org/licenses/MIT
5+
6+
'use strict';
7+
8+
module.exports = {
9+
extends: [
10+
'@commitlint/config-conventional',
11+
],
12+
rules: {
13+
'header-max-length': [2, 'always', 100],
14+
'body-leading-blank': [2, 'always'],
15+
'footer-leading-blank': [0, 'always'],
16+
'signed-off-by': [2, 'always', 'Signed-off-by:'],
17+
},
18+
};

0 commit comments

Comments
 (0)