Skip to content

Commit

Permalink
Apply linting rules and scipts/config updates
Browse files Browse the repository at this point in the history
  • Loading branch information
maartyman committed Oct 16, 2024
1 parent 9031b49 commit e0bc07f
Show file tree
Hide file tree
Showing 140 changed files with 5,992 additions and 6,040 deletions.
9 changes: 0 additions & 9 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,3 @@ coverage
**/*.js
**/*.d.ts
**/*.js.map

engines/config-query-sparql-incremental/lib/index.ts
engines/query-sparql-incremental/bin/query.ts
engines/query-sparql-incremental/lib/QueryEngine.ts
**/test/**
**/test-browser/**

packages/dev-tools/*
packages/incremental-jest/*
185 changes: 0 additions & 185 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<a href="https://maartyman.github.io/incremunica/"><img src="https://img.shields.io/badge/doc-code_documentation-blueviolet"/></a>
</p>

This is a monorepo that builds upon the core comunica packages to allow for incremental query evaluation.
This is a monorepo that builds upon the core comunica packages to allow for incremental query evaluation.

## Querying with Incremunica

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
"@id": "urn:comunica:default:query-source-identify-hypermedia/actors#stream-none",
"@type": "ActorQuerySourceIdentifyHypermediaStreamNone",
"mediatorGuard": { "@id": "urn:comunica:default:guard/mediators#main" },
"mediatorGuard": { "@id": "urn:comunica:default:guard/mediators#main" },
"mediatorMergeBindingsContext": { "@id": "urn:comunica:default:merge-bindings-context/mediators#main" }
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-metadata-extract-request-time/^3.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-metadata-extract-allow-http-methods/^3.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-metadata-extract-put-accepted/^3.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-metadata-extract-patch-sparql-update/^3.0.0/components/context.jsonld",
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-metadata-extract-patch-sparql-update/^3.0.0/components/context.jsonld"
],
"@id": "urn:comunica:default:Runner",
"@type": "Runner",
Expand Down
1 change: 0 additions & 1 deletion engines/config-query-sparql-incremental/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
/* eslint-disable */
18 changes: 9 additions & 9 deletions engines/config-query-sparql-incremental/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@
"version": "1.3.0",
"description": "default configuration files for Comunica SPARQL Incremental",
"lsd:module": true,
"main": "lib/index.js",
"typings": "lib/index",
"license": "MIT",
"homepage": "https://maartyman.github.io/incremunica/",
"repository": {
"type": "git",
"url": "https://github.com/maartyman/incremunica",
"directory": "engines/config-query-sparql-incremental"
},
"publishConfig": {
"access": "public"
"bugs": {
"url": "https://github.com/maartyman/incremunica/issues"
},
"sideEffects": false,
"keywords": [
"comunica",
"sparql",
Expand All @@ -23,11 +22,12 @@
"config",
"incremental"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/maartyman/incremunica/issues"
"sideEffects": false,
"main": "lib/index.js",
"typings": "lib/index",
"publishConfig": {
"access": "public"
},
"homepage": "https://maartyman.github.io/incremunica/",
"files": [
"components",
"config",
Expand Down
7 changes: 0 additions & 7 deletions engines/query-sparql-incremental/bin/http.ts

This file was deleted.

1 change: 1 addition & 0 deletions engines/query-sparql-incremental/bin/query-dynamic.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env node
import { runArgsInProcess } from '@comunica/runner-cli';

// eslint-disable-next-line node/no-path-concat
runArgsInProcess(`${__dirname}/../`, `${__dirname}/../config/config-default.json`);
2 changes: 1 addition & 1 deletion engines/query-sparql-incremental/bin/query.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node
/* eslint-disable */

import { runArgsInProcessStatic } from '@comunica/runner-cli';

// eslint-disable-next-line ts/no-require-imports,ts/no-var-requires,import/extensions
runArgsInProcessStatic(require('../engine-default.js'));
1 change: 1 addition & 0 deletions engines/query-sparql-incremental/lib/QueryEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { QueryEngineBase } from '@comunica/actor-init-query';
import type { ActorInitQueryBase } from '@comunica/actor-init-query';
import type { IQueryContextCommon } from '@comunica/types';

// eslint-disable-next-line ts/no-require-imports,ts/no-var-requires,import/extensions
const engineDefault = require('../engine-default.js');

/**
Expand Down
1 change: 1 addition & 0 deletions engines/query-sparql-incremental/lib/QueryEngineFactory.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable node/no-path-concat */
import { QueryEngineFactoryBase } from '@comunica/actor-init-query';
import { QueryEngine } from './QueryEngine';

Expand Down
Loading

0 comments on commit e0bc07f

Please sign in to comment.