@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.
- package/dist/rules.types.d.ts +47 -19
- package/dist/rules.types.d.ts.map +1 -1
- package/dist/rules.types.js +51 -0
- package/dist/supabase.types.d.ts +39 -184
- package/dist/supabase.types.d.ts.map +1 -1
- package/dist/types.d.ts +205 -8
- package/dist/types.d.ts.map +1 -1
- package/mod_json_type.ps1 +108 -108
- package/mod_json_type.sh +22 -22
- package/package.json +19 -19
- package/src/index.ts +4 -4
- package/src/object.types.ts +100 -100
- package/src/rules.types.ts +2304 -2210
- package/src/supabase.types.ts +3538 -3538
- package/src/types.ts +1511 -1510
- package/src/workflows.types.ts +955 -955
- package/tsconfig.json +37 -37
- package/tsconfig.tsbuildinfo +1 -1
- package/update_package.ps1 +21 -21
package/update_package.ps1
CHANGED
|
@@ -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
|