Giter VIP home page Giter VIP logo

Comments (7)

arlac77 avatar arlac77 commented on August 16, 2024

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.

PaulMaly avatar PaulMaly commented on August 16, 2024

@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.

arlac77 avatar arlac77 commented on August 16, 2024

the change has not yet been released

from svelte-websocket-store.

Aleksandr66 avatar Aleksandr66 commented on August 16, 2024

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.

arlac77 avatar arlac77 commented on August 16, 2024

@Aleksandr66 what environment You are using ?

from svelte-websocket-store.

Aleksandr66 avatar Aleksandr66 commented on August 16, 2024

Vscode

from svelte-websocket-store.

github-actions avatar github-actions commented on August 16, 2024

🎉 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.