En raison du déménagement des baies serveurs, les services gitlab.irstea.fr et mattermost.irstea.fr seront interrompus le samedi 2 octobre 2021 au matin. Ils devraient revenir à la normale dans la journée.

Commit c2d6a1a7 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Corrige le config de node et TS pour les deux paquets.

parent 51067811
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"version": "1.0.0", "version": "1.0.0",
"description": "Runtime library for the composer package irstea/ng-model-generator-bundle.", "description": "Runtime library for the composer package irstea/ng-model-generator-bundle.",
"main": "dist/index.js", "main": "dist/index.js",
"directories": {}, "types": "dist/index.d.ts",
"scripts": { "scripts": {
"build": "tsc -p tsconfig.lib.json", "build": "tsc -p tsconfig.lib.json",
"lint": "eslint --fix '{src,tests}/**/*.{js,ts}' --quiet --fix", "lint": "eslint --fix '{src,tests}/**/*.{js,ts}' --quiet --fix",
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
], ],
"author": "Irstea - pôle IS", "author": "Irstea - pôle IS",
"license": "LGPL-3.0-or-later", "license": "LGPL-3.0-or-later",
"private": true,
"engines": { "engines": {
"node": "^10", "node": "^10",
"npm": ">=7" "npm": ">=7"
......
{ {
"name": "ng-model-generator-test", "name": "ng-model-generator-test",
"description": "test package for ng-model-generator",
"repository": "none",
"license": "MIT",
"dependencies": { "dependencies": {
"irstea-ng-model": "file:../.." "irstea-ng-model": "file:../.."
}, },
"private": true,
"scripts": { "scripts": {
"build": "tsc --pretty -noEmit" "build": "tsc --pretty -noEmit"
}, },
......
{ {
"$schema": "https://json.schemastore.org/tsconfig", "$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/node10/tsconfig.json", "extends": "irstea-ng-model/tsconfig.json",
"compileOnSave": false,
"compilerOptions": { "compilerOptions": {
"noEmit": true, "noEmit": true,
"rootDir": "./models" "rootDir": "./models"
......
...@@ -6,9 +6,10 @@ ...@@ -6,9 +6,10 @@
"compileOnSave": false, "compileOnSave": false,
"compilerOptions": { "compilerOptions": {
"noEmit": true, "noEmit": true,
"rootDir": "./src/ts" "rootDir": "./src/ts",
"experimentalDecorators": true
}, },
"include": ["src/ts/**/*.ts"], "include": ["src/ts/**/*.ts"],
"exclude": ["node_modules"] "exclude": ["dist", "node_modules"]
} }
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