create-archos 0.0.0-stage → 0.1.0
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/LICENSE +34 -0
- package/README.md +26 -2
- package/args.js +8 -0
- package/bin.js +10 -0
- package/package.json +28 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Non-Commercial Source Available License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Arch Technologies Inc
|
|
4
|
+
|
|
5
|
+
## Permissions
|
|
6
|
+
|
|
7
|
+
You may:
|
|
8
|
+
|
|
9
|
+
- Use this software for personal, non-commercial purposes
|
|
10
|
+
- Modify the software for your own use
|
|
11
|
+
- Distribute copies of the software to others for non-commercial use
|
|
12
|
+
- Run instances of this software for yourself, your friends, or your family
|
|
13
|
+
|
|
14
|
+
## Restrictions
|
|
15
|
+
|
|
16
|
+
You may NOT:
|
|
17
|
+
|
|
18
|
+
- Use this software for any commercial purpose without a separate written agreement
|
|
19
|
+
- Host this software as a service for paying users
|
|
20
|
+
- Sell access to an instance of this software
|
|
21
|
+
- Integrate this software into a commercial product
|
|
22
|
+
- Use this software to generate revenue in any form (including advertising, donations, or paid support)
|
|
23
|
+
|
|
24
|
+
## Commercial Use
|
|
25
|
+
|
|
26
|
+
If you wish to use this software commercially (including hosting as a service), please contact:
|
|
27
|
+
|
|
28
|
+
hello@chuksemmanuel.com
|
|
29
|
+
|
|
30
|
+
A commercial license agreement will be provided. Pricing is negotiable based on your use case.
|
|
31
|
+
|
|
32
|
+
## No Warranty
|
|
33
|
+
|
|
34
|
+
This software is provided "as is" without warranty of any kind.
|
package/README.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
-
#
|
|
1
|
+
# create-archos
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Scaffold an archOS app without installing the CLI first:
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm create archos@latest my-app
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
It runs the same command as `arch init`, so everything the CLI accepts works here — including the
|
|
10
|
+
templates, and arguments after `--`:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm create archos@latest my-app -- --template sveltekit-fullstack
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
With no arguments it prompts for a name and a slug.
|
|
17
|
+
|
|
18
|
+
Then:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
cd my-app
|
|
22
|
+
pnpm install
|
|
23
|
+
arch dev
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
The CLI is [`archos`](https://www.npmjs.com/package/archos); this package exists so that
|
|
27
|
+
`npm create archos` works, and it does nothing else.
|
package/args.js
ADDED
package/bin.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createProgram } from 'archos';
|
|
3
|
+
|
|
4
|
+
import { toInitArgs } from './args.js';
|
|
5
|
+
|
|
6
|
+
// The scaffolding itself lives in the CLI, so this only has to hand it the
|
|
7
|
+
// arguments. Running the program in process keeps prompts, output, and exit
|
|
8
|
+
// codes exactly as `arch init` produces them.
|
|
9
|
+
const program = createProgram();
|
|
10
|
+
program.parse(['node', 'arch', ...toInitArgs(process.argv.slice(2))]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-archos",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Scaffold an archOS app: npm create archos@latest",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/chuksemmanuel/archos.git",
|
|
9
|
+
"directory": "packages/create-archos"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/chuksemmanuel/archos#readme",
|
|
12
|
+
"type": "module",
|
|
13
|
+
"bin": {
|
|
14
|
+
"create-archos": "./bin.js"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"bin.js",
|
|
18
|
+
"args.js",
|
|
19
|
+
"README.md"
|
|
20
|
+
],
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"archos": "0.1.0"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=20.11"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"lint": "prettier --check bin.js args.js tests README.md package.json",
|
|
29
|
+
"test": "node --test tests/*.test.mjs"
|
|
30
|
+
}
|
|
6
31
|
}
|