scimgateway 5.0.0 → 5.0.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 +7 -0
- package/lib/postinstall.ts +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1071,6 +1071,13 @@ MIT © [Jarle Elshaug](https://www.elshaug.xyz)
|
|
|
1071
1071
|
|
|
1072
1072
|
## Change log
|
|
1073
1073
|
|
|
1074
|
+
### v5.0.1
|
|
1075
|
+
|
|
1076
|
+
[Fixed]
|
|
1077
|
+
|
|
1078
|
+
Postinstall did not update index.ts when default bun index.ts did exist
|
|
1079
|
+
|
|
1080
|
+
|
|
1074
1081
|
### v5.0.0
|
|
1075
1082
|
|
|
1076
1083
|
**[MAJOR]**
|
package/lib/postinstall.ts
CHANGED
|
@@ -61,3 +61,9 @@ fs.writeFileSync('../../config/docker/docker-compose-debug.yml', fs.readFileSync
|
|
|
61
61
|
|
|
62
62
|
fs.writeFileSync('../../LICENSE', fs.readFileSync('./LICENSE'))
|
|
63
63
|
if (!fsExistsSync('../../index.ts')) fs.writeFileSync('../../index.ts', fs.readFileSync('./index.ts'))
|
|
64
|
+
else {
|
|
65
|
+
const buf = fs.readFileSync('../../index.ts')
|
|
66
|
+
if (buf.toString().startsWith('console.log')) { // default bun index.ts
|
|
67
|
+
fs.writeFileSync('../../index.ts', fs.readFileSync('./index.ts'))
|
|
68
|
+
}
|
|
69
|
+
}
|
package/package.json
CHANGED