create-flow-os 0.0.1-dev.1771777269 → 0.0.1-dev.1771777456
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/bin/index.js +4 -1
- package/package.json +1 -1
- package/profiles/client/README.md +28 -2
- package/profiles/full/README.md +28 -2
- package/profiles/server/README.md +28 -2
package/bin/index.js
CHANGED
|
@@ -824,7 +824,10 @@ function transformScriptsForCreatedProject(scripts) {
|
|
|
824
824
|
for (const [key, value] of Object.entries(scripts)) {
|
|
825
825
|
if (key === "release")
|
|
826
826
|
continue;
|
|
827
|
-
|
|
827
|
+
let s = value.replace(/packages\/([^/]+)\//g, "./node_modules/@flow.os/$1/");
|
|
828
|
+
if (/^bun\s+node_modules\//.test(s))
|
|
829
|
+
s = s.replace(/^bun\s+node_modules\//, "bun ./node_modules/");
|
|
830
|
+
out[key] = s;
|
|
828
831
|
}
|
|
829
832
|
return Object.keys(out).length ? out : undefined;
|
|
830
833
|
}
|
package/package.json
CHANGED
|
@@ -1,2 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# Flow OS
|
|
2
|
+
|
|
3
|
+
## Comandi
|
|
4
|
+
|
|
5
|
+
| Comando | Cosa fa |
|
|
6
|
+
|--------|---------|
|
|
7
|
+
| **dev** | Avvia il server di sviluppo (client + eventuale server). |
|
|
8
|
+
| **build** | Build di produzione del client. |
|
|
9
|
+
| **gen** | Rigenera `profiles/` e `packages/` da `config.json` e dai tag `// @flow: <id>` nei file. |
|
|
10
|
+
| **version** | Aggiorna la versione (patch/minor/major o valore esatto) nei package. Solo i package indicati, altrimenti tutti. |
|
|
11
|
+
| **release** | Pubblica su npm (tag `latest`). Solo i package indicati, altrimenti tutti. |
|
|
12
|
+
| **publish:dev** | Pubblica su npm con tag `dev` (versione `0.0.1-dev.<timestamp>`). |
|
|
13
|
+
|
|
14
|
+
**Esecuzione**
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
bun run dev
|
|
18
|
+
bun run build
|
|
19
|
+
bun run gen
|
|
20
|
+
|
|
21
|
+
bun run version -- patch
|
|
22
|
+
bun run version -- patch @flow.os/client create-flow-os
|
|
23
|
+
|
|
24
|
+
bun run release
|
|
25
|
+
bun run release -- @flow.os/client create-flow-os
|
|
26
|
+
|
|
27
|
+
bun run publish:dev
|
|
28
|
+
```
|
package/profiles/full/README.md
CHANGED
|
@@ -1,2 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# Flow OS
|
|
2
|
+
|
|
3
|
+
## Comandi
|
|
4
|
+
|
|
5
|
+
| Comando | Cosa fa |
|
|
6
|
+
|--------|---------|
|
|
7
|
+
| **dev** | Avvia il server di sviluppo (client + eventuale server). |
|
|
8
|
+
| **build** | Build di produzione del client. |
|
|
9
|
+
| **gen** | Rigenera `profiles/` e `packages/` da `config.json` e dai tag `// @flow: <id>` nei file. |
|
|
10
|
+
| **version** | Aggiorna la versione (patch/minor/major o valore esatto) nei package. Solo i package indicati, altrimenti tutti. |
|
|
11
|
+
| **release** | Pubblica su npm (tag `latest`). Solo i package indicati, altrimenti tutti. |
|
|
12
|
+
| **publish:dev** | Pubblica su npm con tag `dev` (versione `0.0.1-dev.<timestamp>`). |
|
|
13
|
+
|
|
14
|
+
**Esecuzione**
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
bun run dev
|
|
18
|
+
bun run build
|
|
19
|
+
bun run gen
|
|
20
|
+
|
|
21
|
+
bun run version -- patch
|
|
22
|
+
bun run version -- patch @flow.os/client create-flow-os
|
|
23
|
+
|
|
24
|
+
bun run release
|
|
25
|
+
bun run release -- @flow.os/client create-flow-os
|
|
26
|
+
|
|
27
|
+
bun run publish:dev
|
|
28
|
+
```
|
|
@@ -1,2 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# Flow OS
|
|
2
|
+
|
|
3
|
+
## Comandi
|
|
4
|
+
|
|
5
|
+
| Comando | Cosa fa |
|
|
6
|
+
|--------|---------|
|
|
7
|
+
| **dev** | Avvia il server di sviluppo (client + eventuale server). |
|
|
8
|
+
| **build** | Build di produzione del client. |
|
|
9
|
+
| **gen** | Rigenera `profiles/` e `packages/` da `config.json` e dai tag `// @flow: <id>` nei file. |
|
|
10
|
+
| **version** | Aggiorna la versione (patch/minor/major o valore esatto) nei package. Solo i package indicati, altrimenti tutti. |
|
|
11
|
+
| **release** | Pubblica su npm (tag `latest`). Solo i package indicati, altrimenti tutti. |
|
|
12
|
+
| **publish:dev** | Pubblica su npm con tag `dev` (versione `0.0.1-dev.<timestamp>`). |
|
|
13
|
+
|
|
14
|
+
**Esecuzione**
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
bun run dev
|
|
18
|
+
bun run build
|
|
19
|
+
bun run gen
|
|
20
|
+
|
|
21
|
+
bun run version -- patch
|
|
22
|
+
bun run version -- patch @flow.os/client create-flow-os
|
|
23
|
+
|
|
24
|
+
bun run release
|
|
25
|
+
bun run release -- @flow.os/client create-flow-os
|
|
26
|
+
|
|
27
|
+
bun run publish:dev
|
|
28
|
+
```
|