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.2/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" : [" @confetti-editor/app" ]
11+ }
Original file line number Diff line number Diff line change 1+ ---
2+ " refetti " : minor
3+ ---
4+
5+ Initial release of refetti - A modern React confetti library
6+
7+ Features:
8+ - Built on canvas-confetti with enhanced TypeScript support
9+ - Custom vendors directory for canvas-confetti (improved bundle control)
10+ - useConfetti hook for easy integration
11+ - Support for custom shapes (SVG, Path)
12+ - Frame-based animation system with fireFrame
13+ - Smart worker mode detection for mixed shape types
14+ - Custom canvas support with setConfettiCanvasRef
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ concurrency : ${{ github.workflow }}-${{ github.ref }}
9+
10+ permissions :
11+ contents : write
12+ pull-requests : write
13+ id-token : write
14+
15+ jobs :
16+ release :
17+ name : Release
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v4
22+
23+ - name : Install pnpm
24+ uses : pnpm/action-setup@v4
25+ with :
26+ version : 10.13.1
27+
28+ - name : Setup Node
29+ uses : actions/setup-node@v4
30+ with :
31+ node-version : ' 20'
32+ cache : ' pnpm'
33+ registry-url : ' https://registry.npmjs.org'
34+
35+ - name : Install dependencies
36+ run : pnpm install --frozen-lockfile
37+
38+ - name : Build packages
39+ run : pnpm run build
40+
41+ - name : Create Release Pull Request or Publish to npm
42+ id : changesets
43+ uses : changesets/action@v1
44+ with :
45+ publish : pnpm run release
46+ version : pnpm run version-packages
47+ commit : ' ๐ฆ Version Packages'
48+ title : ' ๐ฆ Version Packages'
49+ env :
50+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
52+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 55 "scripts" : {
66 "build" : " pnpm -r build" ,
77 "dev" : " pnpm --filter @confetti-editor/app dev" ,
8- "typecheck" : " pnpm -r typecheck"
8+ "typecheck" : " pnpm -r typecheck" ,
9+ "changeset" : " changeset" ,
10+ "version-packages" : " changeset version" ,
11+ "release" : " pnpm build && changeset publish"
912 },
1013 "devDependencies" : {
14+ "@changesets/cli" : " ^2.29.8" ,
1115 "typescript" : " ^5.9.2"
1216 },
1317 "packageManager" : " pnpm@10.13.1"
You canโt perform that action at this time.
0 commit comments