File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
node_modules /
2
- temp /
2
+ demo /
3
3
.DS_Store
Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ Report bugs in the [issues list](https://github.com/scriptPilot/add-php-backend/
50
50
51
51
# # Maintainer
52
52
53
- 1. Commit changes with an issue (closure) reference
54
- 2. Run ` npm version patch | minor | major` and push changes
55
- 3. Let the workflow manage the release to GitHub and NPM
53
+ 1. Apply changes
54
+ 2. Run ` npm run backend` to build the ` demo` folder
55
+ 3. Commit changes with an issue (closure) reference
56
+ 4. Run ` npm version patch | minor | major` and push changes
57
+ 5. 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 temp && node . && cd temp && npm run backend" ,
10
+ "backend" : " rm -rf demo && node . && cd demo && npm run backend" ,
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 , '../temp ' ) : processFolder
13
+ const appFolder = isDevMode ? path . resolve ( scriptFolder , '../demo ' ) : 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