Skip to content

Commit e776198

Browse files
Update to Svelte 5, convert to ESM only (#3144)
* Svelte 5 that builds * Fix lint * Drop CJS support * Get the dev dummy app working * Fix lint * Use $state for things that are not passed * Remove legacy run * Switch from jest to vitest * Fix some tests * Update urls, reduce gzipped size * Bump pnpm * Update pnpm-workspace.yaml
1 parent 13a9a2e commit e776198

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+4277
-7147
lines changed

.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ module.exports = {
4242
'.eslintrc.js',
4343
'.prettierrc.js',
4444
'babel.config.js',
45-
'jest.config.js',
4645
'svelte.config.js',
4746
'tailwind.config.js'
4847
],

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
nodejs 20.19.0
2-
pnpm 9.15.4
2+
pnpm 10.17.1

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ When reviewing merged PR's the labels to be used are:
2424

2525
## Release
2626

27-
Once the prep work is completed, the actual release is straight forward: you just need to merge the open [Plan Release](https://github.com/shepherd-pro/shepherd/pulls?q=is%3Apr+is%3Aopen+%22Prepare+Release%22+in%3Atitle) PR
27+
Once the prep work is completed, the actual release is straight forward: you just need to merge the open [Plan Release](https://github.com/shipshapecode/shepherd/pulls?q=is%3Apr+is%3Aopen+%22Prepare+Release%22+in%3Atitle) PR

docs-src/astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default defineConfig({
1616
},
1717
favicon: '/favicon.ico',
1818
social: {
19-
github: 'https://github.com/shepherd-pro/shepherd'
19+
github: 'https://github.com/shipshapecode/shepherd'
2020
},
2121
components: {
2222
// Override the default `Head` component.

docs-src/src/content/docs/guides/install.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import 'shepherd.js/dist/css/shepherd.css';
4040
### GitHub Releases
4141

4242
Whenever we release a new version, the contents of the `dist` are uploaded
43-
to the release in GitHub. You can find those assets [here](https://github.com/shepherd-pro/shepherd/releases).
43+
to the release in GitHub. You can find those assets [here](https://github.com/shipshapecode/shepherd/releases).
4444

4545
### jsDelivr CDN
4646

@@ -50,19 +50,19 @@ with:
5050
```html
5151
<script
5252
type="module"
53-
src="https://cdn.jsdelivr.net/npm/shepherd.js@13.0.0/dist/esm/shepherd.mjs"
53+
src="https://cdn.jsdelivr.net/npm/shepherd.js@15.0.0/dist/js/shepherd.mjs"
5454
></script>
5555
<link
5656
rel="stylesheet"
57-
href="https://cdn.jsdelivr.net/npm/shepherd.js@13.0.0/dist/css/shepherd.css"
57+
href="https://cdn.jsdelivr.net/npm/shepherd.js@15.0.0/dist/css/shepherd.css"
5858
/>
5959
```
6060

6161
## JS Framework Wrappers
6262

6363
We strive to make it easy to use Shepherd in all the major frameworks, and have written wrappers to facilitate this.
6464

65-
- [angular-shepherd](https://github.com/shepherd-pro/angular-shepherd)
66-
- [ember-shepherd](https://github.com/shepherd-pro/ember-shepherd)
67-
- [react-shepherd](https://github.com/shepherd-pro/shepherd/tree/main/packages/react)
68-
- [vue-shepherd](https://github.com/shepherd-pro/vue-shepherd)
65+
- [angular-shepherd](https://github.com/shipshapecode/angular-shepherd)
66+
- [ember-shepherd](https://github.com/shipshapecode/ember-shepherd)
67+
- [react-shepherd](https://github.com/shipshapecode/shepherd/tree/main/packages/react)
68+
- [vue-shepherd](https://github.com/shipshapecode/vue-shepherd)

landing/src/components/GithubButton.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const starCount = await getFormattedStars();
66

77
<a
88
class="button star bg-white border-2 border-navy p-6 text-navy whitespace-nowrap w-full"
9-
href="https://github.com/shepherd-pro/shepherd"
9+
href="https://github.com/shipshapecode/shepherd"
1010
>
1111
{starCount} ★ on Github
1212
</a>

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
22
"name": "shepherd-monorepo",
33
"private": "true",
4-
"version": "12.0.0-alpha.13",
54
"description": "The monorepo for Shepherd",
65
"repository": {
76
"type": "git",
8-
"url": "git+https://github.com/shepherd-pro/shepherd.git"
7+
"url": "git+https://github.com/shipshapecode/shepherd.git"
98
},
109
"license": "AGPL-3.0",
1110
"authors": [
@@ -21,6 +20,8 @@
2120
"lint": "pnpm -F '*' lint",
2221
"lint:fix": "pnpm -F '*' lint:fix",
2322
"lint:js": "pnpm -F '*' lint:js",
23+
"lint:prettier": "pnpm -F '*' lint:prettier",
24+
"lint:prettier:fix": "pnpm -F '*' lint:prettier:fix",
2425
"start": "pnpm watch",
2526
"test:ci": "pnpm build && pnpm -F '*' test:ci",
2627
"test:cy:watch": "pnpm -F cypress-tests test:watch",
@@ -30,27 +31,26 @@
3031
"watch": "pnpm -F shepherd.js watch"
3132
},
3233
"devDependencies": {
33-
"@babel/core": "^7.26.0",
34-
"@babel/preset-env": "^7.25.8",
34+
"@babel/core": "^7.28.4",
35+
"@babel/preset-env": "^7.28.3",
3536
"@typescript-eslint/eslint-plugin": "^7.18.0",
3637
"@typescript-eslint/parser": "^7.18.0",
3738
"autoprefixer": "^10.4.21",
38-
"concurrently": "^9.0.1",
39+
"concurrently": "^9.2.1",
3940
"del": "^7.1.0",
40-
"eslint": "^8.57.0",
41-
"eslint-plugin-jest": "^28.11.0",
41+
"eslint": "^8.57.1",
4242
"eslint-plugin-svelte": "^2.46.1",
4343
"postcss": "^8.5.6",
4444
"prettier": "3.3.3",
4545
"prettier-plugin-astro": "^0.14.1",
46-
"prettier-plugin-svelte": "^3.3.3",
47-
"release-plan": "^0.17.0",
46+
"prettier-plugin-svelte": "^3.4.0",
47+
"release-plan": "^0.17.2",
4848
"replace": "^1.2.2",
4949
"shepherd.js": "workspace:*",
50-
"svelte": "^4.2.19",
51-
"typescript": "^5.7.3"
50+
"svelte": "^5.39.7",
51+
"typescript": "^5.9.3"
5252
},
53-
"packageManager": "pnpm@9.15.4",
53+
"packageManager": "pnpm@10.17.1",
5454
"engines": {
5555
"node": "18.* || >= 20"
5656
}

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "MIT",
66
"repository": {
77
"type": "git",
8-
"url": "https://github.com/shepherd-pro/shepherd.git"
8+
"url": "https://github.com/shipshapecode/shepherd.git"
99
},
1010
"main": "./dist/index.umd.cjs",
1111
"module": "./dist/index.js",

0 commit comments

Comments
 (0)