Skip to content

Commit

Permalink
feat(lib): Published to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziothh committed Nov 15, 2023
1 parent c0caa45 commit b83a4f7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 82 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Working Title
# Next Typed Routes
These packages make routing intuitive and type-safe.

## TODOs
### CLI
- [ ] Specify project location
- [x] Specify project location
- [ ] Specify outFile

### Lib
Expand Down
15 changes: 8 additions & 7 deletions lib/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"name": "@next-typed-routes/lib",
"version": "0.0.0",
"version": "0.0.1",
"private": false,
"publishConfig": {
"tag": "rc-2",
"access": "public"
},
"description": "",
"repository": {
"type": "git",
Expand All @@ -11,8 +15,8 @@
"url": "https://github.com/Ziothh/ntr/issues"
},
"homepage": "https://github.com/Ziothh/ntr#readme",
"main": "index.ts",
"types": "index.ts",
"main": "./npm/index.js",
"types": "./npm/index.d.ts",
"type": "module",
"files": [
"./npm"
Expand All @@ -29,17 +33,14 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@types/node": "20",
"@types/node": "~20",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"@types/tar": "^6.1.9",
"@types/tar-stream": "^3.1.3",
"binary-install": "^1.1.0",
"next": "^13.4.13",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tar": "^6.2.0",
"tar-stream": "^3.1.6",
"typescript": "^5.2.2"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion playground/src/test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { appRouter, Routes } from '@acme/lib';
import { appRouter } from '@next-typed-routes/lib';


appRouter
Expand Down
73 changes: 1 addition & 72 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b83a4f7

Please sign in to comment.