diff --git a/packages/oslo-converter-stakeholders/bin/runner.ts b/packages/oslo-converter-stakeholders/bin/runner.ts index 5367d29..39b1fe3 100644 --- a/packages/oslo-converter-stakeholders/bin/runner.ts +++ b/packages/oslo-converter-stakeholders/bin/runner.ts @@ -1,4 +1,5 @@ #!/usr/bin/env node -import { StakeholdersConversionServiceRunner } from '../lib/StakeholdersConversionServiceRunner'; +import 'module-alias/register'; +import { StakeholdersConversionServiceRunner } from '@oslo-converter-stakeholders/StakeholdersConversionServiceRunner'; // eslint-disable-next-line no-sync new StakeholdersConversionServiceRunner().runCliSync(process); diff --git a/packages/oslo-converter-stakeholders/index.ts b/packages/oslo-converter-stakeholders/index.ts index 2a35c20..891775a 100644 --- a/packages/oslo-converter-stakeholders/index.ts +++ b/packages/oslo-converter-stakeholders/index.ts @@ -1,4 +1,6 @@ import 'reflect-metadata'; -export * from './lib/config/StakeholdersConversionServiceConfiguration'; -export * from './lib/StakeholdersConversionService'; -export * from './lib/StakeholdersConversionServiceRunner'; +import 'module-alias/register'; + +export * from '@oslo-converter-stakeholders/config/StakeholdersConversionServiceConfiguration'; +export * from '@oslo-converter-stakeholders/StakeholdersConversionService'; +export * from '@oslo-converter-stakeholders/StakeholdersConversionServiceRunner'; diff --git a/packages/oslo-converter-stakeholders/lib/StakeholdersConversionService.ts b/packages/oslo-converter-stakeholders/lib/StakeholdersConversionService.ts index ebdcdb3..f497947 100644 --- a/packages/oslo-converter-stakeholders/lib/StakeholdersConversionService.ts +++ b/packages/oslo-converter-stakeholders/lib/StakeholdersConversionService.ts @@ -6,10 +6,12 @@ import { fetchFileOrUrl, Logger, ServiceIdentifier } from '@oslo-flanders/core'; import { parse } from 'csv-parse'; import { inject, injectable } from 'inversify'; -import { StakeholdersConversionServiceConfiguration } from './config/StakeholdersConversionServiceConfiguration'; -import { ContributorType } from './enums/ContributorType'; -import { context } from './utils/JsonLdContext'; -import { ToJsonLdTransformer } from './utils/ToJsonLdTransformer'; +import { + StakeholdersConversionServiceConfiguration, +} from '@oslo-converter-stakeholders/config/StakeholdersConversionServiceConfiguration'; +import { ContributorType } from '@oslo-converter-stakeholders/enums/ContributorType'; +import { context } from '@oslo-converter-stakeholders/utils/JsonLdContext'; +import { ToJsonLdTransformer } from '@oslo-converter-stakeholders/utils/ToJsonLdTransformer'; @injectable() export class StakeholdersConversionService implements IService { diff --git a/packages/oslo-converter-stakeholders/lib/StakeholdersConversionServiceRunner.ts b/packages/oslo-converter-stakeholders/lib/StakeholdersConversionServiceRunner.ts index 458d19d..2a1690d 100644 --- a/packages/oslo-converter-stakeholders/lib/StakeholdersConversionServiceRunner.ts +++ b/packages/oslo-converter-stakeholders/lib/StakeholdersConversionServiceRunner.ts @@ -1,9 +1,11 @@ import type { CliArgv } from '@oslo-flanders/core'; import { AppRunner, LOG_LEVELS } from '@oslo-flanders/core'; import yargs from 'yargs'; -import { container } from './config/DependencyInjectionConfig'; -import type { StakeholdersConversionServiceConfiguration } from './config/StakeholdersConversionServiceConfiguration'; -import type { StakeholdersConversionService } from './StakeholdersConversionService'; +import { container } from '@oslo-converter-stakeholders/config/DependencyInjectionConfig'; +import type { + StakeholdersConversionServiceConfiguration, +} from '@oslo-converter-stakeholders/config/StakeholdersConversionServiceConfiguration'; +import type { StakeholdersConversionService } from '@oslo-converter-stakeholders/StakeholdersConversionService'; export class StakeholdersConversionServiceRunner extends AppRunner { diff --git a/packages/oslo-converter-stakeholders/lib/config/DependencyInjectionConfig.ts b/packages/oslo-converter-stakeholders/lib/config/DependencyInjectionConfig.ts index 92e2801..cbbbce9 100644 --- a/packages/oslo-converter-stakeholders/lib/config/DependencyInjectionConfig.ts +++ b/packages/oslo-converter-stakeholders/lib/config/DependencyInjectionConfig.ts @@ -1,8 +1,10 @@ import type { IConfiguration, IService } from '@oslo-flanders/core'; import { ServiceIdentifier } from '@oslo-flanders/core'; import { Container } from 'inversify'; -import { StakeholdersConversionService } from '../StakeholdersConversionService'; -import { StakeholdersConversionServiceConfiguration } from './StakeholdersConversionServiceConfiguration'; +import { + StakeholdersConversionServiceConfiguration, +} from '@oslo-converter-stakeholders/config/StakeholdersConversionServiceConfiguration'; +import { StakeholdersConversionService } from '@oslo-converter-stakeholders/StakeholdersConversionService'; export const container = new Container(); diff --git a/packages/oslo-converter-stakeholders/lib/utils/ToJsonLdTransformer.ts b/packages/oslo-converter-stakeholders/lib/utils/ToJsonLdTransformer.ts index b34a16e..3bf8143 100644 --- a/packages/oslo-converter-stakeholders/lib/utils/ToJsonLdTransformer.ts +++ b/packages/oslo-converter-stakeholders/lib/utils/ToJsonLdTransformer.ts @@ -1,6 +1,6 @@ import type { TransformCallback } from 'stream'; import { Transform } from 'stream'; -import { ContributorType } from '../enums/ContributorType'; +import { ContributorType } from '@oslo-converter-stakeholders/enums/ContributorType'; export class ToJsonLdTransformer extends Transform { private readonly columnNames = ['Voornaam', 'Naam', 'Affiliatie', 'E-mail', 'Website']; diff --git a/packages/oslo-converter-stakeholders/package.json b/packages/oslo-converter-stakeholders/package.json index 89af061..6af4bfe 100644 --- a/packages/oslo-converter-stakeholders/package.json +++ b/packages/oslo-converter-stakeholders/package.json @@ -6,6 +6,9 @@ "homepage": "https://github.com/informatievlaanderen/OSLO-UML-Transformer/tree/main/packages/oslo-converter-stakeholders-oslo#readme", "license": "MIT", "main": "index.js", + "_moduleAliases": { + "@oslo-converter-stakeholders": "./lib" + }, "bin": { "oslo-stakeholders-converter": "./bin/runner.js" }, @@ -35,5 +38,8 @@ "reflect-metadata": "^0.1.13", "yargs": "^17.6.0" }, - "gitHead": "f749c71908781f533e0e35f0e3394ce43a8dd7c0" + "gitHead": "f749c71908781f533e0e35f0e3394ce43a8dd7c0", + "devDependencies": { + "module-alias": "^2.2.3" + } } diff --git a/packages/oslo-converter-uml-ea/bin/runner.ts b/packages/oslo-converter-uml-ea/bin/runner.ts index ab82573..a66b051 100644 --- a/packages/oslo-converter-uml-ea/bin/runner.ts +++ b/packages/oslo-converter-uml-ea/bin/runner.ts @@ -1,4 +1,5 @@ #!/usr/bin/env node -import { EaUmlConversionServiceRunner } from '../lib/EaUmlConversionServiceRunner'; +import 'module-alias/register'; +import { EaUmlConversionServiceRunner } from '@oslo-converter-uml-ea/EaUmlConversionServiceRunner'; // eslint-disable-next-line no-sync new EaUmlConversionServiceRunner().runCliSync(process); diff --git a/packages/oslo-converter-uml-ea/index.ts b/packages/oslo-converter-uml-ea/index.ts index f3adae5..122dd47 100644 --- a/packages/oslo-converter-uml-ea/index.ts +++ b/packages/oslo-converter-uml-ea/index.ts @@ -1,19 +1,21 @@ import 'reflect-metadata'; -export * from './lib/ConverterHandlerService'; -export * from './lib/EaUmlConversionService'; -export * from './lib/EaUmlConversionServiceRunner'; -export * from './lib/UriRegistry'; -export * from './lib/OutputHandlerService'; -export * from './lib/converter-handlers/AttributeConverterHandler'; -export * from './lib/converter-handlers/ElementConverterHandler'; -export * from './lib/converter-handlers/PackageConverterHandler'; -export * from './lib/converter-handlers/ConnectorConverterHandler'; -export * from './lib/config/DependencyInjectionConfig'; -export * from './lib/config/EaUmlConverterConfiguration'; -export * from './lib/config/EaUmlConverterServiceIdentifier'; -export * from './lib/enums/CasingTypes'; -export * from './lib/enums/DataTypes'; -export * from './lib/enums/TagNames'; -export * from './lib/interfaces/ConverterHandler'; -export * from './lib/utils/utils'; -export * from './lib/output-handlers/JsonLdOutputHandler'; +import 'module-alias/register'; + +export * from '@oslo-converter-uml-ea/ConverterHandlerService'; +export * from '@oslo-converter-uml-ea/EaUmlConversionService'; +export * from '@oslo-converter-uml-ea/EaUmlConversionServiceRunner'; +export * from '@oslo-converter-uml-ea/UriRegistry'; +export * from '@oslo-converter-uml-ea/OutputHandlerService'; +export * from '@oslo-converter-uml-ea/converter-handlers/AttributeConverterHandler'; +export * from '@oslo-converter-uml-ea/converter-handlers/ElementConverterHandler'; +export * from '@oslo-converter-uml-ea/converter-handlers/PackageConverterHandler'; +export * from '@oslo-converter-uml-ea/converter-handlers/ConnectorConverterHandler'; +export * from '@oslo-converter-uml-ea/config/DependencyInjectionConfig'; +export * from '@oslo-converter-uml-ea/config/EaUmlConverterConfiguration'; +export * from '@oslo-converter-uml-ea/config/EaUmlConverterServiceIdentifier'; +export * from '@oslo-converter-uml-ea/enums/CasingTypes'; +export * from '@oslo-converter-uml-ea/enums/DataTypes'; +export * from '@oslo-converter-uml-ea/enums/TagNames'; +export * from '@oslo-converter-uml-ea/interfaces/ConverterHandler'; +export * from '@oslo-converter-uml-ea/utils/utils'; +export * from '@oslo-converter-uml-ea/output-handlers/JsonLdOutputHandler'; diff --git a/packages/oslo-converter-uml-ea/lib/ConnectorNormalisationService.ts b/packages/oslo-converter-uml-ea/lib/ConnectorNormalisationService.ts index ded87df..413c095 100644 --- a/packages/oslo-converter-uml-ea/lib/ConnectorNormalisationService.ts +++ b/packages/oslo-converter-uml-ea/lib/ConnectorNormalisationService.ts @@ -5,9 +5,9 @@ import type { } from '@oslo-flanders/ea-uml-extractor'; import { injectable } from 'inversify'; -import { container } from './config/DependencyInjectionConfig'; -import { EaUmlConverterServiceIdentifier } from './config/EaUmlConverterServiceIdentifier'; -import type { IConnectorNormalisationCase } from './interfaces/IConnectorNormalisationCase'; +import { container } from '@oslo-converter-uml-ea/config/DependencyInjectionConfig'; +import { EaUmlConverterServiceIdentifier } from '@oslo-converter-uml-ea/config/EaUmlConverterServiceIdentifier'; +import type { IConnectorNormalisationCase } from '@oslo-converter-uml-ea/interfaces/IConnectorNormalisationCase'; @injectable() export class ConnectorNormalisationService { diff --git a/packages/oslo-converter-uml-ea/lib/ConverterHandlerService.ts b/packages/oslo-converter-uml-ea/lib/ConverterHandlerService.ts index 774d744..9863886 100644 --- a/packages/oslo-converter-uml-ea/lib/ConverterHandlerService.ts +++ b/packages/oslo-converter-uml-ea/lib/ConverterHandlerService.ts @@ -1,10 +1,10 @@ import type { Logger } from '@oslo-flanders/core'; import { QuadStore } from '@oslo-flanders/core'; import type { DataRegistry, EaObject } from '@oslo-flanders/ea-uml-extractor'; -import { container } from './config/DependencyInjectionConfig'; -import { EaUmlConverterServiceIdentifier } from './config/EaUmlConverterServiceIdentifier'; -import type { ConverterHandler } from './interfaces/ConverterHandler'; -import { UriRegistry } from './UriRegistry'; +import { container } from '@oslo-converter-uml-ea/config/DependencyInjectionConfig'; +import { EaUmlConverterServiceIdentifier } from '@oslo-converter-uml-ea/config/EaUmlConverterServiceIdentifier'; +import type { ConverterHandler } from '@oslo-converter-uml-ea/interfaces/ConverterHandler'; +import { UriRegistry } from '@oslo-converter-uml-ea/UriRegistry'; export class ConverterHandlerService { public readonly logger: Logger; diff --git a/packages/oslo-converter-uml-ea/lib/EaUmlConversionService.ts b/packages/oslo-converter-uml-ea/lib/EaUmlConversionService.ts index 6cc962b..66ed470 100644 --- a/packages/oslo-converter-uml-ea/lib/EaUmlConversionService.ts +++ b/packages/oslo-converter-uml-ea/lib/EaUmlConversionService.ts @@ -5,10 +5,10 @@ import type { QuadStore, IService } from '@oslo-flanders/core'; import { DataRegistry } from '@oslo-flanders/ea-uml-extractor'; import { inject, injectable } from 'inversify'; import { DataFactory } from 'rdf-data-factory'; -import { EaUmlConverterConfiguration } from './config/EaUmlConverterConfiguration'; -import { EaUmlConverterServiceIdentifier } from './config/EaUmlConverterServiceIdentifier'; -import { ConverterHandlerService } from './ConverterHandlerService'; -import { OutputHandlerService } from './OutputHandlerService'; +import { EaUmlConverterConfiguration } from '@oslo-converter-uml-ea/config/EaUmlConverterConfiguration'; +import { EaUmlConverterServiceIdentifier } from '@oslo-converter-uml-ea/config/EaUmlConverterServiceIdentifier'; +import { ConverterHandlerService } from '@oslo-converter-uml-ea/ConverterHandlerService'; +import { OutputHandlerService } from '@oslo-converter-uml-ea/OutputHandlerService'; @injectable() export class EaUmlConversionService implements IService { diff --git a/packages/oslo-converter-uml-ea/lib/EaUmlConversionServiceRunner.ts b/packages/oslo-converter-uml-ea/lib/EaUmlConversionServiceRunner.ts index 7fe7421..7196ef5 100644 --- a/packages/oslo-converter-uml-ea/lib/EaUmlConversionServiceRunner.ts +++ b/packages/oslo-converter-uml-ea/lib/EaUmlConversionServiceRunner.ts @@ -2,9 +2,9 @@ import type { CliArgv } from '@oslo-flanders/core'; import { LOG_LEVELS, AppRunner } from '@oslo-flanders/core'; import yargs from 'yargs'; -import { container } from './config/DependencyInjectionConfig'; -import type { EaUmlConverterConfiguration } from './config/EaUmlConverterConfiguration'; -import type { EaUmlConversionService } from './EaUmlConversionService'; +import { container } from '@oslo-converter-uml-ea/config/DependencyInjectionConfig'; +import type { EaUmlConverterConfiguration } from '@oslo-converter-uml-ea/config/EaUmlConverterConfiguration'; +import type { EaUmlConversionService } from '@oslo-converter-uml-ea/EaUmlConversionService'; export class EaUmlConversionServiceRunner extends AppRunner { public async runCli(argv: CliArgv): Promise { diff --git a/packages/oslo-converter-uml-ea/lib/OutputHandlerService.ts b/packages/oslo-converter-uml-ea/lib/OutputHandlerService.ts index 1a68bd6..0ec7eb0 100644 --- a/packages/oslo-converter-uml-ea/lib/OutputHandlerService.ts +++ b/packages/oslo-converter-uml-ea/lib/OutputHandlerService.ts @@ -3,9 +3,9 @@ import { createWriteStream } from 'fs'; import type { IOutputHandler, QuadStore } from '@oslo-flanders/core'; import { inject, injectable } from 'inversify'; -import { EaUmlConverterConfiguration } from './config/EaUmlConverterConfiguration'; -import { EaUmlConverterServiceIdentifier } from './config/EaUmlConverterServiceIdentifier'; -import { JsonLdOutputHandler } from './output-handlers/JsonLdOutputHandler'; +import { EaUmlConverterConfiguration } from '@oslo-converter-uml-ea/config/EaUmlConverterConfiguration'; +import { EaUmlConverterServiceIdentifier } from '@oslo-converter-uml-ea/config/EaUmlConverterServiceIdentifier'; +import { JsonLdOutputHandler } from '@oslo-converter-uml-ea/output-handlers/JsonLdOutputHandler'; @injectable() export class OutputHandlerService { diff --git a/packages/oslo-converter-uml-ea/lib/config/DependencyInjectionConfig.ts b/packages/oslo-converter-uml-ea/lib/config/DependencyInjectionConfig.ts index d612906..2540b4b 100644 --- a/packages/oslo-converter-uml-ea/lib/config/DependencyInjectionConfig.ts +++ b/packages/oslo-converter-uml-ea/lib/config/DependencyInjectionConfig.ts @@ -7,27 +7,29 @@ import type { NormalizedConnector, } from '@oslo-flanders/ea-uml-extractor'; import { Container } from 'inversify'; +import { EaUmlConverterConfiguration } from '@oslo-converter-uml-ea/config/EaUmlConverterConfiguration'; +import { EaUmlConverterServiceIdentifier } from '@oslo-converter-uml-ea/config/EaUmlConverterServiceIdentifier'; import { AssociationWithAssociationClassConnectorCase } - from '../connector-normalisation-cases/AssociationWithAssociationClassConnectorCase'; + from '@oslo-converter-uml-ea/connector-normalisation-cases/AssociationWithAssociationClassConnectorCase'; import { AssociationWithDestinationRoleConnectorCase } from - '../connector-normalisation-cases/AssociationWithDestinationRoleConnectorCase'; -import { AssociationWithNameConnectorCase } from '../connector-normalisation-cases/AssociationWithNameConnectorCase'; + '@oslo-converter-uml-ea/connector-normalisation-cases/AssociationWithDestinationRoleConnectorCase'; +import { + AssociationWithNameConnectorCase, +} from '@oslo-converter-uml-ea/connector-normalisation-cases/AssociationWithNameConnectorCase'; import { AssocationWithSourceRoleConnectorCase } from - '../connector-normalisation-cases/AssociationWithSourceRoleConnectorCase'; + '@oslo-converter-uml-ea/connector-normalisation-cases/AssociationWithSourceRoleConnectorCase'; import { SelfAssociationWithAssociationClassConnectorCase } from - '../connector-normalisation-cases/SelfAssociationWithAssociationClassConnectorCase'; + '@oslo-converter-uml-ea/connector-normalisation-cases/SelfAssociationWithAssociationClassConnectorCase'; import { SelfAssociationWithNameConnectorCase } from - '../connector-normalisation-cases/SelfAssociationWithNameConnectorCase'; -import { ConnectorNormalisationService } from '../ConnectorNormalisationService'; -import { AttributeConverterHandler } from '../converter-handlers/AttributeConverterHandler'; -import { ConnectorConverterHandler } from '../converter-handlers/ConnectorConverterHandler'; -import { ElementConverterHandler } from '../converter-handlers/ElementConverterHandler'; -import { PackageConverterHandler } from '../converter-handlers/PackageConverterHandler'; -import { EaUmlConversionService } from '../EaUmlConversionService'; -import type { ConverterHandler } from '../interfaces/ConverterHandler'; -import { OutputHandlerService } from '../OutputHandlerService'; -import { EaUmlConverterConfiguration } from './EaUmlConverterConfiguration'; -import { EaUmlConverterServiceIdentifier } from './EaUmlConverterServiceIdentifier'; + '@oslo-converter-uml-ea/connector-normalisation-cases/SelfAssociationWithNameConnectorCase'; +import { ConnectorNormalisationService } from '@oslo-converter-uml-ea/ConnectorNormalisationService'; +import { AttributeConverterHandler } from '@oslo-converter-uml-ea/converter-handlers/AttributeConverterHandler'; +import { ConnectorConverterHandler } from '@oslo-converter-uml-ea/converter-handlers/ConnectorConverterHandler'; +import { ElementConverterHandler } from '@oslo-converter-uml-ea/converter-handlers/ElementConverterHandler'; +import { PackageConverterHandler } from '@oslo-converter-uml-ea/converter-handlers/PackageConverterHandler'; +import { EaUmlConversionService } from '@oslo-converter-uml-ea/EaUmlConversionService'; +import type { ConverterHandler } from '@oslo-converter-uml-ea/interfaces/ConverterHandler'; +import { OutputHandlerService } from '@oslo-converter-uml-ea/OutputHandlerService'; export const container = new Container(); diff --git a/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithAssociationClassConnectorCase.ts b/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithAssociationClassConnectorCase.ts index 50e476d..29f65cb 100644 --- a/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithAssociationClassConnectorCase.ts +++ b/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithAssociationClassConnectorCase.ts @@ -8,10 +8,10 @@ import { NormalizedConnector, } from '@oslo-flanders/ea-uml-extractor'; import { inject, injectable } from 'inversify'; -import { EaUmlConverterServiceIdentifier } from '../config/EaUmlConverterServiceIdentifier'; -import { TagNames } from '../enums/TagNames'; -import type { IConnectorNormalisationCase } from '../interfaces/IConnectorNormalisationCase'; -import { getTagValue, toCamelCase, toPascalCase } from '../utils/utils'; +import { EaUmlConverterServiceIdentifier } from '@oslo-converter-uml-ea/config/EaUmlConverterServiceIdentifier'; +import { TagNames } from '@oslo-converter-uml-ea/enums/TagNames'; +import type { IConnectorNormalisationCase } from '@oslo-converter-uml-ea/interfaces/IConnectorNormalisationCase'; +import { getTagValue, toCamelCase, toPascalCase } from '@oslo-converter-uml-ea/utils/utils'; @injectable() export class AssociationWithAssociationClassConnectorCase implements IConnectorNormalisationCase { diff --git a/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithDestinationRoleConnectorCase.ts b/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithDestinationRoleConnectorCase.ts index 384a46b..2449983 100644 --- a/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithDestinationRoleConnectorCase.ts +++ b/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithDestinationRoleConnectorCase.ts @@ -8,10 +8,10 @@ import { NormalizedConnector, } from '@oslo-flanders/ea-uml-extractor'; import { inject, injectable } from 'inversify'; -import { EaUmlConverterServiceIdentifier } from '../config/EaUmlConverterServiceIdentifier'; -import { TagNames } from '../enums/TagNames'; -import type { IConnectorNormalisationCase } from '../interfaces/IConnectorNormalisationCase'; -import { getTagValue, toCamelCase, updateNameTag } from '../utils/utils'; +import { EaUmlConverterServiceIdentifier } from '@oslo-converter-uml-ea/config/EaUmlConverterServiceIdentifier'; +import { TagNames } from '@oslo-converter-uml-ea/enums/TagNames'; +import type { IConnectorNormalisationCase } from '@oslo-converter-uml-ea/interfaces/IConnectorNormalisationCase'; +import { getTagValue, toCamelCase, updateNameTag } from '@oslo-converter-uml-ea/utils/utils'; @injectable() export class AssociationWithDestinationRoleConnectorCase implements IConnectorNormalisationCase { diff --git a/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithNameConnectorCase.ts b/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithNameConnectorCase.ts index d712567..6ef8f5b 100644 --- a/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithNameConnectorCase.ts +++ b/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithNameConnectorCase.ts @@ -9,10 +9,10 @@ import { NormalizedConnector, } from '@oslo-flanders/ea-uml-extractor'; import { inject, injectable } from 'inversify'; -import { EaUmlConverterServiceIdentifier } from '../config/EaUmlConverterServiceIdentifier'; -import { TagNames } from '../enums/TagNames'; -import type { IConnectorNormalisationCase } from '../interfaces/IConnectorNormalisationCase'; -import { getTagValue, toCamelCase, toPascalCase, updateNameTag } from '../utils/utils'; +import { EaUmlConverterServiceIdentifier } from '@oslo-converter-uml-ea/config/EaUmlConverterServiceIdentifier'; +import { TagNames } from '@oslo-converter-uml-ea/enums/TagNames'; +import type { IConnectorNormalisationCase } from '@oslo-converter-uml-ea/interfaces/IConnectorNormalisationCase'; +import { getTagValue, toCamelCase, toPascalCase, updateNameTag } from '@oslo-converter-uml-ea/utils/utils'; @injectable() export class AssociationWithNameConnectorCase implements IConnectorNormalisationCase { diff --git a/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithSourceRoleConnectorCase.ts b/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithSourceRoleConnectorCase.ts index 1c87a5d..f5bf67f 100644 --- a/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithSourceRoleConnectorCase.ts +++ b/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/AssociationWithSourceRoleConnectorCase.ts @@ -8,10 +8,10 @@ import { NormalizedConnector, } from '@oslo-flanders/ea-uml-extractor'; import { inject, injectable } from 'inversify'; -import { EaUmlConverterServiceIdentifier } from '../config/EaUmlConverterServiceIdentifier'; -import { TagNames } from '../enums/TagNames'; -import type { IConnectorNormalisationCase } from '../interfaces/IConnectorNormalisationCase'; -import { getTagValue, toCamelCase, updateNameTag } from '../utils/utils'; +import { EaUmlConverterServiceIdentifier } from '@oslo-converter-uml-ea/config/EaUmlConverterServiceIdentifier'; +import { TagNames } from '@oslo-converter-uml-ea/enums/TagNames'; +import type { IConnectorNormalisationCase } from '@oslo-converter-uml-ea/interfaces/IConnectorNormalisationCase'; +import { getTagValue, toCamelCase, updateNameTag } from '@oslo-converter-uml-ea/utils/utils'; @injectable() export class AssocationWithSourceRoleConnectorCase implements IConnectorNormalisationCase { diff --git a/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/SelfAssociationWithAssociationClassConnectorCase.ts b/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/SelfAssociationWithAssociationClassConnectorCase.ts index 8cd033b..f772180 100644 --- a/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/SelfAssociationWithAssociationClassConnectorCase.ts +++ b/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/SelfAssociationWithAssociationClassConnectorCase.ts @@ -9,10 +9,10 @@ import { NormalizedConnector, } from '@oslo-flanders/ea-uml-extractor'; import { inject, injectable } from 'inversify'; -import { EaUmlConverterServiceIdentifier } from '../config/EaUmlConverterServiceIdentifier'; -import { TagNames } from '../enums/TagNames'; -import type { IConnectorNormalisationCase } from '../interfaces/IConnectorNormalisationCase'; -import { getTagValue, toCamelCase, toPascalCase } from '../utils/utils'; +import { EaUmlConverterServiceIdentifier } from '@oslo-converter-uml-ea/config/EaUmlConverterServiceIdentifier'; +import { TagNames } from '@oslo-converter-uml-ea/enums/TagNames'; +import type { IConnectorNormalisationCase } from '@oslo-converter-uml-ea/interfaces/IConnectorNormalisationCase'; +import { getTagValue, toCamelCase, toPascalCase } from '@oslo-converter-uml-ea/utils/utils'; @injectable() export class SelfAssociationWithAssociationClassConnectorCase implements IConnectorNormalisationCase { diff --git a/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/SelfAssociationWithNameConnectorCase.ts b/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/SelfAssociationWithNameConnectorCase.ts index a61525a..84020a1 100644 --- a/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/SelfAssociationWithNameConnectorCase.ts +++ b/packages/oslo-converter-uml-ea/lib/connector-normalisation-cases/SelfAssociationWithNameConnectorCase.ts @@ -9,15 +9,15 @@ import { NormalizedConnector, } from '@oslo-flanders/ea-uml-extractor'; import { inject, injectable } from 'inversify'; -import { EaUmlConverterServiceIdentifier } from '../config/EaUmlConverterServiceIdentifier'; -import { TagNames } from '../enums/TagNames'; -import type { IConnectorNormalisationCase } from '../interfaces/IConnectorNormalisationCase'; +import { EaUmlConverterServiceIdentifier } from '@oslo-converter-uml-ea/config/EaUmlConverterServiceIdentifier'; +import { TagNames } from '@oslo-converter-uml-ea/enums/TagNames'; +import type { IConnectorNormalisationCase } from '@oslo-converter-uml-ea/interfaces/IConnectorNormalisationCase'; import { getTagValue, toCamelCase, toPascalCase, updateNameTag, -} from '../utils/utils'; +} from '@oslo-converter-uml-ea/utils/utils'; @injectable() export class SelfAssociationWithNameConnectorCase implements IConnectorNormalisationCase { diff --git a/packages/oslo-converter-uml-ea/lib/converter-handlers/AttributeConverterHandler.ts b/packages/oslo-converter-uml-ea/lib/converter-handlers/AttributeConverterHandler.ts index 3934b42..716bcbb 100644 --- a/packages/oslo-converter-uml-ea/lib/converter-handlers/AttributeConverterHandler.ts +++ b/packages/oslo-converter-uml-ea/lib/converter-handlers/AttributeConverterHandler.ts @@ -12,13 +12,13 @@ import type { import type * as RDF from '@rdfjs/types'; import { inject, injectable } from 'inversify'; -import { EaUmlConverterConfiguration } from '../config/EaUmlConverterConfiguration'; -import { EaUmlConverterServiceIdentifier } from '../config/EaUmlConverterServiceIdentifier'; -import { DataTypes, datatypeIdentifierToHash } from '../enums/DataTypes'; -import { TagNames } from '../enums/TagNames'; -import { ConverterHandler } from '../interfaces/ConverterHandler'; -import type { UriRegistry } from '../UriRegistry'; -import { getTagValue, ignore, toCamelCase } from '../utils/utils'; +import { EaUmlConverterConfiguration } from '@oslo-converter-uml-ea/config/EaUmlConverterConfiguration'; +import { EaUmlConverterServiceIdentifier } from '@oslo-converter-uml-ea/config/EaUmlConverterServiceIdentifier'; +import { DataTypes, datatypeIdentifierToHash } from '@oslo-converter-uml-ea/enums/DataTypes'; +import { TagNames } from '@oslo-converter-uml-ea/enums/TagNames'; +import { ConverterHandler } from '@oslo-converter-uml-ea/interfaces/ConverterHandler'; +import type { UriRegistry } from '@oslo-converter-uml-ea/UriRegistry'; +import { getTagValue, ignore, toCamelCase } from '@oslo-converter-uml-ea/utils/utils'; @injectable() export class AttributeConverterHandler extends ConverterHandler { diff --git a/packages/oslo-converter-uml-ea/lib/converter-handlers/ConnectorConverterHandler.ts b/packages/oslo-converter-uml-ea/lib/converter-handlers/ConnectorConverterHandler.ts index 6083025..2aed45e 100644 --- a/packages/oslo-converter-uml-ea/lib/converter-handlers/ConnectorConverterHandler.ts +++ b/packages/oslo-converter-uml-ea/lib/converter-handlers/ConnectorConverterHandler.ts @@ -12,12 +12,12 @@ import { } from '@oslo-flanders/ea-uml-extractor'; import type * as RDF from '@rdfjs/types'; import { inject, injectable } from 'inversify'; -import { EaUmlConverterServiceIdentifier } from '../config/EaUmlConverterServiceIdentifier'; -import { ConnectorNormalisationService } from '../ConnectorNormalisationService'; -import { TagNames } from '../enums/TagNames'; -import { ConverterHandler } from '../interfaces/ConverterHandler'; -import type { UriRegistry } from '../UriRegistry'; -import { getTagValue, ignore } from '../utils/utils'; +import { EaUmlConverterServiceIdentifier } from '@oslo-converter-uml-ea/config/EaUmlConverterServiceIdentifier'; +import { ConnectorNormalisationService } from '@oslo-converter-uml-ea/ConnectorNormalisationService'; +import { TagNames } from '@oslo-converter-uml-ea/enums/TagNames'; +import { ConverterHandler } from '@oslo-converter-uml-ea/interfaces/ConverterHandler'; +import type { UriRegistry } from '@oslo-converter-uml-ea/UriRegistry'; +import { getTagValue, ignore } from '@oslo-converter-uml-ea/utils/utils'; @injectable() export class ConnectorConverterHandler extends ConverterHandler { diff --git a/packages/oslo-converter-uml-ea/lib/converter-handlers/ElementConverterHandler.ts b/packages/oslo-converter-uml-ea/lib/converter-handlers/ElementConverterHandler.ts index 7442ccd..a6527b0 100644 --- a/packages/oslo-converter-uml-ea/lib/converter-handlers/ElementConverterHandler.ts +++ b/packages/oslo-converter-uml-ea/lib/converter-handlers/ElementConverterHandler.ts @@ -5,10 +5,10 @@ import type { DataRegistry, EaConnector, EaElement, EaPackage, EaTag } from '@os import { ConnectorType, ElementType } from '@oslo-flanders/ea-uml-extractor'; import type * as RDF from '@rdfjs/types'; import { injectable } from 'inversify'; -import { TagNames } from '../enums/TagNames'; -import { ConverterHandler } from '../interfaces/ConverterHandler'; -import type { UriRegistry } from '../UriRegistry'; -import { getTagValue, ignore, toPascalCase } from '../utils/utils'; +import { TagNames } from '@oslo-converter-uml-ea/enums/TagNames'; +import { ConverterHandler } from '@oslo-converter-uml-ea/interfaces/ConverterHandler'; +import type { UriRegistry } from '@oslo-converter-uml-ea/UriRegistry'; +import { getTagValue, ignore, toPascalCase } from '@oslo-converter-uml-ea/utils/utils'; @injectable() export class ElementConverterHandler extends ConverterHandler { diff --git a/packages/oslo-converter-uml-ea/lib/converter-handlers/PackageConverterHandler.ts b/packages/oslo-converter-uml-ea/lib/converter-handlers/PackageConverterHandler.ts index f43f01b..c6c6417 100644 --- a/packages/oslo-converter-uml-ea/lib/converter-handlers/PackageConverterHandler.ts +++ b/packages/oslo-converter-uml-ea/lib/converter-handlers/PackageConverterHandler.ts @@ -4,10 +4,10 @@ import { ns } from '@oslo-flanders/core'; import type { DataRegistry, EaPackage } from '@oslo-flanders/ea-uml-extractor'; import type * as RDF from '@rdfjs/types'; import { injectable } from 'inversify'; -import { TagNames } from '../enums/TagNames'; -import { ConverterHandler } from '../interfaces/ConverterHandler'; -import type { UriRegistry } from '../UriRegistry'; -import { getTagValue, ignore } from '../utils/utils'; +import { TagNames } from '@oslo-converter-uml-ea/enums/TagNames'; +import { ConverterHandler } from '@oslo-converter-uml-ea/interfaces/ConverterHandler'; +import type { UriRegistry } from '@oslo-converter-uml-ea/UriRegistry'; +import { getTagValue, ignore } from '@oslo-converter-uml-ea/utils/utils'; @injectable() export class PackageConverterHandler extends ConverterHandler { diff --git a/packages/oslo-converter-uml-ea/lib/interfaces/ConverterHandler.ts b/packages/oslo-converter-uml-ea/lib/interfaces/ConverterHandler.ts index 715cd64..9c14480 100644 --- a/packages/oslo-converter-uml-ea/lib/interfaces/ConverterHandler.ts +++ b/packages/oslo-converter-uml-ea/lib/interfaces/ConverterHandler.ts @@ -9,10 +9,10 @@ import type { import type * as RDF from '@rdfjs/types'; import { inject, injectable } from 'inversify'; import { DataFactory } from 'rdf-data-factory'; -import { EaUmlConverterConfiguration } from '../config/EaUmlConverterConfiguration'; -import { EaUmlConverterServiceIdentifier } from '../config/EaUmlConverterServiceIdentifier'; -import { TagNames } from '../enums/TagNames'; -import type { UriRegistry } from '../UriRegistry'; +import { EaUmlConverterConfiguration } from '@oslo-converter-uml-ea/config/EaUmlConverterConfiguration'; +import { EaUmlConverterServiceIdentifier } from '@oslo-converter-uml-ea/config/EaUmlConverterServiceIdentifier'; +import { TagNames } from '@oslo-converter-uml-ea/enums/TagNames'; +import type { UriRegistry } from '@oslo-converter-uml-ea/UriRegistry'; @injectable() export abstract class ConverterHandler { diff --git a/packages/oslo-converter-uml-ea/lib/output-handlers/JsonLdOutputHandler.ts b/packages/oslo-converter-uml-ea/lib/output-handlers/JsonLdOutputHandler.ts index 3d52291..022450f 100644 --- a/packages/oslo-converter-uml-ea/lib/output-handlers/JsonLdOutputHandler.ts +++ b/packages/oslo-converter-uml-ea/lib/output-handlers/JsonLdOutputHandler.ts @@ -3,7 +3,7 @@ import type { IOutputHandler, QuadStore } from '@oslo-flanders/core'; import { ns } from '@oslo-flanders/core'; import type * as RDF from '@rdfjs/types'; import { DataFactory } from 'rdf-data-factory'; -import { getOsloContext } from '../utils/osloContext'; +import { getOsloContext } from '@oslo-converter-uml-ea/utils/osloContext'; export class JsonLdOutputHandler implements IOutputHandler { public async write(store: QuadStore, writeStream: any): Promise { diff --git a/packages/oslo-converter-uml-ea/lib/utils/utils.ts b/packages/oslo-converter-uml-ea/lib/utils/utils.ts index 14e75d8..5bf9bc0 100644 --- a/packages/oslo-converter-uml-ea/lib/utils/utils.ts +++ b/packages/oslo-converter-uml-ea/lib/utils/utils.ts @@ -1,7 +1,7 @@ import type { URL } from 'url'; import type { EaObject, EaTag } from '@oslo-flanders/ea-uml-extractor'; -import { TagNames } from '../enums/TagNames'; -import type { UriRegistry } from '../UriRegistry'; +import { TagNames } from '@oslo-converter-uml-ea/enums/TagNames'; +import type { UriRegistry } from '@oslo-converter-uml-ea/UriRegistry'; export function ignore(object: EaObject): boolean { const ignoreObject = getTagValue(object, TagNames.Ignore, false); diff --git a/packages/oslo-converter-uml-ea/package.json b/packages/oslo-converter-uml-ea/package.json index 70b261d..2989354 100644 --- a/packages/oslo-converter-uml-ea/package.json +++ b/packages/oslo-converter-uml-ea/package.json @@ -6,6 +6,9 @@ "homepage": "https://github.com/informatievlaanderen/OSLO-UML-Transformer/tree/main/packages/oslo-converter-uml-ea#readme", "license": "MIT", "main": "index.js", + "_moduleAliases": { + "@oslo-converter-uml-ea": "./lib" + }, "bin": { "oslo-converter-ea": "./bin/runner.js" }, @@ -55,7 +58,8 @@ "devDependencies": { "@rdfjs/types": "^1.1.0", "@types/n3": "^1.16.1", - "jest-runner-groups": "^2.2.0" + "jest-runner-groups": "^2.2.0", + "module-alias": "^2.2.3" }, "dependencies": { "@oslo-flanders/core": "^0.0.4-alpha.0", diff --git a/packages/oslo-core/index.ts b/packages/oslo-core/index.ts index c067e9f..e243512 100644 --- a/packages/oslo-core/index.ts +++ b/packages/oslo-core/index.ts @@ -1,20 +1,22 @@ import 'reflect-metadata'; -export * from './lib/interfaces/AppRunner'; -export * from './lib/interfaces/IConfiguration'; -export * from './lib/interfaces/IOutputHandler'; -export * from './lib/interfaces/IService'; -export * from './lib/utils/fetchFileOrUrl'; -export * from './lib/utils/namespaces'; -export * from './lib/utils/uniqueId'; -export * from './lib/store/QuadStore'; -export * from './lib/ServiceIdentifier'; -export * from './lib/enums/Scope'; -export * from './lib/enums/PropertyTypes'; -export * from './lib/logging/LogLevel'; -export * from './lib/logging/Logger'; -export * from './lib/logging/VoidLogger'; -export * from './lib/logging/WinstonLogger'; -export * from './lib/logging/LogUtil'; -export * from './lib/logging/LoggerFactory'; -export * from './lib/logging/VoidLoggerFactory'; -export * from './lib/logging/WinstonLoggerFactory'; +import 'module-alias/register'; + +export * from '@oslo-core/interfaces/AppRunner'; +export * from '@oslo-core/interfaces/IConfiguration'; +export * from '@oslo-core/interfaces/IOutputHandler'; +export * from '@oslo-core/interfaces/IService'; +export * from '@oslo-core/utils/fetchFileOrUrl'; +export * from '@oslo-core/utils/namespaces'; +export * from '@oslo-core/utils/uniqueId'; +export * from '@oslo-core/store/QuadStore'; +export * from '@oslo-core/ServiceIdentifier'; +export * from '@oslo-core/enums/Scope'; +export * from '@oslo-core/enums/PropertyTypes'; +export * from '@oslo-core/logging/LogLevel'; +export * from '@oslo-core/logging/Logger'; +export * from '@oslo-core/logging/VoidLogger'; +export * from '@oslo-core/logging/WinstonLogger'; +export * from '@oslo-core/logging/LogUtil'; +export * from '@oslo-core/logging/LoggerFactory'; +export * from '@oslo-core/logging/VoidLoggerFactory'; +export * from '@oslo-core/logging/WinstonLoggerFactory'; diff --git a/packages/oslo-core/lib/interfaces/AppRunner.ts b/packages/oslo-core/lib/interfaces/AppRunner.ts index ee67993..10d4a4e 100644 --- a/packages/oslo-core/lib/interfaces/AppRunner.ts +++ b/packages/oslo-core/lib/interfaces/AppRunner.ts @@ -1,10 +1,10 @@ import { stderr } from 'process'; import type { Container } from 'inversify'; -import type { Logger } from '../logging/Logger'; -import { createLogger, setLoggerFactory } from '../logging/LogUtil'; -import { ServiceIdentifier } from '../ServiceIdentifier'; -import type { IConfiguration } from './IConfiguration'; -import type { IService } from './IService'; +import type { IConfiguration } from '@oslo-core/interfaces/IConfiguration'; +import type { IService } from '@oslo-core/interfaces/IService'; +import type { Logger } from '@oslo-core/logging/Logger'; +import { createLogger, setLoggerFactory } from '@oslo-core/logging/LogUtil'; +import { ServiceIdentifier } from '@oslo-core/ServiceIdentifier'; export type CliArgv = string[]; diff --git a/packages/oslo-core/lib/interfaces/IConfiguration.ts b/packages/oslo-core/lib/interfaces/IConfiguration.ts index c1dd9ea..e3238ed 100644 --- a/packages/oslo-core/lib/interfaces/IConfiguration.ts +++ b/packages/oslo-core/lib/interfaces/IConfiguration.ts @@ -1,4 +1,4 @@ -import type { YargsParams } from './AppRunner'; +import type { YargsParams } from '@oslo-core/interfaces/AppRunner'; /** * Interface that must be implemented by classes that contain configuration properties diff --git a/packages/oslo-core/lib/interfaces/IOutputHandler.ts b/packages/oslo-core/lib/interfaces/IOutputHandler.ts index f76dae2..ccd6ccb 100644 --- a/packages/oslo-core/lib/interfaces/IOutputHandler.ts +++ b/packages/oslo-core/lib/interfaces/IOutputHandler.ts @@ -1,4 +1,4 @@ -import type { QuadStore } from '../store/QuadStore'; +import type { QuadStore } from '@oslo-core/store/QuadStore'; /** * Writes the triples in an RDF store to a write stream diff --git a/packages/oslo-core/lib/interfaces/IService.ts b/packages/oslo-core/lib/interfaces/IService.ts index df23aae..6ca6777 100644 --- a/packages/oslo-core/lib/interfaces/IService.ts +++ b/packages/oslo-core/lib/interfaces/IService.ts @@ -1,5 +1,5 @@ -import type { Logger } from '../logging/Logger'; -import type { IConfiguration } from './IConfiguration'; +import type { IConfiguration } from '@oslo-core/interfaces/IConfiguration'; +import type { Logger } from '@oslo-core/logging/Logger'; /** * Interface that must be implemented by conversion of generation services diff --git a/packages/oslo-core/lib/logging/LogUtil.ts b/packages/oslo-core/lib/logging/LogUtil.ts index 34eeddd..b22f164 100644 --- a/packages/oslo-core/lib/logging/LogUtil.ts +++ b/packages/oslo-core/lib/logging/LogUtil.ts @@ -1,9 +1,9 @@ -import type { YargsParams } from '../interfaces/AppRunner'; -import type { Logger } from './Logger'; -import type { LoggerFactory } from './LoggerFactory'; -import type { LogLevel } from './LogLevel'; -import { VoidLoggerFactory } from './VoidLoggerFactory'; -import { WinstonLoggerFactory } from './WinstonLoggerFactory'; +import type { YargsParams } from '@oslo-core/interfaces/AppRunner'; +import type { Logger } from '@oslo-core/logging/Logger'; +import type { LoggerFactory } from '@oslo-core/logging/LoggerFactory'; +import type { LogLevel } from '@oslo-core/logging/LogLevel'; +import { VoidLoggerFactory } from '@oslo-core/logging/VoidLoggerFactory'; +import { WinstonLoggerFactory } from '@oslo-core/logging/WinstonLoggerFactory'; let loggerFactory: LoggerFactory = new VoidLoggerFactory(); diff --git a/packages/oslo-core/lib/logging/Logger.ts b/packages/oslo-core/lib/logging/Logger.ts index 2159a2b..537febc 100644 --- a/packages/oslo-core/lib/logging/Logger.ts +++ b/packages/oslo-core/lib/logging/Logger.ts @@ -1,6 +1,6 @@ import 'reflect-metadata'; import { injectable } from 'inversify'; -import type { LogLevel } from './LogLevel'; +import type { LogLevel } from '@oslo-core/logging/LogLevel'; export interface Logger { log: (level: LogLevel, message: string) => Logger; diff --git a/packages/oslo-core/lib/logging/LoggerFactory.ts b/packages/oslo-core/lib/logging/LoggerFactory.ts index 4b43000..509d6bd 100644 --- a/packages/oslo-core/lib/logging/LoggerFactory.ts +++ b/packages/oslo-core/lib/logging/LoggerFactory.ts @@ -1,4 +1,4 @@ -import type { Logger } from './Logger'; +import type { Logger } from '@oslo-core/logging/Logger'; /** * Instantiates new logger instances. diff --git a/packages/oslo-core/lib/logging/VoidLogger.ts b/packages/oslo-core/lib/logging/VoidLogger.ts index 0152df4..06fda25 100644 --- a/packages/oslo-core/lib/logging/VoidLogger.ts +++ b/packages/oslo-core/lib/logging/VoidLogger.ts @@ -1,7 +1,7 @@ import { injectable } from 'inversify'; -import type { Logger } from './Logger'; -import { BaseLogger } from './Logger'; -import type { LogLevel } from './LogLevel'; +import type { Logger } from '@oslo-core/logging/Logger'; +import { BaseLogger } from '@oslo-core/logging/Logger'; +import type { LogLevel } from '@oslo-core/logging/LogLevel'; @injectable() export class VoidLogger extends BaseLogger { diff --git a/packages/oslo-core/lib/logging/VoidLoggerFactory.ts b/packages/oslo-core/lib/logging/VoidLoggerFactory.ts index 5a1ba64..8e37832 100644 --- a/packages/oslo-core/lib/logging/VoidLoggerFactory.ts +++ b/packages/oslo-core/lib/logging/VoidLoggerFactory.ts @@ -1,5 +1,5 @@ -import type { LoggerFactory } from './LoggerFactory'; -import { VoidLogger } from './VoidLogger'; +import type { LoggerFactory } from '@oslo-core/logging/LoggerFactory'; +import { VoidLogger } from '@oslo-core/logging/VoidLogger'; /** * A factory that always returns {@link VoidLogger}, which does nothing on log messages. diff --git a/packages/oslo-core/lib/logging/WinstonLogger.ts b/packages/oslo-core/lib/logging/WinstonLogger.ts index 26cf648..ca8334b 100644 --- a/packages/oslo-core/lib/logging/WinstonLogger.ts +++ b/packages/oslo-core/lib/logging/WinstonLogger.ts @@ -1,8 +1,8 @@ import { injectable } from 'inversify'; import { Logger as WinstonInnerLogger } from 'winston'; -import { BaseLogger } from './Logger'; -import type { LogLevel } from './LogLevel'; +import { BaseLogger } from '@oslo-core/logging/Logger'; +import type { LogLevel } from '@oslo-core/logging/LogLevel'; @injectable() export class WinstonLogger extends BaseLogger { diff --git a/packages/oslo-core/lib/logging/WinstonLoggerFactory.ts b/packages/oslo-core/lib/logging/WinstonLoggerFactory.ts index e0c4598..1768c34 100644 --- a/packages/oslo-core/lib/logging/WinstonLoggerFactory.ts +++ b/packages/oslo-core/lib/logging/WinstonLoggerFactory.ts @@ -1,9 +1,9 @@ import { createLogger, transports, format } from 'winston'; import type * as Transport from 'winston-transport'; -import type { Logger } from './Logger'; -import type { LoggerFactory } from './LoggerFactory'; -import type { LogLevel } from './LogLevel'; -import { WinstonLogger } from './WinstonLogger'; +import type { Logger } from '@oslo-core/logging/Logger'; +import type { LoggerFactory } from '@oslo-core/logging/LoggerFactory'; +import type { LogLevel } from '@oslo-core/logging/LogLevel'; +import { WinstonLogger } from '@oslo-core/logging/WinstonLogger'; const { combine, colorize, printf } = format; const messageFormat = printf(({ level, message, messageTimestamp }) => `${new Date(Date.now()).toISOString()} ${level}: ${message}`); diff --git a/packages/oslo-core/lib/store/QuadStore.ts b/packages/oslo-core/lib/store/QuadStore.ts index 2da643b..f05b1f2 100644 --- a/packages/oslo-core/lib/store/QuadStore.ts +++ b/packages/oslo-core/lib/store/QuadStore.ts @@ -2,8 +2,8 @@ import type * as RDF from '@rdfjs/types'; import { injectable } from 'inversify'; import * as N3 from 'n3'; import rdfParser from 'rdf-parse'; -import { fetchFileOrUrl } from '../utils/fetchFileOrUrl'; -import { ns } from '../utils/namespaces'; +import { fetchFileOrUrl } from '@oslo-core/utils/fetchFileOrUrl'; +import { ns } from '@oslo-core/utils/namespaces'; @injectable() export class QuadStore { diff --git a/packages/oslo-core/package.json b/packages/oslo-core/package.json index e71d6af..9514aa0 100644 --- a/packages/oslo-core/package.json +++ b/packages/oslo-core/package.json @@ -6,6 +6,9 @@ "homepage": "https://github.com/informatievlaanderen/OSLO-UML-Transformer/tree/main/packages/oslo-core#readme", "license": "MIT", "main": "index.js", + "_moduleAliases": { + "@oslo-core": "./lib" + }, "directories": { "lib": "lib" }, @@ -66,7 +69,8 @@ "@types/n3": "^1.10.4", "@types/node-fetch": "^2.6.2", "@types/streamify-string": "^1.0.0", - "@types/tmp": "^0.2.3" + "@types/tmp": "^0.2.3", + "module-alias": "^2.2.3" }, "gitHead": "f749c71908781f533e0e35f0e3394ce43a8dd7c0" } diff --git a/packages/oslo-extractor-uml-ea/index.ts b/packages/oslo-extractor-uml-ea/index.ts index c62bf0c..6c5672c 100644 --- a/packages/oslo-extractor-uml-ea/index.ts +++ b/packages/oslo-extractor-uml-ea/index.ts @@ -1,14 +1,16 @@ -export * from './lib/DataRegistry'; -export * from './lib/types/EaAttribute'; -export * from './lib/types/EaConnector'; -export * from './lib/types/NormalizedConnector'; -export * from './lib/types/EaDiagram'; -export * from './lib/types/EaElement'; -export * from './lib/types/EaObject'; -export * from './lib/types/EaPackage'; -export * from './lib/types/EaTag'; -export * from './lib/enums/ConnectorDirection'; -export * from './lib/enums/ConnectorType'; -export * from './lib/enums/EaTable'; -export * from './lib/enums/ElementType'; -export * from './lib/enums/NormalizedConnectorTypes'; +import 'module-alias/register'; + +export * from '@oslo-extractor-uml-ea/DataRegistry'; +export * from '@oslo-extractor-uml-ea/types/EaAttribute'; +export * from '@oslo-extractor-uml-ea/types/EaConnector'; +export * from '@oslo-extractor-uml-ea/types/NormalizedConnector'; +export * from '@oslo-extractor-uml-ea/types/EaDiagram'; +export * from '@oslo-extractor-uml-ea/types/EaElement'; +export * from '@oslo-extractor-uml-ea/types/EaObject'; +export * from '@oslo-extractor-uml-ea/types/EaPackage'; +export * from '@oslo-extractor-uml-ea/types/EaTag'; +export * from '@oslo-extractor-uml-ea/enums/ConnectorDirection'; +export * from '@oslo-extractor-uml-ea/enums/ConnectorType'; +export * from '@oslo-extractor-uml-ea/enums/EaTable'; +export * from '@oslo-extractor-uml-ea/enums/ElementType'; +export * from '@oslo-extractor-uml-ea/enums/NormalizedConnectorTypes'; diff --git a/packages/oslo-extractor-uml-ea/lib/DataRegistry.ts b/packages/oslo-extractor-uml-ea/lib/DataRegistry.ts index ba93c90..032ef2e 100644 --- a/packages/oslo-extractor-uml-ea/lib/DataRegistry.ts +++ b/packages/oslo-extractor-uml-ea/lib/DataRegistry.ts @@ -1,17 +1,17 @@ import type { Logger } from '@oslo-flanders/core'; import { fetchFileOrUrl } from '@oslo-flanders/core'; import MDBReader from 'mdb-reader'; -import type { EaAttribute } from './types/EaAttribute'; -import type { EaConnector } from './types/EaConnector'; -import type { EaDiagram } from './types/EaDiagram'; -import type { EaElement } from './types/EaElement'; -import type { EaPackage } from './types/EaPackage'; -import type { NormalizedConnector } from './types/NormalizedConnector'; -import { loadAttributes } from './utils/loadAttributes'; -import { loadDiagrams } from './utils/loadDiagrams'; -import { loadElementConnectors } from './utils/loadElementConnectors'; -import { loadElements } from './utils/loadElements'; -import { loadPackages } from './utils/loadPackage'; +import type { EaAttribute } from '@oslo-extractor-uml-ea/types/EaAttribute'; +import type { EaConnector } from '@oslo-extractor-uml-ea/types/EaConnector'; +import type { EaDiagram } from '@oslo-extractor-uml-ea/types/EaDiagram'; +import type { EaElement } from '@oslo-extractor-uml-ea/types/EaElement'; +import type { EaPackage } from '@oslo-extractor-uml-ea/types/EaPackage'; +import type { NormalizedConnector } from '@oslo-extractor-uml-ea/types/NormalizedConnector'; +import { loadAttributes } from '@oslo-extractor-uml-ea/utils/loadAttributes'; +import { loadDiagrams } from '@oslo-extractor-uml-ea/utils/loadDiagrams'; +import { loadElementConnectors } from '@oslo-extractor-uml-ea/utils/loadElementConnectors'; +import { loadElements } from '@oslo-extractor-uml-ea/utils/loadElements'; +import { loadPackages } from '@oslo-extractor-uml-ea/utils/loadPackage'; export class DataRegistry { public readonly logger: Logger; diff --git a/packages/oslo-extractor-uml-ea/lib/types/EaAttribute.ts b/packages/oslo-extractor-uml-ea/lib/types/EaAttribute.ts index 1e1eb5e..fad3f63 100644 --- a/packages/oslo-extractor-uml-ea/lib/types/EaAttribute.ts +++ b/packages/oslo-extractor-uml-ea/lib/types/EaAttribute.ts @@ -1,5 +1,5 @@ import { uniqueId } from '@oslo-flanders/core'; -import { EaObject } from './EaObject'; +import { EaObject } from '@oslo-extractor-uml-ea/types/EaObject'; /** * Represents an attribute in Enterprise Architect diff --git a/packages/oslo-extractor-uml-ea/lib/types/EaConnector.ts b/packages/oslo-extractor-uml-ea/lib/types/EaConnector.ts index 13e093f..aab8e1d 100644 --- a/packages/oslo-extractor-uml-ea/lib/types/EaConnector.ts +++ b/packages/oslo-extractor-uml-ea/lib/types/EaConnector.ts @@ -1,7 +1,7 @@ import { uniqueId } from '@oslo-flanders/core'; -import { ConnectorDirection } from '../enums/ConnectorDirection'; -import { EaObject } from './EaObject'; -import type { EaTag } from './EaTag'; +import { ConnectorDirection } from '@oslo-extractor-uml-ea/enums/ConnectorDirection'; +import { EaObject } from '@oslo-extractor-uml-ea/types/EaObject'; +import type { EaTag } from '@oslo-extractor-uml-ea/types/EaTag'; /** * Represents a connector in Enterprise Architect diff --git a/packages/oslo-extractor-uml-ea/lib/types/EaDiagram.ts b/packages/oslo-extractor-uml-ea/lib/types/EaDiagram.ts index f430da3..63d0e85 100644 --- a/packages/oslo-extractor-uml-ea/lib/types/EaDiagram.ts +++ b/packages/oslo-extractor-uml-ea/lib/types/EaDiagram.ts @@ -1,5 +1,5 @@ import { uniqueId } from '@oslo-flanders/core'; -import { EaObject } from './EaObject'; +import { EaObject } from '@oslo-extractor-uml-ea/types/EaObject'; /** * Represents a diagram in Enterprise Architect diff --git a/packages/oslo-extractor-uml-ea/lib/types/EaElement.ts b/packages/oslo-extractor-uml-ea/lib/types/EaElement.ts index d2bdba8..791281c 100644 --- a/packages/oslo-extractor-uml-ea/lib/types/EaElement.ts +++ b/packages/oslo-extractor-uml-ea/lib/types/EaElement.ts @@ -1,6 +1,6 @@ import { uniqueId } from '@oslo-flanders/core'; -import type { ElementType } from '../enums/ElementType'; -import { EaObject } from './EaObject'; +import type { ElementType } from '@oslo-extractor-uml-ea/enums/ElementType'; +import { EaObject } from '@oslo-extractor-uml-ea/types/EaObject'; /** * Represents an element in Enterprise Architect diff --git a/packages/oslo-extractor-uml-ea/lib/types/EaObject.ts b/packages/oslo-extractor-uml-ea/lib/types/EaObject.ts index a6590fa..87e1a87 100644 --- a/packages/oslo-extractor-uml-ea/lib/types/EaObject.ts +++ b/packages/oslo-extractor-uml-ea/lib/types/EaObject.ts @@ -1,4 +1,4 @@ -import type { EaTag } from './EaTag'; +import type { EaTag } from '@oslo-extractor-uml-ea/types/EaTag'; export abstract class EaObject { public readonly id: number; diff --git a/packages/oslo-extractor-uml-ea/lib/types/EaPackage.ts b/packages/oslo-extractor-uml-ea/lib/types/EaPackage.ts index 45c52cb..a348f75 100644 --- a/packages/oslo-extractor-uml-ea/lib/types/EaPackage.ts +++ b/packages/oslo-extractor-uml-ea/lib/types/EaPackage.ts @@ -1,5 +1,5 @@ import { uniqueId } from '@oslo-flanders/core'; -import { EaObject } from './EaObject'; +import { EaObject } from '@oslo-extractor-uml-ea/types/EaObject'; /** * Represents a package in Enterprise Architect diff --git a/packages/oslo-extractor-uml-ea/lib/types/NormalizedConnector.ts b/packages/oslo-extractor-uml-ea/lib/types/NormalizedConnector.ts index 1989b35..bc66143 100644 --- a/packages/oslo-extractor-uml-ea/lib/types/NormalizedConnector.ts +++ b/packages/oslo-extractor-uml-ea/lib/types/NormalizedConnector.ts @@ -1,8 +1,8 @@ import { uniqueId } from '@oslo-flanders/core'; -import { NormalizedConnectorTypes } from '../enums/NormalizedConnectorTypes'; -import type { EaConnector } from './EaConnector'; -import { EaObject } from './EaObject'; -import type { EaTag } from './EaTag'; +import { NormalizedConnectorTypes } from '@oslo-extractor-uml-ea/enums/NormalizedConnectorTypes'; +import type { EaConnector } from '@oslo-extractor-uml-ea/types/EaConnector'; +import { EaObject } from '@oslo-extractor-uml-ea/types/EaObject'; +import type { EaTag } from '@oslo-extractor-uml-ea/types/EaTag'; export class NormalizedConnector extends EaObject { private readonly _sourceObjectId: number; diff --git a/packages/oslo-extractor-uml-ea/lib/utils/assignTags.ts b/packages/oslo-extractor-uml-ea/lib/utils/assignTags.ts index 8e3cbe8..1bf9632 100644 --- a/packages/oslo-extractor-uml-ea/lib/utils/assignTags.ts +++ b/packages/oslo-extractor-uml-ea/lib/utils/assignTags.ts @@ -1,6 +1,6 @@ -import type { EaConnector } from '../types/EaConnector'; -import type { EaObject } from '../types/EaObject'; -import type { EaTag } from '../types/EaTag'; +import type { EaConnector } from '@oslo-extractor-uml-ea/types/EaConnector'; +import type { EaObject } from '@oslo-extractor-uml-ea/types/EaObject'; +import type { EaTag } from '@oslo-extractor-uml-ea/types/EaTag'; /** * Iterates over tags and adds it to the corresponding object. diff --git a/packages/oslo-extractor-uml-ea/lib/utils/loadAttributes.ts b/packages/oslo-extractor-uml-ea/lib/utils/loadAttributes.ts index 03e7839..5d37704 100644 --- a/packages/oslo-extractor-uml-ea/lib/utils/loadAttributes.ts +++ b/packages/oslo-extractor-uml-ea/lib/utils/loadAttributes.ts @@ -1,9 +1,9 @@ import type MDBReader from 'mdb-reader'; -import type { DataRegistry } from '../DataRegistry'; -import { EaTable } from '../enums/EaTable'; -import { EaAttribute } from '../types/EaAttribute'; -import type { EaElement } from '../types/EaElement'; -import { addEaTagsToElements } from './assignTags'; +import type { DataRegistry } from '@oslo-extractor-uml-ea/DataRegistry'; +import { EaTable } from '@oslo-extractor-uml-ea/enums/EaTable'; +import { EaAttribute } from '@oslo-extractor-uml-ea/types/EaAttribute'; +import type { EaElement } from '@oslo-extractor-uml-ea/types/EaElement'; +import { addEaTagsToElements } from '@oslo-extractor-uml-ea/utils/assignTags'; export function loadAttributes(mdb: MDBReader, model: DataRegistry): DataRegistry { const attributes = mdb.getTable(EaTable.Attribute).getData(); diff --git a/packages/oslo-extractor-uml-ea/lib/utils/loadDiagrams.ts b/packages/oslo-extractor-uml-ea/lib/utils/loadDiagrams.ts index 889b9c1..543a0e5 100644 --- a/packages/oslo-extractor-uml-ea/lib/utils/loadDiagrams.ts +++ b/packages/oslo-extractor-uml-ea/lib/utils/loadDiagrams.ts @@ -1,12 +1,12 @@ import alasql from 'alasql'; import type MDBReader from 'mdb-reader'; -import type { DataRegistry } from '../DataRegistry'; -import { ConnectorDirection } from '../enums/ConnectorDirection'; -import { EaTable } from '../enums/EaTable'; -import type { EaConnector } from '../types/EaConnector'; -import { EaDiagram } from '../types/EaDiagram'; -import type { EaPackage } from '../types/EaPackage'; -import { resolveConnectorDirection } from './resolveConnectorDirection'; +import type { DataRegistry } from '@oslo-extractor-uml-ea/DataRegistry'; +import { ConnectorDirection } from '@oslo-extractor-uml-ea/enums/ConnectorDirection'; +import { EaTable } from '@oslo-extractor-uml-ea/enums/EaTable'; +import type { EaConnector } from '@oslo-extractor-uml-ea/types/EaConnector'; +import { EaDiagram } from '@oslo-extractor-uml-ea/types/EaDiagram'; +import type { EaPackage } from '@oslo-extractor-uml-ea/types/EaPackage'; +import { resolveConnectorDirection } from '@oslo-extractor-uml-ea/utils/resolveConnectorDirection'; export function loadDiagrams(mdb: MDBReader, model: DataRegistry): DataRegistry { const diagrams = mdb.getTable(EaTable.Diagram).getData(); diff --git a/packages/oslo-extractor-uml-ea/lib/utils/loadElementConnectors.ts b/packages/oslo-extractor-uml-ea/lib/utils/loadElementConnectors.ts index 652cf8a..c1f52f6 100644 --- a/packages/oslo-extractor-uml-ea/lib/utils/loadElementConnectors.ts +++ b/packages/oslo-extractor-uml-ea/lib/utils/loadElementConnectors.ts @@ -1,11 +1,11 @@ import alasql from 'alasql'; import type MDBReader from 'mdb-reader'; -import type { DataRegistry } from '../DataRegistry'; -import { EaTable } from '../enums/EaTable'; -import { EaConnector } from '../types/EaConnector'; -import type { EaElement } from '../types/EaElement'; -import { addEaTagsToElements, addRoleTagsToElements } from './assignTags'; -import { convertToConnectorDirection } from './resolveConnectorDirection'; +import type { DataRegistry } from '@oslo-extractor-uml-ea/DataRegistry'; +import { EaTable } from '@oslo-extractor-uml-ea/enums/EaTable'; +import { EaConnector } from '@oslo-extractor-uml-ea/types/EaConnector'; +import type { EaElement } from '@oslo-extractor-uml-ea/types/EaElement'; +import { addEaTagsToElements, addRoleTagsToElements } from '@oslo-extractor-uml-ea/utils/assignTags'; +import { convertToConnectorDirection } from '@oslo-extractor-uml-ea/utils/resolveConnectorDirection'; export function loadElementConnectors(mdb: MDBReader, model: DataRegistry): DataRegistry { const connectors = mdb.getTable(EaTable.Connector).getData(); diff --git a/packages/oslo-extractor-uml-ea/lib/utils/loadElements.ts b/packages/oslo-extractor-uml-ea/lib/utils/loadElements.ts index dbb85af..42c5bfd 100644 --- a/packages/oslo-extractor-uml-ea/lib/utils/loadElements.ts +++ b/packages/oslo-extractor-uml-ea/lib/utils/loadElements.ts @@ -1,11 +1,11 @@ import alasql from 'alasql'; import type MDBReader from 'mdb-reader'; -import type { DataRegistry } from '../DataRegistry'; -import { EaTable } from '../enums/EaTable'; -import { ElementType } from '../enums/ElementType'; -import { EaElement } from '../types/EaElement'; -import type { EaPackage } from '../types/EaPackage'; -import { addEaTagsToElements } from './assignTags'; +import type { DataRegistry } from '@oslo-extractor-uml-ea/DataRegistry'; +import { EaTable } from '@oslo-extractor-uml-ea/enums/EaTable'; +import { ElementType } from '@oslo-extractor-uml-ea/enums/ElementType'; +import { EaElement } from '@oslo-extractor-uml-ea/types/EaElement'; +import type { EaPackage } from '@oslo-extractor-uml-ea/types/EaPackage'; +import { addEaTagsToElements } from '@oslo-extractor-uml-ea/utils/assignTags'; export function loadElements(mdb: MDBReader, model: DataRegistry): DataRegistry { const objects = mdb.getTable(EaTable.Object).getData(); diff --git a/packages/oslo-extractor-uml-ea/lib/utils/loadPackage.ts b/packages/oslo-extractor-uml-ea/lib/utils/loadPackage.ts index bcc864d..4e55250 100644 --- a/packages/oslo-extractor-uml-ea/lib/utils/loadPackage.ts +++ b/packages/oslo-extractor-uml-ea/lib/utils/loadPackage.ts @@ -1,9 +1,9 @@ import alasql from 'alasql'; import type MDBReader from 'mdb-reader'; -import type { DataRegistry } from '../DataRegistry'; -import { EaTable } from '../enums/EaTable'; -import { EaPackage } from '../types/EaPackage'; -import { addEaTagsToElements } from './assignTags'; +import type { DataRegistry } from '@oslo-extractor-uml-ea/DataRegistry'; +import { EaTable } from '@oslo-extractor-uml-ea/enums/EaTable'; +import { EaPackage } from '@oslo-extractor-uml-ea/types/EaPackage'; +import { addEaTagsToElements } from '@oslo-extractor-uml-ea/utils/assignTags'; export function loadPackages(mdb: MDBReader, model: DataRegistry): DataRegistry { const packages = mdb.getTable(EaTable.Package).getData(); diff --git a/packages/oslo-extractor-uml-ea/lib/utils/resolveConnectorDirection.ts b/packages/oslo-extractor-uml-ea/lib/utils/resolveConnectorDirection.ts index 4f86671..b245e70 100644 --- a/packages/oslo-extractor-uml-ea/lib/utils/resolveConnectorDirection.ts +++ b/packages/oslo-extractor-uml-ea/lib/utils/resolveConnectorDirection.ts @@ -1,4 +1,4 @@ -import { ConnectorDirection } from '../enums/ConnectorDirection'; +import { ConnectorDirection } from '@oslo-extractor-uml-ea/enums/ConnectorDirection'; /** * Resolves the direction of a connector by applying a regular expression on the geometry field of a connector. diff --git a/packages/oslo-extractor-uml-ea/package.json b/packages/oslo-extractor-uml-ea/package.json index 9dcc121..5ef8733 100644 --- a/packages/oslo-extractor-uml-ea/package.json +++ b/packages/oslo-extractor-uml-ea/package.json @@ -6,6 +6,9 @@ "homepage": "https://github.com/informatievlaanderen/OSLO-UML-Transformer/tree/main/packages/oslo-extract-uml-ea#readme", "license": "MIT", "main": "index.js", + "_moduleAliases": { + "@oslo-extractor-uml-ea": "./lib" + }, "directories": { "lib": "lib", "test": "test" @@ -55,5 +58,8 @@ "mdb-reader": "1.2.1", "reflect-metadata": "^0.1.13" }, - "gitHead": "f749c71908781f533e0e35f0e3394ce43a8dd7c0" + "gitHead": "f749c71908781f533e0e35f0e3394ce43a8dd7c0", + "devDependencies": { + "module-alias": "^2.2.3" + } } diff --git a/packages/oslo-generator-jsonld-context/bin/runner.ts b/packages/oslo-generator-jsonld-context/bin/runner.ts index ae7d2a5..2ef5e0b 100644 --- a/packages/oslo-generator-jsonld-context/bin/runner.ts +++ b/packages/oslo-generator-jsonld-context/bin/runner.ts @@ -1,4 +1,7 @@ #!/usr/bin/env node -import { JsonldContextGenerationServiceRunner } from '../lib/JsonldContextGenerationServiceRunner'; +import 'module-alias/register'; +import { + JsonldContextGenerationServiceRunner, +} from '@oslo-generator-jsonld-context/JsonldContextGenerationServiceRunner'; // eslint-disable-next-line no-sync new JsonldContextGenerationServiceRunner().runCliSync(process); diff --git a/packages/oslo-generator-jsonld-context/index.ts b/packages/oslo-generator-jsonld-context/index.ts index 8d60e10..28363f4 100644 --- a/packages/oslo-generator-jsonld-context/index.ts +++ b/packages/oslo-generator-jsonld-context/index.ts @@ -1,6 +1,8 @@ import 'reflect-metadata'; -export * from './lib/JsonldContextGenerationService'; -export * from './lib/JsonldContextGenerationServiceRunner'; -export * from './lib/config/DependencyInjectionConfig'; -export * from './lib/config/JsonldContextGenerationServiceConfiguration'; -export * from './lib/utils/utils'; +import 'module-alias/register'; + +export * from '@oslo-generator-jsonld-context/JsonldContextGenerationService'; +export * from '@oslo-generator-jsonld-context/JsonldContextGenerationServiceRunner'; +export * from '@oslo-generator-jsonld-context/config/DependencyInjectionConfig'; +export * from '@oslo-generator-jsonld-context/config/JsonldContextGenerationServiceConfiguration'; +export * from '@oslo-generator-jsonld-context/utils/utils'; diff --git a/packages/oslo-generator-jsonld-context/lib/JsonldContextGenerationService.ts b/packages/oslo-generator-jsonld-context/lib/JsonldContextGenerationService.ts index 52d15e8..7a80a07 100644 --- a/packages/oslo-generator-jsonld-context/lib/JsonldContextGenerationService.ts +++ b/packages/oslo-generator-jsonld-context/lib/JsonldContextGenerationService.ts @@ -9,8 +9,10 @@ import { Logger, import type * as RDF from '@rdfjs/types'; import { inject, injectable } from 'inversify'; -import { JsonldContextGenerationServiceConfiguration } from './config/JsonldContextGenerationServiceConfiguration'; -import { alphabeticalSort, toCamelCase, toPascalCase } from './utils/utils'; +import { + JsonldContextGenerationServiceConfiguration, + } from '@oslo-generator-jsonld-context/config/JsonldContextGenerationServiceConfiguration'; +import { alphabeticalSort, toCamelCase, toPascalCase } from '@oslo-generator-jsonld-context/utils/utils'; @injectable() export class JsonldContextGenerationService implements IService { diff --git a/packages/oslo-generator-jsonld-context/lib/JsonldContextGenerationServiceRunner.ts b/packages/oslo-generator-jsonld-context/lib/JsonldContextGenerationServiceRunner.ts index 19fc464..0015f85 100644 --- a/packages/oslo-generator-jsonld-context/lib/JsonldContextGenerationServiceRunner.ts +++ b/packages/oslo-generator-jsonld-context/lib/JsonldContextGenerationServiceRunner.ts @@ -2,9 +2,11 @@ import type { CliArgv } from '@oslo-flanders/core'; import { AppRunner } from '@oslo-flanders/core'; import yargs from 'yargs'; -import { container } from './config/DependencyInjectionConfig'; -import type { JsonldContextGenerationServiceConfiguration } from './config/JsonldContextGenerationServiceConfiguration'; -import type { JsonldContextGenerationService } from './JsonldContextGenerationService'; +import { container } from '@oslo-generator-jsonld-context/config/DependencyInjectionConfig'; +import type { + JsonldContextGenerationServiceConfiguration, +} from '@oslo-generator-jsonld-context/config/JsonldContextGenerationServiceConfiguration'; +import type { JsonldContextGenerationService } from '@oslo-generator-jsonld-context/JsonldContextGenerationService'; export class JsonldContextGenerationServiceRunner extends AppRunner { diff --git a/packages/oslo-generator-jsonld-context/lib/config/DependencyInjectionConfig.ts b/packages/oslo-generator-jsonld-context/lib/config/DependencyInjectionConfig.ts index 0ab80bf..c7ac747 100644 --- a/packages/oslo-generator-jsonld-context/lib/config/DependencyInjectionConfig.ts +++ b/packages/oslo-generator-jsonld-context/lib/config/DependencyInjectionConfig.ts @@ -3,8 +3,10 @@ import type { IConfiguration, IService } from '@oslo-flanders/core'; import { QuadStore, ServiceIdentifier } from '@oslo-flanders/core'; import { Container } from 'inversify'; -import { JsonldContextGenerationService } from '../JsonldContextGenerationService'; -import { JsonldContextGenerationServiceConfiguration } from './JsonldContextGenerationServiceConfiguration'; +import { + JsonldContextGenerationServiceConfiguration, +} from '@oslo-generator-jsonld-context/config/JsonldContextGenerationServiceConfiguration'; +import { JsonldContextGenerationService } from '@oslo-generator-jsonld-context/JsonldContextGenerationService'; export const container = new Container(); diff --git a/packages/oslo-generator-jsonld-context/package.json b/packages/oslo-generator-jsonld-context/package.json index 3829dc1..157d8ff 100644 --- a/packages/oslo-generator-jsonld-context/package.json +++ b/packages/oslo-generator-jsonld-context/package.json @@ -6,6 +6,9 @@ "homepage": "https://github.com/informatievlaanderen/OSLO-UML-Transformer/tree/main/packages/oslo-generator-jsonld-context#readme", "license": "MIT", "main": "index.js", + "_moduleAliases": { + "@oslo-generator-jsonld-context": "./lib" + }, "bin": { "oslo-jsonld-context-generator": "./bin/runner.js" }, @@ -54,7 +57,8 @@ "url": "https://github.com/Informatievlaanderen/OSLO-UML-Transformer/issues" }, "devDependencies": { - "@rdfjs/types": "^1.1.0" + "@rdfjs/types": "^1.1.0", + "module-alias": "^2.2.3" }, "dependencies": { "@oslo-flanders/core": "^0.0.4-alpha.0", diff --git a/packages/oslo-generator-rdf-vocabulary/bin/runner.ts b/packages/oslo-generator-rdf-vocabulary/bin/runner.ts index fdbfae1..d13dc6f 100644 --- a/packages/oslo-generator-rdf-vocabulary/bin/runner.ts +++ b/packages/oslo-generator-rdf-vocabulary/bin/runner.ts @@ -1,5 +1,7 @@ #!/usr/bin/env node - -import { RdfVocabularyGenerationServiceRunner } from '../lib/RdfVocabularyGenerationServiceRunner'; +import 'module-alias/register'; +import { + RdfVocabularyGenerationServiceRunner, +} from '@oslo-generator-rdf-vocabulary/RdfVocabularyGenerationServiceRunner'; // eslint-disable-next-line no-sync new RdfVocabularyGenerationServiceRunner().runCliSync(process); diff --git a/packages/oslo-generator-rdf-vocabulary/index.ts b/packages/oslo-generator-rdf-vocabulary/index.ts index 186e150..2f68888 100644 --- a/packages/oslo-generator-rdf-vocabulary/index.ts +++ b/packages/oslo-generator-rdf-vocabulary/index.ts @@ -1,5 +1,7 @@ import 'reflect-metadata'; -export * from './lib/RdfVocabularyGenerationServiceRunner'; -export * from './lib/RdfVocabularyGenerationService'; -export * from './lib/config/DependencyInjectionConfig'; -export * from './lib/config/RdfVocabularyGenerationServiceConfiguration'; +import 'module-alias/register'; + +export * from '@oslo-generator-rdf-vocabulary/RdfVocabularyGenerationServiceRunner'; +export * from '@oslo-generator-rdf-vocabulary/RdfVocabularyGenerationService'; +export * from '@oslo-generator-rdf-vocabulary/config/DependencyInjectionConfig'; +export * from '@oslo-generator-rdf-vocabulary/config/RdfVocabularyGenerationServiceConfiguration'; diff --git a/packages/oslo-generator-rdf-vocabulary/lib/RdfVocabularyGenerationService.ts b/packages/oslo-generator-rdf-vocabulary/lib/RdfVocabularyGenerationService.ts index d704069..eddcbc9 100644 --- a/packages/oslo-generator-rdf-vocabulary/lib/RdfVocabularyGenerationService.ts +++ b/packages/oslo-generator-rdf-vocabulary/lib/RdfVocabularyGenerationService.ts @@ -14,7 +14,9 @@ import { inject, injectable } from 'inversify'; import { DataFactory } from 'rdf-data-factory'; import rdfSerializer from 'rdf-serialize'; import streamifyArray from 'streamify-array'; -import { RdfVocabularyGenerationServiceConfiguration } from './config/RdfVocabularyGenerationServiceConfiguration'; +import { + RdfVocabularyGenerationServiceConfiguration, +} from '@oslo-generator-rdf-vocabulary/config/RdfVocabularyGenerationServiceConfiguration'; @injectable() export class RdfVocabularyGenerationService implements IService { diff --git a/packages/oslo-generator-rdf-vocabulary/lib/RdfVocabularyGenerationServiceRunner.ts b/packages/oslo-generator-rdf-vocabulary/lib/RdfVocabularyGenerationServiceRunner.ts index 2e8a5e5..b88f9df 100644 --- a/packages/oslo-generator-rdf-vocabulary/lib/RdfVocabularyGenerationServiceRunner.ts +++ b/packages/oslo-generator-rdf-vocabulary/lib/RdfVocabularyGenerationServiceRunner.ts @@ -2,9 +2,11 @@ import type { CliArgv } from '@oslo-flanders/core'; import { AppRunner } from '@oslo-flanders/core'; import yargs from 'yargs'; -import { container } from './config/DependencyInjectionConfig'; -import type { RdfVocabularyGenerationServiceConfiguration } from './config/RdfVocabularyGenerationServiceConfiguration'; -import type { RdfVocabularyGenerationService } from './RdfVocabularyGenerationService'; +import { container } from '@oslo-generator-rdf-vocabulary/config/DependencyInjectionConfig'; +import type { + RdfVocabularyGenerationServiceConfiguration, +} from '@oslo-generator-rdf-vocabulary/config/RdfVocabularyGenerationServiceConfiguration'; +import type { RdfVocabularyGenerationService } from '@oslo-generator-rdf-vocabulary/RdfVocabularyGenerationService'; export class RdfVocabularyGenerationServiceRunner extends AppRunner { diff --git a/packages/oslo-generator-rdf-vocabulary/lib/config/DependencyInjectionConfig.ts b/packages/oslo-generator-rdf-vocabulary/lib/config/DependencyInjectionConfig.ts index 68a73b8..cbd07e2 100644 --- a/packages/oslo-generator-rdf-vocabulary/lib/config/DependencyInjectionConfig.ts +++ b/packages/oslo-generator-rdf-vocabulary/lib/config/DependencyInjectionConfig.ts @@ -2,8 +2,10 @@ import { QuadStore, ServiceIdentifier } from '@oslo-flanders/core'; import type { IConfiguration, IService } from '@oslo-flanders/core'; import { Container } from 'inversify'; -import { RdfVocabularyGenerationService } from '../RdfVocabularyGenerationService'; -import { RdfVocabularyGenerationServiceConfiguration } from './RdfVocabularyGenerationServiceConfiguration'; +import { + RdfVocabularyGenerationServiceConfiguration, +} from '@oslo-generator-rdf-vocabulary/config/RdfVocabularyGenerationServiceConfiguration'; +import { RdfVocabularyGenerationService } from '@oslo-generator-rdf-vocabulary/RdfVocabularyGenerationService'; export const container = new Container(); diff --git a/packages/oslo-generator-rdf-vocabulary/package.json b/packages/oslo-generator-rdf-vocabulary/package.json index 8797c1b..8eb1748 100644 --- a/packages/oslo-generator-rdf-vocabulary/package.json +++ b/packages/oslo-generator-rdf-vocabulary/package.json @@ -6,6 +6,9 @@ "homepage": "https://github.com/informatievlaanderen/OSLO-UML-Transformer/tree/main/packages/oslo-generator-rdf-vocabulary#readme", "license": "MIT", "main": "index.js", + "_moduleAliases": { + "@oslo-generator-rdf-vocabulary": "./lib" + }, "bin": { "oslo-generator-rdf": "./bin/runner.js" }, @@ -53,7 +56,8 @@ }, "devDependencies": { "@rdfjs/types": "^1.1.0", - "@types/streamify-array": "^1.0.0" + "@types/streamify-array": "^1.0.0", + "module-alias": "^2.2.3" }, "dependencies": { "@oslo-flanders/core": "^0.0.4-alpha.0", diff --git a/packages/oslo-generator-respec-html/bin/runner.ts b/packages/oslo-generator-respec-html/bin/runner.ts index 3d494a3..48c378b 100644 --- a/packages/oslo-generator-respec-html/bin/runner.ts +++ b/packages/oslo-generator-respec-html/bin/runner.ts @@ -1,4 +1,5 @@ #!/usr/bin/env node -import { HtmlRespecGenerationServiceRunner } from '../lib/HtmlRespecGenerationServiceRunner'; +import 'module-alias/register'; +import { HtmlRespecGenerationServiceRunner } from '@oslo-generator-respec-html/HtmlRespecGenerationServiceRunner'; // eslint-disable-next-line no-sync new HtmlRespecGenerationServiceRunner().runCliSync(process); diff --git a/packages/oslo-generator-respec-html/index.ts b/packages/oslo-generator-respec-html/index.ts index 862b836..b545744 100644 --- a/packages/oslo-generator-respec-html/index.ts +++ b/packages/oslo-generator-respec-html/index.ts @@ -1,7 +1,9 @@ -export * from './lib/HtmlRespecGenerationService'; -export * from './lib/HtmlRespecGenerationServiceRunner'; -export * from './lib/config/DependencyInjectionConfig'; -export * from './lib/config/HtmlRespecGenerationServiceConfiguration'; -export * from './lib/utils/scopeFilter'; -export * from './lib/utils/alphabeticalSort'; -export * from './lib/utils/specificationTypeEnum'; +import 'module-alias/register'; + +export * from '@oslo-generator-respec-html/HtmlRespecGenerationService'; +export * from '@oslo-generator-respec-html/HtmlRespecGenerationServiceRunner'; +export * from '@oslo-generator-respec-html/config/DependencyInjectionConfig'; +export * from '@oslo-generator-respec-html/config/HtmlRespecGenerationServiceConfiguration'; +export * from '@oslo-generator-respec-html/utils/scopeFilter'; +export * from '@oslo-generator-respec-html/utils/alphabeticalSort'; +export * from '@oslo-generator-respec-html/utils/specificationTypeEnum'; diff --git a/packages/oslo-generator-respec-html/lib/HtmlRespecGenerationService.ts b/packages/oslo-generator-respec-html/lib/HtmlRespecGenerationService.ts index 12ba104..7561d0e 100644 --- a/packages/oslo-generator-respec-html/lib/HtmlRespecGenerationService.ts +++ b/packages/oslo-generator-respec-html/lib/HtmlRespecGenerationService.ts @@ -6,10 +6,12 @@ import { ns, Logger, QuadStore, ServiceIdentifier } from '@oslo-flanders/core'; import type * as RDF from '@rdfjs/types'; import { inject, injectable } from 'inversify'; import * as nj from 'nunjucks'; -import { HtmlRespecGenerationServiceConfiguration } from './config/HtmlRespecGenerationServiceConfiguration'; -import { alphabeticalSort } from './utils/alphabeticalSort'; -import { isInScope } from './utils/scopeFilter'; -import { SpecificationType } from './utils/specificationTypeEnum'; +import { + HtmlRespecGenerationServiceConfiguration, +} from '@oslo-generator-respec-html/config/HtmlRespecGenerationServiceConfiguration'; +import { alphabeticalSort } from '@oslo-generator-respec-html/utils/alphabeticalSort'; +import { isInScope } from '@oslo-generator-respec-html/utils/scopeFilter'; +import { SpecificationType } from '@oslo-generator-respec-html/utils/specificationTypeEnum'; @injectable() export class HtmlRespecGenerationService implements IService { diff --git a/packages/oslo-generator-respec-html/lib/HtmlRespecGenerationServiceRunner.ts b/packages/oslo-generator-respec-html/lib/HtmlRespecGenerationServiceRunner.ts index f267b97..bdf057e 100644 --- a/packages/oslo-generator-respec-html/lib/HtmlRespecGenerationServiceRunner.ts +++ b/packages/oslo-generator-respec-html/lib/HtmlRespecGenerationServiceRunner.ts @@ -1,9 +1,11 @@ import type { CliArgv } from '@oslo-flanders/core'; import { AppRunner } from '@oslo-flanders/core'; import yargs from 'yargs'; -import { container } from './config/DependencyInjectionConfig'; -import type { HtmlRespecGenerationServiceConfiguration } from './config/HtmlRespecGenerationServiceConfiguration'; -import type { HtmlRespecGenerationService } from './HtmlRespecGenerationService'; +import { container } from '@oslo-generator-respec-html/config/DependencyInjectionConfig'; +import type { + HtmlRespecGenerationServiceConfiguration, +} from '@oslo-generator-respec-html/config/HtmlRespecGenerationServiceConfiguration'; +import type { HtmlRespecGenerationService } from '@oslo-generator-respec-html/HtmlRespecGenerationService'; export class HtmlRespecGenerationServiceRunner extends AppRunner { diff --git a/packages/oslo-generator-respec-html/lib/config/DependencyInjectionConfig.ts b/packages/oslo-generator-respec-html/lib/config/DependencyInjectionConfig.ts index e80dff6..e4036c9 100644 --- a/packages/oslo-generator-respec-html/lib/config/DependencyInjectionConfig.ts +++ b/packages/oslo-generator-respec-html/lib/config/DependencyInjectionConfig.ts @@ -3,8 +3,10 @@ import type { IConfiguration, IService } from '@oslo-flanders/core'; import { QuadStore, ServiceIdentifier } from '@oslo-flanders/core'; import { Container } from 'inversify'; -import { HtmlRespecGenerationService } from '../HtmlRespecGenerationService'; -import { HtmlRespecGenerationServiceConfiguration } from './HtmlRespecGenerationServiceConfiguration'; +import { + HtmlRespecGenerationServiceConfiguration, +} from '@oslo-generator-respec-html/config/HtmlRespecGenerationServiceConfiguration'; +import { HtmlRespecGenerationService } from '@oslo-generator-respec-html/HtmlRespecGenerationService'; export const container = new Container(); diff --git a/packages/oslo-generator-respec-html/lib/config/HtmlRespecGenerationServiceConfiguration.ts b/packages/oslo-generator-respec-html/lib/config/HtmlRespecGenerationServiceConfiguration.ts index 3d8a364..59dc628 100644 --- a/packages/oslo-generator-respec-html/lib/config/HtmlRespecGenerationServiceConfiguration.ts +++ b/packages/oslo-generator-respec-html/lib/config/HtmlRespecGenerationServiceConfiguration.ts @@ -1,6 +1,6 @@ import type { IConfiguration, YargsParams } from '@oslo-flanders/core'; import { injectable } from 'inversify'; -import { SpecificationType } from '../utils/specificationTypeEnum'; +import { SpecificationType } from '@oslo-generator-respec-html/utils/specificationTypeEnum'; @injectable() export class HtmlRespecGenerationServiceConfiguration implements IConfiguration { diff --git a/packages/oslo-generator-respec-html/package-lock.json b/packages/oslo-generator-respec-html/package-lock.json deleted file mode 100644 index 295080d..0000000 --- a/packages/oslo-generator-respec-html/package-lock.json +++ /dev/null @@ -1,1562 +0,0 @@ -{ - "name": "@oslo-flanders/html-respec-generator", - "version": "0.0.2-alpha.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "@oslo-flanders/html-respec-generator", - "version": "0.0.2-alpha.0", - "license": "MIT", - "dependencies": { - "@oslo-flanders/core": "^0.0.4-alpha.0", - "@oslo-flanders/html-respec-generator": "^0.0.2-alpha.0", - "@oslo-flanders/stakeholders-converter": "^0.0.4-alpha.0", - "inversify": "^6.0.1", - "n3": "^1.16.4", - "nunjucks": "^3.2.4", - "reflect-metadata": "^0.1.13", - "yargs": "^17.7.2" - }, - "bin": { - "oslo-generator-respec": "bin/runner.js" - }, - "devDependencies": { - "@rdfjs/types": "^1.1.0", - "@types/nunjucks": "^3.2.2" - } - }, - "node_modules/@bergos/jsonparse": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@bergos/jsonparse/-/jsonparse-1.4.1.tgz", - "integrity": "sha512-vXIT0nzZGX/+yMD5bx2VhTzc92H55tPoehh1BW/FZHOndWGFddrH3MAfdx39FRc7irABirW6EQaGxIJYV6CGuA==", - "engines": [ - "node >= 0.2.0" - ], - "dependencies": { - "buffer": "^6.0.3" - } - }, - "node_modules/@colors/colors": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.6.0.tgz", - "integrity": "sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==", - "engines": { - "node": ">=0.1.90" - } - }, - "node_modules/@comunica/actor-abstract-mediatyped": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-abstract-mediatyped/-/actor-abstract-mediatyped-2.10.0.tgz", - "integrity": "sha512-0o6WBujsMnIVcwvRJv6Nj+kKPLZzqBS3On48rm01Rh9T1/My0E/buJMXwgcARKCfMonc2mJ9zxpPCh5ilGEU2A==", - "dependencies": { - "@comunica/core": "^2.10.0", - "@comunica/types": "^2.10.0" - } - }, - "node_modules/@comunica/actor-abstract-parse": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-abstract-parse/-/actor-abstract-parse-2.10.0.tgz", - "integrity": "sha512-0puCWF+y24EDOOAUUVVbC+tOf4UV+LzEbqi8T5v25jcVGCXyTqfra+bDywfrcv3adrVp18jLCJ46ycaH5xhy9Q==", - "dependencies": { - "@comunica/core": "^2.10.0", - "readable-stream": "^4.4.2" - } - }, - "node_modules/@comunica/actor-http-fetch": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-http-fetch/-/actor-http-fetch-2.10.0.tgz", - "integrity": "sha512-4rcRFQ7HQ1qCNNnlSYl1gE58M2AsJZsUg7CoKT2NM2TvvnB1A4KaRQVfM185t9dhrbs595bIcA8WUUVIY+ofCw==", - "dependencies": { - "@comunica/bus-http": "^2.10.0", - "@comunica/context-entries": "^2.10.0", - "@comunica/mediatortype-time": "^2.10.0", - "abort-controller": "^3.0.0", - "cross-fetch": "^4.0.0" - } - }, - "node_modules/@comunica/actor-http-proxy": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-http-proxy/-/actor-http-proxy-2.10.0.tgz", - "integrity": "sha512-WpwjGRZcIPcnR8OVumrlmLPfYR5livQsUbOPqmYFDxjI+xDfuOYvCPc/uLyYyBpMH10dejmaRWeCUsIguZz5ZQ==", - "dependencies": { - "@comunica/bus-http": "^2.10.0", - "@comunica/context-entries": "^2.10.0", - "@comunica/mediatortype-time": "^2.10.0", - "@comunica/types": "^2.10.0" - } - }, - "node_modules/@comunica/actor-rdf-parse-html": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-html/-/actor-rdf-parse-html-2.10.0.tgz", - "integrity": "sha512-zgImXKpc+BN1i6lQiN1Qhlb1HbKdMIeJMOys6qbzRIijdK8GkGGChwhQp7Cso3lY1Nf4K7M3jPLZeQXeED2w7g==", - "dependencies": { - "@comunica/bus-rdf-parse": "^2.10.0", - "@comunica/bus-rdf-parse-html": "^2.10.0", - "@comunica/core": "^2.10.0", - "@comunica/types": "^2.10.0", - "@rdfjs/types": "*", - "htmlparser2": "^9.0.0", - "readable-stream": "^4.4.2" - } - }, - "node_modules/@comunica/actor-rdf-parse-html-microdata": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-html-microdata/-/actor-rdf-parse-html-microdata-2.10.0.tgz", - "integrity": "sha512-JLfiDauq4SmpI6TDS4HaHzI6iJe1j8lSk5FRRYK6YVEu8eO28jPmxQJiOiwbQiYqsjsV7kON/WIZSoUELoI4Ig==", - "dependencies": { - "@comunica/bus-rdf-parse-html": "^2.10.0", - "@comunica/core": "^2.10.0", - "microdata-rdf-streaming-parser": "^2.0.1" - } - }, - "node_modules/@comunica/actor-rdf-parse-html-rdfa": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-html-rdfa/-/actor-rdf-parse-html-rdfa-2.10.0.tgz", - "integrity": "sha512-9K3iaws9+FGl50oZi53hqyzhwjNKZ3mIr2zg/TAJZoapKvc14cthH17zKSSJrqI/NgBStRmZhBBkXcwfu1CANw==", - "dependencies": { - "@comunica/bus-rdf-parse-html": "^2.10.0", - "@comunica/core": "^2.10.0", - "rdfa-streaming-parser": "^2.0.1" - } - }, - "node_modules/@comunica/actor-rdf-parse-html-script": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-html-script/-/actor-rdf-parse-html-script-2.10.0.tgz", - "integrity": "sha512-7XYqWchDquWnBLjG7rmmY+tdE81UZ8fPCU0Hn+vI39/MikNOpaiyr/ZYFqhogWFa9SkjmH0a7idVUzmjiwKRZQ==", - "dependencies": { - "@comunica/bus-rdf-parse": "^2.10.0", - "@comunica/bus-rdf-parse-html": "^2.10.0", - "@comunica/context-entries": "^2.10.0", - "@comunica/core": "^2.10.0", - "@comunica/types": "^2.10.0", - "@rdfjs/types": "*", - "readable-stream": "^4.4.2", - "relative-to-absolute-iri": "^1.0.7" - } - }, - "node_modules/@comunica/actor-rdf-parse-jsonld": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-jsonld/-/actor-rdf-parse-jsonld-2.10.0.tgz", - "integrity": "sha512-A6TczotUsFyceQf2Nqp4+99c28ZnfkCqUrm7IXPhYUSA6p+KyMew52dr1nC0H7AJ6hRozqY3ZeOrvTjHOWytNg==", - "dependencies": { - "@comunica/bus-http": "^2.10.0", - "@comunica/bus-rdf-parse": "^2.10.0", - "@comunica/context-entries": "^2.10.0", - "@comunica/core": "^2.10.0", - "@comunica/types": "^2.10.0", - "jsonld-context-parser": "^2.2.2", - "jsonld-streaming-parser": "^3.0.1", - "stream-to-string": "^1.2.0" - } - }, - "node_modules/@comunica/actor-rdf-parse-n3": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-n3/-/actor-rdf-parse-n3-2.10.0.tgz", - "integrity": "sha512-o1MAbwJxW4Br2WCZdhFoRmAiOP4mfogeQqJ4nqlsOkoMtQ45EvLHsotb3Kqhuk5V+vsTxyK5v/a4zylGtcU7VQ==", - "dependencies": { - "@comunica/bus-rdf-parse": "^2.10.0", - "@comunica/types": "^2.10.0", - "n3": "^1.17.0" - } - }, - "node_modules/@comunica/actor-rdf-parse-rdfxml": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-rdfxml/-/actor-rdf-parse-rdfxml-2.10.0.tgz", - "integrity": "sha512-HoJN52shXY3cvYtsS0cpin9KXpW3L7g1leebyCRSqnlnHdJv5D6G0Ep8vyt2xhquKNbOQ7LnP5VhiDiqz73XDg==", - "dependencies": { - "@comunica/bus-rdf-parse": "^2.10.0", - "@comunica/types": "^2.10.0", - "rdfxml-streaming-parser": "^2.2.3" - } - }, - "node_modules/@comunica/actor-rdf-parse-shaclc": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-shaclc/-/actor-rdf-parse-shaclc-2.10.0.tgz", - "integrity": "sha512-i6tmuZuS+RtDiSXpQc3s/PxtCqwIguo4ANmVB20PK4VWgQgBwoPG7LlNcJ0xmuH/3Bv6C2Agn18PLF6dZX+fKw==", - "dependencies": { - "@comunica/bus-rdf-parse": "^2.10.0", - "@comunica/types": "^2.10.0", - "@rdfjs/types": "*", - "asynciterator": "^3.8.1", - "readable-stream": "^4.4.2", - "shaclc-parse": "^1.4.0", - "stream-to-string": "^1.2.0" - } - }, - "node_modules/@comunica/actor-rdf-parse-xml-rdfa": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-xml-rdfa/-/actor-rdf-parse-xml-rdfa-2.10.0.tgz", - "integrity": "sha512-68r/6B/fEyA1/OYleVuaPq47J+g4xJcJijpdL1wEj7CqjV+Xa+sDWRpNCyLcD/e1Y/g9UQmLz0ZnSpR00PFddA==", - "dependencies": { - "@comunica/bus-rdf-parse": "^2.10.0", - "@comunica/types": "^2.10.0", - "rdfa-streaming-parser": "^2.0.1" - } - }, - "node_modules/@comunica/bus-http": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/bus-http/-/bus-http-2.10.0.tgz", - "integrity": "sha512-wITLxYFvAuFsml4txgxYfxzgroVtWCi+Ja3TTN1l+MpeN1CyDfcA3oL30W8jLMJStjxt1SUmtuOoUjM1lzsbFA==", - "dependencies": { - "@comunica/core": "^2.10.0", - "is-stream": "^2.0.1", - "readable-stream-node-to-web": "^1.0.1", - "readable-web-to-node-stream": "^3.0.2", - "web-streams-ponyfill": "^1.4.2" - } - }, - "node_modules/@comunica/bus-init": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/bus-init/-/bus-init-2.10.0.tgz", - "integrity": "sha512-hJejHa8sLVhQLFlduCVnhOd5aW3FCEz8wmWjyeLI3kiHFaQibnGVMhUuuNRX5f8bnnPuTdEiHc1nnYHuSi+j8A==", - "dependencies": { - "@comunica/core": "^2.10.0", - "readable-stream": "^4.4.2" - } - }, - "node_modules/@comunica/bus-rdf-parse": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/bus-rdf-parse/-/bus-rdf-parse-2.10.0.tgz", - "integrity": "sha512-EgCMZACfTG/+mayQpExWt0HoBT32BBVC1aS1lC43fXKBTxJ8kYrSrorVUuMACoh4dQVGTb+7j1j4K0hGNVzXGA==", - "dependencies": { - "@comunica/actor-abstract-mediatyped": "^2.10.0", - "@comunica/actor-abstract-parse": "^2.10.0", - "@comunica/core": "^2.10.0", - "@rdfjs/types": "*" - } - }, - "node_modules/@comunica/bus-rdf-parse-html": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/bus-rdf-parse-html/-/bus-rdf-parse-html-2.10.0.tgz", - "integrity": "sha512-RZliz4TtKP63QggoohGuIkGb6lq0BoYJ4aztKtGldWtPAVP/pdEvlDpiZWLB/j19g7S2aDLNY/lJtZ5efM1tHQ==", - "dependencies": { - "@comunica/core": "^2.10.0", - "@rdfjs/types": "*" - } - }, - "node_modules/@comunica/config-query-sparql": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/@comunica/config-query-sparql/-/config-query-sparql-2.7.0.tgz", - "integrity": "sha512-rMnFgT7cz9+0z7wV4OzIMY5qM9/Z0mTGrR8y2JokoHyyTcBGOSajFmy61XCSLMCsLLG8qDXsJ4ClCCky3TGfqA==" - }, - "node_modules/@comunica/context-entries": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/context-entries/-/context-entries-2.10.0.tgz", - "integrity": "sha512-lmCYCcXxW8C6ecFH2whZCt31NT1ejb0P/sbytK7f4ctyA06Q8iYFEcYE4eWOXMdpfkwkcnz31x9XL77OGeSC2Q==", - "dependencies": { - "@comunica/core": "^2.10.0", - "@comunica/types": "^2.10.0", - "@rdfjs/types": "*", - "jsonld-context-parser": "^2.2.2", - "sparqlalgebrajs": "^4.2.0" - } - }, - "node_modules/@comunica/core": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/core/-/core-2.10.0.tgz", - "integrity": "sha512-onsGs2iKHUPRxxMOdx42vdxslk8q9FQZdRjQtHJ6SGiCpJwIL9ciBgPIOl2RL2YfzXHemr/0umeNOppRDcWhJA==", - "dependencies": { - "@comunica/types": "^2.10.0", - "immutable": "^4.1.0" - }, - "engines": { - "node": ">=14.0" - } - }, - "node_modules/@comunica/mediator-combine-pipeline": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/mediator-combine-pipeline/-/mediator-combine-pipeline-2.10.0.tgz", - "integrity": "sha512-j7+/oUlbhKB4Rq6g9oNKU+e9cQL8U9z8tAUNhoXUSHajcr4huj0t1+riaOD109/DRWhV793ILhBDzgiZbHd7DA==", - "dependencies": { - "@comunica/core": "^2.10.0", - "@comunica/types": "^2.10.0" - } - }, - "node_modules/@comunica/mediator-combine-union": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/mediator-combine-union/-/mediator-combine-union-2.10.0.tgz", - "integrity": "sha512-QbP4zP1i6nMDZ8teC0RoTz5E8pOpxDhWPBr1ylb2jzPUjPpMgrnbHYTondlN0Oau3SMEehItojg/LYDtPOP/GQ==", - "dependencies": { - "@comunica/core": "^2.10.0" - } - }, - "node_modules/@comunica/mediator-number": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/mediator-number/-/mediator-number-2.10.0.tgz", - "integrity": "sha512-0T8D1HGTu5Sd8iKb2dBjc6VRc/U4A15TAN6m561ra9pFlP+w31kby0ZYP6WWBHBobbUsX1LCvnbRQaAC4uWwVw==", - "dependencies": { - "@comunica/core": "^2.10.0" - } - }, - "node_modules/@comunica/mediator-race": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/mediator-race/-/mediator-race-2.10.0.tgz", - "integrity": "sha512-JiEtOLMkPnbjSLabVpE4VqDbu2ZKKnkUdATGBeWX+o+MjPw6c0hhw01RG4WY2rQhDyNl++nLQe3EowQh8xW9TA==", - "dependencies": { - "@comunica/core": "^2.10.0" - } - }, - "node_modules/@comunica/mediatortype-time": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/mediatortype-time/-/mediatortype-time-2.10.0.tgz", - "integrity": "sha512-nBz1exxrja1Tj8KSlSevG4Hw2u09tTh6gtNfVjI76i/e7muu4RUWVhi9b8PcwBNAfuUqRl+5OgOSa2X4W+6QlA==", - "dependencies": { - "@comunica/core": "^2.10.0" - } - }, - "node_modules/@comunica/types": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/types/-/types-2.10.0.tgz", - "integrity": "sha512-1UjPGbZcYrapBjMGUZedrIGcn9rOLpEOlJo1ZkWddFUGTwndVg9d4BZnQw+UnQzXMcLJcdKt94Zns8iEmBqARw==", - "dependencies": { - "@rdfjs/types": "*", - "@types/yargs": "^17.0.24", - "asynciterator": "^3.8.1", - "sparqlalgebrajs": "^4.2.0" - } - }, - "node_modules/@dabh/diagnostics": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz", - "integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==", - "dependencies": { - "colorspace": "1.1.x", - "enabled": "2.0.x", - "kuler": "^2.0.0" - } - }, - "node_modules/@oslo-flanders/core": { - "version": "0.0.4-alpha.0", - "resolved": "https://registry.npmjs.org/@oslo-flanders/core/-/core-0.0.4-alpha.0.tgz", - "integrity": "sha512-PY7nYxhpD5T/c35ek+uhdDvvS4s2dLWpzx5+oOGVgbsIWA67v5LTc960ifxFhjB2GAFA/+K25qFaZBUvHt+XCQ==", - "dependencies": { - "crypto-js": "^4.1.1", - "inversify": "^6.0.1", - "n3": "^1.16.2", - "node-fetch": "^2.6.7", - "rdf-data-factory": "^1.1.1", - "rdf-parse": "^2.1.1", - "reflect-metadata": "^0.1.13", - "streamify-string": "^1.0.1", - "winston": "^3.8.2", - "winston-transport": "^4.5.0" - } - }, - "node_modules/@oslo-flanders/html-respec-generator": { - "version": "0.0.2-alpha.0", - "resolved": "https://registry.npmjs.org/@oslo-flanders/html-respec-generator/-/html-respec-generator-0.0.2-alpha.0.tgz", - "integrity": "sha512-DC9p+zlrwUHf4zuUKx/8cVcBPzHecATSMnUZxjLQn2CItdg5K5pICK6UoH/j7aw4MUTTOCTj3hqrp9OVwEiknw==", - "dependencies": { - "@oslo-flanders/core": "^0.0.4-alpha.0", - "inversify": "^6.0.1", - "n3": "^1.16.4", - "nunjucks": "^3.2.4", - "reflect-metadata": "^0.1.13", - "yargs": "^17.7.2" - }, - "bin": { - "oslo-generator-respec": "bin/runner.js" - } - }, - "node_modules/@oslo-flanders/stakeholders-converter": { - "version": "0.0.4-alpha.0", - "resolved": "https://registry.npmjs.org/@oslo-flanders/stakeholders-converter/-/stakeholders-converter-0.0.4-alpha.0.tgz", - "integrity": "sha512-4Ju9tcmZMX05zHUQ+PKqEC6JH840VE/zPgFIA1lDfqZlIrhZqGqKpysSyNSEB2e8KGJb8Ywfr7pZ2lngFdhRWw==", - "dependencies": { - "@oslo-flanders/core": "^0.0.4-alpha.0", - "csv-parse": "^5.3.6", - "inversify": "^6.0.1", - "reflect-metadata": "^0.1.13", - "yargs": "^17.6.0" - }, - "bin": { - "oslo-stakeholders-converter": "bin/runner.js" - } - }, - "node_modules/@rdfjs/types": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@rdfjs/types/-/types-1.1.0.tgz", - "integrity": "sha512-5zm8bN2/CC634dTcn/0AhTRLaQRjXDZs3QfcAsQKNturHT7XVWcKy/8p3P5gXl+YkZTAmy7T5M/LyiT/jbkENw==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@rubensworks/saxes": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@rubensworks/saxes/-/saxes-6.0.1.tgz", - "integrity": "sha512-UW4OTIsOtJ5KSXo2Tchi4lhZqu+tlHrOAs4nNti7CrtB53kAZl3/hyrTi6HkMihxdbDM6m2Zc3swc/ZewEe1xw==", - "dependencies": { - "xmlchars": "^2.2.0" - }, - "engines": { - "node": ">=v12.22.12" - } - }, - "node_modules/@types/http-link-header": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/http-link-header/-/http-link-header-1.0.5.tgz", - "integrity": "sha512-AxhIKR8UbyoqCTNp9rRepkktHuUOw3DjfOfDCaO9kwI8AYzjhxyrvZq4+mRw/2daD3hYDknrtSeV6SsPwmc71w==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/node": { - "version": "20.10.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.0.tgz", - "integrity": "sha512-D0WfRmU9TQ8I9PFx9Yc+EBHw+vSpIub4IDvQivcp26PtPrdMGAq5SDcpXEo/epqa/DXotVpekHiLNTg3iaKXBQ==", - "dependencies": { - "undici-types": "~5.26.4" - } - }, - "node_modules/@types/nunjucks": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/@types/nunjucks/-/nunjucks-3.2.6.tgz", - "integrity": "sha512-pHiGtf83na1nCzliuAdq8GowYiXvH5l931xZ0YEHaLMNFgynpEqx+IPStlu7UaDkehfvl01e4x/9Tpwhy7Ue3w==", - "dev": true - }, - "node_modules/@types/readable-stream": { - "version": "2.3.15", - "resolved": "https://registry.npmjs.org/@types/readable-stream/-/readable-stream-2.3.15.tgz", - "integrity": "sha512-oM5JSKQCcICF1wvGgmecmHldZ48OZamtMxcGGVICOJA8o8cahXC1zEVAif8iwoc5j8etxFaRFnf095+CDsuoFQ==", - "dependencies": { - "@types/node": "*", - "safe-buffer": "~5.1.1" - } - }, - "node_modules/@types/sparqljs": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/@types/sparqljs/-/sparqljs-3.1.8.tgz", - "integrity": "sha512-A9cCkdFzMMYeY1oyd+yxqc0DEyrKnq/M5rPZ/xgGrRhlHglNt0JXw+uh9JsS0IbIOdWKXiqwD2Bn2wGhpSCrYA==", - "dependencies": { - "rdf-js": "^4.0.2" - } - }, - "node_modules/@types/triple-beam": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz", - "integrity": "sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw==" - }, - "node_modules/@types/yargs": { - "version": "17.0.32", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", - "integrity": "sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==", - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/@types/yargs-parser": { - "version": "21.0.3", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", - "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==" - }, - "node_modules/a-sync-waterfall": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/a-sync-waterfall/-/a-sync-waterfall-1.0.1.tgz", - "integrity": "sha512-RYTOHHdWipFUliRFMCS4X2Yn2X8M87V/OpSqWzKKOGhzqyUxzyVmhHDH9sAvG+ZuQf/TAOFsLCpMw09I1ufUnA==" - }, - "node_modules/abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "dependencies": { - "event-target-shim": "^5.0.0" - }, - "engines": { - "node": ">=6.5" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/ansi-styles/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/ansi-styles/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==" - }, - "node_modules/async": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", - "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==" - }, - "node_modules/asynciterator": { - "version": "3.8.1", - "resolved": "https://registry.npmjs.org/asynciterator/-/asynciterator-3.8.1.tgz", - "integrity": "sha512-SmdG0FUY3pYGOZZGdYq8Qb/DCRDXBFZUk08V1/4lbBXdAQvcC3Kxzz9FUDPBTik7VAVltt4cZirAPtJv3gOpEw==" - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "node_modules/canonicalize": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/canonicalize/-/canonicalize-1.0.8.tgz", - "integrity": "sha512-0CNTVCLZggSh7bc5VkX5WWPWO+cyZbNd07IHIsSXLia/eAq+r836hgk+8BKoEh7949Mda87VUOitx5OddVj64A==" - }, - "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/color": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", - "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", - "dependencies": { - "color-convert": "^1.9.3", - "color-string": "^1.6.0" - } - }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" - }, - "node_modules/color-string": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", - "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", - "dependencies": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" - } - }, - "node_modules/colorspace": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz", - "integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==", - "dependencies": { - "color": "^3.1.3", - "text-hex": "1.0.x" - } - }, - "node_modules/commander": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", - "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==", - "engines": { - "node": ">= 6" - } - }, - "node_modules/cross-fetch": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", - "integrity": "sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==", - "dependencies": { - "node-fetch": "^2.6.12" - } - }, - "node_modules/crypto-js": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz", - "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==" - }, - "node_modules/csv-parse": { - "version": "5.5.2", - "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-5.5.2.tgz", - "integrity": "sha512-YRVtvdtUNXZCMyK5zd5Wty1W6dNTpGKdqQd4EQ8tl/c6KW1aMBB1Kg1ppky5FONKmEqGJ/8WjLlTNLPne4ioVA==" - }, - "node_modules/dom-serializer": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", - "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", - "dependencies": { - "domelementtype": "^2.3.0", - "domhandler": "^5.0.2", - "entities": "^4.2.0" - }, - "funding": { - "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" - } - }, - "node_modules/domelementtype": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", - "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ] - }, - "node_modules/domhandler": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", - "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", - "dependencies": { - "domelementtype": "^2.3.0" - }, - "engines": { - "node": ">= 4" - }, - "funding": { - "url": "https://github.com/fb55/domhandler?sponsor=1" - } - }, - "node_modules/domutils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", - "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", - "dependencies": { - "dom-serializer": "^2.0.0", - "domelementtype": "^2.3.0", - "domhandler": "^5.0.3" - }, - "funding": { - "url": "https://github.com/fb55/domutils?sponsor=1" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/enabled": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", - "integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==" - }, - "node_modules/entities": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", - "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "engines": { - "node": ">=6" - } - }, - "node_modules/event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "engines": { - "node": ">=0.8.x" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" - }, - "node_modules/fecha": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", - "integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==" - }, - "node_modules/fn.name": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz", - "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/hash.js": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", - "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", - "dependencies": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, - "node_modules/htmlparser2": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-9.0.0.tgz", - "integrity": "sha512-uxbSI98wmFT/G4P2zXx4OVx04qWUmyFPrD2/CNepa2Zo3GPNaCaaxElDgwUrwYWkK1nr9fft0Ya8dws8coDLLQ==", - "funding": [ - "https://github.com/fb55/htmlparser2?sponsor=1", - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ], - "dependencies": { - "domelementtype": "^2.3.0", - "domhandler": "^5.0.3", - "domutils": "^3.1.0", - "entities": "^4.5.0" - } - }, - "node_modules/http-link-header": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/http-link-header/-/http-link-header-1.1.1.tgz", - "integrity": "sha512-mW3N/rTYpCn99s1do0zx6nzFZSwLH9HGfUM4ZqLWJ16ylmYaC2v5eYGqrNTQlByx8AzUgGI+V/32gXPugs1+Sw==", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/immutable": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.4.tgz", - "integrity": "sha512-fsXeu4J4i6WNWSikpI88v/PcVflZz+6kMhUfIwc5SY+poQRPnaf5V7qds6SUyUN3cVxEzuCab7QIoLOQ+DQ1wA==" - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/inversify": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/inversify/-/inversify-6.0.2.tgz", - "integrity": "sha512-i9m8j/7YIv4mDuYXUAcrpKPSaju/CIly9AHK5jvCBeoiM/2KEsuCQTTP+rzSWWpLYWRukdXFSl6ZTk2/uumbiA==" - }, - "node_modules/is-arrayish": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/jsonld-context-parser": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/jsonld-context-parser/-/jsonld-context-parser-2.4.0.tgz", - "integrity": "sha512-ZYOfvh525SdPd9ReYY58dxB3E2RUEU4DJ6ZibO8AitcowPeBH4L5rCAitE2om5G1P+HMEgYEYEr4EZKbVN4tpA==", - "dependencies": { - "@types/http-link-header": "^1.0.1", - "@types/node": "^18.0.0", - "cross-fetch": "^3.0.6", - "http-link-header": "^1.0.2", - "relative-to-absolute-iri": "^1.0.5" - }, - "bin": { - "jsonld-context-parse": "bin/jsonld-context-parse.js" - } - }, - "node_modules/jsonld-context-parser/node_modules/@types/node": { - "version": "18.18.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.13.tgz", - "integrity": "sha512-vXYZGRrSCreZmq1rEjMRLXJhiy8MrIeVasx+PCVlP414N7CJLHnMf+juVvjdprHyH+XRy3zKZLHeNueOpJCn0g==", - "dependencies": { - "undici-types": "~5.26.4" - } - }, - "node_modules/jsonld-context-parser/node_modules/cross-fetch": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", - "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", - "dependencies": { - "node-fetch": "^2.6.12" - } - }, - "node_modules/jsonld-streaming-parser": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/jsonld-streaming-parser/-/jsonld-streaming-parser-3.3.0.tgz", - "integrity": "sha512-6aWiAsWGZioTB/vNQ3KenREz9ddEOliZoEETi+jLrlL7+vkgMeHjnxyFlGe4UOCU7SVUNPhz/lgLGZjnxgVYtA==", - "dependencies": { - "@bergos/jsonparse": "^1.4.0", - "@rdfjs/types": "*", - "@types/http-link-header": "^1.0.1", - "@types/readable-stream": "^2.3.13", - "buffer": "^6.0.3", - "canonicalize": "^1.0.1", - "http-link-header": "^1.0.2", - "jsonld-context-parser": "^2.4.0", - "rdf-data-factory": "^1.1.0", - "readable-stream": "^4.0.0" - } - }, - "node_modules/kuler": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", - "integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==" - }, - "node_modules/logform": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.6.0.tgz", - "integrity": "sha512-1ulHeNPp6k/LD8H91o7VYFBng5i1BDE7HoKxVbZiGFidS1Rj65qcywLxX+pVfAPoQJEjRdvKcusKwOupHCVOVQ==", - "dependencies": { - "@colors/colors": "1.6.0", - "@types/triple-beam": "^1.3.2", - "fecha": "^4.2.0", - "ms": "^2.1.1", - "safe-stable-stringify": "^2.3.1", - "triple-beam": "^1.3.0" - }, - "engines": { - "node": ">= 12.0.0" - } - }, - "node_modules/microdata-rdf-streaming-parser": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/microdata-rdf-streaming-parser/-/microdata-rdf-streaming-parser-2.0.1.tgz", - "integrity": "sha512-oEEYP3OwPGOtoE4eIyJvX1eJXI7VkGR4gKYqpEufaRXc2ele/Tkid/KMU3Los13wGrOq6woSxLEGOYSHzpRvwA==", - "dependencies": { - "@rdfjs/types": "*", - "htmlparser2": "^8.0.0", - "rdf-data-factory": "^1.1.0", - "readable-stream": "^4.1.0", - "relative-to-absolute-iri": "^1.0.2" - } - }, - "node_modules/microdata-rdf-streaming-parser/node_modules/htmlparser2": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz", - "integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==", - "funding": [ - "https://github.com/fb55/htmlparser2?sponsor=1", - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ], - "dependencies": { - "domelementtype": "^2.3.0", - "domhandler": "^5.0.3", - "domutils": "^3.0.1", - "entities": "^4.4.0" - } - }, - "node_modules/minimalistic-assert": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/n3": { - "version": "1.17.2", - "resolved": "https://registry.npmjs.org/n3/-/n3-1.17.2.tgz", - "integrity": "sha512-BxSM52wYFqXrbQQT5WUEzKUn6qpYV+2L4XZLfn3Gblz2kwZ09S+QxC33WNdVEQy2djenFL8SNkrjejEKlvI6+Q==", - "dependencies": { - "queue-microtask": "^1.1.2", - "readable-stream": "^4.0.0" - }, - "engines": { - "node": ">=12.0" - } - }, - "node_modules/node-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/nunjucks": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/nunjucks/-/nunjucks-3.2.4.tgz", - "integrity": "sha512-26XRV6BhkgK0VOxfbU5cQI+ICFUtMLixv1noZn1tGU38kQH5A5nmmbk/O45xdyBhD1esk47nKrY0mvQpZIhRjQ==", - "dependencies": { - "a-sync-waterfall": "^1.0.0", - "asap": "^2.0.3", - "commander": "^5.1.0" - }, - "bin": { - "nunjucks-precompile": "bin/precompile" - }, - "engines": { - "node": ">= 6.9.0" - }, - "peerDependencies": { - "chokidar": "^3.3.0" - }, - "peerDependenciesMeta": { - "chokidar": { - "optional": true - } - } - }, - "node_modules/one-time": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz", - "integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", - "dependencies": { - "fn.name": "1.x.x" - } - }, - "node_modules/process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/promise-polyfill": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-1.1.6.tgz", - "integrity": "sha512-7rrONfyLkDEc7OJ5QBkqa4KI4EBhCd340xRuIUPGCfu13znS+vx+VDdrT9ODAJHlXm7w4lbxN3DRjyv58EuzDg==" - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/rdf-data-factory": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/rdf-data-factory/-/rdf-data-factory-1.1.2.tgz", - "integrity": "sha512-TfQD63Lokabd09ES1jAtKK8AA6rkr9rwyUBGo6olOt1CE0Um36CUQIqytyf0am2ouBPR0l7SaHxCiMcPGHkt1A==", - "dependencies": { - "@rdfjs/types": "*" - } - }, - "node_modules/rdf-isomorphic": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/rdf-isomorphic/-/rdf-isomorphic-1.3.1.tgz", - "integrity": "sha512-6uIhsXTVp2AtO6f41PdnRV5xZsa0zVZQDTBdn0br+DZuFf5M/YD+T6m8hKDUnALI6nFL/IujTMLgEs20MlNidQ==", - "dependencies": { - "@rdfjs/types": "*", - "hash.js": "^1.1.7", - "rdf-string": "^1.6.0", - "rdf-terms": "^1.7.0" - } - }, - "node_modules/rdf-js": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/rdf-js/-/rdf-js-4.0.2.tgz", - "integrity": "sha512-ApvlFa/WsQh8LpPK/6hctQwG06Z9ztQQGWVtrcrf9L6+sejHNXLPOqL+w7q3hF+iL0C4sv3AX1PUtGkLNzyZ0Q==", - "dependencies": { - "@rdfjs/types": "*" - } - }, - "node_modules/rdf-parse": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/rdf-parse/-/rdf-parse-2.3.2.tgz", - "integrity": "sha512-TOeI7FKlyr/GupfGaXZvpMLzvByOrtwt4zHLMuuy3deNGse9QyhHsspVraZam491sIgBogdchzcUqkf2WXnAsg==", - "dependencies": { - "@comunica/actor-http-fetch": "^2.0.1", - "@comunica/actor-http-proxy": "^2.0.1", - "@comunica/actor-rdf-parse-html": "^2.0.1", - "@comunica/actor-rdf-parse-html-microdata": "^2.0.1", - "@comunica/actor-rdf-parse-html-rdfa": "^2.0.1", - "@comunica/actor-rdf-parse-html-script": "^2.0.1", - "@comunica/actor-rdf-parse-jsonld": "^2.0.1", - "@comunica/actor-rdf-parse-n3": "^2.0.1", - "@comunica/actor-rdf-parse-rdfxml": "^2.0.1", - "@comunica/actor-rdf-parse-shaclc": "^2.6.2", - "@comunica/actor-rdf-parse-xml-rdfa": "^2.0.1", - "@comunica/bus-http": "^2.0.1", - "@comunica/bus-init": "^2.0.1", - "@comunica/bus-rdf-parse": "^2.0.1", - "@comunica/bus-rdf-parse-html": "^2.0.1", - "@comunica/config-query-sparql": "^2.0.1", - "@comunica/core": "^2.0.1", - "@comunica/mediator-combine-pipeline": "^2.0.1", - "@comunica/mediator-combine-union": "^2.0.1", - "@comunica/mediator-number": "^2.0.1", - "@comunica/mediator-race": "^2.0.1", - "@rdfjs/types": "*", - "readable-stream": "^4.3.0", - "stream-to-string": "^1.2.0" - } - }, - "node_modules/rdf-string": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/rdf-string/-/rdf-string-1.6.3.tgz", - "integrity": "sha512-HIVwQ2gOqf+ObsCLSUAGFZMIl3rh9uGcRf1KbM85UDhKqP+hy6qj7Vz8FKt3GA54RiThqK3mNcr66dm1LP0+6g==", - "dependencies": { - "@rdfjs/types": "*", - "rdf-data-factory": "^1.1.0" - } - }, - "node_modules/rdf-terms": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/rdf-terms/-/rdf-terms-1.11.0.tgz", - "integrity": "sha512-iKlVgnMopRKl9pHVNrQrax7PtZKRCT/uJIgYqvuw1VVQb88zDvurtDr1xp0rt7N9JtKtFwUXoIQoEsjyRo20qQ==", - "dependencies": { - "@rdfjs/types": "*", - "rdf-data-factory": "^1.1.0", - "rdf-string": "^1.6.0" - } - }, - "node_modules/rdfa-streaming-parser": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/rdfa-streaming-parser/-/rdfa-streaming-parser-2.0.1.tgz", - "integrity": "sha512-7Yyaj030LO7iQ38Wh/RNLVeYrVFJeyx3dpCK7C1nvX55eIN/gE4HWfbg4BYI9X7Bd+eUIUMVeiKYLmYjV6apow==", - "dependencies": { - "@rdfjs/types": "*", - "htmlparser2": "^8.0.0", - "rdf-data-factory": "^1.1.0", - "readable-stream": "^4.0.0", - "relative-to-absolute-iri": "^1.0.2" - } - }, - "node_modules/rdfa-streaming-parser/node_modules/htmlparser2": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz", - "integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==", - "funding": [ - "https://github.com/fb55/htmlparser2?sponsor=1", - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ], - "dependencies": { - "domelementtype": "^2.3.0", - "domhandler": "^5.0.3", - "domutils": "^3.0.1", - "entities": "^4.4.0" - } - }, - "node_modules/rdfxml-streaming-parser": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/rdfxml-streaming-parser/-/rdfxml-streaming-parser-2.4.0.tgz", - "integrity": "sha512-f+tdI1wxOiPzMbFWRtOwinwPsqac0WIN80668yFKcVdFCSTGOWTM70ucQGUSdDZZo7pce/UvZgV0C3LDj0P7tg==", - "dependencies": { - "@rdfjs/types": "*", - "@rubensworks/saxes": "^6.0.1", - "@types/readable-stream": "^2.3.13", - "buffer": "^6.0.3", - "rdf-data-factory": "^1.1.0", - "readable-stream": "^4.4.2", - "relative-to-absolute-iri": "^1.0.0", - "validate-iri": "^1.0.0" - } - }, - "node_modules/readable-stream": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.4.2.tgz", - "integrity": "sha512-Lk/fICSyIhodxy1IDK2HazkeGjSmezAWX2egdtJnYhtzKEsBPJowlI6F6LPb5tqIQILrMbx22S5o3GuJavPusA==", - "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10", - "string_decoder": "^1.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/readable-stream-node-to-web": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/readable-stream-node-to-web/-/readable-stream-node-to-web-1.0.1.tgz", - "integrity": "sha512-OGzi2VKLa8H259kAx7BIwuRrXHGcxeHj4RdASSgEGBP9Q2wowdPvBc65upF4Q9O05qWgKqBw1+9PiLTtObl7uQ==" - }, - "node_modules/readable-web-to-node-stream": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/readable-web-to-node-stream/-/readable-web-to-node-stream-3.0.2.tgz", - "integrity": "sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==", - "dependencies": { - "readable-stream": "^3.6.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/Borewit" - } - }, - "node_modules/readable-web-to-node-stream/node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/reflect-metadata": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", - "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==" - }, - "node_modules/relative-to-absolute-iri": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/relative-to-absolute-iri/-/relative-to-absolute-iri-1.0.7.tgz", - "integrity": "sha512-Xjyl4HmIzg2jzK/Un2gELqbcE8Fxy85A/aLSHE6PE/3+OGsFwmKVA1vRyGaz6vLWSqLDMHA+5rjD/xbibSQN1Q==" - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/safe-stable-stringify": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz", - "integrity": "sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==", - "engines": { - "node": ">=10" - } - }, - "node_modules/shaclc-parse": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/shaclc-parse/-/shaclc-parse-1.4.0.tgz", - "integrity": "sha512-zyxjIYQH2ghg/wtMvOp+4Nr6aK8j9bqFiVT3w47K8WHPYN+S3Zgnh2ybT+dGgMwo9KjiOoywxhjC7d8Z6GCmfA==", - "dependencies": { - "@rdfjs/types": "^1.1.0", - "n3": "^1.16.3" - } - }, - "node_modules/simple-swizzle": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", - "dependencies": { - "is-arrayish": "^0.3.1" - } - }, - "node_modules/sparqlalgebrajs": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/sparqlalgebrajs/-/sparqlalgebrajs-4.3.1.tgz", - "integrity": "sha512-cKX7c6kXvewSvBiftTxtDmFG2iqi8CtLpqErAwgrVdsbOKuDww63QcGo63Jqjhpk3H022LWlWm1OO2COq6Rtmg==", - "dependencies": { - "@rdfjs/types": "*", - "@types/sparqljs": "^3.1.3", - "fast-deep-equal": "^3.1.3", - "minimist": "^1.2.6", - "rdf-data-factory": "^1.1.0", - "rdf-isomorphic": "^1.3.0", - "rdf-string": "^1.6.0", - "rdf-terms": "^1.10.0", - "sparqljs": "^3.7.1" - }, - "bin": { - "sparqlalgebrajs": "bin/sparqlalgebrajs.js" - } - }, - "node_modules/sparqljs": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/sparqljs/-/sparqljs-3.7.1.tgz", - "integrity": "sha512-I1jYMtcwDkgCEqQ4eQuQIhB8hFAlRAJ6YDXDcV54XztaJaYRFqJlidHt77S3j8Mfh6kY6GK04dXPEIopxbEeuQ==", - "dependencies": { - "rdf-data-factory": "^1.1.2" - }, - "bin": { - "sparqljs": "bin/sparql-to-json" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==", - "engines": { - "node": "*" - } - }, - "node_modules/stream-to-string": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/stream-to-string/-/stream-to-string-1.2.1.tgz", - "integrity": "sha512-WsvTDNF8UYs369Yko3pcdTducQtYpzEZeOV7cTuReyFvOoA9S/DLJ6sYK+xPafSPHhUMpaxiljKYnT6JSFztIA==", - "dependencies": { - "promise-polyfill": "^1.1.6" - } - }, - "node_modules/streamify-string": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/streamify-string/-/streamify-string-1.0.1.tgz", - "integrity": "sha512-RXvBglotrvSIuQQ7oC55pdV40wZ/17gTb68ipMC4LA0SqMN4Sqfsf31Dpei7qXpYqZQ8ueVnPglUvtep3tlhqw==" - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string_decoder/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/text-hex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz", - "integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==" - }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" - }, - "node_modules/triple-beam": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.4.1.tgz", - "integrity": "sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg==", - "engines": { - "node": ">= 14.0.0" - } - }, - "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" - }, - "node_modules/validate-iri": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/validate-iri/-/validate-iri-1.0.1.tgz", - "integrity": "sha512-gLXi7351CoyVVQw8XE5sgpYawRKatxE7kj/xmCxXOZS1kMdtcqC0ILIqLuVEVnAUQSL/evOGG3eQ+8VgbdnstA==" - }, - "node_modules/web-streams-ponyfill": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/web-streams-ponyfill/-/web-streams-ponyfill-1.4.2.tgz", - "integrity": "sha512-LCHW+fE2UBJ2vjhqJujqmoxh1ytEDEr0dPO3CabMdMDJPKmsaxzS90V1Ar6LtNE5VHLqxR4YMEj1i4lzMAccIA==" - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/winston": { - "version": "3.11.0", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.11.0.tgz", - "integrity": "sha512-L3yR6/MzZAOl0DsysUXHVjOwv8mKZ71TrA/41EIduGpOOV5LQVodqN+QdQ6BS6PJ/RdIshZhq84P/fStEZkk7g==", - "dependencies": { - "@colors/colors": "^1.6.0", - "@dabh/diagnostics": "^2.0.2", - "async": "^3.2.3", - "is-stream": "^2.0.0", - "logform": "^2.4.0", - "one-time": "^1.0.0", - "readable-stream": "^3.4.0", - "safe-stable-stringify": "^2.3.1", - "stack-trace": "0.0.x", - "triple-beam": "^1.3.0", - "winston-transport": "^4.5.0" - }, - "engines": { - "node": ">= 12.0.0" - } - }, - "node_modules/winston-transport": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.6.0.tgz", - "integrity": "sha512-wbBA9PbPAHxKiygo7ub7BYRiKxms0tpfU2ljtWzb3SjRjv5yl6Ozuy/TkXf00HTAt+Uylo3gSkNwzc4ME0wiIg==", - "dependencies": { - "logform": "^2.3.2", - "readable-stream": "^3.6.0", - "triple-beam": "^1.3.0" - }, - "engines": { - "node": ">= 12.0.0" - } - }, - "node_modules/winston-transport/node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/winston/node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/xmlchars": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", - "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==" - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "engines": { - "node": ">=12" - } - } - } -} diff --git a/packages/oslo-generator-respec-html/package.json b/packages/oslo-generator-respec-html/package.json index 3ee9fa5..46063ba 100644 --- a/packages/oslo-generator-respec-html/package.json +++ b/packages/oslo-generator-respec-html/package.json @@ -6,6 +6,9 @@ "homepage": "https://github.com/informatievlaanderen/OSLO-UML-Transformer/tree/main/packages/oslo-generator-respec-html#readme", "license": "MIT", "main": "index.js", + "_moduleAliases": { + "@oslo-generator-respec-html": "./lib" + }, "bin": { "oslo-generator-respec": "./bin/runner.js" }, @@ -45,6 +48,7 @@ }, "devDependencies": { "@rdfjs/types": "^1.1.0", - "@types/nunjucks": "^3.2.2" + "@types/nunjucks": "^3.2.2", + "module-alias": "^2.2.3" } } diff --git a/tsconfig.json b/tsconfig.json index 0ba8171..7e8b8a0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,10 +2,7 @@ "compileOnSave": true, "compilerOptions": { "module": "commonjs", - "lib": [ - "ES2019", - "DOM" - ], + "lib": ["ES2019", "DOM"], "target": "ES2019", "noImplicitAny": true, "removeComments": false, @@ -18,15 +15,30 @@ "esModuleInterop": true, "types": ["reflect-metadata", "node", "jest"], "experimentalDecorators": true, - "emitDecoratorMetadata": true + "emitDecoratorMetadata": true, + "baseUrl": ".", // This must be specified if "paths" is. + "paths": { + "@oslo-converter-uml-ea/*": ["packages/oslo-converter-uml-ea/lib/*"], + "@oslo-core/*": ["packages/oslo-core/lib/*"], + "@oslo-extractor-uml-ea/*": ["packages/oslo-extractor-uml-ea/lib/*"], + "@oslo-converter-stakeholders/*": [ + "packages/oslo-converter-stakeholders/lib/*" + ], + "@oslo-generator-jsonld-context/*": [ + "packages/oslo-generator-jsonld-context/lib/*" + ], + "@oslo-generator-rdf-vocabulary/*": [ + "packages/oslo-generator-rdf-vocabulary/lib/*" + ], + "@oslo-generator-respec-html/*": [ + "packages/oslo-generator-respec-html/lib/*" + ] + } }, "include": [ "packages/**/index.ts", "packages/**/bin/**/*", "packages/**/lib/**/*" ], - "exclude": [ - "**/node_modules", - "**/test/*" - ] -} \ No newline at end of file + "exclude": ["**/node_modules", "**/test/*"] +}