create-atmyapp 0.2.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.
Files changed (3) hide show
  1. package/README.md +15 -0
  2. package/index.js +9 -0
  3. package/package.json +29 -0
package/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # create-atmyapp
2
+
3
+ Create a new AtMyApp project.
4
+
5
+ ```bash
6
+ npm create atmyapp@latest
7
+ ```
8
+
9
+ You can also pass the project name up front:
10
+
11
+ ```bash
12
+ npm create atmyapp@latest my-site
13
+ ```
14
+
15
+ The initializer currently ships an Astro + Tailwind CSS + AtMyApp starter.
package/index.js ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { runCreateAtMyApp } = require("@atmyapp/cli/create");
4
+
5
+ runCreateAtMyApp().catch((error) => {
6
+ const message = error instanceof Error ? error.message : String(error);
7
+ console.error(`Error: ${message}`);
8
+ process.exit(1);
9
+ });
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "create-atmyapp",
3
+ "version": "0.2.0",
4
+ "description": "Create a new AtMyApp project.",
5
+ "license": "ISC",
6
+ "author": "Maciej Gamrot",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/At-My-App/atmyapp.git",
10
+ "directory": "packages/create-atmyapp"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "files": [
16
+ "index.js",
17
+ "README.md"
18
+ ],
19
+ "bin": {
20
+ "create-atmyapp": "./index.js"
21
+ },
22
+ "dependencies": {
23
+ "@atmyapp/cli": "^0.2.0"
24
+ },
25
+ "scripts": {
26
+ "build": "node --check index.js",
27
+ "test": "node --check index.js"
28
+ }
29
+ }