Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit e54555a

Browse files
authored
Merge pull request #620 from ldapjs/next
Release v2!
2 parents ad451ed + d773365 commit e54555a

File tree

166 files changed

+9908
-10856
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+9908
-10856
lines changed

.dir-locals.el

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/workflows/integration.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: 'Integration Tests'
2+
3+
# Notes:
4+
# https://github.community/t5/GitHub-Actions/Github-Actions-services-not-reachable/m-p/30739/highlight/true#M538
5+
6+
on:
7+
pull_request:
8+
branches:
9+
- master
10+
- next
11+
12+
jobs:
13+
baseline:
14+
name: Baseline Tests
15+
runs-on: ubuntu-latest
16+
17+
# services:
18+
# openldap:
19+
# image: docker.pkg.github.com/ldapjs/docker-test-openldap/openldap:1.0
20+
# ports:
21+
# - 389:389
22+
# - 636:636
23+
24+
steps:
25+
- uses: actions/checkout@v1
26+
- uses: actions/setup-node@v1
27+
28+
# Hack way to start service since GitHub doesn't integrate with its own services
29+
- name: Docker login
30+
run: docker login docker.pkg.github.com -u ${GITHUB_ACTOR} -p ${GITHUB_TOKEN}
31+
env:
32+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
33+
- name: Pull Docker image
34+
run: docker pull "docker.pkg.github.com/ldapjs/docker-test-openldap/openldap:latest"
35+
- name: Start OpenLDAP service
36+
run: docker run -it -d --name openldap -p 389:389 -p 636:636 docker.pkg.github.com/ldapjs/docker-test-openldap/openldap:latest
37+
38+
- name: Install Packages
39+
run: npm install
40+
- name: Run Tests
41+
run: npm run test:integration

.github/workflows/main.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: 'Lint And Test'
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
- next
8+
9+
jobs:
10+
lint:
11+
name: Lint Check
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v1
15+
- uses: actions/setup-node@v1
16+
- name: Install Packages
17+
run: npm install
18+
- name: Lint Code
19+
run: npm run lint:ci
20+
21+
run_tests:
22+
name: Unit Tests
23+
strategy:
24+
matrix:
25+
os:
26+
- ubuntu-latest
27+
- windows-latest
28+
node:
29+
- 10.13.0
30+
- 10.x
31+
- 12.x
32+
runs-on: ${{ matrix.os }}
33+
steps:
34+
- uses: actions/checkout@v1
35+
- uses: actions/setup-node@v1
36+
with:
37+
node-version: ${{ matrix.node }}
38+
- name: Install Packages
39+
run: npm install
40+
- name: Run Tests
41+
run: npm run test:ci
42+
- name: Coveralls Parallel
43+
uses: coverallsapp/github-action@master
44+
with:
45+
github-token: ${{ secrets.GITHUB_TOKEN }}
46+
parallel: true
47+
- name: Coveralls Finished
48+
uses: coverallsapp/github-action@master
49+
with:
50+
github-token: ${{ secrets.GITHUB_TOKEN }}
51+
parallel-finished: true

.gitignore

Lines changed: 73 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,77 @@
1-
build
2-
node_modules
3-
coverage
4-
*.log
51
*.ldif
62
*.tar.*
73
*.tgz
4+
5+
# Lock files
6+
pnpm-lock.yaml
7+
shrinkwrap.yaml
8+
package-lock.json
9+
yarn.lock
10+
11+
# Logs
12+
logs
13+
*.log
14+
npm-debug.log*
15+
16+
# Runtime data
17+
pids
18+
*.pid
19+
*.seed
20+
21+
# Directory for instrumented libs generated by jscoverage/JSCover
22+
lib-cov
23+
24+
# Coverage directory used by tools like istanbul
25+
coverage
26+
27+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
28+
.grunt
29+
30+
# node-waf configuration
31+
.lock-wscript
32+
33+
# Compiled binary addons (http://nodejs.org/api/addons.html)
34+
build/Release
35+
36+
# Dependency directory
37+
node_modules
38+
39+
# Optional npm cache directory
40+
.npm
41+
42+
# Optional REPL history
43+
.node_repl_history
44+
45+
# 0x
46+
.__browserify_string_empty.js
47+
profile-*
48+
*.flamegraph
49+
50+
# tap --cov
51+
.nyc_output/
52+
53+
# JetBrains IntelliJ IDEA
54+
.idea/
55+
*.iml
56+
57+
# VS Code
58+
.vscode/
59+
60+
# xcode
61+
build/*
62+
*.mode1
63+
*.mode1v3
64+
*.mode2v3
65+
*.perspective
66+
*.perspectivev3
67+
*.pbxuser
68+
*.xcworkspace
69+
xcuserdata
70+
71+
# macOS
872
.DS_Store
73+
74+
# keys
75+
*.pem
76+
*.env.json
77+
*.env

.gitmodules

Lines changed: 0 additions & 9 deletions
This file was deleted.

.taprc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
esm: false
2+
jsx: false
3+
ts: false
4+
5+
files:
6+
- 'test/**/*.test.js'

.travis.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ldapjs Changelog
22

3+
## 2.0.0
4+
5+
- Going foward, please see https://github.com/ldapjs/node-ldapjs/releases
6+
37
## 1.0.2
48

59
- Update dtrace-provider dependency

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2011 Mark Cavage, All rights reserved.
1+
Copyright (c) 2019 LDAPjs, All rights reserved.
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

Makefile

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)