sqlx-ts 0.25.0 → 0.27.0
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/local-postinstall.js +10 -0
- package/package.json +2 -1
- package/postinstall.js +1 -1
- package/sqlx-ts +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This script is executed as part of sqlx-ts CI pipeline to test local ../scripts/install.sh changes
|
|
2
|
+
// DO NOT USE THIS IN PRODUCTION
|
|
3
|
+
let execSync = require('child_process').execSync
|
|
4
|
+
let tag = require('./package.json').version
|
|
5
|
+
|
|
6
|
+
const os = process.platform
|
|
7
|
+
const cpu = process.arch
|
|
8
|
+
|
|
9
|
+
execSync(`sh ../scripts/install.sh -s -- --os ${os} --cpu ${cpu} --tag ${tag} -f`, { stdio: 'inherit' })
|
|
10
|
+
console.info('sqlx-ts installation successful')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sqlx-ts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "sqlx-ts ensures your raw SQLs are compile-time checked",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"maintainers": [
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/jest": "^27.4.1",
|
|
22
|
+
"@types/node": "^20.14.8",
|
|
22
23
|
"@typescript-eslint/eslint-plugin": "^5.19.0",
|
|
23
24
|
"@typescript-eslint/parser": "^5.19.0",
|
|
24
25
|
"eslint": "^8.13.0",
|
package/postinstall.js
CHANGED
|
@@ -4,5 +4,5 @@ let tag = require('./package.json').version
|
|
|
4
4
|
const os = process.platform
|
|
5
5
|
const cpu = process.arch
|
|
6
6
|
|
|
7
|
-
execSync(`curl -LSfs https://jasonshin.github.io/sqlx-ts/install.sh |
|
|
7
|
+
execSync(`curl -LSfs https://jasonshin.github.io/sqlx-ts/install.sh | sh -s -- --os ${os} --cpu ${cpu} --tag ${tag} -f`, { stdio: 'inherit' })
|
|
8
8
|
console.info('sqlx-ts installation successful')
|
package/sqlx-ts
CHANGED
|
Binary file
|