@wpmoo/odoo 0.8.66 → 0.8.68
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 +9 -7
- package/dist/cli.js +1 -1
- package/dist/daily-actions.js +1 -1
- package/dist/help.js +1 -1
- package/dist/templates.js +7 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-

|
|
2
2
|
|
|
3
|
-
[](https://github.com/wpmoo-org/wpmoo-odoo/actions/workflows/ci.yml) [](https://github.com/wpmoo-org/wpmoo-odoo) [](https://www.npmjs.com/package/@wpmoo/odoo) [](https://codecov.io/gh/wpmoo-org/wpmoo-odoo) [](LICENSE) [](https://github.com/wpmoo-org/wpmoo-odoo/actions/workflows/ci.yml) [](https://github.com/wpmoo-org/wpmoo-odoo) [](https://www.npmjs.com/package/@wpmoo/odoo) [](https://codecov.io/gh/wpmoo-org/wpmoo-odoo) [](LICENSE) [](https://github.com/wpmoo-org/wpmoo-odoo) [](https://www.buymeacoffee.com/cangir) [](https://www.patreon.com/wpmoo)
|
|
4
4
|
|
|
5
|
-
# WPMoo
|
|
5
|
+
# WPMoo Tool
|
|
6
6
|
|
|
7
|
-
WPMoo
|
|
7
|
+
WPMoo Tool is a development-first CLI for creating and operating Docker Compose based environments for Odoo, with source repositories managed as Git submodules.
|
|
8
8
|
|
|
9
9
|
It gives Odoo teams a repeatable environment layout, a guided cockpit for daily work, direct commands for automation, and recovery tools that refresh generated files without touching product source code.
|
|
10
10
|
|
|
11
|
+
WPMoo Tool is an independent project and is not affiliated with, endorsed by, or sponsored by Odoo S.A. Odoo is a trademark of Odoo S.A.
|
|
12
|
+
|
|
11
13
|
## Development Status
|
|
12
14
|
|
|
13
15
|
> [!IMPORTANT]
|
|
14
|
-
> **Pre-1.0 active development:** WPMoo
|
|
16
|
+
> **Pre-1.0 active development:** WPMoo Tool has not reached `1.0.0` yet. Until the `1.0.0` release, use it as a preview tool for evaluation, local trials, and feedback rather than a dependency for critical production workflows. Setup conventions and command behavior may still change between pre-1.0 releases.
|
|
15
17
|
|
|
16
|
-
## Why WPMoo
|
|
18
|
+
## Why WPMoo Tool
|
|
17
19
|
|
|
18
20
|
- Create a local Odoo development environment from a dev repository and one or more source repositories.
|
|
19
21
|
- Keep product source repositories under `odoo/custom/src/private`, `odoo/custom/src/oca`, or `odoo/custom/src/external` as Git submodules pinned to the selected Odoo branch.
|
|
@@ -423,7 +425,7 @@ npx @wpmoo/odoo doctor --fix
|
|
|
423
425
|
|
|
424
426
|
## External Resources
|
|
425
427
|
|
|
426
|
-
WPMoo
|
|
428
|
+
WPMoo Tool keeps the package small by copying external resources into generated environments:
|
|
427
429
|
|
|
428
430
|
```text
|
|
429
431
|
gh:wpmoo-org/odoo-docker-compose
|
package/dist/cli.js
CHANGED
|
@@ -831,7 +831,7 @@ export async function runCli(cliArgv = process.argv.slice(2), cwd = process.cwd(
|
|
|
831
831
|
outro(`Created Odoo dev overlay in ${resolvedOptions.target}. Review staged changes, then commit.`);
|
|
832
832
|
return;
|
|
833
833
|
}
|
|
834
|
-
intro('WPMoo
|
|
834
|
+
intro('WPMoo Tool');
|
|
835
835
|
while (true) {
|
|
836
836
|
try {
|
|
837
837
|
const status = await getEnvironmentStatus(cwd);
|
package/dist/daily-actions.js
CHANGED
|
@@ -150,7 +150,7 @@ async function assertEnvironmentRoot(cwd) {
|
|
|
150
150
|
await access(join(cwd, markerPath));
|
|
151
151
|
}
|
|
152
152
|
catch {
|
|
153
|
-
throw new Error('Daily actions must be run from a WPMoo
|
|
153
|
+
throw new Error('Daily actions must be run from a WPMoo Tool environment root containing .wpmoo/odoo.json.');
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
async function assertScriptExists(cwd, script) {
|
package/dist/help.js
CHANGED
package/dist/templates.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { packageName, packageVersion } from './version.js';
|
|
2
|
+
function fallbackPackageSpec() {
|
|
3
|
+
return `${packageName()}@${packageVersion()}`;
|
|
4
|
+
}
|
|
1
5
|
export function defaultCommunityAddons(product) {
|
|
2
6
|
return [product];
|
|
3
7
|
}
|
|
@@ -218,7 +222,7 @@ exposes them through \`/mnt/wpmoo-addons\`.
|
|
|
218
222
|
\`./moo\` routes day-to-day service and module workflows to local scripts in
|
|
219
223
|
\`./scripts/\` (for example \`start\`, \`logs\`, \`update\`, \`test\`, \`snapshot\`).
|
|
220
224
|
\`./moo status\` and \`./moo doctor\` are package fallback commands that run via
|
|
221
|
-
\`npx --yes
|
|
225
|
+
\`npx --yes ${fallbackPackageSpec()} ...\`.
|
|
222
226
|
|
|
223
227
|
### Start And Inspect Services
|
|
224
228
|
|
|
@@ -547,7 +551,7 @@ case "$command" in
|
|
|
547
551
|
run_script ./scripts/pot.sh "$@"
|
|
548
552
|
;;
|
|
549
553
|
*)
|
|
550
|
-
exec npx --yes
|
|
554
|
+
exec npx --yes ${fallbackPackageSpec()} "$@"
|
|
551
555
|
;;
|
|
552
556
|
esac
|
|
553
557
|
`;
|
|
@@ -705,7 +709,7 @@ Useful maintenance commands:
|
|
|
705
709
|
|
|
706
710
|
Daily script delegation vs package fallback:
|
|
707
711
|
- \`./moo start\`, \`logs\`, \`install\`, \`update\`, \`test\`, \`snapshot\`, and related runtime tasks delegate to local \`./scripts/*.sh\`.
|
|
708
|
-
- \`./moo status\` and \`./moo doctor\` are package fallback commands routed to \`npx --yes
|
|
712
|
+
- \`./moo status\` and \`./moo doctor\` are package fallback commands routed to \`npx --yes ${fallbackPackageSpec()} ...\`.
|
|
709
713
|
|
|
710
714
|
Only report completion after the relevant update/test/lint command exits cleanly.
|
|
711
715
|
`;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wpmoo/odoo",
|
|
3
|
-
"version": "0.8.
|
|
4
|
-
"description": "WPMoo
|
|
3
|
+
"version": "0.8.68",
|
|
4
|
+
"description": "WPMoo Tool for Odoo development, staging, and production lifecycle workflows.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|