Skip to content

Commit c45ebd9

Browse files
authored
chore: update [email protected] (#46)
1 parent 254f7fd commit c45ebd9

File tree

3 files changed

+48
-4
lines changed

3 files changed

+48
-4
lines changed

.azure-pipelines/pipeline.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,54 @@ extends:
2727
- name: sqlite3
2828

2929
buildSteps:
30+
- script: |
31+
set -e
32+
includes=$(cat << 'EOF'
33+
{
34+
"target_defaults": {
35+
"conditions": [
36+
["OS=='linux'", {
37+
'cflags_cc!': [ '-std=gnu++20' ],
38+
'cflags_cc': [ '-std=gnu++2a' ],
39+
}]
40+
]
41+
}
42+
}
43+
EOF
44+
)
45+
if [ ! -d "$HOME/.gyp" ]; then
46+
mkdir -p "$HOME/.gyp"
47+
fi
48+
echo "$includes" > "$HOME/.gyp/include.gypi"
49+
displayName: Override gnu target for older sysroot
50+
condition: eq(variables['Agent.OS'], 'Linux')
51+
3052
- script: yarn install
3153
displayName: Install and build
3254

3355
testSteps:
56+
- script: |
57+
set -e
58+
includes=$(cat << 'EOF'
59+
{
60+
"target_defaults": {
61+
"conditions": [
62+
["OS=='linux'", {
63+
'cflags_cc!': [ '-std=gnu++20' ],
64+
'cflags_cc': [ '-std=gnu++2a' ],
65+
}]
66+
]
67+
}
68+
}
69+
EOF
70+
)
71+
if [ ! -d "$HOME/.gyp" ]; then
72+
mkdir -p "$HOME/.gyp"
73+
fi
74+
echo "$includes" > "$HOME/.gyp/include.gypi"
75+
displayName: Override gnu target for older sysroot
76+
condition: eq(variables['Agent.OS'], 'Linux')
77+
3478
- script: yarn install
3579
displayName: Install and build
3680

.yarnrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
disturl "https://electronjs.org/headers"
2-
target "19.1.3"
2+
target "32.1.2"
33
runtime "electron"

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@vscode/sqlite3",
33
"description": "Asynchronous, non-blocking SQLite3 bindings",
4-
"version": "5.1.6-vscode",
4+
"version": "5.1.7-vscode",
55
"homepage": "https://github.com/microsoft/vscode-node-sqlite3",
66
"author": {
77
"name": "Mapbox",
@@ -48,11 +48,11 @@
4848
"url": "https://github.com/microsoft/vscode-node-sqlite3.git"
4949
},
5050
"dependencies": {
51-
"node-addon-api": "^4.2.0",
51+
"node-addon-api": "^8.2.0",
5252
"tar": "^6.1.11"
5353
},
5454
"devDependencies": {
55-
"electron": "22.3.25",
55+
"electron": "32.1.2",
5656
"eslint": "^7.32.0",
5757
"mocha": "7.2.0"
5858
},

0 commit comments

Comments
 (0)