create-resuxjs 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 +9 -0
  2. package/index.js +10 -0
  3. package/package.json +29 -0
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # create-resuxjs
2
+
3
+ Create a Resux app:
4
+
5
+ ```sh
6
+ npm create resuxjs@latest my-app
7
+ ```
8
+
9
+ This package delegates to the `resuxjs` app scaffolder.
package/index.js ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire } from "node:module";
3
+ import path from "node:path";
4
+ import { pathToFileURL } from "node:url";
5
+
6
+ const require = createRequire(import.meta.url);
7
+ const resuxEntry = require.resolve("resuxjs");
8
+ const createEntry = path.join(path.dirname(resuxEntry), "create.js");
9
+
10
+ await import(pathToFileURL(createEntry).href);
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "create-resuxjs",
3
+ "version": "0.2.0",
4
+ "private": false,
5
+ "type": "module",
6
+ "description": "Create a Resux app.",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/MahmoudAbdalrhmanMohamed/resux.git",
10
+ "directory": "packages/create-resuxjs"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/MahmoudAbdalrhmanMohamed/resux/issues"
14
+ },
15
+ "homepage": "https://github.com/MahmoudAbdalrhmanMohamed/resux#readme",
16
+ "files": [
17
+ "index.js",
18
+ "README.md"
19
+ ],
20
+ "bin": {
21
+ "create-resuxjs": "index.js"
22
+ },
23
+ "dependencies": {
24
+ "resuxjs": "^0.2.0"
25
+ },
26
+ "engines": {
27
+ "node": ">=20.19.0"
28
+ }
29
+ }