mirror of
https://github.com/sasjs/adapter.git
synced 2026-04-14 01:43:13 +00:00
chore(sasjs-tests): remove adapter dependency to prevent npm audit on local-only package
This commit is contained in:
@@ -6,13 +6,13 @@ Browser-based integration testing for [@sasjs/adapter](https://github.com/sasjs/
|
||||
|
||||
When developing on `@sasjs/adapter`, it's good practice to run the test suite against your changed version of the adapter to ensure that existing functionality has not been impacted.
|
||||
|
||||
You can use the provided `update:adapter` NPM script for this.
|
||||
> **Note:** `@sasjs/adapter` is not listed as a dependency in `package.json` - it is installed from a local build. After cloning or running `npm install`, you must run `update:adapter` before building.
|
||||
|
||||
```bash
|
||||
npm run update:adapter
|
||||
```
|
||||
|
||||
This scripts builds a new version of the adapter and installs it in the `sasjs-tests` project.
|
||||
This script builds a new version of the adapter and installs it in the `sasjs-tests` project.
|
||||
|
||||
## Running tests
|
||||
|
||||
|
||||
1712
sasjs-tests/package-lock.json
generated
1712
sasjs-tests/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -18,8 +18,5 @@
|
||||
},
|
||||
"overrides": {
|
||||
"vite": "npm:rolldown-vite@7.2.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@sasjs/adapter": "file:../build/sasjs-adapter-5.0.0.tgz"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user