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 target
node_modules node_modules
dist dist
dist-js

@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy" "Tauri Programme within The Commons Conservancy"
], ],
"type": "module", "type": "module",
"browser": "guest-js/dist/index.min.js", "browser": "dist-js/index.min.js",
"module": "guest-js/dist/index.mjs", "module": "dist-js/index.mjs",
"types": "guest-js/dist/index.d.ts", "types": "dist-js/index.d.ts",
"exports": { "exports": {
"import": "./guest-js/dist/index.mjs", "import": "./dist-js/index.mjs",
"types": "./guest-js/dist/index.d.ts", "types": "./dist-js/index.d.ts",
"browser": "./guest-js/dist/index.min.js" "browser": "./dist-js/index.min.js"
}, },
"scripts": { "scripts": {
"build": "rollup -c" "build": "rollup -c"
}, },
"files": [ "files": [
"guest-js/dist", "dist-js",
"!guest-js/dist/**/*.map", "!dist-js/**/*.map",
"README.md", "README.md",
"LICENSE" "LICENSE"
], ],

@ -6,20 +6,20 @@
"Tauri Programme within The Commons Conservancy" "Tauri Programme within The Commons Conservancy"
], ],
"type": "module", "type": "module",
"browser": "guest-js/dist/index.min.js", "browser": "dist-js/index.min.js",
"module": "guest-js/dist/index.mjs", "module": "dist-js/index.mjs",
"types": "guest-js/dist/index.d.ts", "types": "dist-js/index.d.ts",
"exports": { "exports": {
"import": "./guest-js/dist/index.mjs", "import": "./dist-js/index.mjs",
"types": "./guest-js/dist/index.d.ts", "types": "./dist-js/index.d.ts",
"browser": "./guest-js/dist/index.min.js" "browser": "./dist-js/index.min.js"
}, },
"scripts": { "scripts": {
"build": "rollup -c" "build": "rollup -c"
}, },
"files": [ "files": [
"guest-js/dist", "dist-js",
"!guest-js/dist/**/*.map", "!dist-js/**/*.map",
"README.md", "README.md",
"LICENSE" "LICENSE"
], ],

@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy" "Tauri Programme within The Commons Conservancy"
], ],
"type": "module", "type": "module",
"browser": "guest-js/dist/index.min.js", "browser": "dist-js/index.min.js",
"module": "guest-js/dist/index.mjs", "module": "dist-js/index.mjs",
"types": "guest-js/dist/index.d.ts", "types": "dist-js/index.d.ts",
"exports": { "exports": {
"import": "./guest-js/dist/index.mjs", "import": "./dist-js/index.mjs",
"types": "./guest-js/dist/index.d.ts", "types": "./dist-js/index.d.ts",
"browser": "./guest-js/dist/index.min.js" "browser": "./dist-js/index.min.js"
}, },
"scripts": { "scripts": {
"build": "rollup -c" "build": "rollup -c"
}, },
"files": [ "files": [
"guest-js/dist", "dist-js",
"!guest-js/dist/**/*.map", "!dist-js/**/*.map",
"README.md", "README.md",
"LICENSE" "LICENSE"
], ],

@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy" "Tauri Programme within The Commons Conservancy"
], ],
"type": "module", "type": "module",
"browser": "guest-js/dist/index.min.js", "browser": "dist-js/index.min.js",
"module": "guest-js/dist/index.mjs", "module": "dist-js/index.mjs",
"types": "guest-js/dist/index.d.ts", "types": "dist-js/index.d.ts",
"exports": { "exports": {
"import": "./guest-js/dist/index.mjs", "import": "./dist-js/index.mjs",
"types": "./guest-js/dist/index.d.ts", "types": "./dist-js/index.d.ts",
"browser": "./guest-js/dist/index.min.js" "browser": "./dist-js/index.min.js"
}, },
"scripts": { "scripts": {
"build": "rollup -c" "build": "rollup -c"
}, },
"files": [ "files": [
"guest-js/dist", "dist-js",
"!guest-js/dist/**/*.map", "!dist-js/**/*.map",
"README.md", "README.md",
"LICENSE" "LICENSE"
], ],

