Comments (7)
svelte-websocket-store is not really a svelte component; index.svelte should not be in package.json as there is nothing inside
from svelte-websocket-store.
@arlac77 but it's in there. after npm install
we've got this package.json actually:
{
"_from": "svelte-websocket-store",
"_id": "[email protected]",
"_inBundle": false,
"_integrity": "sha512-E6rleZDGszm3uJXWc5da7dCy1X151nvoL19LXeTfJE5o0m+TdZGNH8q00HzGOdWkYlj+zF/1hYP1IsL9zCf1rA==",
"_location": "/svelte-websocket-store",
"_phantomChildren": {},
"_requested": {
"type": "tag",
"registry": true,
"raw": "svelte-websocket-store",
"name": "svelte-websocket-store",
"escapedName": "svelte-websocket-store",
"rawSpec": "",
"saveSpec": null,
"fetchSpec": "latest"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/svelte-websocket-store/-/svelte-websocket-store-1.1.2.tgz",
"_shasum": "abcca06e4bcd3f78238ec00fb1d3a86642680e1a",
"_spec": "svelte-websocket-store",
"_where": "C:\\home\\pi\\hl\\web",
"bugs": {
"url": "https://github.com/arlac77/svelte-websocket-store/issues"
},
"bundleDependencies": false,
"contributors": [
{
"name": "Markus Felten",
"email": "[email protected]"
}
],
"deprecated": false,
"description": "svelte store with a websocket backend",
"devDependencies": {
"@rollup/plugin-node-resolve": "^11.1.1",
"@rollup/plugin-virtual": "^2.0.3",
"ava": "^3.15.0",
"c8": "^7.5.0",
"documentation": "github:arlac77/documentation",
"postcss": "^8.2.5",
"postcss-import": "^14.0.0",
"rollup": "^2.38.5",
"rollup-plugin-dev": "^1.1.3",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-svelte": "^7.1.0",
"semantic-release": "^17.3.8",
"svelte": "^3.32.2",
"testcafe": "^1.10.1",
"ws": "^7.4.3"
},
"exports": {
".": "./src/index.mjs"
},
"homepage": "https://github.com/arlac77/svelte-websocket-store#readme",
"keywords": [
"component",
"store",
"svelte",
"web",
"websocket"
],
"license": "BSD-2-Clause",
"name": "svelte-websocket-store",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/arlac77/svelte-websocket-store.git"
},
"scripts": {
"build": "rollup -c tests/app/rollup.config.mjs",
"cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 2m tests/*.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp",
"docs": "documentation readme --section=API ./src/**/*.mjs",
"lint": "npm run lint:docs",
"lint:docs": "documentation lint ./src/**/*.mjs",
"start": "rollup -c tests/app/rollup.config.mjs -w",
"test": "npm run test:ava && npm run test:cafe",
"test:ava": "ava --timeout 2m tests/*.mjs",
"test:cafe": "testcafe $BROWSER:headless tests/cafe/*.js -s build/test --app-init-delay 1000 --app \"rollup -c tests/app/rollup.config.mjs -w\""
},
"svelte": "./src/index.svelte",
"template": {
"properties": {
"rollup": {
"config": "tests/app/rollup.config.mjs"
},
"web-app": {
"publish": "tests/app/public/"
},
"netlifly": {
"site": {
"uuid": "aa2f608c-1245-49c7-a307-d05d26dd7888"
}
}
},
"inheritFrom": [
"arlac77/template-arlac77-github",
"arlac77/template-ava-coverage",
"arlac77/template-documentation",
"arlac77/template-netlify",
"arlac77/template-svelte",
"arlac77/template-testcafe",
"arlac77/template-web-component"
]
},
"version": "1.1.2"
}
Please, look at this line: "svelte": "./src/index.svelte",
from svelte-websocket-store.
the change has not yet been released
from svelte-websocket-store.
Real problem ver1.1.3 no problem ver 1.1.0
(!) Missing global variable name
Use output.globals to specify browser global variable names corresponding to external modules
svelte-websocket-store (guessing 'websocketStore')
from svelte-websocket-store.
@Aleksandr66 what environment You are using ?
from svelte-websocket-store.
Vscode
from svelte-websocket-store.
🎉 This issue has been resolved in version 1.1.4 🎉
The release is available on:
Your semantic-release bot 📦🚀
from svelte-websocket-store.
Related Issues (16)
- Add function to manually reopen socket
- Enable Github discussions HOT 1
- Error on import? HOT 7
- Dev run automatically connects to Node HOT 1
- Support for Gzip HOT 5
- (!) Missing global variable name HOT 1
- Add setup guide for Jest and this library HOT 1
- A new connection is created every time the store is updated HOT 1
- What would be some common use cases for this library? HOT 3
- Online status HOT 2
- Suggest drop forced json
- Prep for serverside
- SvelteKit and undefined readyState
- ReferenceError: WebSocket is not defined HOT 3
- Is it possible to use this with non JSON endpoints? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svelte-websocket-store.