@pradip1995/create-storefront-app 0.4.1 → 0.4.3
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/lib/medusa-plugin-versions.json +3 -0
- package/lib/scaffold-backend.js +1 -1
- package/lib/versions.js +1 -1
- package/package.json +1 -1
- package/templates/backend/README.md +1 -1
- package/templates/docker/data/dump.sql +12120 -3
- package/templates/docker/docker/postgres/docker-entrypoint-wrapper.sh +45 -9
package/lib/scaffold-backend.js
CHANGED
|
@@ -104,7 +104,7 @@ export function scaffoldBackend(backendRoot, args) {
|
|
|
104
104
|
"backend:build": "backend-build",
|
|
105
105
|
"db:migrate":
|
|
106
106
|
"npm run backend:build && cd .generated-backend && npm install && npx medusa db:migrate",
|
|
107
|
-
dev: "npm run backend:build && cd .generated-backend && npm install && npm run dev",
|
|
107
|
+
dev: "npm run backend:build && cd .generated-backend && npm install && npx medusa db:migrate && npm run dev",
|
|
108
108
|
build:
|
|
109
109
|
"npm run backend:build && cd .generated-backend && npm install && npm run build",
|
|
110
110
|
start:
|
package/lib/versions.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Published package semver ranges — bump when releasing framework/components. */
|
|
2
2
|
export const COMMERCE_CORE_VERSION = "^4.0.2"
|
|
3
3
|
export const FRAMEWORK_VERSION = "^0.2.1"
|
|
4
|
-
export const FRAMEWORK_COMPILER_VERSION = "^0.3.
|
|
4
|
+
export const FRAMEWORK_COMPILER_VERSION = "^0.3.3"
|
|
5
5
|
export const COMPONENTS_VERSION = ">=0.2.0 <0.4.0"
|
|
6
6
|
|
|
7
7
|
export const FRAMEWORK_PACKAGES = [
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@ Medusa source is **generated** into `.generated-backend/` — same pattern as `s
|
|
|
13
13
|
## Commands
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npm run dev # backend-build → medusa develop
|
|
16
|
+
npm run dev # backend-build → migrate → medusa develop
|
|
17
17
|
npm run db:migrate # first time (run twice on fresh DB if needed)
|
|
18
18
|
npm run build # backend-build → medusa build
|
|
19
19
|
npm run seed # seed demo data
|