@adora-so/adora-js 0.0.4 → 0.0.5
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/package.json +1 -1
- package/README.md +0 -21
package/package.json
CHANGED
package/README.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# adora-js
|
|
2
|
-
|
|
3
|
-
## Patch Generation
|
|
4
|
-
|
|
5
|
-
### remove-postcss.patch
|
|
6
|
-
|
|
7
|
-
This patch removes unused PostCSS code from the `@adora-so/record` package. The patch was generated using the following steps:
|
|
8
|
-
|
|
9
|
-
1. Copy the original record.js file:
|
|
10
|
-
```bash
|
|
11
|
-
cp node_modules/.pnpm/@adora-so+record@2.0.0-alpha.17.5.15/node_modules/@adora-so/record/dist/record.js .
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
2. Manually remove the continuous chunk of unused PostCSS code from the copied `record.js` file.
|
|
15
|
-
|
|
16
|
-
3. Generate the patch by comparing the original and modified files:
|
|
17
|
-
```bash
|
|
18
|
-
diff -u node_modules/.pnpm/@adora-so+record@2.0.0-alpha.17.5.15/node_modules/@adora-so/record/dist/record.js record.js > patches/@adora-so/record@2.0.0-alpha.17.5.15/remove-postcss.patch
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
4. Correct the paths in the generated patch file to (both before and after should be `dist/record.js`).
|