@proteinjs/app-version-common 1.0.1

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/.eslintrc.js ADDED
@@ -0,0 +1,20 @@
1
+ module.exports = {
2
+ extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', 'prettier'],
3
+ parser: '@typescript-eslint/parser',
4
+ plugins: ['@typescript-eslint', 'prettier'],
5
+ root: true,
6
+ ignorePatterns: ['**/dist/*', '**/node_modules/*', '*.md'],
7
+
8
+ rules: {
9
+ 'prettier/prettier': ['warn'],
10
+ curly: ['warn'],
11
+ 'eol-last': ['warn', 'always'],
12
+ 'keyword-spacing': ['warn', { before: true }],
13
+ 'no-undef': 'off',
14
+ '@typescript-eslint/no-unused-vars': 'off',
15
+ '@typescript-eslint/no-var-requires': 'off',
16
+ '@typescript-eslint/no-explicit-any': 'off',
17
+ '@typescript-eslint/prefer-as-const': 'off',
18
+ '@typescript-eslint/ban-types': 'off',
19
+ },
20
+ };
@@ -0,0 +1,4 @@
1
+ node_modules/
2
+ dist/
3
+ .DS_Store
4
+ *.md
package/.prettierrc ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "trailingComma": "es5",
3
+ "tabWidth": 2,
4
+ "semi": true,
5
+ "singleQuote": true,
6
+ "jsxSingleQuote": true,
7
+ "printWidth": 120
8
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,11 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ## 1.0.1 (2024-08-02)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * initial implementation of `app-version-common` ([0f17806](https://github.com/proteinjs/notifications/commit/0f17806a7d4315b49e627a73aefab59d0098bfc7))
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Brent Bahry
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,5 @@
1
+ /** Load Dependency Source Graphs */
2
+ import '@proteinjs/reflection';
3
+ import '@proteinjs/service';
4
+ export * from '../index';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../generated/index.ts"],"names":[],"mappings":"AAAA,oCAAoC;AAEpC,OAAO,uBAAuB,CAAC;AAC/B,OAAO,oBAAoB,CAAC;AAqB5B,cAAc,UAAU,CAAC"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ /** Load Dependency Source Graphs */
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ require("@proteinjs/reflection");
19
+ require("@proteinjs/service");
20
+ /** Generate Source Graph */
21
+ const sourceGraph = "{\"options\":{\"directed\":true,\"multigraph\":false,\"compound\":false},\"nodes\":[{\"v\":\"@proteinjs/app-version-common/LatestVersionRequiringUpdate\",\"value\":{\"packageName\":\"@proteinjs/app-version-common\",\"name\":\"LatestVersionRequiringUpdate\",\"filePath\":\"/home/runner/work/notifications/notifications/packages/app-version/common/src/LatestVersionRequiringUpdate.ts\",\"qualifiedName\":\"@proteinjs/app-version-common/LatestVersionRequiringUpdate\",\"properties\":[{\"name\":\"version\",\"type\":{\"packageName\":\"\",\"name\":\"string\",\"filePath\":null,\"qualifiedName\":\"/string\",\"typeParameters\":null,\"directParents\":null},\"isOptional\":false,\"isAbstract\":false,\"isStatic\":false,\"visibility\":\"public\"}],\"methods\":[],\"typeParameters\":[],\"directParents\":[{\"packageName\":\"@proteinjs/reflection\",\"name\":\"Loadable\",\"filePath\":null,\"qualifiedName\":\"@proteinjs/reflection/Loadable\",\"properties\":[],\"methods\":[],\"typeParameters\":[],\"directParents\":[]}],\"sourceType\":3}},{\"v\":\"@proteinjs/reflection/Loadable\"},{\"v\":\"@proteinjs/app-version-common/VersionCheckerService\",\"value\":{\"packageName\":\"@proteinjs/app-version-common\",\"name\":\"VersionCheckerService\",\"filePath\":\"/home/runner/work/notifications/notifications/packages/app-version/common/src/services/VersionCheckerService.ts\",\"qualifiedName\":\"@proteinjs/app-version-common/VersionCheckerService\",\"properties\":[],\"methods\":[{\"name\":\"needToUpdate\",\"returnType\":{\"packageName\":\"\",\"name\":\"Promise<boolean>\",\"filePath\":null,\"qualifiedName\":\"/Promise<boolean>\",\"typeParameters\":null,\"directParents\":null},\"isAsync\":false,\"isOptional\":false,\"isAbstract\":true,\"isStatic\":false,\"visibility\":\"public\",\"parameters\":[{\"name\":\"currentVersion\",\"type\":{\"packageName\":\"\",\"name\":\"string\",\"filePath\":null,\"qualifiedName\":\"/string\",\"typeParameters\":null,\"directParents\":null}}]}],\"typeParameters\":[],\"directParents\":[{\"packageName\":\"@proteinjs/service\",\"name\":\"Service\",\"filePath\":null,\"qualifiedName\":\"@proteinjs/service/Service\",\"properties\":[],\"methods\":[],\"typeParameters\":[],\"directParents\":[]}],\"sourceType\":3}},{\"v\":\"@proteinjs/service/Service\"}],\"edges\":[{\"v\":\"@proteinjs/app-version-common/LatestVersionRequiringUpdate\",\"w\":\"@proteinjs/reflection/Loadable\",\"value\":\"extends interface\"},{\"v\":\"@proteinjs/app-version-common/VersionCheckerService\",\"w\":\"@proteinjs/service/Service\",\"value\":\"extends interface\"}]}";
22
+ /** Generate Source Links */
23
+ const sourceLinks = {};
24
+ /** Load Source Graph and Links */
25
+ const reflection_1 = require("@proteinjs/reflection");
26
+ reflection_1.SourceRepository.merge(sourceGraph, sourceLinks);
27
+ __exportStar(require("../index"), exports);
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../generated/index.ts"],"names":[],"mappings":";AAAA,oCAAoC;;;;;;;;;;;;;;;;AAEpC,iCAA+B;AAC/B,8BAA4B;AAG5B,4BAA4B;AAE5B,MAAM,WAAW,GAAG,igFAAigF,CAAC;AAGthF,4BAA4B;AAG5B,MAAM,WAAW,GAAG,EACnB,CAAC;AAGF,kCAAkC;AAElC,sDAAyD;AACzD,6BAAgB,CAAC,KAAK,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AAGjD,2CAAyB"}
@@ -0,0 +1,3 @@
1
+ export * from './src/LatestVersionRequiringUpdate';
2
+ export * from './src/services/VersionCheckerService';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./src/LatestVersionRequiringUpdate"), exports);
18
+ __exportStar(require("./src/services/VersionCheckerService"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAmD;AACnD,uEAAqD"}
@@ -0,0 +1,18 @@
1
+ import { Loadable } from '@proteinjs/reflection';
2
+ export declare const getLatestVersionRequiringUpdate: () => LatestVersionRequiringUpdate;
3
+ /**
4
+ * Implement this interface to provide the latest version of your app that
5
+ * contains changes the user should get a fresh bundle for.
6
+ *
7
+ * Instead of prompting the user to reload their page with every new app version
8
+ * deployed, use this to specify versions that you feel are worthy of pestering
9
+ * the user about (ie. breaking changes, significant feature drops, etc.).
10
+ */
11
+ export interface LatestVersionRequiringUpdate extends Loadable {
12
+ /**
13
+ * If the user's bundle version is lower than this version, the `AppVersionUpdateBanner`
14
+ * will be displayed until they reload the page.
15
+ */
16
+ version: string;
17
+ }
18
+ //# sourceMappingURL=LatestVersionRequiringUpdate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LatestVersionRequiringUpdate.d.ts","sourceRoot":"","sources":["../../src/LatestVersionRequiringUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAoB,MAAM,uBAAuB,CAAC;AAEnE,eAAO,MAAM,+BAA+B,oCAGzC,CAAC;AAEJ;;;;;;;GAOG;AACH,MAAM,WAAW,4BAA6B,SAAQ,QAAQ;IAC5D;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getLatestVersionRequiringUpdate = void 0;
4
+ const reflection_1 = require("@proteinjs/reflection");
5
+ const getLatestVersionRequiringUpdate = () => reflection_1.SourceRepository.get().object('@proteinjs/app-version-common/LatestVersionRequiringUpdate');
6
+ exports.getLatestVersionRequiringUpdate = getLatestVersionRequiringUpdate;
7
+ //# sourceMappingURL=LatestVersionRequiringUpdate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LatestVersionRequiringUpdate.js","sourceRoot":"","sources":["../../src/LatestVersionRequiringUpdate.ts"],"names":[],"mappings":";;;AAAA,sDAAmE;AAE5D,MAAM,+BAA+B,GAAG,GAAG,EAAE,CAClD,6BAAgB,CAAC,GAAG,EAAE,CAAC,MAAM,CAC3B,4DAA4D,CAC7D,CAAC;AAHS,QAAA,+BAA+B,mCAGxC"}
@@ -0,0 +1,12 @@
1
+ import { Service } from '@proteinjs/service';
2
+ export declare const getVersionCheckerService: () => VersionCheckerService;
3
+ export interface VersionCheckerService extends Service {
4
+ /**
5
+ * Check to see if the current page needs to be updated to the latest
6
+ * bundle version.
7
+ * @param currentVersion the current version of the bundle
8
+ * @return true if the page needs a newer bundle version
9
+ */
10
+ needToUpdate(currentVersion: string): Promise<boolean>;
11
+ }
12
+ //# sourceMappingURL=VersionCheckerService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VersionCheckerService.d.ts","sourceRoot":"","sources":["../../../src/services/VersionCheckerService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,oBAAoB,CAAC;AAE7D,eAAO,MAAM,wBAAwB,6BAEpC,CAAC;AAEF,MAAM,WAAW,qBAAsB,SAAQ,OAAO;IACpD;;;;;OAKG;IACH,YAAY,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACxD"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getVersionCheckerService = void 0;
4
+ const service_1 = require("@proteinjs/service");
5
+ exports.getVersionCheckerService = (0, service_1.serviceFactory)('@proteinjs/app-version-common/VersionCheckerService');
6
+ //# sourceMappingURL=VersionCheckerService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VersionCheckerService.js","sourceRoot":"","sources":["../../../src/services/VersionCheckerService.ts"],"names":[],"mappings":";;;AAAA,gDAA6D;AAEhD,QAAA,wBAAwB,GAAG,IAAA,wBAAc,EACpD,qDAAqD,CACtD,CAAC"}
@@ -0,0 +1,25 @@
1
+ /** Load Dependency Source Graphs */
2
+
3
+ import '@proteinjs/reflection';
4
+ import '@proteinjs/service';
5
+
6
+
7
+ /** Generate Source Graph */
8
+
9
+ const sourceGraph = "{\"options\":{\"directed\":true,\"multigraph\":false,\"compound\":false},\"nodes\":[{\"v\":\"@proteinjs/app-version-common/LatestVersionRequiringUpdate\",\"value\":{\"packageName\":\"@proteinjs/app-version-common\",\"name\":\"LatestVersionRequiringUpdate\",\"filePath\":\"/home/runner/work/notifications/notifications/packages/app-version/common/src/LatestVersionRequiringUpdate.ts\",\"qualifiedName\":\"@proteinjs/app-version-common/LatestVersionRequiringUpdate\",\"properties\":[{\"name\":\"version\",\"type\":{\"packageName\":\"\",\"name\":\"string\",\"filePath\":null,\"qualifiedName\":\"/string\",\"typeParameters\":null,\"directParents\":null},\"isOptional\":false,\"isAbstract\":false,\"isStatic\":false,\"visibility\":\"public\"}],\"methods\":[],\"typeParameters\":[],\"directParents\":[{\"packageName\":\"@proteinjs/reflection\",\"name\":\"Loadable\",\"filePath\":null,\"qualifiedName\":\"@proteinjs/reflection/Loadable\",\"properties\":[],\"methods\":[],\"typeParameters\":[],\"directParents\":[]}],\"sourceType\":3}},{\"v\":\"@proteinjs/reflection/Loadable\"},{\"v\":\"@proteinjs/app-version-common/VersionCheckerService\",\"value\":{\"packageName\":\"@proteinjs/app-version-common\",\"name\":\"VersionCheckerService\",\"filePath\":\"/home/runner/work/notifications/notifications/packages/app-version/common/src/services/VersionCheckerService.ts\",\"qualifiedName\":\"@proteinjs/app-version-common/VersionCheckerService\",\"properties\":[],\"methods\":[{\"name\":\"needToUpdate\",\"returnType\":{\"packageName\":\"\",\"name\":\"Promise<boolean>\",\"filePath\":null,\"qualifiedName\":\"/Promise<boolean>\",\"typeParameters\":null,\"directParents\":null},\"isAsync\":false,\"isOptional\":false,\"isAbstract\":true,\"isStatic\":false,\"visibility\":\"public\",\"parameters\":[{\"name\":\"currentVersion\",\"type\":{\"packageName\":\"\",\"name\":\"string\",\"filePath\":null,\"qualifiedName\":\"/string\",\"typeParameters\":null,\"directParents\":null}}]}],\"typeParameters\":[],\"directParents\":[{\"packageName\":\"@proteinjs/service\",\"name\":\"Service\",\"filePath\":null,\"qualifiedName\":\"@proteinjs/service/Service\",\"properties\":[],\"methods\":[],\"typeParameters\":[],\"directParents\":[]}],\"sourceType\":3}},{\"v\":\"@proteinjs/service/Service\"}],\"edges\":[{\"v\":\"@proteinjs/app-version-common/LatestVersionRequiringUpdate\",\"w\":\"@proteinjs/reflection/Loadable\",\"value\":\"extends interface\"},{\"v\":\"@proteinjs/app-version-common/VersionCheckerService\",\"w\":\"@proteinjs/service/Service\",\"value\":\"extends interface\"}]}";
10
+
11
+
12
+ /** Generate Source Links */
13
+
14
+
15
+ const sourceLinks = {
16
+ };
17
+
18
+
19
+ /** Load Source Graph and Links */
20
+
21
+ import { SourceRepository } from '@proteinjs/reflection';
22
+ SourceRepository.merge(sourceGraph, sourceLinks);
23
+
24
+
25
+ export * from '../index';
package/index.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from './src/LatestVersionRequiringUpdate';
2
+ export * from './src/services/VersionCheckerService';
package/jest.config.js ADDED
@@ -0,0 +1,9 @@
1
+ module.exports = {
2
+ roots: ['<rootDir>/test'],
3
+ transform: {
4
+ '^.+\\.tsx?$': 'ts-jest',
5
+ },
6
+ testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$',
7
+ moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
8
+ testEnvironment: 'node',
9
+ };
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@proteinjs/app-version-common",
3
+ "version": "1.0.1",
4
+ "description": "App version runtime-agnostic components",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/proteinjs/notifications.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/proteinjs/notifications/issues"
14
+ },
15
+ "homepage": "https://github.com/proteinjs/notifications#readme",
16
+ "author": "Brent Bahry",
17
+ "license": "MIT",
18
+ "scripts": {
19
+ "clean": "rm -rf dist/ generated/ node_modules/",
20
+ "build": "reflection-build && tsc",
21
+ "watch": "reflection-watch"
22
+ },
23
+ "dependencies": {
24
+ "@proteinjs/reflection": "1.1.7",
25
+ "@proteinjs/service": "1.0.24"
26
+ },
27
+ "devDependencies": {
28
+ "@proteinjs/reflection-build": "1.0.22",
29
+ "@types/jest": "29.5.5",
30
+ "@types/node": "20.8.2",
31
+ "@typescript-eslint/eslint-plugin": "7.8.0",
32
+ "@typescript-eslint/parser": "7.8.0",
33
+ "eslint": "8.57.0",
34
+ "eslint-config-prettier": "9.1.0",
35
+ "eslint-plugin-prettier": "5.1.3",
36
+ "jest": "29.7.0",
37
+ "ts-jest": "29.1.1",
38
+ "typescript": "5.2.2"
39
+ },
40
+ "main": "./dist/generated/index.js",
41
+ "types": "./dist/generated/index.d.ts",
42
+ "gitHead": "b3340adf0c32126349cd3f74e1544ab1a0381d5e"
43
+ }
@@ -0,0 +1,22 @@
1
+ import { Loadable, SourceRepository } from '@proteinjs/reflection';
2
+
3
+ export const getLatestVersionRequiringUpdate = () =>
4
+ SourceRepository.get().object<LatestVersionRequiringUpdate>(
5
+ '@proteinjs/app-version-common/LatestVersionRequiringUpdate'
6
+ );
7
+
8
+ /**
9
+ * Implement this interface to provide the latest version of your app that
10
+ * contains changes the user should get a fresh bundle for.
11
+ *
12
+ * Instead of prompting the user to reload their page with every new app version
13
+ * deployed, use this to specify versions that you feel are worthy of pestering
14
+ * the user about (ie. breaking changes, significant feature drops, etc.).
15
+ */
16
+ export interface LatestVersionRequiringUpdate extends Loadable {
17
+ /**
18
+ * If the user's bundle version is lower than this version, the `AppVersionUpdateBanner`
19
+ * will be displayed until they reload the page.
20
+ */
21
+ version: string;
22
+ }
@@ -0,0 +1,15 @@
1
+ import { Service, serviceFactory } from '@proteinjs/service';
2
+
3
+ export const getVersionCheckerService = serviceFactory<VersionCheckerService>(
4
+ '@proteinjs/app-version-common/VersionCheckerService'
5
+ );
6
+
7
+ export interface VersionCheckerService extends Service {
8
+ /**
9
+ * Check to see if the current page needs to be updated to the latest
10
+ * bundle version.
11
+ * @param currentVersion the current version of the bundle
12
+ * @return true if the page needs a newer bundle version
13
+ */
14
+ needToUpdate(currentVersion: string): Promise<boolean>;
15
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "compilerOptions": {
3
+ "rootDir": "./",
4
+ "target": "es6",
5
+ "module": "commonjs",
6
+ "declaration": true,
7
+ "declarationMap": true,
8
+ "sourceMap": true,
9
+ "outDir": "./dist/",
10
+ "strict": true,
11
+ "noImplicitAny": true,
12
+ "esModuleInterop": true,
13
+ "skipLibCheck": true,
14
+ "forceConsistentCasingInFileNames": true,
15
+ "resolveJsonModule": true,
16
+ "jsx": "react"
17
+ }
18
+ }