File tree Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1
1
node_modules /
2
- demo /
2
+ demo-app /
3
3
.DS_Store
Original file line number Diff line number Diff line change @@ -53,7 +53,16 @@ Report bugs in the [issues list](https://github.com/scriptPilot/add-php-backend/
53
53
# # Maintainer
54
54
55
55
1. Apply changes
56
- 2. Run ` npm run backend ` to build the ` demo` folder
56
+ 2. Run ` npm run demo ` to build and start the ` demo-app `
57
57
3. Commit changes with an issue (closure) reference
58
58
4. Run ` npm version patch | minor | major` and push changes
59
59
5. Let the workflow manage the release to GitHub and NPM
60
+
61
+ # # Maintainer
62
+
63
+ 1. Apply changes to the code
64
+ 2. Run ` npm run demo` to build and start the ` demo-app`
65
+ 3. Apply changes to the ` README.md` file and screenshots
66
+ 4. Commit changes with an issue (closure) reference
67
+ 5. Run ` npm version patch | minor | major` and push changes
68
+ 6. Let the workflow manage the release to GitHub and NPM
Original file line number Diff line number Diff line change 7
7
"type" : " module" ,
8
8
"scripts" : {
9
9
"test" : " " ,
10
- "backend " : " rm -rf demo && node . && cd demo && npm run backend " ,
10
+ "demo " : " rm -rf demo-app && npm create vite demo-app -- --template react && node . && cd demo-app && npm install && npm run dev " ,
11
11
"preversion" : " npm install && npm test"
12
12
},
13
13
"repository" : {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import fs from 'fs-extra'
10
10
const scriptFolder = path . dirname ( url . fileURLToPath ( import . meta. url ) )
11
11
const processFolder = process . cwd ( )
12
12
const isDevMode = processFolder === path . resolve ( scriptFolder , '..' )
13
- const appFolder = isDevMode ? path . resolve ( scriptFolder , '../demo' ) : processFolder
13
+ const appFolder = isDevMode ? path . resolve ( scriptFolder , '../demo-app ' ) : processFolder
14
14
const templateFolder = path . resolve ( scriptFolder , 'templates' )
15
15
16
16
// Define files
You can’t perform that action at this time.
0 commit comments