Skip to content

Commit a36201c

Browse files
authored
feat: Update rxjs (#41)
BREAKING CHANGE: Removed support for rxjs v5, minimum version is rxjs v7 Removed support for Node.js v6, minimum version is v16.8 Removed support for proc-that v1, minimum version is v2
1 parent 7adc5ef commit a36201c

File tree

15 files changed

+327
-394
lines changed

15 files changed

+327
-394
lines changed

.appveyor.yml

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

.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["@smartive/eslint-config"]
3+
}

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release npm package
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release:
10+
name: Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@main
14+
- uses: actions/setup-node@v3
15+
with:
16+
node-version: '18.x'
17+
- run: npm install
18+
- run: npm run build
19+
- name: semantic release
20+
uses: cycjimmy/semantic-release-action@v3
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Unit Tests
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches: [master, develop]
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
node-version: [16.x, 18.x]
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- name: Run Tests
21+
run: |
22+
npm install
23+
npm test

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ node_modules
1313
.node_repl_history
1414

1515
# Typescript stuff
16-
build
16+
dist
1717
coverage
1818

1919
package-lock.json

.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"@smartive/prettier-config"

.travis.yml

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

config/tsconfig.base.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"module": "commonjs",
55
"moduleResolution": "node",
66
"removeComments": false,
7-
"outDir": "../build",
7+
"outDir": "../dist",
88
"rootDir": "../src",
99
"declaration": true,
1010
"sourceMap": false,
@@ -24,6 +24,6 @@
2424
],
2525
"exclude": [
2626
"../node_modules",
27-
"../build"
27+
"../dist"
2828
]
2929
}

config/tsconfig.build.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
{
2-
"extends": "./tsconfig.base.json",
3-
"compilerOptions": {
4-
"outDir": "../"
5-
}
2+
"extends": "./tsconfig.base.json"
63
}

jest.json

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
11
{
2-
"collectCoverage": true,
3-
"mapCoverage": true,
4-
"transform": {
5-
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
6-
},
7-
"testMatch": [
8-
"**/test/**/*.spec.ts"
9-
],
10-
"testPathIgnorePatterns": [
11-
"/node_modules/"
12-
],
13-
"moduleFileExtensions": [
14-
"ts",
15-
"tsx",
16-
"js",
17-
"json"
18-
]
2+
"collectCoverage": true,
3+
"mapCoverage": true,
4+
"transform": {
5+
"^.+\\.tsx?$": "ts-jest"
6+
},
7+
"testMatch": ["**/test/**/*.spec.ts"],
8+
"testPathIgnorePatterns": ["/node_modules/"],
9+
"moduleFileExtensions": ["ts", "tsx", "js", "json"]
1910
}

0 commit comments

Comments
 (0)