Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(svelte): Add Svelte SDK Package Boilerplate #5535

Merged
merged 3 commits into from
Aug 8, 2022

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Aug 8, 2022

This PR adds the new Svelte SDK boilerplate files for our Svelte Package. It's the first step of setting up a @sentry/svelte SDK wrapper around the Browser SDK. I figured, I'd split up the boilerplate setup (similarly to Remix in #5256) and adding the actual wrapper (plus a few basic tests) to the SDK. The latter will follow in the next PR after we get this reviewed and merged.

Stuff that's currently missing and will be added in follow-up PRs:

  • Craft entry
  • SDK init with Svelte wrapper
  • Unit test setup
  • Readme for alpha release

Tested not only building but also packaging (yarn build:npm) and so far everything seems to work pretty well. Will come back to testing this more properly once we have all files in place.

ref: #5520

@Lms24 Lms24 force-pushed the lms-svelte-sdk-boilerplate branch from 2636c36 to 0408887 Compare August 8, 2022 12:33
@Lms24 Lms24 mentioned this pull request Aug 8, 2022
8 tasks
@Lms24 Lms24 added this to the Svelte SDK milestone Aug 8, 2022
@Lms24 Lms24 self-assigned this Aug 8, 2022
"lint": "run-s lint:prettier lint:eslint",
"lint:eslint": "eslint . --cache --cache-location '../../eslintcache/' --format stylish",
"lint:prettier": "prettier --check \"{src,test,scripts}/**/*.ts\"",
"test": "jest --passWithNoTests",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just added the --passWithNoTests flag so that CI passes until we actually have tests

Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Copy link
Member

@lobsterkatie lobsterkatie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Lms24 Lms24 merged commit 29e0b33 into master Aug 8, 2022
@Lms24 Lms24 deleted the lms-svelte-sdk-boilerplate branch August 8, 2022 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants