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

pull/90/head
Fabian-Lars 2 years ago committed by GitHub
parent 79f1130b85
commit 467bcb90af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
.gitignore vendored

@ -1,3 +1,4 @@
target
node_modules
dist
dist
dist-js

@ -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"
],

@ -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"
],

@ -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"
],

@ -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"
],

@ -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"
],

@ -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"
],

@ -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"
],

@ -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"
],

@ -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"
],

@ -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"
],

@ -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"
],

@ -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"
],

@ -16,5 +16,5 @@
"declaration": true,
"declarationDir": "dist"
},
"exclude": ["guest-js/dist", "node_modules", "test/types"]
"exclude": ["dist-js", "node_modules", "test/types"]
}

Loading…
Cancel
Save