@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy" "Tauri Programme within The Commons Conservancy"
], ],
"type": "module", "type": "module",
"browser": "guest-js/dist/index.min.js", "browser": "dist-js/index.min.js",
"module": "guest-js/dist/index.mjs", "module": "dist-js/index.mjs",
"types": "guest-js/dist/index.d.ts", "types": "dist-js/index.d.ts",
"exports": { "exports": {
"import": "./guest-js/dist/index.mjs", "import": "./dist-js/index.mjs",
"types": "./guest-js/dist/index.d.ts", "types": "./dist-js/index.d.ts",
"browser": "./guest-js/dist/index.min.js" "browser": "./dist-js/index.min.js"
}, },
"scripts": { "scripts": {
"build": "rollup -c" "build": "rollup -c"
}, },
"files": [ "files": [
"guest-js/dist", "dist-js",
"!guest-js/dist/**/*.map", "!dist-js/**/*.map",
"README.md", "README.md",
"LICENSE" "LICENSE"
], ],

@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy" "Tauri Programme within The Commons Conservancy"
], ],
"type": "module", "type": "module",
"browser": "guest-js/dist/index.min.js", "browser": "dist-js/index.min.js",
"module": "guest-js/dist/index.mjs", "module": "dist-js/index.mjs",
"types": "guest-js/dist/index.d.ts", "types": "dist-js/index.d.ts",
"exports": { "exports": {
"import": "./guest-js/dist/index.mjs", "import": "./dist-js/index.mjs",
"types": "./guest-js/dist/index.d.ts", "types": "./dist-js/index.d.ts",
"browser": "./guest-js/dist/index.min.js" "browser": "./dist-js/index.min.js"
}, },
"scripts": { "scripts": {
"build": "rollup -c" "build": "rollup -c"
}, },
"files": [ "files": [
"guest-js/dist", "dist-js",
"!guest-js/dist/**/*.map", "!dist-js/**/*.map",
"README.md", "README.md",
"LICENSE" "LICENSE"
], ],

@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy" "Tauri Programme within The Commons Conservancy"
], ],
"type": "module", "type": "module",
"browser": "guest-js/dist/index.min.js", "browser": "dist-js/index.min.js",
"module": "guest-js/dist/index.mjs", "module": "dist-js/index.mjs",
"types": "guest-js/dist/index.d.ts", "types": "dist-js/index.d.ts",
"exports": { "exports": {
"import": "./guest-js/dist/index.mjs", "import": "./dist-js/index.mjs",
"types": "./guest-js/dist/index.d.ts", "types": "./dist-js/index.d.ts",
"browser": "./guest-js/dist/index.min.js" "browser": "./dist-js/index.min.js"
}, },
"scripts": { "scripts": {
"build": "rollup -c" "build": "rollup -c"
}, },
"files": [ "files": [
"guest-js/dist", "dist-js",
"!guest-js/dist/**/*.map", "!dist-js/**/*.map",
"README.md", "README.md",
"LICENSE" "LICENSE"
], ],

@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy" "Tauri Programme within The Commons Conservancy"
], ],
"type": "module", "type": "module",
"browser": "guest-js/dist/index.min.js", "browser": "dist-js/index.min.js",
"module": "guest-js/dist/index.mjs", "module": "dist-js/index.mjs",
"types": "guest-js/dist/index.d.ts", "types": "dist-js/index.d.ts",
"exports": { "exports": {
"import": "./guest-js/dist/index.mjs", "import": "./dist-js/index.mjs",
"types": "./guest-js/dist/index.d.ts", "types": "./dist-js/index.d.ts",
"browser": "./guest-js/dist/index.min.js" "browser": "./dist-js/index.min.js"
}, },
"scripts": { "scripts": {
"build": "rollup -c" "build": "rollup -c"
}, },
"files": [ "files": [
"guest-js/dist", "dist-js",
"!guest-js/dist/**/*.map", "!dist-js/**/*.map",
"README.md", "README.md",
"LICENSE" "LICENSE"
], ],

