-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: update to feathers 5 * chore: update feathers-utils * test: fix tests * fix: allow service.options to be undefined * test: comment all casl service options * test: augment ServiceOptions of correct adapter-commons package * fix!: keep up with recent dove (#77) * init new * chore: update dependencies * chore: update dependencies * refactor: modernize repo - unbuild - vitest - restricter eslint - named exports instead of default exports - export * from * fix: right filters * fix(channels): assign ability to connection from authResult * ci: update coverage & add build job * test: add lcov to coverage * test: coverage threshold 90 * fix: around hook check for context.result * chore: remove console.logs * chore: update dependencies * 1.0.0-0 * fix: update dependencies - feathers-utils: esm - pre.34: removed $-function - feathers-sequelize: removed $-function * 1.0.0-1 * refactor: do not export "HOOKNAME" * chore: update dependencies & add types & module entry to package.json * 1.0.0-2 * chore: update dependencies, move to src, * feat: simplify mergeQuery if possible * fix: build * fix: mergeArrays undefined * docs: badges * rename master->main * chore: update dependencies * docs: ts and import from @casl/ability * docs: add note for crow version --------- Co-authored-by: Lukas Hass <[email protected]> Co-authored-by: fratzinger <[email protected]>
- Loading branch information
1 parent
b1521c0
commit 7a3b7d7
Showing
119 changed files
with
21,379 additions
and
15,758 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,34 +6,43 @@ name: Node.js CI | |
on: [push, pull_request] | ||
|
||
jobs: | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [12.x, 14.x, 16.x] | ||
node-version: [16.x, 18.x] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci | ||
- run: npm test | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm i | ||
- run: npm run test | ||
|
||
coverage: | ||
needs: [ test ] | ||
name: coverage | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: '12' | ||
- run: npm ci | ||
- uses: paambaati/[email protected] | ||
env: | ||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | ||
with: | ||
coverageCommand: npm run coverage | ||
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: "18" | ||
- run: npm i | ||
- uses: paambaati/[email protected] | ||
env: | ||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | ||
with: | ||
coverageCommand: npm run coverage | ||
|
||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: "18" | ||
- run: npm i | ||
- run: npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,16 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "pwa-node", | ||
"resolveSourceMapLocations": [ | ||
"${workspaceFolder}/**", | ||
"!**/node_modules/**" | ||
], | ||
"request": "launch", | ||
"name": "Mocha Tests", | ||
"program": "${workspaceFolder}/node_modules/mocha/bin/mocha", | ||
"args": [ | ||
"--require", | ||
"ts-node/register", | ||
"--timeout", | ||
"999999", | ||
"--colors", | ||
"--recursive" | ||
], | ||
"internalConsoleOptions": "openOnSessionStart", | ||
"env": { | ||
"NODE_ENV": "test", | ||
"TS_NODE_PROJECT": "tsconfig.test.json" | ||
}, | ||
"outputCapture": "std", | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
] | ||
}, | ||
] | ||
} | ||
|
||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Debug Current Test File", | ||
"autoAttachChildProcesses": true, | ||
"skipFiles": ["<node_internals>/**", "**/node_modules/**"], | ||
"program": "${workspaceRoot}/node_modules/vitest/vitest.mjs", | ||
"args": ["run", "${relativeFile}"], | ||
"smartStep": true, | ||
"console": "integratedTerminal" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { defineBuildConfig } from "unbuild"; | ||
import pkg from "./package.json"; | ||
|
||
export default defineBuildConfig({ | ||
entries: ["./src/index"], | ||
outDir: "./dist", | ||
declaration: true, | ||
externals: [ | ||
...Object.keys(pkg.dependencies), | ||
...Object.keys(pkg.devDependencies), | ||
], | ||
rollup: { | ||
emitCJS: true, | ||
}, | ||
}); |
Oops, something went wrong.