Skip to content

Commit 5b45190

Browse files
authored
chore: update package version to 1.0.9 and add Babel TypeScript support (#34)
1 parent 974640d commit 5b45190

File tree

3 files changed

+98
-5
lines changed

3 files changed

+98
-5
lines changed

babel.config.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,21 @@
33
[
44
"@babel/preset-env",
55
{
6-
"targets": "> 0.25%, not dead"
6+
"targets": {
7+
"browsers": [
8+
"> 0.25%",
9+
"not dead",
10+
"not op_mini all"
11+
]
12+
},
13+
"bugfixes": true
714
}
8-
]
15+
],
16+
"@babel/preset-typescript"
17+
],
18+
"plugins": [
19+
"@babel/plugin-transform-class-properties",
20+
"@babel/plugin-transform-optional-chaining",
21+
"@babel/plugin-transform-nullish-coalescing-operator"
922
]
1023
}

package-lock.json

Lines changed: 78 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@picahq/authkit",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "Frontend bindings for Pica AuthKit",
55
"files": [
66
"dist",
@@ -13,7 +13,11 @@
1313
"types": "dist/index.d.ts",
1414
"devDependencies": {
1515
"@babel/core": "^7.24.0",
16+
"@babel/plugin-transform-class-properties": "^7.28.6",
17+
"@babel/plugin-transform-nullish-coalescing-operator": "^7.28.6",
18+
"@babel/plugin-transform-optional-chaining": "^7.28.6",
1619
"@babel/preset-env": "^7.24.0",
20+
"@babel/preset-typescript": "^7.28.5",
1721
"@rollup/plugin-babel": "^6.0.4",
1822
"@rollup/plugin-commonjs": "^25.0.7",
1923
"@rollup/plugin-json": "^6.1.0",

0 commit comments

Comments
 (0)