open-ready 0.1.35 → 0.1.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -0
- package/package.json +10 -3
- package/vitest.config.mjs +34 -0
package/README.md
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img width="800px" src="https://i.imgur.com/lyvk8iy.png" />
|
|
3
|
+
<br />
|
|
4
|
+
<a href="https://www.npmjs.com/package/open-ready"><img src="https://img.shields.io/npm/dm/open-ready.svg" alt="NPM Monthly Downloads"></a>
|
|
5
|
+
<a href="https://www.npmjs.com/package/open-ready"><img src="https://img.shields.io/npm/v/open-ready.svg" alt="npm version"></a>
|
|
6
|
+
<a href="https://discord.gg/SJdBqBz3tV">
|
|
7
|
+
<img src="https://img.shields.io/discord/1110227955554209923.svg?label=Chat&logo=Discord&colorB=7289da&style=flat"
|
|
8
|
+
alt="Join Discord" />
|
|
9
|
+
</a>
|
|
10
|
+
<a href="https://github.com/OpenSourceAGI/dev-tools-starter-agent/discussions">
|
|
11
|
+
<img alt="GitHub Stars" src="https://img.shields.io/github/stars/OpenSourceAGI/dev-tools-starter-agent" /></a>
|
|
12
|
+
<br />
|
|
13
|
+
<a href="https://github.com/OpenSourceAGI/dev-tools-starter-agent/discussions">
|
|
14
|
+
<img alt="GitHub Discussions"
|
|
15
|
+
src="https://img.shields.io/github/discussions/OpenSourceAGI/dev-tools-starter-agent" />
|
|
16
|
+
</a>
|
|
17
|
+
<a href="https://github.com/OpenSourceAGI/dev-tools-starter-agent/pulse" alt="Activity">
|
|
18
|
+
<img src="https://img.shields.io/github/commit-activity/m/OpenSourceAGI/dev-tools-starter-agent" />
|
|
19
|
+
</a>
|
|
20
|
+
<img src="https://img.shields.io/github/last-commit/OpenSourceAGI/dev-tools-starter-agent.svg" alt="GitHub last commit" />
|
|
21
|
+
<br />
|
|
22
|
+
<a href="https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request">
|
|
23
|
+
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg"
|
|
24
|
+
alt="PRs Welcome" />
|
|
25
|
+
</a>
|
|
26
|
+
<a href="https://codespaces.new/OpenSourceAGI/dev-tools-starter-agent">
|
|
27
|
+
<img src="https://github.com/codespaces/badge.svg" width="150" height="20" />
|
|
28
|
+
</a>
|
|
29
|
+
</p>
|
|
30
|
+
|
|
1
31
|
# open-ready
|
|
2
32
|
|
|
3
33
|
Smart dev server launcher that watches your server's output and automatically opens the browser when ready — or opens an AI assistant with the error context when something goes wrong.
|
|
@@ -62,3 +92,7 @@ For Next.js projects, the log is written to `.next/port.log`; otherwise `open-wh
|
|
|
62
92
|
## License
|
|
63
93
|
|
|
64
94
|
MIT
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
Please star this repo for updates! 🌟
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-ready",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.50",
|
|
4
4
|
"description": "Smart dev server launcher: error→AI search, success→auto-open browser. Any CLI tool.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"ship": "bun x standard-version --release-as patch;rm CHANGELOG.md; npm publish",
|
|
11
|
-
"owr": "./open-when-ready.mjs bun run build"
|
|
11
|
+
"owr": "./open-when-ready.mjs bun run build",
|
|
12
|
+
"test": "vitest run",
|
|
13
|
+
"test:watch": "vitest",
|
|
14
|
+
"coverage": "vitest run --coverage"
|
|
12
15
|
},
|
|
13
16
|
"keywords": [
|
|
14
17
|
"devtools",
|
|
@@ -30,5 +33,9 @@
|
|
|
30
33
|
"type": "git",
|
|
31
34
|
"url": "https://github.com/OpenSourceAGI/dev-tools-starter-agent/tree/master/packages/open-when-ready"
|
|
32
35
|
},
|
|
33
|
-
"homepage": "https://github.com/OpenSourceAGI/dev-tools-starter-agent/tree/master/packages/open-when-ready"
|
|
36
|
+
"homepage": "https://github.com/OpenSourceAGI/dev-tools-starter-agent/tree/master/packages/open-when-ready",
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
39
|
+
"vitest": "^4.1.0"
|
|
40
|
+
}
|
|
34
41
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/// <reference types="vitest/config" />
|
|
2
|
+
import { defineConfig } from "vitest/config";
|
|
3
|
+
|
|
4
|
+
// Per-package Vitest setup. Coverage is written to this package's own
|
|
5
|
+
// ./coverage/lcov.info so Codecov can flag it under "open-when-ready".
|
|
6
|
+
export default defineConfig({
|
|
7
|
+
test: {
|
|
8
|
+
environment: "node",
|
|
9
|
+
include: ["{test,tests,src}/**/*.{test,spec}.{js,mjs,ts,tsx}"],
|
|
10
|
+
exclude: ["**/node_modules/**", "**/dist/**"],
|
|
11
|
+
// Infrastructure is in place before every package has a suite.
|
|
12
|
+
passWithNoTests: true,
|
|
13
|
+
coverage: {
|
|
14
|
+
provider: "v8",
|
|
15
|
+
reporter: ["text", "json", "lcov"],
|
|
16
|
+
reportsDirectory: "./coverage",
|
|
17
|
+
reportOnFailure: true,
|
|
18
|
+
include: [
|
|
19
|
+
"open-when-ready.mjs",
|
|
20
|
+
],
|
|
21
|
+
exclude: [
|
|
22
|
+
"**/node_modules/**",
|
|
23
|
+
"**/dist/**",
|
|
24
|
+
"**/build/**",
|
|
25
|
+
"**/coverage/**",
|
|
26
|
+
"**/demo/**",
|
|
27
|
+
"**/*.d.ts",
|
|
28
|
+
"**/*.config.*",
|
|
29
|
+
"**/*.{test,spec}.*",
|
|
30
|
+
"**/*.template.*",
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
});
|