From 02ac8b4906e7de6732993109583741f8cf27248f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Tue, 17 May 2022 18:25:58 +0200 Subject: [PATCH] Update modele social --- modele-social/index.d.ts | 2 +- modele-social/package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modele-social/index.d.ts b/modele-social/index.d.ts index 5520252a5..41637e325 100644 --- a/modele-social/index.d.ts +++ b/modele-social/index.d.ts @@ -2,7 +2,7 @@ // sub-section of them. We might support "code-splitting" the rules in the // future. import { Rule } from 'publicodes' -import { Names } from './dist/names' +import { Names } from './dist/names.js' export type DottedName = Names declare let rules: Record diff --git a/modele-social/package.json b/modele-social/package.json index 8fe20903a..8ab24df77 100644 --- a/modele-social/package.json +++ b/modele-social/package.json @@ -2,7 +2,9 @@ "name": "modele-social", "version": "0.7.0", "description": "Les règles publicodes du système social français", + "type": "module", "main": "./dist/index.js", + "module": "dist/index.js", "types": "./index.d.ts", "repository": { "type": "git", @@ -16,7 +18,6 @@ "dist", "index.d.ts" ], - "type": "module", "devDependencies": { "js-yaml": "^4.1.0", "onchange": "^7.1.0",