Skip to content

Commit

Permalink
Merge pull request #108 from timlrx/v2
Browse files Browse the repository at this point in the history
Pliny v2 refactor
  • Loading branch information
timlrx authored Jul 16, 2023
2 parents 1e82c4e + 3bd7380 commit 557082d
Show file tree
Hide file tree
Showing 241 changed files with 6,513 additions and 26,626 deletions.
6 changes: 4 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["starter-*", "@pliny/config"]
}
"ignore": [
"@pliny/config"
]
}
7 changes: 7 additions & 0 deletions .changeset/giant-geckos-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'pliny': patch
---

Use default export for components

Named export breaks react server components. See https://github.com/vercel/next.js/issues/51593
5 changes: 5 additions & 0 deletions .changeset/mighty-garlics-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'pliny': patch
---

Remove functions superseded in next 13 or new set up
5 changes: 5 additions & 0 deletions .changeset/neat-tables-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'pliny': minor
---

bump package dependencies
5 changes: 0 additions & 5 deletions .changeset/olive-tigers-lick.md

This file was deleted.

15 changes: 15 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"mode": "pre",
"tag": "beta",
"initialVersions": {
"@pliny/config": "0.0.0",
"pliny": "0.0.10"
},
"changesets": [
"giant-geckos-dress",
"metal-coats-grab",
"mighty-garlics-appear",
"neat-tables-occur",
"unlucky-keys-join"
]
}
5 changes: 0 additions & 5 deletions .changeset/proud-snails-tease.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thick-snails-wait.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/unlucky-keys-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'pliny': patch
---

Update to use next 13 app dir navigation router
2 changes: 1 addition & 1 deletion .github/changeset-version.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { execSync } = require('node:child_process')

execSync('npx changeset version')
execSync('YARN_ENABLE_IMMUTABLE_INSTALLS=false node .yarn/releases/yarn-3.2.1.cjs')
execSync('YARN_ENABLE_IMMUTABLE_INSTALLS=false node .yarn/releases/yarn-3.6.1.cjs')
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
name: Unit Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '18.x'
- name: Install dependencies
run: yarn
- name: Build
Expand All @@ -28,15 +28,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup Node.js 16.x
uses: actions/setup-node@v2
- name: Setup Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x

- name: Install Dependencies
run: yarn
Expand Down
786 changes: 0 additions & 786 deletions .yarn/releases/yarn-3.2.1.cjs

This file was deleted.

874 changes: 874 additions & 0 deletions .yarn/releases/yarn-3.6.1.cjs

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: '@yarnpkg/plugin-typescript'
spec: "@yarnpkg/plugin-typescript"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: '@yarnpkg/plugin-workspace-tools'
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: '@yarnpkg/plugin-version'
spec: "@yarnpkg/plugin-version"

yarnPath: .yarn/releases/yarn-3.2.1.cjs
yarnPath: .yarn/releases/yarn-3.6.1.cjs
22 changes: 9 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@
"version": "0.0.0",
"private": true,
"scripts": {
"prepare": "husky install && cp -R node_modules/esbuild starter-blog/node_modules && cp -R node_modules/@oclif packages/cli/node_modules/@oclif",
"prepare": "husky install",
"build": "turbo run build --filter=!starter-blog",
"dev": "turbo run dev --parallel --no-cache --filter=!starter-blog",
"build:starter": "turbo run build",
"dev:starter": "turbo run dev --parallel --no-cache",
"serve": "turbo run serve",
"lint": "turbo run lint",
"test:watch": "vitest --config ./vitest-exclude-recipe.config.ts",
"test": "vitest run --config ./vitest-exclude-recipe.config.ts",
"test:all": "vitest run --no-threads",
"test": "vitest run",
"clean": "turbo run clean && rm -rf node_modules",
"format": "prettier --write \"**/*.{ts,tsx,md,mdx}\"",
"changeset": "changeset",
Expand All @@ -31,22 +29,20 @@
]
},
"devDependencies": {
"@changesets/cli": "^2.24.0",
"@changesets/cli": "^2.26.0",
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.1.0",
"@types/react": "18.0.25",
"@types/react": "18.2.15",
"husky": "^8.0.0",
"lint-staged": "^13.0.0",
"prettier": "^2.7.0",
"turbo": "1.4.6",
"vitest": "0.12.6"
"prettier": "^3.0.0",
"turbo": "1.10.7",
"vitest": "0.33.0"
},
"workspaces": {
"packages": [
"packages/*",
"recipe/*",
"starter-blog"
"packages/*"
]
},
"packageManager": "yarn@3.2.1"
"packageManager": "yarn@3.6.1"
}
1 change: 0 additions & 1 deletion packages/cli/.eslintrc.js

This file was deleted.

13 changes: 0 additions & 13 deletions packages/cli/.gitignore

This file was deleted.

76 changes: 0 additions & 76 deletions packages/cli/CHANGELOG.md

This file was deleted.

73 changes: 0 additions & 73 deletions packages/cli/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions packages/cli/bin/run

This file was deleted.

3 changes: 0 additions & 3 deletions packages/cli/bin/run.cmd

This file was deleted.

Loading

0 comments on commit 557082d

Please sign in to comment.