fix: change dist for js files, fixes #76 for yarn3 (#88)

This commit is contained in:
Fabian-Lars
2023-01-12 16:55:21 +01:00
committed by GitHub
parent 79f1130b85
commit 467bcb90af
14 changed files with 99 additions and 98 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
target
node_modules
dist
dist
dist-js
+8 -8
View File
@@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy"
],
"type": "module",
"browser": "guest-js/dist/index.min.js",
"module": "guest-js/dist/index.mjs",
"types": "guest-js/dist/index.d.ts",
"browser": "dist-js/index.min.js",
"module": "dist-js/index.mjs",
"types": "dist-js/index.d.ts",
"exports": {
"import": "./guest-js/dist/index.mjs",
"types": "./guest-js/dist/index.d.ts",
"browser": "./guest-js/dist/index.min.js"
"import": "./dist-js/index.mjs",
"types": "./dist-js/index.d.ts",
"browser": "./dist-js/index.min.js"
},
"scripts": {
"build": "rollup -c"
},
"files": [
"guest-js/dist",
"!guest-js/dist/**/*.map",
"dist-js",
"!dist-js/**/*.map",
"README.md",
"LICENSE"
],
+8 -8
View File
@@ -6,20 +6,20 @@
"Tauri Programme within The Commons Conservancy"
],
"type": "module",
"browser": "guest-js/dist/index.min.js",
"module": "guest-js/dist/index.mjs",
"types": "guest-js/dist/index.d.ts",
"browser": "dist-js/index.min.js",
"module": "dist-js/index.mjs",
"types": "dist-js/index.d.ts",
"exports": {
"import": "./guest-js/dist/index.mjs",
"types": "./guest-js/dist/index.d.ts",
"browser": "./guest-js/dist/index.min.js"
"import": "./dist-js/index.mjs",
"types": "./dist-js/index.d.ts",
"browser": "./dist-js/index.min.js"
},
"scripts": {
"build": "rollup -c"
},
"files": [
"guest-js/dist",
"!guest-js/dist/**/*.map",
"dist-js",
"!dist-js/**/*.map",
"README.md",
"LICENSE"
],
+8 -8
View File
@@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy"
],
"type": "module",
"browser": "guest-js/dist/index.min.js",
"module": "guest-js/dist/index.mjs",
"types": "guest-js/dist/index.d.ts",
"browser": "dist-js/index.min.js",
"module": "dist-js/index.mjs",
"types": "dist-js/index.d.ts",
"exports": {
"import": "./guest-js/dist/index.mjs",
"types": "./guest-js/dist/index.d.ts",
"browser": "./guest-js/dist/index.min.js"
"import": "./dist-js/index.mjs",
"types": "./dist-js/index.d.ts",
"browser": "./dist-js/index.min.js"
},
"scripts": {
"build": "rollup -c"
},
"files": [
"guest-js/dist",
"!guest-js/dist/**/*.map",
"dist-js",
"!dist-js/**/*.map",
"README.md",
"LICENSE"
],
+8 -8
View File
@@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy"
],
"type": "module",
"browser": "guest-js/dist/index.min.js",
"module": "guest-js/dist/index.mjs",
"types": "guest-js/dist/index.d.ts",
"browser": "dist-js/index.min.js",
"module": "dist-js/index.mjs",
"types": "dist-js/index.d.ts",
"exports": {
"import": "./guest-js/dist/index.mjs",
"types": "./guest-js/dist/index.d.ts",
"browser": "./guest-js/dist/index.min.js"
"import": "./dist-js/index.mjs",
"types": "./dist-js/index.d.ts",
"browser": "./dist-js/index.min.js"
},
"scripts": {
"build": "rollup -c"
},
"files": [
"guest-js/dist",
"!guest-js/dist/**/*.map",
"dist-js",
"!dist-js/**/*.map",
"README.md",
"LICENSE"
],
+8 -8
View File
@@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy"
],
"type": "module",
"browser": "guest-js/dist/index.min.js",
"module": "guest-js/dist/index.mjs",
"types": "guest-js/dist/index.d.ts",
"browser": "dist-js/index.min.js",
"module": "dist-js/index.mjs",
"types": "dist-js/index.d.ts",
"exports": {
"import": "./guest-js/dist/index.mjs",
"types": "./guest-js/dist/index.d.ts",
"browser": "./guest-js/dist/index.min.js"
"import": "./dist-js/index.mjs",
"types": "./dist-js/index.d.ts",
"browser": "./dist-js/index.min.js"
},
"scripts": {
"build": "rollup -c"
},
"files": [
"guest-js/dist",
"!guest-js/dist/**/*.map",
"dist-js",
"!dist-js/**/*.map",
"README.md",
"LICENSE"
],
+8 -8
View File
@@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy"
],
"type": "module",
"browser": "guest-js/dist/index.min.js",
"module": "guest-js/dist/index.mjs",
"types": "guest-js/dist/index.d.ts",
"browser": "dist-js/index.min.js",
"module": "dist-js/index.mjs",
"types": "dist-js/index.d.ts",
"exports": {
"import": "./guest-js/dist/index.mjs",
"types": "./guest-js/dist/index.d.ts",
"browser": "./guest-js/dist/index.min.js"
"import": "./dist-js/index.mjs",
"types": "./dist-js/index.d.ts",
"browser": "./dist-js/index.min.js"
},
"scripts": {
"build": "rollup -c"
},
"files": [
"guest-js/dist",
"!guest-js/dist/**/*.map",
"dist-js",
"!dist-js/**/*.map",
"README.md",
"LICENSE"
],
+8 -8
View File
@@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy"
],
"type": "module",
"browser": "guest-js/dist/index.min.js",
"module": "guest-js/dist/index.mjs",
"types": "guest-js/dist/index.d.ts",
"browser": "dist-js/index.min.js",
"module": "dist-js/index.mjs",
"types": "dist-js/index.d.ts",
"exports": {
"import": "./guest-js/dist/index.mjs",
"types": "./guest-js/dist/index.d.ts",
"browser": "./guest-js/dist/index.min.js"
"import": "./dist-js/index.mjs",
"types": "./dist-js/index.d.ts",
"browser": "./dist-js/index.min.js"
},
"scripts": {
"build": "rollup -c"
},
"files": [
"guest-js/dist",
"!guest-js/dist/**/*.map",
"dist-js",
"!dist-js/**/*.map",
"README.md",
"LICENSE"
],
+8 -8
View File
@@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy"
],
"type": "module",
"browser": "guest-js/dist/index.min.js",
"module": "guest-js/dist/index.mjs",
"types": "guest-js/dist/index.d.ts",
"browser": "dist-js/index.min.js",
"module": "dist-js/index.mjs",
"types": "dist-js/index.d.ts",
"exports": {
"import": "./guest-js/dist/index.mjs",
"types": "./guest-js/dist/index.d.ts",
"browser": "./guest-js/dist/index.min.js"
"import": "./dist-js/index.mjs",
"types": "./dist-js/index.d.ts",
"browser": "./dist-js/index.min.js"
},
"scripts": {
"build": "rollup -c"
},
"files": [
"guest-js/dist",
"!guest-js/dist/**/*.map",
"dist-js",
"!dist-js/**/*.map",
"README.md",
"LICENSE"
],
+8 -8
View File
@@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy"
],
"type": "module",
"browser": "guest-js/dist/index.min.js",
"module": "guest-js/dist/index.mjs",
"types": "guest-js/dist/index.d.ts",
"browser": "dist-js/index.min.js",
"module": "dist-js/index.mjs",
"types": "dist-js/index.d.ts",
"exports": {
"import": "./guest-js/dist/index.mjs",
"types": "./guest-js/dist/index.d.ts",
"browser": "./guest-js/dist/index.min.js"
"import": "./dist-js/index.mjs",
"types": "./dist-js/index.d.ts",
"browser": "./dist-js/index.min.js"
},
"scripts": {
"build": "rollup -c"
},
"files": [
"guest-js/dist",
"!guest-js/dist/**/*.map",
"dist-js",
"!dist-js/**/*.map",
"README.md",
"LICENSE"
],
+8 -8
View File
@@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy"
],
"type": "module",
"browser": "guest-js/dist/index.min.js",
"module": "guest-js/dist/index.mjs",
"types": "guest-js/dist/index.d.ts",
"browser": "dist-js/index.min.js",
"module": "dist-js/index.mjs",
"types": "dist-js/index.d.ts",
"exports": {
"import": "./guest-js/dist/index.mjs",
"types": "./guest-js/dist/index.d.ts",
"browser": "./guest-js/dist/index.min.js"
"import": "./dist-js/index.mjs",
"types": "./dist-js/index.d.ts",
"browser": "./dist-js/index.min.js"
},
"scripts": {
"build": "rollup -c"
},
"files": [
"guest-js/dist",
"!guest-js/dist/**/*.map",
"dist-js",
"!dist-js/**/*.map",
"README.md",
"LICENSE"
],
+8 -8
View File
@@ -6,20 +6,20 @@
"Tauri Programme within The Commons Conservancy"
],
"type": "module",
"browser": "guest-js/dist/index.min.js",
"module": "guest-js/dist/index.mjs",
"types": "guest-js/dist/index.d.ts",
"browser": "dist-js/index.min.js",
"module": "dist-js/index.mjs",
"types": "dist-js/index.d.ts",
"exports": {
"import": "./guest-js/dist/index.mjs",
"types": "./guest-js/dist/index.d.ts",
"browser": "./guest-js/dist/index.min.js"
"import": "./dist-js/index.mjs",
"types": "./dist-js/index.d.ts",
"browser": "./dist-js/index.min.js"
},
"scripts": {
"build": "rollup -c"
},
"files": [
"guest-js/dist",
"!guest-js/dist/**/*.map",
"dist-js",
"!dist-js/**/*.map",
"README.md",
"LICENSE"
],
+8 -8
View File
@@ -6,20 +6,20 @@
"Tauri Programme within The Commons Conservancy"
],
"type": "module",
"browser": "guest-js/dist/index.min.js",
"module": "guest-js/dist/index.mjs",
"types": "guest-js/dist/index.d.ts",
"browser": "dist-js/index.min.js",
"module": "dist-js/index.mjs",
"types": "dist-js/index.d.ts",
"exports": {
"import": "./guest-js/dist/index.mjs",
"types": "./guest-js/dist/index.d.ts",
"browser": "./guest-js/dist/index.min.js"
"import": "./dist-js/index.mjs",
"types": "./dist-js/index.d.ts",
"browser": "./dist-js/index.min.js"
},
"scripts": {
"build": "rollup -c"
},
"files": [
"guest-js/dist",
"!guest-js/dist/**/*.map",
"dist-js",
"!dist-js/**/*.map",
"README.md",
"LICENSE"
],
+1 -1
View File
@@ -16,5 +16,5 @@
"declaration": true,
"declarationDir": "dist"
},
"exclude": ["guest-js/dist", "node_modules", "test/types"]
"exclude": ["dist-js", "node_modules", "test/types"]
}