@periskope/types 0.6.308 → 0.6.310

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.
@@ -1,21 +1,21 @@
1
- # Define the path to your package.json file
2
- $packageJsonPath = "./package.json"
3
-
4
- # Read the package.json file
5
- $packageJson = Get-Content $packageJsonPath -Raw | ConvertFrom-Json
6
-
7
- # Increment the patch version
8
- $versionParts = $packageJson.version -split '\.'
9
- $versionParts[2] = [int]$versionParts[2] + 1
10
- $newVersion = $versionParts -join '.'
11
-
12
- Write-Host "Updating package version to $newVersion"
13
-
14
- # Update the version in the object
15
- $packageJson.version = $newVersion
16
-
17
- # Convert the object back to JSON and save
18
- $packageJson | ConvertTo-Json -Depth 100 | Set-Content $packageJsonPath
19
-
20
- # Run npm command
21
- npm run update-package
1
+ # Define the path to your package.json file
2
+ $packageJsonPath = "./package.json"
3
+
4
+ # Read the package.json file
5
+ $packageJson = Get-Content $packageJsonPath -Raw | ConvertFrom-Json
6
+
7
+ # Increment the patch version
8
+ $versionParts = $packageJson.version -split '\.'
9
+ $versionParts[2] = [int]$versionParts[2] + 1
10
+ $newVersion = $versionParts -join '.'
11
+
12
+ Write-Host "Updating package version to $newVersion"
13
+
14
+ # Update the version in the object
15
+ $packageJson.version = $newVersion
16
+
17
+ # Convert the object back to JSON and save
18
+ $packageJson | ConvertTo-Json -Depth 100 | Set-Content $packageJsonPath
19
+
20
+ # Run npm command
21
+ npm run update-package