Skip to content

Commit

Permalink
Update target to es2019 (#31)
Browse files Browse the repository at this point in the history
* feat: update target es2019

Signed-off-by: KeisukeYamashita <[email protected]>

* bump to v0.2.4

Signed-off-by: KeisukeYamashita <[email protected]>

---------

Signed-off-by: KeisukeYamashita <[email protected]>
  • Loading branch information
KeisukeYamashita authored Apr 14, 2023
1 parent 27e7e94 commit 3b97812
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
9 changes: 1 addition & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
{
"name": "graphql-citadel",
"version": "0.2.3",
"version": "0.2.4",
"description": "Easy to use schema-first GraphQL schema directive for authentication and authorization",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./errors": "./dist/errors/index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/KeraphQL/graphql-citadel.git"
Expand All @@ -17,9 +13,6 @@
"scripts": {
"build": "tsc"
},
"files": [
"dist/"
],
"keywords": [
"authentication",
"authorization",
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './citadelDirective'
export * from "./citadelDirective";
export * from "./errors";
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
/* Basic Options */
"target": "es2018" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
"target": "es2019" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
// "lib": [], /* Specify library files to be included in the compilation. */
// "allowJs": true, /* Allow javascript files to be compiled. */
Expand All @@ -12,7 +12,7 @@
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./dist" /* Redirect output structure to the directory. */,
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
// "composite": true, /* Enable project compilation */
// "incremental": true, /* Enable incremental compilation */
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
Expand Down

0 comments on commit 3b97812

Please sign in to comment.