cwresdev 0.1.0 → 0.1.1
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 +1 -42
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,42 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Add a script to the consuming project's `package.json`:
|
|
3
|
-
|
|
4
|
-
Project shape:
|
|
5
|
-
|
|
6
|
-
```text
|
|
7
|
-
your-project/
|
|
8
|
-
package.json
|
|
9
|
-
virtual_env/
|
|
10
|
-
index.html
|
|
11
|
-
hello.php
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
Start the server:
|
|
15
|
-
|
|
16
|
-
```powershell
|
|
17
|
-
npm run dev
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## This Package
|
|
21
|
-
|
|
22
|
-
This repository is the package source. Before publishing, vendor the Windows PHP runtime into the main package:
|
|
23
|
-
|
|
24
|
-
```powershell
|
|
25
|
-
npm install
|
|
26
|
-
npm run bundle:php
|
|
27
|
-
npm test
|
|
28
|
-
npm run pack:check
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
Stop any running `cwrespro` server before publishing. On Windows, a live PHP process can leave the bundled runtime partially locked, and `npm run pack:check` is meant to catch that before release.
|
|
32
|
-
|
|
33
|
-
Then publish:
|
|
34
|
-
|
|
35
|
-
```powershell
|
|
36
|
-
npm login
|
|
37
|
-
npm publish --access public
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
```powershell
|
|
41
|
-
npm test
|
|
42
|
-
```
|
|
1
|
+
cwresdev
|