File tree Expand file tree Collapse file tree 4 files changed +77
-54
lines changed
examples/sveltekit/template-hierarchy-data-fetching-urql Expand file tree Collapse file tree 4 files changed +77
-54
lines changed Original file line number Diff line number Diff line change 22
22
".htaccess" : " ./wp-env/setup/.htaccess"
23
23
},
24
24
"lifecycleScripts" : {
25
- "afterStart" : " wp-env run cli -- wp theme activate twentytwentyone && wp-env run cli -- wp theme delete --all -- wp plugin delete hello-dolly && wp-env run cli -- wp rewrite structure '/%postname%/' && wp-env run cli -- wp rewrite flush"
25
+ "afterStart" : " wp-env run cli -- wp theme activate twentytwentyone && wp-env run cli -- wp theme delete --all && wp-env run cli -- wp plugin delete hello-dolly && wp-env run cli -- wp rewrite structure '/%postname%/' && wp-env run cli -- wp rewrite flush"
26
26
}
27
27
}
Original file line number Diff line number Diff line change 5
5
"scripts" : {
6
6
"example:bootstrap" : " npm install & npm run app:install" ,
7
7
"example:start" : " pnpm run wp:start && npm run app:dev" ,
8
- "example:setup" : " npm run example:bootstrap && npm run wp:start && npm run wp:db:import && npm run example:stop" ,
8
+ "example:setup" : " npm run example:bootstrap && npm run wp:uploads:unzip && npm run wp: start && npm run wp:db:import && npm run example:stop" ,
9
9
"example:stop" : " npm run wp:stop" ,
10
10
"example:prune" : " npm run wp:destroy && npm run example:setup && npm run example:start" ,
11
11
"app:dev" : " cd example-app && pwd && npm run dev && cd .." ,
14
14
"wp:stop" : " wp-env stop" ,
15
15
"wp:destroy" : " wp-env destroy --config ./wp-env/wp-env.json" ,
16
16
"wp:db:export" : " wp-env run cli -- wp db export /var/www/html/db/database.sql" ,
17
- "wp:db:import" : " wp-env run cli -- wp db import /var/www/html/db/database.sql"
17
+ "wp:db:import" : " wp-env run cli -- wp db import /var/www/html/db/database.sql" ,
18
+ "wp:uploads:unzip" : " rm -rf wp-env/uploads/ && unzip wp-env/uploads.zip;" ,
19
+ "wp:uploads:zip" : " zip -r wp-env/uploads.zip wp-env/uploads"
18
20
},
19
21
"devDependencies" : {
20
22
"@wordpress/env" : " ^10.21.0"
You can’t perform that action at this time.
0 commit comments