@elaraai/create-e3 1.0.0 → 1.0.1
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 +29 -0
- package/package.json +1 -1
- package/templates/e3/pyproject.toml +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# @elaraai/create-e3
|
|
2
|
+
|
|
3
|
+
Scaffold a new **e3** project — BSL-1.1, Node + Python, durable dataflow execution.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm create @elaraai/e3 my-solution
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
- Pass `.` instead of a name to scaffold into the current directory.
|
|
10
|
+
- Add `-- --install` to install dependencies (npm + `uv`) as part of scaffolding.
|
|
11
|
+
|
|
12
|
+
The generated project is driven by cross-platform npm scripts:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
cd my-solution
|
|
16
|
+
npm run setup # npm install + uv sync
|
|
17
|
+
npm run build # tsc
|
|
18
|
+
npm run test # build, export IR, run TS + Python tests
|
|
19
|
+
npm run start # deploy from source, then run the dataflow
|
|
20
|
+
npm run watch # auto-deploy + run on every save
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
The package is defined in `src/index.ts` as the default export and deployed
|
|
24
|
+
straight from source via `e3 workspace deploy --from-source`.
|
|
25
|
+
|
|
26
|
+
For an East-only (AGPL-3.0, Node-only) project, use
|
|
27
|
+
[`@elaraai/create-east`](https://www.npmjs.com/package/@elaraai/create-east).
|
|
28
|
+
|
|
29
|
+
Part of the [East](https://github.com/elaraai/east-workspace) ecosystem.
|
package/package.json
CHANGED
|
@@ -5,8 +5,9 @@ requires-python = ">=3.11"
|
|
|
5
5
|
version = "0.1.0"
|
|
6
6
|
dependencies = [
|
|
7
7
|
"elaraai-east-py",
|
|
8
|
-
|
|
9
|
-
"elaraai-east-py-
|
|
8
|
+
# Uncomment once these are published to PyPI:
|
|
9
|
+
# "elaraai-east-py-std",
|
|
10
|
+
# "elaraai-east-py-io",
|
|
10
11
|
"elaraai-east-py-datascience",
|
|
11
12
|
"elaraai-east-py-cli",
|
|
12
13
|
"pytest",
|