File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ) .
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://unpkg.com/@changesets/config@3.1.3/schema.json" ,
3+ "changelog" : " @changesets/cli/changelog" ,
4+ "commit" : false ,
5+ "fixed" : [],
6+ "linked" : [],
7+ "access" : " public" ,
8+ "baseBranch" : " main" ,
9+ "updateInternalDependencies" : " patch" ,
10+ "ignore" : []
11+ }
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ concurrency : ${{ github.workflow }}-${{ github.ref }}
9+
10+ jobs :
11+ release :
12+ name : Release
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout Repo
16+ uses : actions/checkout@v4
17+
18+ - name : Setup pnpm
19+ uses : pnpm/action-setup@v4
20+ with :
21+ version : 9
22+
23+ - name : Setup Node
24+ uses : actions/setup-node@v4
25+ with :
26+ node-version : 20
27+ cache : ' pnpm'
28+
29+ - name : Install Dependencies
30+ run : pnpm install
31+
32+ - name : Create Release Pull Request or Publish to npm
33+ id : changesets
34+ uses : changesets/action@v1
35+ with :
36+ publish : pnpm release
37+ env :
38+ # Use the built-in GITHUB_TOKEN for PR/Release creation.
39+ # No need to create a custom secret for this; GitHub provides it automatically.
40+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 77 "test" : " turbo run test" ,
88 "lint" : " turbo run lint" ,
99 "type-check" : " turbo run type-check" ,
10- "clean" : " turbo run clean"
10+ "clean" : " turbo run clean" ,
11+ "changeset" : " changeset" ,
12+ "version-packages" : " changeset version" ,
13+ "release" : " turbo run build && changeset publish"
1114 },
1215 "devDependencies" : {
13- "turbo" : " ^2.0.0" ,
14- "typescript" : " ^5.4.0" ,
16+ "@changesets/cli" : " ^2.30.0" ,
1517 "@types/node" : " ^20.0.0" ,
18+ "eslint" : " ^9.0.0" ,
1619 "prettier" : " ^3.2.0" ,
17- "eslint" : " ^9.0.0"
20+ "turbo" : " ^2.0.0" ,
21+ "typescript" : " ^5.4.0"
1822 },
1923 "engines" : {
2024 "node" : " >=20.0.0" ,
Original file line number Diff line number Diff line change 77 "grotto" : " ./dist/bin/grotto.js"
88 },
99 "main" : " ./dist/index.js" ,
10+ "license" : " MIT" ,
11+ "author" : " HUMBLEF0OL" ,
12+ "publishConfig" : {
13+ "access" : " public"
14+ },
15+ "repository" : {
16+ "type" : " git" ,
17+ "url" : " git+https://github.com/HUMBLEF0OL/grotto.git" ,
18+ "directory" : " packages/cli"
19+ },
20+ "bugs" : {
21+ "url" : " https://github.com/HUMBLEF0OL/grotto/issues"
22+ },
23+ "homepage" : " https://github.com/HUMBLEF0OL/grotto/tree/main/packages/cli#readme" ,
24+ "files" : [
25+ " dist" ,
26+ " README.md"
27+ ],
1028 "scripts" : {
1129 "build" : " tsc" ,
1230 "dev" : " tsc --watch" ,
Original file line number Diff line number Diff line change 1010 "types" : " ./dist/index.d.ts"
1111 }
1212 },
13+ "license" : " MIT" ,
14+ "author" : " HUMBLEF0OL" ,
15+ "publishConfig" : {
16+ "access" : " public"
17+ },
18+ "repository" : {
19+ "type" : " git" ,
20+ "url" : " git+https://github.com/HUMBLEF0OL/grotto.git" ,
21+ "directory" : " packages/core"
22+ },
23+ "bugs" : {
24+ "url" : " https://github.com/HUMBLEF0OL/grotto/issues"
25+ },
26+ "homepage" : " https://github.com/HUMBLEF0OL/grotto/tree/main/packages/core#readme" ,
27+ "files" : [
28+ " dist" ,
29+ " README.md"
30+ ],
1331 "scripts" : {
1432 "build" : " tsc" ,
1533 "dev" : " tsc --watch" ,
You can’t perform that action at this time.
0 commit comments