Skip to content

Commit 4598fe8

Browse files
committed
Adjust package for individual repo
1 parent 00ee487 commit 4598fe8

File tree

5 files changed

+3703
-16
lines changed

5 files changed

+3703
-16
lines changed

.gitignore

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
18+
# Directory for instrumented libs generated by jscoverage/JSCover
19+
lib-cov
20+
21+
# Coverage directory used by tools like istanbul
22+
coverage
23+
*.lcov
24+
25+
# nyc test coverage
26+
.nyc_output
27+
28+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
29+
.grunt
30+
31+
# Bower dependency directory (https://bower.io/)
32+
bower_components
33+
34+
# node-waf configuration
35+
.lock-wscript
36+
37+
# Compiled binary addons (https://nodejs.org/api/addons.html)
38+
build/Release
39+
40+
# Dependency directories
41+
node_modules/
42+
jspm_packages/
43+
44+
# Snowpack dependency directory (https://snowpack.dev/)
45+
web_modules/
46+
47+
# TypeScript cache
48+
*.tsbuildinfo
49+
50+
# Optional npm cache directory
51+
.npm
52+
53+
# Optional eslint cache
54+
.eslintcache
55+
56+
# Optional stylelint cache
57+
.stylelintcache
58+
59+
# Optional REPL history
60+
.node_repl_history
61+
62+
# Output of 'npm pack'
63+
*.tgz
64+
65+
# Yarn Integrity file
66+
.yarn-integrity
67+
68+
# dotenv environment variable files
69+
.env
70+
.env.*
71+
!.env.example
72+
73+
# parcel-bundler cache (https://parceljs.org/)
74+
.cache
75+
.parcel-cache
76+
77+
# Next.js build output
78+
.next
79+
out
80+
81+
# Nuxt.js build / generate output
82+
.nuxt
83+
dist
84+
.output
85+
86+
# Gatsby files
87+
.cache/
88+
# Comment in the public line in if your project uses Gatsby and not Next.js
89+
# https://nextjs.org/blog/next-9-1#public-directory-support
90+
# public
91+
92+
# vuepress build output
93+
.vuepress/dist
94+
95+
# vuepress v2.x temp and cache directory
96+
.temp
97+
.cache
98+
99+
# Sveltekit cache directory
100+
.svelte-kit/
101+
102+
# vitepress build output
103+
**/.vitepress/dist
104+
105+
# vitepress cache directory
106+
**/.vitepress/cache
107+
108+
# Docusaurus cache and generated files
109+
.docusaurus
110+
111+
# Serverless directories
112+
.serverless/
113+
114+
# FuseBox cache
115+
.fusebox/
116+
117+
# DynamoDB Local files
118+
.dynamodb/
119+
120+
# Firebase cache directory
121+
.firebase/
122+
123+
# TernJS port file
124+
.tern-port
125+
126+
# Stores VSCode versions used for testing VSCode extensions
127+
.vscode-test
128+
129+
# yarn v3
130+
.pnp.*
131+
.yarn/*
132+
!.yarn/patches
133+
!.yarn/plugins
134+
!.yarn/releases
135+
!.yarn/sdks
136+
!.yarn/versions
137+
138+
# Vite files
139+
vite.config.js.timestamp-*
140+
vite.config.ts.timestamp-*
141+
.vite/

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<a aria-label="npm" href="https://www.npmjs.com/package/swr-openapi">
99
<img alt="npm" src="https://img.shields.io/npm/v/swr-openapi.svg?style=for-the-badge&labelColor=000000">
1010
</a>
11-
<a aria-label="license" href="https://github.com/openapi-ts/openapi-typescript/blob/main/packages/swr-openapi/LICENSE">
12-
<img alt="license" src="https://img.shields.io/github/license/openapi-ts/openapi-typescript.svg?style=for-the-badge&labelColor=000000">
11+
<a aria-label="license" href="https://github.com/htunnicliff/swr-openapi/blob/main/LICENSE">
12+
<img alt="license" src="https://img.shields.io/github/license/htunnicliff/swr-openapi.svg?style=for-the-badge&labelColor=000000">
1313
</a>
1414
</p>
1515

package.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
"sideEffects": false,
2121
"repository": {
2222
"type": "git",
23-
"url": "https://github.com/openapi-ts/openapi-typescript",
24-
"directory": "packages/swr-openapi"
23+
"url": "git+https://github.com/htunnicliff/swr-openapi.git"
2524
},
2625
"keywords": [
2726
"swr",
@@ -36,7 +35,7 @@
3635
"url": "https://buymeacoffee.com/htunnicliff"
3736
},
3837
"bugs": {
39-
"url": "https://github.com/openapi-ts/openapi-typescript/issues"
38+
"url": "https://github.com/htunnicliff/swr-openapi/issues"
4039
},
4140
"files": [
4241
"dist",
@@ -60,31 +59,33 @@
6059
"version": "pnpm run build"
6160
},
6261
"peerDependencies": {
63-
"openapi-fetch": "workspace:*",
64-
"openapi-typescript": "workspace:*",
65-
"react": "18 || 19",
62+
"openapi-fetch": ">=0.15",
63+
"openapi-typescript": "7",
64+
"react": ">=18",
6665
"swr": "2",
67-
"typescript": "^5.x"
66+
"typescript": "5"
6867
},
6968
"peerDependenciesMeta": {
7069
"openapi-typescript": {
7170
"optional": true
7271
}
7372
},
7473
"dependencies": {
75-
"openapi-typescript-helpers": "workspace:^",
74+
"openapi-typescript-helpers": "^0.0.15",
7675
"type-fest": "^5.0.0"
7776
},
7877
"devDependencies": {
78+
"@arethetypeswrong/cli": "0.18.2",
7979
"@types/lodash": "4.17.20",
80-
"@types/react": "^18.3.24",
81-
"husky": "9.1.7",
82-
"lint-staged": "16.2.3",
80+
"@types/react": "18.3.24",
81+
"biome": "0.3.3",
8382
"lodash": "4.17.21",
84-
"openapi-fetch": "workspace:^",
85-
"openapi-typescript": "workspace:^",
83+
"openapi-fetch": "0.15.0",
84+
"openapi-typescript": "7.10.1",
8685
"react": "18.3.1",
8786
"swr": "2.3.6",
88-
"typescript": "5.9.3"
87+
"typescript": "5.9.3",
88+
"unbuild": "3.6.1",
89+
"vitest": "3.2.4"
8990
}
9091
}

0 commit comments

Comments
 (0)