Skip to content

Commit 3eaeee6

Browse files
authored
chore: target es5 for graphiql (#1477)
* target es5 for graphiql * more publish commands
1 parent f49a0c1 commit 3eaeee6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"pretty": "node resources/pretty.js",
5353
"pretty-check": "node resources/pretty.js --check",
5454
"format": "yarn eslint --fix && yarn pretty",
55-
"lerna-publish": "lerna publish",
55+
"lerna-publish": "yarn ci && yarn ci-e2e && lerna publish",
5656
"watch": "yarn tsc --watch",
5757
"start-graphiql": "yarn workspace graphiql dev"
5858
},

packages/graphiql/tsconfig.esm.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"outDir": "./esm",
66
"composite": false,
77
"jsx": "react",
8-
"baseUrl": "."
8+
"baseUrl": ".",
9+
"target": "es5"
910
},
1011
"include": ["src"],
1112
"exclude": [

packages/graphiql/tsconfig.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
"rootDir": "./src",
55
"outDir": "./dist",
66
"composite": true,
7-
"jsx": "preserve",
7+
"jsx": "react",
88
"baseUrl": ".",
9-
"strictPropertyInitialization": false,
10-
"types": ["node", "jest"],
11-
"lib": ["dom"]
9+
"target": "es5",
10+
"strictPropertyInitialization": false
1211
},
1312
"include": ["src"],
1413
"exclude": [

0 commit comments

Comments
 (0)