Commit 2a9735ab authored by Laurent Wouters's avatar Laurent Wouters
Browse files

Removed @types/rdflib package now published by DefinitelyTyped

parent 3955f977d803
......@@ -6,9 +6,6 @@ The toolkit for the production of a browser of the web of data.
This repository contains multiple packages. It is structured as follow:
- `rdflib-types` contains the sources for the NPM package `@types/rdflib`.
This package defines the typing stubs in Typescript for the [rdflib.js](https://github.com/linkeddata/rdflib.js/) library, i.e. `rdflib` on NPM.
This package is defined here at this time, but the aim is to externalize it to the [`@types` organization](https://github.com/DefinitelyTyped/DefinitelyTyped).
- `librdf` contains the sources for the NPM package `@logilab/librdf`.
This package defines some utility API for the manipulation of RDF datasets.
- `libview` contains the sources for the NPM package `@logilab/libview`.
......
......@@ -3,12 +3,6 @@
SCRIPT="$(readlink -f "$0")"
ROOT="$(dirname "$SCRIPT")"
echo "=========================================="
echo "= Building @types/rdflib"
echo "=========================================="
(cd "$ROOT/rdflib-types"; npm install)
(cd "$ROOT/rdflib-types"; npm run build)
echo ""
echo "=========================================="
echo "= Building @logilab/librdf"
......
......@@ -23,7 +23,7 @@
"@logilab/librdf": "file:../librdf",
"@logilab/libview": "file:../libview",
"@types/chrome": "0.0.69",
"@types/rdflib": "file:../rdflib-types",
"@types/rdflib": "^0.17.0",
"@types/react": "^16.4.6",
"@types/react-dom": "^16.0.6",
"bootstrap": "^4.1.1",
......
......@@ -22,7 +22,7 @@
"license": "LGPL-3.0",
"dependencies": {
"@types/node": "^10.5.3",
"@types/rdflib": "file:../rdflib-types",
"@types/rdflib": "^0.17.0",
"rdflib": "^0.17.0"
},
"devDependencies": {
......
......@@ -22,7 +22,7 @@
"license": "LGPL-3.0",
"dependencies": {
"@types/node": "^10.5.3",
"@types/rdflib": "file:../rdflib-types"
"@types/rdflib": "^0.17.0"
},
"devDependencies": {
"copy-webpack-plugin": "^4.5.2",
......
{
"name": "@types/rdflib",
"version": "0.1.0",
"description": "Typing stubs for rdflib.",
"scripts": {
"build": "webpack",
"clean": "rm -rf build/*",
"test": "echo \"Error: no test specified\" && exit 1",
"build:production": "NODE_ENV=production webpack"
},
"main": "./build/index.js",
"types": "./build/lib/index.d.ts",
"repository": {
"type": "hg",
"url": "https://bitbucket.org/laurentw/logilab-cubicweb-client"
},
"keywords": [
"RDF",
"Typescript"
],
"author": "LOGILAB <contact@logilab.fr>",
"license": "LGPL-3.0",
"dependencies": {},
"devDependencies": {
"source-map-loader": "^0.2.3",
"ts-loader": "^4.4.2",
"typescript": "^2.9.2",
"webpack": "^4.0.1",
"webpack-cli": "^2.0.10"
}
}
This diff is collapsed.
{
"compilerOptions": {
"outDir": "./lib/",
"sourceMap": true,
"declaration": true,
"noImplicitAny": true,
"module": "commonjs",
"target": "es6",
"lib": [ "es6", "dom" ],
"jsx": "react"
},
"include": [
"./src/**/*"
],
}
\ No newline at end of file
const path = require("path");
const isProd = process.env.NODE_ENV === "production";
module.exports = [
{
entry: "./src/index.ts",
mode: isProd ? "production" : "development",
output: {
path: path.join(__dirname, "build/"),
publicPath: path.join(__dirname, "build/"),
filename: "index.js"
},
devtool: "source-map",
resolve: {
extensions: [".ts", ".tsx", ".js", ".json"]
},
module: {
rules: [
{ test: /\.tsx?$/, loader: "ts-loader" },
{ enforce: "pre", test: /\.js$/, loader: "source-map-loader" }
]
}
}
];
......@@ -24,7 +24,7 @@
"dependencies": {
"@logilab/librdf": "file:../librdf",
"@logilab/libview": "file:../libview",
"@types/rdflib": "file:../rdflib-types",
"@types/rdflib": "^0.17.0",
"rdflib": "^0.17.0",
"vue": "^2.5.16"
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment