Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@promise-watch/core

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promise-watch/core - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

4

dist/bin/promise-watch.js

@@ -31,5 +31,3 @@ "use strict";

const config = await Promise.resolve().then(() => __importStar(require(`${dir}/promise-watch.config.ts`)));
const options = { dir, ...config.default };
console.log(options);
await (0, execute_1.executeJobs)(options);
await (0, execute_1.executeJobs)({ dir, ...config.default });
})().catch(err => {

@@ -36,0 +34,0 @@ console.error(err);

{
"name": "@promise-watch/core",
"version": "1.1.1",
"version": "1.1.2",
"author": "Jason Raimondi <jason@raimondi.us> (https://jasonraimondi.com)",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -63,8 +63,2 @@ <h1 align="center">

## Getting Started
The best way to get started is to use the [starter-template](https://github.com/promise-watch/starter-template). Clone it down and then add your own custom runs to the `runs/` directory.
## Configuration
The default options:

@@ -81,2 +75,24 @@

## Getting Started
The best way to get started is to use the [starter-template](https://github.com/promise-watch/starter-template). Clone it down and then add your own custom runs to the `runs/` directory.
### Create a promise-watch.config.ts
You'll need to create your own config:
```typescript
type PromiseWatchOptions = {
globPath?: string; // defaults to "runs/**/*.{js,ts}"
notifiers: Notifier[];
};
```
```typescript
// promise-watch.config.ts
export default {
notifiers: [],
}
```
## Notifiers

@@ -83,0 +99,0 @@

@@ -18,7 +18,3 @@ /**

const options = { dir, ...config.default };
console.log(options);
await executeJobs(options);
await executeJobs({ dir, ...config.default });
})().catch(err => {

@@ -25,0 +21,0 @@ console.error(err);

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc