Skip to content

Commit 7f4dd0d

Browse files
authored
chore: add changesets config (#201)
1 parent 42ecb73 commit 7f4dd0d

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config/schema.json",
3+
"changelog": [
4+
"@changesets/changelog-github",
5+
{
6+
"repo": "ota-meshi/svelte-eslint-parser"
7+
}
8+
],
9+
"commit": false,
10+
"linked": [],
11+
"access": "restricted",
12+
"baseBranch": "main",
13+
"updateInternalDependencies": "patch",
14+
"bumpVersionsWithWorkspaceProtocolOnly": true,
15+
"ignore": []
16+
}

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
"lint": "eslint . --ext .js,.ts,.json,.yaml,.yml,.svelte",
3636
"mocha": "yarn ts ./node_modules/mocha/bin/mocha.js",
3737
"prebuild": "yarn clean",
38+
"prerelease": "yarn clean && yarn build",
3839
"preversion": "yarn lint && yarn test",
40+
"release": "changeset publish",
3941
"test": "yarn mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
4042
"ts": "node -r esbuild-register",
4143
"update-fixtures": "yarn ts ./tools/update-fixtures.ts"
@@ -49,6 +51,8 @@
4951
"espree": "^9.0.0"
5052
},
5153
"devDependencies": {
54+
"@changesets/changelog-github": "^0.4.6",
55+
"@changesets/cli": "^2.24.2",
5256
"@ota-meshi/eslint-plugin": "^0.11.0",
5357
"@types/benchmark": "^2.1.1",
5458
"@types/chai": "^4.3.0",

0 commit comments

Comments
 (0)