@vendure/ui-devkit 2.3.3 → 2.3.4

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
- # @vendure/ui-devkit
2
-
3
- This package contains utilities for creating extensions to the Vendure Admin UI.
4
-
5
-
1
+ # @vendure/ui-devkit
2
+
3
+ This package contains utilities for creating extensions to the Vendure Admin UI.
4
+
5
+
@@ -146,17 +146,17 @@ function generateLazyExtensionRoutes(extensions) {
146
146
  for (const extension of extensions) {
147
147
  for (const module of extension.ngModules ?? []) {
148
148
  if (module.type === 'lazy') {
149
- routes.push(` {
150
- path: 'extensions/${module.route}',
151
- loadChildren: () => import('${getModuleFilePath(extension.id, module)}').then(m => m.${module.ngModuleName}),
149
+ routes.push(` {
150
+ path: 'extensions/${module.route}',
151
+ loadChildren: () => import('${getModuleFilePath(extension.id, module)}').then(m => m.${module.ngModuleName}),
152
152
  }`);
153
153
  }
154
154
  }
155
155
  for (const route of extension.routes ?? []) {
156
156
  const prefix = route.prefix === '' ? '' : `${route.prefix ?? 'extensions'}/`;
157
- routes.push(` {
158
- path: '${prefix}${route.route}',
159
- loadChildren: () => import('./extensions/${extension.id}/${path.basename(route.filePath, '.ts')}'),
157
+ routes.push(` {
158
+ path: '${prefix}${route.route}',
159
+ loadChildren: () => import('./extensions/${extension.id}/${path.basename(route.filePath, '.ts')}'),
160
160
  }`);
161
161
  }
162
162
  }
@@ -189,16 +189,16 @@ function generateSharedExtensionModule(extensions) {
189
189
  .map((m, i) => (m.providers ?? []).map((f, j) => `...SharedProviders_${i}_${j}`).join(', '))
190
190
  .filter(val => !!val)
191
191
  .join(', ');
192
- return `import { NgModule } from '@angular/core';
193
- import { CommonModule } from '@angular/common';
194
- ${moduleImports}
195
- ${providerImports}
196
-
197
- @NgModule({
198
- imports: [CommonModule, ${modules}],
199
- providers: [${providers}],
200
- })
201
- export class SharedExtensionsModule {}
192
+ return `import { NgModule } from '@angular/core';
193
+ import { CommonModule } from '@angular/common';
194
+ ${moduleImports}
195
+ ${providerImports}
196
+
197
+ @NgModule({
198
+ imports: [CommonModule, ${modules}],
199
+ providers: [${providers}],
200
+ })
201
+ export class SharedExtensionsModule {}
202
202
  `;
203
203
  }
204
204
  function getModuleFilePath(id, module) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendure/ui-devkit",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
4
4
  "description": "A library for authoring Vendure Admin UI extensions",
5
5
  "keywords": [
6
6
  "vendure",
@@ -40,8 +40,8 @@
40
40
  "@angular/cli": "^17.2.3",
41
41
  "@angular/compiler": "^17.2.4",
42
42
  "@angular/compiler-cli": "^17.2.4",
43
- "@vendure/admin-ui": "^2.3.3",
44
- "@vendure/common": "^2.3.3",
43
+ "@vendure/admin-ui": "^2.3.4",
44
+ "@vendure/common": "^2.3.4",
45
45
  "chalk": "^4.1.0",
46
46
  "chokidar": "^3.6.0",
47
47
  "fs-extra": "^11.2.0",
@@ -52,7 +52,7 @@
52
52
  "@rollup/plugin-node-resolve": "^15.2.3",
53
53
  "@rollup/plugin-terser": "^0.4.4",
54
54
  "@types/fs-extra": "^11.0.4",
55
- "@vendure/core": "^2.3.3",
55
+ "@vendure/core": "^2.3.4",
56
56
  "react": "^18.2.0",
57
57
  "react-dom": "^18.2.0",
58
58
  "rimraf": "^5.0.5",
@@ -61,5 +61,5 @@
61
61
  "tslib": "^2.6.2",
62
62
  "typescript": "5.3.3"
63
63
  },
64
- "gitHead": "483dca6a13f4708ae9fc60f5ca8239aafcab0edb"
64
+ "gitHead": "4f4c3ae5f5505fc475c22baebcd774c1fc5a4713"
65
65
  }
@@ -1,7 +1,7 @@
1
- # Generated Admin UI
2
-
3
- This directory and its entire contents was generated the `compileUiExtensions()` function of the `@vendure/ui-devkit/compiler` package. It is not recommended to modify these files, since any changes will be overwritten upon re-compiling the ui extensions.
4
-
5
- ## Production app
6
-
7
- When compiling in production mode (`devMode: false`), the compiled application will be output to the `./dist` directory. This is a production-ready Angular application which can then be served from any web server, with attention to the [Angular server configuration guide](https://angular.io/guide/deployment#server-configuration).
1
+ # Generated Admin UI
2
+
3
+ This directory and its entire contents was generated the `compileUiExtensions()` function of the `@vendure/ui-devkit/compiler` package. It is not recommended to modify these files, since any changes will be overwritten upon re-compiling the ui extensions.
4
+
5
+ ## Production app
6
+
7
+ When compiling in production mode (`devMode: false`), the compiled application will be output to the `./dist` directory. This is a production-ready Angular application which can then be served from any web server, with attention to the [Angular server configuration guide](https://angular.io/guide/deployment#server-configuration).
@@ -1,128 +1,128 @@
1
- {
2
- "$schema": "../node_modules/@angular/cli/lib/config/schema.json",
3
- "version": 1,
4
- "newProjectRoot": "projects",
5
- "projects": {
6
- "vendure-admin": {
7
- "root": "",
8
- "sourceRoot": "src",
9
- "projectType": "application",
10
- "prefix": "vdr",
11
- "schematics": {
12
- "@schematics/angular:component": {
13
- "style": "scss"
14
- }
15
- },
16
- "architect": {
17
- "build": {
18
- "builder": "@angular-devkit/build-angular:browser",
19
- "options": {
20
- "baseHref": "/",
21
- "outputPath": "dist",
22
- "index": "src/index.html",
23
- "main": "src/main.ts",
24
- "polyfills": "src/polyfills.ts",
25
- "tsConfig": "src/tsconfig.app.json",
26
- "assets": [
27
- {
28
- "glob": "**/*.*",
29
- "input": "static-assets",
30
- "output": "assets"
31
- },
32
- "src/favicon.ico",
33
- {
34
- "glob": "favicon.ico",
35
- "input": "static-assets",
36
- "output": "/"
37
- },
38
- "src/vendure-ui-config.json",
39
- "src/theme.min.css",
40
- "src/assets",
41
- "src/i18n-messages",
42
- {
43
- "glob": "logo-*.*",
44
- "input": "static-assets",
45
- "output": "assets"
46
- }
47
- ],
48
- "styles": [
49
- "src/global-styles.scss"
50
- ],
51
- "stylePreprocessorOptions": {
52
- "includePaths": [
53
- "./src/styles",
54
- "./src/fonts"
55
- ]
56
- },
57
- "allowedCommonJsDependencies": [
58
- "graphql-tag",
59
- "zen-observable",
60
- "lodash",
61
- "dayjs",
62
- "apollo-upload-client",
63
- "@clr/icons",
64
- "@clr/icons/shapes/all-shapes",
65
- "@vendure/common/lib/generated-types",
66
- "@vendure/common/lib/simple-deep-clone",
67
- "@vendure/common/lib/shared-constants",
68
- "@vendure/common/lib/shared-utils",
69
- "@vendure/common/lib/normalize-string",
70
- "@vendure/common/lib/unique",
71
- "@vendure/common/lib/omit",
72
- "@vendure/common/lib/pick",
73
- "@messageformat/core"
74
- ],
75
- "vendorChunk": true,
76
- "extractLicenses": false,
77
- "buildOptimizer": false,
78
- "sourceMap": true,
79
- "optimization": false,
80
- "namedChunks": true
81
- },
82
- "configurations": {
83
- "production": {
84
- "budgets": [
85
- {
86
- "type": "anyComponentStyle",
87
- "maximumWarning": "6kb"
88
- }
89
- ],
90
- "fileReplacements": [
91
- {
92
- "replace": "src/environment.ts",
93
- "with": "src/environment.prod.ts"
94
- }
95
- ],
96
- "optimization": {
97
- "styles": {
98
- "inlineCritical": false
99
- }
100
- },
101
- "outputHashing": "all",
102
- "namedChunks": false,
103
- "extractLicenses": true,
104
- "vendorChunk": false
105
- }
106
- },
107
- "defaultConfiguration": ""
108
- },
109
- "serve": {
110
- "builder": "@angular-devkit/build-angular:dev-server",
111
- "options": {
112
- "browserTarget": "vendure-admin:build"
113
- }
114
- }
115
- }
116
- }
117
- },
118
- "schematics": {
119
- "@schematics/angular:component": {
120
- "skipTests": true,
121
- "changeDetection": "OnPush"
122
- }
123
- },
124
- "cli": {
125
- "packageManager": "yarn",
126
- "analytics": false
127
- }
128
- }
1
+ {
2
+ "$schema": "../node_modules/@angular/cli/lib/config/schema.json",
3
+ "version": 1,
4
+ "newProjectRoot": "projects",
5
+ "projects": {
6
+ "vendure-admin": {
7
+ "root": "",
8
+ "sourceRoot": "src",
9
+ "projectType": "application",
10
+ "prefix": "vdr",
11
+ "schematics": {
12
+ "@schematics/angular:component": {
13
+ "style": "scss"
14
+ }
15
+ },
16
+ "architect": {
17
+ "build": {
18
+ "builder": "@angular-devkit/build-angular:browser",
19
+ "options": {
20
+ "baseHref": "/",
21
+ "outputPath": "dist",
22
+ "index": "src/index.html",
23
+ "main": "src/main.ts",
24
+ "polyfills": "src/polyfills.ts",
25
+ "tsConfig": "src/tsconfig.app.json",
26
+ "assets": [
27
+ {
28
+ "glob": "**/*.*",
29
+ "input": "static-assets",
30
+ "output": "assets"
31
+ },
32
+ "src/favicon.ico",
33
+ {
34
+ "glob": "favicon.ico",
35
+ "input": "static-assets",
36
+ "output": "/"
37
+ },
38
+ "src/vendure-ui-config.json",
39
+ "src/theme.min.css",
40
+ "src/assets",
41
+ "src/i18n-messages",
42
+ {
43
+ "glob": "logo-*.*",
44
+ "input": "static-assets",
45
+ "output": "assets"
46
+ }
47
+ ],
48
+ "styles": [
49
+ "src/global-styles.scss"
50
+ ],
51
+ "stylePreprocessorOptions": {
52
+ "includePaths": [
53
+ "./src/styles",
54
+ "./src/fonts"
55
+ ]
56
+ },
57
+ "allowedCommonJsDependencies": [
58
+ "graphql-tag",
59
+ "zen-observable",
60
+ "lodash",
61
+ "dayjs",
62
+ "apollo-upload-client",
63
+ "@clr/icons",
64
+ "@clr/icons/shapes/all-shapes",
65
+ "@vendure/common/lib/generated-types",
66
+ "@vendure/common/lib/simple-deep-clone",
67
+ "@vendure/common/lib/shared-constants",
68
+ "@vendure/common/lib/shared-utils",
69
+ "@vendure/common/lib/normalize-string",
70
+ "@vendure/common/lib/unique",
71
+ "@vendure/common/lib/omit",
72
+ "@vendure/common/lib/pick",
73
+ "@messageformat/core"
74
+ ],
75
+ "vendorChunk": true,
76
+ "extractLicenses": false,
77
+ "buildOptimizer": false,
78
+ "sourceMap": true,
79
+ "optimization": false,
80
+ "namedChunks": true
81
+ },
82
+ "configurations": {
83
+ "production": {
84
+ "budgets": [
85
+ {
86
+ "type": "anyComponentStyle",
87
+ "maximumWarning": "6kb"
88
+ }
89
+ ],
90
+ "fileReplacements": [
91
+ {
92
+ "replace": "src/environment.ts",
93
+ "with": "src/environment.prod.ts"
94
+ }
95
+ ],
96
+ "optimization": {
97
+ "styles": {
98
+ "inlineCritical": false
99
+ }
100
+ },
101
+ "outputHashing": "all",
102
+ "namedChunks": false,
103
+ "extractLicenses": true,
104
+ "vendorChunk": false
105
+ }
106
+ },
107
+ "defaultConfiguration": ""
108
+ },
109
+ "serve": {
110
+ "builder": "@angular-devkit/build-angular:dev-server",
111
+ "options": {
112
+ "browserTarget": "vendure-admin:build"
113
+ }
114
+ }
115
+ }
116
+ }
117
+ },
118
+ "schematics": {
119
+ "@schematics/angular:component": {
120
+ "skipTests": true,
121
+ "changeDetection": "OnPush"
122
+ }
123
+ },
124
+ "cli": {
125
+ "packageManager": "yarn",
126
+ "analytics": false
127
+ }
128
+ }
@@ -1,11 +1,11 @@
1
- {
2
- "name": "vendure-admin-ui",
3
- "dependencies": {},
4
- "license": "UNLICENSED",
5
- "private": true,
6
- "scripts": {
7
- "ng": "ng",
8
- "start": "ng serve",
9
- "build": "ng build --configuration production"
10
- }
11
- }
1
+ {
2
+ "name": "vendure-admin-ui",
3
+ "dependencies": {},
4
+ "license": "UNLICENSED",
5
+ "private": true,
6
+ "scripts": {
7
+ "ng": "ng",
8
+ "start": "ng serve",
9
+ "build": "ng build --configuration production"
10
+ }
11
+ }
@@ -1,19 +1,19 @@
1
- import { NgModule } from '@angular/core';
2
- import { Route, RouterModule } from '@angular/router';
3
- import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
4
- import { AppComponent, AppComponentModule, CoreModule } from '@vendure/admin-ui/core';
5
-
6
- import { routes } from './app.routes';
7
- import { SharedExtensionsModule } from './shared-extensions.module';
8
-
9
- @NgModule({
10
- declarations: [],
11
- imports: [
12
- AppComponentModule,
13
- RouterModule.forRoot(routes, { useHash: false }),
14
- CoreModule,
15
- SharedExtensionsModule,
16
- ],
17
- bootstrap: [AppComponent],
18
- })
19
- export class AppModule {}
1
+ import { NgModule } from '@angular/core';
2
+ import { Route, RouterModule } from '@angular/router';
3
+ import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
4
+ import { AppComponent, AppComponentModule, CoreModule } from '@vendure/admin-ui/core';
5
+
6
+ import { routes } from './app.routes';
7
+ import { SharedExtensionsModule } from './shared-extensions.module';
8
+
9
+ @NgModule({
10
+ declarations: [],
11
+ imports: [
12
+ AppComponentModule,
13
+ RouterModule.forRoot(routes, { useHash: false }),
14
+ CoreModule,
15
+ SharedExtensionsModule,
16
+ ],
17
+ bootstrap: [AppComponent],
18
+ })
19
+ export class AppModule {}
@@ -1,52 +1,52 @@
1
- import { Route } from '@angular/router';
2
- import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
3
- import { AppShellComponent, AuthGuard } from '@vendure/admin-ui/core';
4
-
5
- import { extensionRoutes } from './extension.routes';
6
-
7
- export const routes: Route[] = [
8
- { path: 'login', loadChildren: () => import('@vendure/admin-ui/login').then(m => m.LoginModule) },
9
- {
10
- path: '',
11
- canActivate: [AuthGuard],
12
- component: AppShellComponent,
13
- data: {
14
- breadcrumb: _('breadcrumb.dashboard'),
15
- },
16
- children: [
17
- // Defining the extension routes before the built-in routes allows
18
- // the extension routes to take precedence over the built-in routes, enabling
19
- // the extensions to override built-in functionality.
20
- ...extensionRoutes,
21
- {
22
- path: '',
23
- pathMatch: 'full',
24
- loadChildren: () => import('@vendure/admin-ui/dashboard').then(m => m.DashboardModule),
25
- },
26
- {
27
- path: 'catalog',
28
- loadChildren: () => import('@vendure/admin-ui/catalog').then(m => m.CatalogModule),
29
- },
30
- {
31
- path: 'customer',
32
- loadChildren: () => import('@vendure/admin-ui/customer').then(m => m.CustomerModule),
33
- },
34
- {
35
- path: 'orders',
36
- loadChildren: () => import('@vendure/admin-ui/order').then(m => m.OrderModule),
37
- },
38
- {
39
- path: 'marketing',
40
- loadChildren: () => import('@vendure/admin-ui/marketing').then(m => m.MarketingModule),
41
- },
42
- {
43
- path: 'settings',
44
- loadChildren: () => import('@vendure/admin-ui/settings').then(m => m.SettingsModule),
45
- },
46
- {
47
- path: 'system',
48
- loadChildren: () => import('@vendure/admin-ui/system').then(m => m.SystemModule),
49
- },
50
- ],
51
- },
52
- ];
1
+ import { Route } from '@angular/router';
2
+ import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
3
+ import { AppShellComponent, AuthGuard } from '@vendure/admin-ui/core';
4
+
5
+ import { extensionRoutes } from './extension.routes';
6
+
7
+ export const routes: Route[] = [
8
+ { path: 'login', loadChildren: () => import('@vendure/admin-ui/login').then(m => m.LoginModule) },
9
+ {
10
+ path: '',
11
+ canActivate: [AuthGuard],
12
+ component: AppShellComponent,
13
+ data: {
14
+ breadcrumb: _('breadcrumb.dashboard'),
15
+ },
16
+ children: [
17
+ // Defining the extension routes before the built-in routes allows
18
+ // the extension routes to take precedence over the built-in routes, enabling
19
+ // the extensions to override built-in functionality.
20
+ ...extensionRoutes,
21
+ {
22
+ path: '',
23
+ pathMatch: 'full',
24
+ loadChildren: () => import('@vendure/admin-ui/dashboard').then(m => m.DashboardModule),
25
+ },
26
+ {
27
+ path: 'catalog',
28
+ loadChildren: () => import('@vendure/admin-ui/catalog').then(m => m.CatalogModule),
29
+ },
30
+ {
31
+ path: 'customer',
32
+ loadChildren: () => import('@vendure/admin-ui/customer').then(m => m.CustomerModule),
33
+ },
34
+ {
35
+ path: 'orders',
36
+ loadChildren: () => import('@vendure/admin-ui/order').then(m => m.OrderModule),
37
+ },
38
+ {
39
+ path: 'marketing',
40
+ loadChildren: () => import('@vendure/admin-ui/marketing').then(m => m.MarketingModule),
41
+ },
42
+ {
43
+ path: 'settings',
44
+ loadChildren: () => import('@vendure/admin-ui/settings').then(m => m.SettingsModule),
45
+ },
46
+ {
47
+ path: 'system',
48
+ loadChildren: () => import('@vendure/admin-ui/system').then(m => m.SystemModule),
49
+ },
50
+ ],
51
+ },
52
+ ];
@@ -1,3 +1,3 @@
1
- export const environment = {
2
- production: true,
3
- };
1
+ export const environment = {
2
+ production: true,
3
+ };
@@ -1,6 +1,6 @@
1
- // This file can be replaced during build by using the `fileReplacements` array.
2
- // `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.
3
- // The list of file replacements can be found in `angular.json`.
4
- export const environment = {
5
- production: false,
6
- };
1
+ // This file can be replaced during build by using the `fileReplacements` array.
2
+ // `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.
3
+ // The list of file replacements can be found in `angular.json`.
4
+ export const environment = {
5
+ production: false,
6
+ };
@@ -1 +1 @@
1
- export const extensionRoutes = [];
1
+ export const extensionRoutes = [];
@@ -1,17 +1,17 @@
1
- import { enableProdMode } from '@angular/core';
2
- import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3
- import { loadAppConfig } from '@vendure/admin-ui/core';
4
-
5
- import { AppModule } from './app.module';
6
- import { environment } from './environment';
7
-
8
- if (environment.production) {
9
- enableProdMode();
10
- }
11
-
12
- loadAppConfig()
13
- .then(() => platformBrowserDynamic().bootstrapModule(AppModule))
14
- .catch((err: any) => {
15
- /* eslint-disable no-console */
16
- console.log(err);
17
- });
1
+ import { enableProdMode } from '@angular/core';
2
+ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3
+ import { loadAppConfig } from '@vendure/admin-ui/core';
4
+
5
+ import { AppModule } from './app.module';
6
+ import { environment } from './environment';
7
+
8
+ if (environment.production) {
9
+ enableProdMode();
10
+ }
11
+
12
+ loadAppConfig()
13
+ .then(() => platformBrowserDynamic().bootstrapModule(AppModule))
14
+ .catch((err: any) => {
15
+ /* eslint-disable no-console */
16
+ console.log(err);
17
+ });
@@ -1,7 +1,7 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
-
4
- @NgModule({
5
- imports: [CommonModule],
6
- })
7
- export class SharedExtensionsModule {}
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+
4
+ @NgModule({
5
+ imports: [CommonModule],
6
+ })
7
+ export class SharedExtensionsModule {}
@@ -1 +1 @@
1
- @import "./styles";
1
+ @import "./styles";
@@ -1,18 +1,18 @@
1
- {
2
- "extends": "../tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "../out-tsc/app"
5
- },
6
- "files": [
7
- "main.ts",
8
- "polyfills.ts"
9
- ],
10
- "include": [
11
- "**/*.d.ts"
12
- ],
13
- "angularCompilerOptions": {
14
- "strictMetadataEmit": true,
15
- "fullTemplateTypeCheck": false,
16
- "strictInjectionParameters": true
17
- }
18
- }
1
+ {
2
+ "extends": "../tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "../out-tsc/app"
5
+ },
6
+ "files": [
7
+ "main.ts",
8
+ "polyfills.ts"
9
+ ],
10
+ "include": [
11
+ "**/*.d.ts"
12
+ ],
13
+ "angularCompilerOptions": {
14
+ "strictMetadataEmit": true,
15
+ "fullTemplateTypeCheck": false,
16
+ "strictInjectionParameters": true
17
+ }
18
+ }
@@ -1,28 +1,28 @@
1
- {
2
- "compileOnSave": false,
3
- "compilerOptions": {
4
- "baseUrl": "./",
5
- "importHelpers": true,
6
- "module": "es2020",
7
- "outDir": "./dist/out-tsc",
8
- "sourceMap": true,
9
- "declaration": false,
10
- "moduleResolution": "node",
11
- "experimentalDecorators": true,
12
- "strict": true,
13
- "noImplicitAny": false,
14
- "strictPropertyInitialization": false,
15
- "target": "ES2022",
16
- "skipLibCheck": true,
17
- "esModuleInterop": true,
18
- "allowSyntheticDefaultImports": true,
19
- "jsx": "react",
20
- "typeRoots": [],
21
- "lib": [
22
- "es2019",
23
- "dom",
24
- "esnext.asynciterable"
25
- ],
26
- "useDefineForClassFields": false
27
- }
28
- }
1
+ {
2
+ "compileOnSave": false,
3
+ "compilerOptions": {
4
+ "baseUrl": "./",
5
+ "importHelpers": true,
6
+ "module": "es2020",
7
+ "outDir": "./dist/out-tsc",
8
+ "sourceMap": true,
9
+ "declaration": false,
10
+ "moduleResolution": "node",
11
+ "experimentalDecorators": true,
12
+ "strict": true,
13
+ "noImplicitAny": false,
14
+ "strictPropertyInitialization": false,
15
+ "target": "ES2022",
16
+ "skipLibCheck": true,
17
+ "esModuleInterop": true,
18
+ "allowSyntheticDefaultImports": true,
19
+ "jsx": "react",
20
+ "typeRoots": [],
21
+ "lib": [
22
+ "es2019",
23
+ "dom",
24
+ "esnext.asynciterable"
25
+ ],
26
+ "useDefineForClassFields": false
27
+ }
28
+ }
package/LICENSE DELETED
@@ -1,9 +0,0 @@
1
- The MIT License
2
-
3
- Copyright (c) 2018 Michael Bromley
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.