Explorar o código

revert types properties

Yuki Takei %!s(int64=3) %!d(string=hai) anos
pai
achega
c8cb2b7455

+ 1 - 0
packages/core/package.json

@@ -8,6 +8,7 @@
   ],
   "main": "dist/index.js",
   "module": "dist/index.mjs",
+  "types": "dist/index.d.ts",
   "files": [
     "dist"
   ],

+ 1 - 0
packages/hackmd/package.json

@@ -6,6 +6,7 @@
   "type": "module",
   "main": "dist/index.cjs",
   "module": "dist/index.js",
+  "types": "dist/index.d.ts",
   "scripts": {
     "build": "vite build",
     "clean": "npx -y shx rm -rf dist",

+ 1 - 0
packages/presentation/package.json

@@ -5,6 +5,7 @@
   "license": "MIT",
   "keywords": ["growi", "growi-plugin"],
   "module": "dist/presentation.mjs",
+  "types": "dist/index.d.ts",
   "files": [
     "dist"
   ],

+ 1 - 0
packages/preset-themes/package.json

@@ -5,6 +5,7 @@
   "license": "MIT",
   "main": "dist/libs/preset-themes.umd.js",
   "module": "dist/libs/preset-themes.mjs",
+  "types": "dist/libs/index.d.ts",
   "files": [
     "dist"
   ],

+ 1 - 0
packages/slack/package.json

@@ -4,6 +4,7 @@
   "license": "MIT",
   "main": "dist/slack.umd.js",
   "module": "dist/slack.mjs",
+  "types": "dist/index.d.ts",
   "scripts": {
     "build": "vite build",
     "clean": "npx -y shx rm -rf dist",