You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+18-29Lines changed: 18 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,52 +9,41 @@
9
9
10
10
## Release
11
11
12
-
The module is released automatically from the `main` and `next` branches using [semantic-release-action][]. Version bumps and change logs are generated from the commit messages.
12
+
The module is released automatically from the `main` and `next` branches using [multi-semantic-release][]. Version bumps and change logs are generated from the commit messages.
This repository uses `pnpm` as its package manager. See the `pnpm`[installation guide](https://pnpm.io/installation) to set it up through whatever method you prefer.
19
+
31
20
After cloning the repository, use the `setup` script to install dependencies and run all checks:
32
21
33
22
```shell
34
-
npm run setup
23
+
pnpm run setup
35
24
```
36
25
37
26
### Lint and format
38
27
39
28
Run auto-formatting to ensure any changes adhere to the code style of the repository:
40
29
41
30
```shell
42
-
npm run format
31
+
pnpm run format
43
32
```
44
33
45
34
To run lint and format checks without making any changes:
46
35
47
36
```shell
48
-
npm run lint
37
+
pnpm run lint
49
38
```
50
39
51
40
### Test
52
41
53
42
Run unit tests once or in watch mode:
54
43
55
44
```shell
56
-
npmtest
57
-
npm run test:watch
45
+
pnpmtest
46
+
pnpm run test:watch
58
47
```
59
48
60
49
### Using different versions of Svelte
@@ -63,34 +52,34 @@ Use the provided script to set up your environment for different versions of Sve
63
52
64
53
```shell
65
54
# Svelte 5
66
-
npm run install:5
67
-
npm run all
55
+
pnpm run install:5
56
+
pnpm run all
68
57
69
58
# Svelte 4
70
-
npm run install:4
71
-
npm run all:legacy
59
+
pnpm run install:4
60
+
pnpm run all:legacy
72
61
73
62
# Svelte 3
74
-
npm run install:3
75
-
npm run all:legacy
63
+
pnpm run install:3
64
+
pnpm run all:legacy
76
65
```
77
66
78
67
### Docs
79
68
80
69
Use the `docs` script to ensure the README's table of contents is up to date:
81
70
82
71
```shell
83
-
npm run docs
72
+
pnpm run docs
84
73
```
85
74
86
75
Use `contributors:add` to add a contributor to the README:
87
76
88
77
```shell
89
-
npm run contributors:add
78
+
pnpm run contributors:add
90
79
```
91
80
92
81
Use `contributors:generate` to ensure the README's contributor list is up to date:
0 commit comments