Skip to content

Commit

Permalink
feat: add changesets, update all packages to v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nailiable committed Nov 5, 2024
1 parent 74ec22b commit 7eeb2b4
Show file tree
Hide file tree
Showing 10 changed files with 577 additions and 10 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.3/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": true,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "v2",
"updateInternalDependencies": "patch",
"ignore": []
}
2 changes: 1 addition & 1 deletion .changeset/fifty-plants-promise.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
"@nailyjs/ioc": patch
---

feat: add changesets, update all package to 2.0
feat: add changesets, update all packages to v2.0.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shamefully-hoist=true
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@nailyjs/monorepo",
"type": "module",
"version": "0.0.1",
"private": true,
"packageManager": "pnpm@9.12.3",
"description": "Create a lib monorepo with antfu's code style",
"author": "Naily Zero <zero@naily.cc> (https://naily.cc)",
Expand All @@ -10,21 +11,29 @@
},
"scripts": {
"new": "pnpm create es-project@latest",
"build": "pnpm -r build",
"build:ioc": "pnpm -F @nailyjs/ioc build",
"build:backend": "pnpm -F @nailyjs/backend build",
"build:config": "pnpm -F @nailyjs/config build",
"build:typeorm": "pnpm -F @nailyjs/typeorm build",
"build:rpc": "pnpm -F @nailyjs/rpc build",
"build:unplugin-rpc": "pnpm -F unplugin-rpc build",
"play:rpc": "pnpm -F rpc dev",

"lint": "eslint .",
"postinstall": "npx simple-git-hooks",
"test": "vitest",
"test:ui": "vitest --ui --coverage",
"swx": "pnpm tsx scripts/swc.ts"
"swx": "pnpm tsx scripts/swc.ts",

"changeset": "changeset",
"version-packages": "changeset version",
"release": "pnpm build && pnpm release:only",
"release:only": "changeset publish --registry=https://registry.npmjs.com/"
},
"devDependencies": {
"@antfu/eslint-config": "^3.7.3",
"@changesets/cli": "^2.27.9",
"@swc/core": "^1.7.42",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.7.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nailyjs/config",
"type": "module",
"version": "0.0.4",
"version": "2.0.0",
"description": "Config module for naily.js.",
"author": "Naily Zero <zero@naily.cc> (https://naily.cc)",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/rpc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nailyjs/rpc",
"type": "module",
"version": "0.0.4",
"version": "2.0.0",
"description": "Powerful JSON RPC 2.0 backend for Node.js",
"author": "Naily Zero <zero@naily.cc> (https://naily.cc)",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/typeorm/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nailyjs/typeorm",
"type": "module",
"version": "0.0.4",
"version": "2.0.0",
"description": "TypeORM module for naily.js.",
"author": "Naily Zero <zero@naily.cc> (https://naily.cc)",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/unplugin-rpc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "unplugin-rpc",
"type": "module",
"version": "0.0.4",
"version": "2.0.0",
"description": "Bring naily.js JSON-RPC 2.0 to your vite project and more.",
"author": "Naily Zero <zero@naily.cc> (https://naily.cc)",
"exports": {
Expand Down
Loading

0 comments on commit 7eeb2b4

Please sign in to comment.