mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-25 13:17:47 +02:00
chore: move package.json to plugin root
This commit is contained in:
@@ -1 +0,0 @@
|
||||
../../../shared/tsconfig.json
|
||||
@@ -6,20 +6,20 @@
|
||||
"Tauri Programme within The Commons Conservancy"
|
||||
],
|
||||
"type": "module",
|
||||
"browser": "dist/index.min.js",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"browser": "guest-js/dist/index.min.js",
|
||||
"module": "guest-js/dist/index.mjs",
|
||||
"types": "guest-js/dist/index.d.ts",
|
||||
"exports": {
|
||||
"import": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"browser": "./dist/index.min.js"
|
||||
"import": "./guest-js/dist/index.mjs",
|
||||
"types": "./guest-js/dist/index.d.ts",
|
||||
"browser": "./guest-js/dist/index.min.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"!dist/**/*.map",
|
||||
"guest-js/dist",
|
||||
"!guest-js/dist/**/*.map",
|
||||
"README.md",
|
||||
"LICENSE"
|
||||
],
|
||||
+2
-1
@@ -1,8 +1,9 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../../shared/rollup.config.mjs";
|
||||
import { createConfig } from "../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
input: 'guest-js/index.ts',
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../shared/tsconfig.json
|
||||
@@ -1 +0,0 @@
|
||||
../../../shared/tsconfig.json
|
||||
@@ -6,20 +6,20 @@
|
||||
"Tauri Programme within The Commons Conservancy"
|
||||
],
|
||||
"type": "module",
|
||||
"browser": "dist/index.min.js",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"browser": "guest-js/dist/index.min.js",
|
||||
"module": "guest-js/dist/index.mjs",
|
||||
"types": "guest-js/dist/index.d.ts",
|
||||
"exports": {
|
||||
"import": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"browser": "./dist/index.min.js"
|
||||
"import": "./guest-js/dist/index.mjs",
|
||||
"types": "./guest-js/dist/index.d.ts",
|
||||
"browser": "./guest-js/dist/index.min.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"!dist/**/*.map",
|
||||
"guest-js/dist",
|
||||
"!guest-js/dist/**/*.map",
|
||||
"README.md",
|
||||
"LICENSE"
|
||||
],
|
||||
+2
-1
@@ -1,8 +1,9 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../../shared/rollup.config.mjs";
|
||||
import { createConfig } from "../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
input: 'guest-js/index.ts',
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../shared/tsconfig.json
|
||||
@@ -1 +0,0 @@
|
||||
../../../shared/tsconfig.json
|
||||
@@ -6,13 +6,13 @@
|
||||
"Tauri Programme within The Commons Conservancy"
|
||||
],
|
||||
"type": "module",
|
||||
"browser": "dist/index.min.js",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"browser": "guest-js/dist/index.min.js",
|
||||
"module": "guest-js/dist/index.mjs",
|
||||
"types": "guest-js/dist/index.d.ts",
|
||||
"exports": {
|
||||
"import": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"browser": "./dist/index.min.js"
|
||||
"import": "./guest-js/dist/index.mjs",
|
||||
"types": "./guest-js/dist/index.d.ts",
|
||||
"browser": "./guest-js/dist/index.min.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c"
|
||||
@@ -1,8 +1,9 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../../shared/rollup.config.mjs";
|
||||
import { createConfig } from "../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
input: 'guest-js/index.ts',
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../shared/tsconfig.json
|
||||
@@ -1 +0,0 @@
|
||||
../../../shared/tsconfig.json
|
||||
@@ -6,13 +6,13 @@
|
||||
"Tauri Programme within The Commons Conservancy"
|
||||
],
|
||||
"type": "module",
|
||||
"browser": "dist/index.min.js",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"browser": "guest-js/dist/index.min.js",
|
||||
"module": "guest-js/dist/index.mjs",
|
||||
"types": "guest-js/dist/index.d.ts",
|
||||
"exports": {
|
||||
"import": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"browser": "./dist/index.min.js"
|
||||
"import": "./guest-js/dist/index.mjs",
|
||||
"types": "./guest-js/dist/index.d.ts",
|
||||
"browser": "./guest-js/dist/index.min.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c"
|
||||
@@ -1,8 +1,9 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../../shared/rollup.config.mjs";
|
||||
import { createConfig } from "../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
input: 'guest-js/index.ts',
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../shared/tsconfig.json
|
||||
@@ -1,10 +0,0 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
external: [/^@tauri-apps\/api/],
|
||||
});
|
||||
@@ -1 +0,0 @@
|
||||
../../../shared/tsconfig.json
|
||||
@@ -6,13 +6,13 @@
|
||||
"Tauri Programme within The Commons Conservancy"
|
||||
],
|
||||
"type": "module",
|
||||
"browser": "dist/index.min.js",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"browser": "guest-js/dist/index.min.js",
|
||||
"module": "guest-js/dist/index.mjs",
|
||||
"types": "guest-js/dist/index.d.ts",
|
||||
"exports": {
|
||||
"import": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"browser": "./dist/index.min.js"
|
||||
"import": "./guest-js/dist/index.mjs",
|
||||
"types": "./guest-js/dist/index.d.ts",
|
||||
"browser": "./guest-js/dist/index.min.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c"
|
||||
@@ -0,0 +1,11 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
input: 'guest-js/index.ts',
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
external: [/^@tauri-apps\/api/],
|
||||
});
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../shared/tsconfig.json
|
||||
@@ -1,10 +0,0 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
external: [/^@tauri-apps\/api/],
|
||||
});
|
||||
@@ -1 +0,0 @@
|
||||
../../../shared/tsconfig.json
|
||||
@@ -6,13 +6,13 @@
|
||||
"Tauri Programme within The Commons Conservancy"
|
||||
],
|
||||
"type": "module",
|
||||
"browser": "dist/index.min.js",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"browser": "guest-js/dist/index.min.js",
|
||||
"module": "guest-js/dist/index.mjs",
|
||||
"types": "guest-js/dist/index.d.ts",
|
||||
"exports": {
|
||||
"import": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"browser": "./dist/index.min.js"
|
||||
"import": "./guest-js/dist/index.mjs",
|
||||
"types": "./guest-js/dist/index.d.ts",
|
||||
"browser": "./guest-js/dist/index.min.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c"
|
||||
@@ -0,0 +1,11 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
input: 'guest-js/index.ts',
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
external: [/^@tauri-apps\/api/],
|
||||
});
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../shared/tsconfig.json
|
||||
@@ -1,10 +0,0 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
external: [/^@tauri-apps\/api/],
|
||||
});
|
||||
@@ -1 +0,0 @@
|
||||
../../../shared/tsconfig.json
|
||||
@@ -6,13 +6,13 @@
|
||||
"Tauri Programme within The Commons Conservancy"
|
||||
],
|
||||
"type": "module",
|
||||
"browser": "dist/index.min.js",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"browser": "guest-js/dist/index.min.js",
|
||||
"module": "guest-js/dist/index.mjs",
|
||||
"types": "guest-js/dist/index.d.ts",
|
||||
"exports": {
|
||||
"import": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"browser": "./dist/index.min.js"
|
||||
"import": "./guest-js/dist/index.mjs",
|
||||
"types": "./guest-js/dist/index.d.ts",
|
||||
"browser": "./guest-js/dist/index.min.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c"
|
||||
@@ -0,0 +1,11 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
input: 'guest-js/index.ts',
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
external: [/^@tauri-apps\/api/],
|
||||
});
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../shared/tsconfig.json
|
||||
@@ -1,10 +0,0 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
external: [/^@tauri-apps\/api/],
|
||||
});
|
||||
@@ -1 +0,0 @@
|
||||
../../../shared/tsconfig.json
|
||||
@@ -6,13 +6,13 @@
|
||||
"Tauri Programme within The Commons Conservancy"
|
||||
],
|
||||
"type": "module",
|
||||
"browser": "dist/index.min.js",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"browser": "guest-js/dist/index.min.js",
|
||||
"module": "guest-js/dist/index.mjs",
|
||||
"types": "guest-js/dist/index.d.ts",
|
||||
"exports": {
|
||||
"import": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"browser": "./dist/index.min.js"
|
||||
"import": "./guest-js/dist/index.mjs",
|
||||
"types": "./guest-js/dist/index.d.ts",
|
||||
"browser": "./guest-js/dist/index.min.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c"
|
||||
@@ -0,0 +1,11 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
input: 'guest-js/index.ts',
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
external: [/^@tauri-apps\/api/],
|
||||
});
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../shared/tsconfig.json
|
||||
@@ -1,10 +0,0 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
external: [/^@tauri-apps\/api/],
|
||||
});
|
||||
@@ -1 +0,0 @@
|
||||
../../../shared/tsconfig.json
|
||||
@@ -6,13 +6,13 @@
|
||||
"Tauri Programme within The Commons Conservancy"
|
||||
],
|
||||
"type": "module",
|
||||
"browser": "dist/index.min.js",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"browser": "guest-js/dist/index.min.js",
|
||||
"module": "guest-js/dist/index.mjs",
|
||||
"types": "guest-js/dist/index.d.ts",
|
||||
"exports": {
|
||||
"import": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"browser": "./dist/index.min.js"
|
||||
"import": "./guest-js/dist/index.mjs",
|
||||
"types": "./guest-js/dist/index.d.ts",
|
||||
"browser": "./guest-js/dist/index.min.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c"
|
||||
@@ -0,0 +1,11 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
input: 'guest-js/index.ts',
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
external: [/^@tauri-apps\/api/],
|
||||
});
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../shared/tsconfig.json
|
||||
@@ -1,10 +0,0 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
external: [/^@tauri-apps\/api/],
|
||||
});
|
||||
@@ -1 +0,0 @@
|
||||
../../../shared/tsconfig.json
|
||||
@@ -6,13 +6,13 @@
|
||||
"Tauri Programme within The Commons Conservancy"
|
||||
],
|
||||
"type": "module",
|
||||
"browser": "dist/index.min.js",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"browser": "guest-js/dist/index.min.js",
|
||||
"module": "guest-js/dist/index.mjs",
|
||||
"types": "guest-js/dist/index.d.ts",
|
||||
"exports": {
|
||||
"import": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"browser": "./dist/index.min.js"
|
||||
"import": "./guest-js/dist/index.mjs",
|
||||
"types": "./guest-js/dist/index.d.ts",
|
||||
"browser": "./guest-js/dist/index.min.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c"
|
||||
@@ -0,0 +1,11 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
input: 'guest-js/index.ts',
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
external: [/^@tauri-apps\/api/],
|
||||
});
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../shared/tsconfig.json
|
||||
@@ -1,10 +0,0 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
external: [/^@tauri-apps\/api/],
|
||||
});
|
||||
@@ -1 +0,0 @@
|
||||
../../../shared/tsconfig.json
|
||||
@@ -0,0 +1,11 @@
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
import { createConfig } from "../../shared/rollup.config.mjs";
|
||||
|
||||
export default createConfig({
|
||||
input: 'guest-js/index.ts',
|
||||
pkg: JSON.parse(
|
||||
readFileSync(new URL("./package.json", import.meta.url), "utf8")
|
||||
),
|
||||
external: [/^@tauri-apps\/api/],
|
||||
});
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../shared/tsconfig.json
|
||||
Generated
+10
-10
@@ -34,7 +34,7 @@ importers:
|
||||
rollup: 3.7.4
|
||||
typescript: 4.9.4
|
||||
|
||||
plugins/authenticator/guest-js:
|
||||
plugins/authenticator:
|
||||
specifiers:
|
||||
'@tauri-apps/api': ^1.2.0
|
||||
tslib: ^2.4.1
|
||||
@@ -43,7 +43,7 @@ importers:
|
||||
devDependencies:
|
||||
tslib: 2.4.1
|
||||
|
||||
plugins/autostart/guest-js:
|
||||
plugins/autostart:
|
||||
specifiers:
|
||||
'@tauri-apps/api': ^1.2.0
|
||||
tslib: ^2.4.1
|
||||
@@ -52,7 +52,7 @@ importers:
|
||||
devDependencies:
|
||||
tslib: 2.4.1
|
||||
|
||||
plugins/fs-extra/guest-js:
|
||||
plugins/fs-extra:
|
||||
specifiers:
|
||||
'@tauri-apps/api': ^1.2.0
|
||||
tslib: ^2.4.1
|
||||
@@ -61,7 +61,7 @@ importers:
|
||||
devDependencies:
|
||||
tslib: 2.4.1
|
||||
|
||||
plugins/fs-watch/guest-js:
|
||||
plugins/fs-watch:
|
||||
specifiers:
|
||||
'@tauri-apps/api': ^1.2.0
|
||||
tslib: ^2.4.1
|
||||
@@ -70,7 +70,7 @@ importers:
|
||||
devDependencies:
|
||||
tslib: 2.4.1
|
||||
|
||||
plugins/log/guest-js:
|
||||
plugins/log:
|
||||
specifiers:
|
||||
'@tauri-apps/api': ^1.2.0
|
||||
tslib: ^2.4.1
|
||||
@@ -79,7 +79,7 @@ importers:
|
||||
devDependencies:
|
||||
tslib: 2.4.1
|
||||
|
||||
plugins/positioner/guest-js:
|
||||
plugins/positioner:
|
||||
specifiers:
|
||||
'@tauri-apps/api': ^1.2.0
|
||||
tslib: ^2.4.1
|
||||
@@ -88,7 +88,7 @@ importers:
|
||||
devDependencies:
|
||||
tslib: 2.4.1
|
||||
|
||||
plugins/sql/guest-js:
|
||||
plugins/sql:
|
||||
specifiers:
|
||||
'@tauri-apps/api': ^1.2.0
|
||||
tslib: ^2.4.1
|
||||
@@ -97,7 +97,7 @@ importers:
|
||||
devDependencies:
|
||||
tslib: 2.4.1
|
||||
|
||||
plugins/store/guest-js:
|
||||
plugins/store:
|
||||
specifiers:
|
||||
'@tauri-apps/api': ^1.2.0
|
||||
tslib: ^2.4.1
|
||||
@@ -106,7 +106,7 @@ importers:
|
||||
devDependencies:
|
||||
tslib: 2.4.1
|
||||
|
||||
plugins/stronghold/guest-js:
|
||||
plugins/stronghold:
|
||||
specifiers:
|
||||
'@tauri-apps/api': ^1.2.0
|
||||
tslib: ^2.4.1
|
||||
@@ -115,7 +115,7 @@ importers:
|
||||
devDependencies:
|
||||
tslib: 2.4.1
|
||||
|
||||
plugins/upload/guest-js:
|
||||
plugins/upload:
|
||||
specifiers:
|
||||
'@tauri-apps/api': ^1.2.0
|
||||
tslib: ^2.4.1
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
packages:
|
||||
- plugins/*/guest-js
|
||||
- plugins/*
|
||||
|
||||
@@ -10,10 +10,10 @@ import resolve from "@rollup/plugin-node-resolve";
|
||||
* @param {string[]} external Imported package.json
|
||||
* @returns {import('rollup').RollupOptions}
|
||||
*/
|
||||
export function createConfig({ pkg, external = [] }) {
|
||||
export function createConfig({ input = "index.ts", pkg, external = [] }) {
|
||||
return [
|
||||
{
|
||||
input: "index.ts",
|
||||
input,
|
||||
external: Object.keys(pkg.dependencies || {})
|
||||
.concat(Object.keys(pkg.peerDependencies || {}))
|
||||
.concat(builtinModules)
|
||||
@@ -30,7 +30,7 @@ export function createConfig({ pkg, external = [] }) {
|
||||
plugins: [typescript({ sourceMap: true })],
|
||||
},
|
||||
{
|
||||
input: "index.ts",
|
||||
input,
|
||||
onwarn: (warning) => {
|
||||
throw Object.assign(new Error(), warning);
|
||||
},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"include": ["*.ts", "types/**/*"]
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"include": ["guest-js/*.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user