@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy" "Tauri Programme within The Commons Conservancy"
], ],
"type": "module", "type": "module",
"browser": "guest-js/dist/index.min.js", "browser": "dist-js/index.min.js",
"module": "guest-js/dist/index.mjs", "module": "dist-js/index.mjs",
"types": "guest-js/dist/index.d.ts", "types": "dist-js/index.d.ts",
"exports": { "exports": {
"import": "./guest-js/dist/index.mjs", "import": "./dist-js/index.mjs",
"types": "./guest-js/dist/index.d.ts", "types": "./dist-js/index.d.ts",
"browser": "./guest-js/dist/index.min.js" "browser": "./dist-js/index.min.js"
}, },
"scripts": { "scripts": {
"build": "rollup -c" "build": "rollup -c"
}, },
"files": [ "files": [
"guest-js/dist", "dist-js",
"!guest-js/dist/**/*.map", "!dist-js/**/*.map",
"README.md", "README.md",
"LICENSE" "LICENSE"
], ],

@ -7,20 +7,20 @@
"Tauri Programme within The Commons Conservancy" "Tauri Programme within The Commons Conservancy"
], ],
"type": "module", "type": "module",
"browser": "guest-js/dist/index.min.js", "browser": "dist-js/index.min.js",
"module": "guest-js/dist/index.mjs", "module": "dist-js/index.mjs",
"types": "guest-js/dist/index.d.ts", "types": "dist-js/index.d.ts",
"exports": { "exports": {
"import": "./guest-js/dist/index.mjs", "import": "./dist-js/index.mjs",
"types": "./guest-js/dist/index.d.ts", "types": "./dist-js/index.d.ts",
"browser": "./guest-js/dist/index.min.js" "browser": "./dist-js/index.min.js"
}, },
"scripts": { "scripts": {
"build": "rollup -c" "build": "rollup -c"
}, },
"files": [ "files": [
"guest-js/dist", "dist-js",
"!guest-js/dist/**/*.map", "!dist-js/**/*.map",
"README.md", "README.md",
"LICENSE" "LICENSE"
], ],

@ -6,20 +6,20 @@
"Tauri Programme within The Commons Conservancy" "Tauri Programme within The Commons Conservancy"
], ],
"type": "module", "type": "module",
"browser": "guest-js/dist/index.min.js", "browser": "dist-js/index.min.js",
"module": "guest-js/dist/index.mjs", "module": "dist-js/index.mjs",
"types": "guest-js/dist/index.d.ts", "types": "dist-js/index.d.ts",
"exports": { "exports": {
"import": "./guest-js/dist/index.mjs", "import": "./dist-js/index.mjs",
"types": "./guest-js/dist/index.d.ts", "types": "./dist-js/index.d.ts",
"browser": "./guest-js/dist/index.min.js" "browser": "./dist-js/index.min.js"
}, },
"scripts": { "scripts": {
"build": "rollup -c" "build": "rollup -c"
}, },
"files": [ "files": [
"guest-js/dist", "dist-js",
"!guest-js/dist/**/*.map", "!dist-js/**/*.map",
"README.md", "README.md",
"LICENSE" "LICENSE"
], ],

@ -6,20 +6,20 @@
"Tauri Programme within The Commons Conservancy" "Tauri Programme within The Commons Conservancy"
], ],
"type": "module", "type": "module",
"browser": "guest-js/dist/index.min.js", "browser": "dist-js/index.min.js",
"module": "guest-js/dist/index.mjs", "module": "dist-js/index.mjs",
"types": "guest-js/dist/index.d.ts", "types": "dist-js/index.d.ts",
"exports": { "exports": {
"import": "./guest-js/dist/index.mjs", "import": "./dist-js/index.mjs",
"types": "./guest-js/dist/index.d.ts", "types": "./dist-js/index.d.ts",
"browser": "./guest-js/dist/index.min.js" "browser": "./dist-js/index.min.js"
}, },
"scripts": { "scripts": {
"build": "rollup -c" "build": "rollup -c"
}, },
"files": [ "files": [
"guest-js/dist", "dist-js",
"!guest-js/dist/**/*.map", "!dist-js/**/*.map",
"README.md", "README.md",
"LICENSE" "LICENSE"
], ],

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

Loading…
Cancel
Save