atria 0.0.3

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,31 @@
1
+ # atria
2
+
3
+ Unscoped wrapper for `@atria/cli`.
4
+
5
+ This package exists so users can install and run the atria CLI without using a scoped package name.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -D atria
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```bash
16
+ npx atria init my-project
17
+ npx atria dev my-project
18
+ ```
19
+
20
+ ## Programmatic API
21
+
22
+ ```ts
23
+ import { runCli } from "atria";
24
+
25
+ await runCli(process.argv);
26
+ ```
27
+
28
+ ## Relationship to `@atria/cli`
29
+
30
+ - `atria` forwards CLI execution to `@atria/cli`.
31
+ - Feature behavior and command surface are the same.
package/dist/bin.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
package/dist/bin.js ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+ import { runCli } from "@atria/cli";
3
+ runCli(process.argv).catch((error) => {
4
+ const message = error instanceof Error ? error.message : String(error);
5
+ console.error(`[atria] ${message}`);
6
+ process.exit(1);
7
+ });
8
+ //# sourceMappingURL=bin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bin.js","sourceRoot":"","sources":["../src/bin.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEpC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACnC,MAAM,OAAO,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvE,OAAO,CAAC,KAAK,CAAC,WAAW,OAAO,EAAE,CAAC,CAAC;IACpC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export { runCli } from "@atria/cli";
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export { runCli } from "@atria/cli";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC"}
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "atria",
3
+ "version": "0.0.3",
4
+ "description": "Unscoped atria CLI wrapper package",
5
+ "keywords": [
6
+ "atria",
7
+ "cms",
8
+ "cli",
9
+ "tooling",
10
+ "unscoped"
11
+ ],
12
+ "license": "MIT",
13
+ "type": "module",
14
+ "bin": {
15
+ "atria": "dist/bin.js"
16
+ },
17
+ "main": "dist/index.js",
18
+ "types": "dist/index.d.ts",
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "scripts": {
23
+ "build": "tsc -p tsconfig.json",
24
+ "clean": "rm -rf dist",
25
+ "prepublishOnly": "tsc -p tsconfig.json"
26
+ },
27
+ "dependencies": {
28
+ "@atria/cli": "workspace:*"
29
+ },
30
+ "publishConfig": {
31
+ "access": "public"
32
+ },
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "git+https://github.com/atria-io/atria.git",
36
+ "directory": "packages/atria"
37
+ }
38
+ }