arri 0.0.1 → 0.0.4

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/package.json CHANGED
@@ -1,21 +1,28 @@
1
1
  {
2
- "name": "arri",
3
- "version": "0.0.1",
4
- "type": "module",
5
- "main": "./dist/index.cjs",
6
- "module": "./dist/index.mjs",
7
- "types": "./dist/index.d.ts",
8
- "files": [
9
- "dist"
10
- ],
11
- "bin": {
12
- "arri": "./dist/cli.cjs"
13
- },
14
- "dependencies": {
15
- "citty": "^0.1.2",
16
- "consola": "^3.2.3",
17
- "h3": "^1.7.1",
18
- "h3-zod": "^0.5.1",
19
- "zod": "^3.21.4"
20
- }
21
- }
2
+ "name": "arri",
3
+ "type": "module",
4
+ "main": "./dist/index.cjs",
5
+ "module": "./dist/index.mjs",
6
+ "types": "./dist/index.d.ts",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "bin": {
11
+ "arri": "./dist/cli.mjs"
12
+ },
13
+ "dependencies": {
14
+ "@sinclair/typebox": "^0.31.4",
15
+ "h3": "^1.8.0",
16
+ "scule": "^1.0.0",
17
+ "citty": "^0.1.3",
18
+ "pathe": "^1.1.1",
19
+ "globby": "^13.2.2",
20
+ "c12": "^1.4.2",
21
+ "chokidar": "^3.5.3",
22
+ "listhen": "^1.4.0"
23
+ },
24
+ "version": "0.0.4",
25
+ "repository": {
26
+ "url": "https://github.com/modiimedia/arri"
27
+ }
28
+ }
package/README.md DELETED
@@ -1,11 +0,0 @@
1
- # server
2
-
3
- This library was generated with [Nx](https://nx.dev).
4
-
5
- ## Building
6
-
7
- Run `nx build server` to build the library.
8
-
9
- ## Running unit tests
10
-
11
- Run `nx test server` to execute the unit tests via [Jest](https://jestjs.io).
package/dist/cli.cjs DELETED
@@ -1,55 +0,0 @@
1
- #!/user/bin/env node
2
- 'use strict';
3
-
4
- const citty = require('citty');
5
- const consola = require('consola');
6
-
7
- const devLogger = consola.consola.create({});
8
- consola.consola.create({});
9
-
10
- const dev = citty.defineCommand({
11
- meta: {
12
- name: "dev"
13
- },
14
- args: {
15
- config: {
16
- type: "string",
17
- description: "path to a config file",
18
- default: "./arri.config.ts",
19
- alias: "c",
20
- valueHint: "./arri.config.ts"
21
- }
22
- },
23
- run({ args }) {
24
- devLogger.log(args.config);
25
- }
26
- });
27
-
28
- const build = citty.defineCommand({
29
- meta: {
30
- name: "build"
31
- },
32
- args: {
33
- config: {
34
- type: "string",
35
- alias: "c",
36
- default: "./arri.config.ts",
37
- valueHint: "./arri.config.ts"
38
- }
39
- },
40
- run({ args }) {
41
- devLogger.log("Running build");
42
- devLogger.log(args.config);
43
- }
44
- });
45
-
46
- const main = citty.defineCommand({
47
- meta: {
48
- name: "arri"
49
- },
50
- subCommands: {
51
- dev,
52
- build
53
- }
54
- });
55
- citty.runMain(main);
package/dist/cli.d.ts DELETED
@@ -1,2 +0,0 @@
1
-
2
- export { }
package/dist/cli.mjs DELETED
@@ -1,53 +0,0 @@
1
- #!/user/bin/env node
2
- import { defineCommand, runMain } from 'citty';
3
- import { consola } from 'consola';
4
-
5
- const devLogger = consola.create({});
6
- consola.create({});
7
-
8
- const dev = defineCommand({
9
- meta: {
10
- name: "dev"
11
- },
12
- args: {
13
- config: {
14
- type: "string",
15
- description: "path to a config file",
16
- default: "./arri.config.ts",
17
- alias: "c",
18
- valueHint: "./arri.config.ts"
19
- }
20
- },
21
- run({ args }) {
22
- devLogger.log(args.config);
23
- }
24
- });
25
-
26
- const build = defineCommand({
27
- meta: {
28
- name: "build"
29
- },
30
- args: {
31
- config: {
32
- type: "string",
33
- alias: "c",
34
- default: "./arri.config.ts",
35
- valueHint: "./arri.config.ts"
36
- }
37
- },
38
- run({ args }) {
39
- devLogger.log("Running build");
40
- devLogger.log(args.config);
41
- }
42
- });
43
-
44
- const main = defineCommand({
45
- meta: {
46
- name: "arri"
47
- },
48
- subCommands: {
49
- dev,
50
- build
51
- }
52
- });
53
- runMain(main);