xyd-js 0.0.0 → 0.1.0-alpha.2

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 ADDED
@@ -0,0 +1,51 @@
1
+ <div align="center">
2
+ <a href="https://xyd.dev">
3
+ <img
4
+ src="https://github.com/livesession/xyd/raw/master/.github/assets/readme-logo.svg"
5
+ alt="xyd Logo"
6
+ height="64"
7
+ />
8
+ </a>
9
+ <br />
10
+ <p>
11
+ Docs Framework for future dev.
12
+ </p>
13
+ <p>
14
+
15
+ [![Website](https://img.shields.io/website?url=https%3A%2F%2Fxyd.dev&logo=xyd)](https://xyd.dev)
16
+ <a href="https://join.slack.com/t/xyd-docs/shared_invite/zt-3brqammx1-qVPwQ8~gYFgocioExxHA2A" target="_blank" rel="noopener">
17
+ <img alt="Slack Community" src="https://img.shields.io/badge/Slack-Community-4A154B?logo=slack&logoColor=white">
18
+ </a>
19
+
20
+ </p>
21
+ <p>
22
+ <sub>
23
+ Powered by
24
+ <a href="https://livesession.io">
25
+ LiveSession
26
+ </a>
27
+ </sub>
28
+ </p>
29
+ </div>
30
+
31
+ ### Installation
32
+
33
+ Download the xyd CLI using the following command:
34
+ ```
35
+ npm i -g xyd-js
36
+ ```
37
+
38
+ ### Development
39
+
40
+ Run a dev server:
41
+ ```
42
+ xyd
43
+ ```
44
+
45
+ Production build:
46
+ ```
47
+ xyd build
48
+ ```
49
+
50
+ > This command generates a `.xyd/build/client` folder containing the static files for your documentation.
51
+
package/index.js ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+
3
+ import "@xyd-js/cli";
package/package.json CHANGED
@@ -1,4 +1,36 @@
1
1
  {
2
- "name": "xyd-js",
3
- "version": "0.0.0"
4
- }
2
+ "name": "xyd-js",
3
+ "version": "0.1.0-alpha.2",
4
+ "description": "The xyd CLI",
5
+ "engines": {
6
+ "node": ">=22.12.0"
7
+ },
8
+ "author": "LiveSession",
9
+ "bugs": {
10
+ "url": "https://github.com/livesession/xyd/issues"
11
+ },
12
+ "license": "MIT",
13
+ "keywords": [
14
+ "xyd",
15
+ "livesession",
16
+ "docs",
17
+ "cli"
18
+ ],
19
+ "type": "module",
20
+ "publishConfig": {
21
+ "access": "public",
22
+ "registry": "https://registry.npmjs.org"
23
+ },
24
+ "bin": {
25
+ "xyd": "index.js"
26
+ },
27
+ "scripts": {
28
+ "clean:all": "rimraf node_modules"
29
+ },
30
+ "dependencies": {
31
+ "@xyd-js/cli": "0.0.0-build-a1d398e-20251028174055"
32
+ },
33
+ "devDependencies": {
34
+ "rimraf": "^5.0.1"
35
+ }
36
+ }
@@ -1,3 +0,0 @@
1
- {
2
- "siteId": "81b9c319-25a7-449a-ac82-37e94a10d2d9"
3
- }
package/netlify.toml DELETED
@@ -1,11 +0,0 @@
1
- [build]
2
- command = "npm run build"
3
- publish = ".next" # Ensure this matches the Next.js output directory
4
- #publish = "./packages/ui/local-preview-bundle/.next" # Ensure this matches the Next.js output directory
5
-
6
- [build.environment]
7
- NODE_VERSION = "18"
8
- NPM_FLAGS = "--legacy-peer-deps"
9
-
10
- [[plugins]]
11
- package = "@netlify/plugin-nextjs"