File tree Expand file tree Collapse file tree 11 files changed +2264
-0
lines changed
Expand file tree Collapse file tree 11 files changed +2264
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ quality :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v4
12+ - name : Install pnpm
13+ uses : pnpm/action-setup@v4
14+ - name : Setup Biome
15+ uses : biomejs/setup-biome@v2
16+ with :
17+ version : latest
18+ - run : pnpm install --frozen-lockfile
19+ - name : Run Biome
20+ run : biome ci ./src
21+ - name : Run Tests
22+ run : pnpm test
Original file line number Diff line number Diff line change 1+ name : Publish Package to npmjs
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-22.04
10+ strategy :
11+ matrix :
12+ node-version : [20]
13+ permissions :
14+ contents : read
15+ id-token : write
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Install pnpm
19+ uses : pnpm/action-setup@v4
20+ - name : Use Node.js ${{ matrix.node-version }}
21+ uses : actions/setup-node@v4
22+ with :
23+ node-version : ${{ matrix.node-version }}
24+ cache : ' pnpm'
25+ - run : pnpm install --frozen-lockfile
26+ - run : pnpm run build
27+ - run : pnpm publish --access public --no-git-checks
28+ env :
29+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1+ # Node modules
2+ node_modules /
3+
4+ # Build directories
5+ dist /
6+ build /
7+
8+ # Logs
9+ logs /
10+ * .log
11+ npm-debug.log *
12+ yarn-debug.log *
13+ yarn-error.log *
14+
15+ # Dependency directories
16+ jspm_packages /
17+
18+ # TypeScript cache
19+ * .tsbuildinfo
20+
21+ # Environment variables
22+ .env
23+ .env.local
24+ .env.development.local
25+ .env.test.local
26+ .env.production.local
27+
28+ # IDE specific files
29+ .vscode /
30+ .idea /
31+
32+ # MacOS specific files
33+ .DS_Store
34+
35+ # Coverage directory used by testing tools
36+ coverage /
37+
38+ # Temporary files
39+ tmp /
40+ temp /
Original file line number Diff line number Diff line change 1+ //registry.npmjs.org/:_authToken = ${ NODE_AUTH_TOKEN }
2+ registry = https://registry.npmjs.org/
3+ always-auth = true
4+ engine-strict = true
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " ./node_modules/@biomejs/biome/configuration_schema.json"
3+ }
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " @polar-sh/entitlements" ,
3+ "version" : " 0.0.1" ,
4+ "description" : " Strategies for Polar entitlements" ,
5+ "main" : " ./dist/index.cjs" ,
6+ "module" : " ./dist/index.js" ,
7+ "types" : " ./dist/index.d.ts" ,
8+ "type" : " module" ,
9+ "files" : [" dist" ],
10+ "exports" : {
11+ "." : {
12+ "import" : {
13+ "types" : " ./dist/index.d.ts" ,
14+ "import" : " ./dist/index.js"
15+ },
16+ "require" : {
17+ "types" : " ./dist/index.d.cts" ,
18+ "require" : " ./dist/index.cjs"
19+ }
20+ },
21+ "./strategies/resend" : {
22+ "import" : {
23+ "types" : " ./dist/strategies/resend/index.d.ts" ,
24+ "import" : " ./dist/strategies/resend/index.js"
25+ },
26+ "require" : {
27+ "types" : " ./dist/strategies/resend/index.d.cts" ,
28+ "require" : " ./dist/strategies/resend/index.cjs"
29+ }
30+ }
31+ },
32+ "scripts" : {
33+ "build" : " tsup" ,
34+ "test" : " vitest" ,
35+ "check" : " biome check ./src --fix"
36+ },
37+ "devDependencies" : {
38+ "@biomejs/biome" : " 1.9.4" ,
39+ "@sindresorhus/tsconfig" : " ^7.0.0" ,
40+ "@types/node" : " ^22.15.2" ,
41+ "resend" : " ^4.4.1" ,
42+ "tsup" : " ^8.3.5" ,
43+ "typescript" : " ^5.7.3" ,
44+ "vitest" : " ^2.1.8"
45+ },
46+ "peerDependencies" : {
47+ "resend" : " ^4.4.1"
48+ },
49+ "dependencies" : {
50+ "@polar-sh/sdk" : " ^0.32.11"
51+ }
52+ }
You can’t perform that action at this time.
0 commit comments