Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@svitejs/changesets-changelog-github-compact",
{ "repo": "TanStack/create-tsrouter-app" }
],
"commit": false,
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"fixed": [],
"linked": [],
"ignore": [],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
}
}
43 changes: 43 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: PR

on:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true

env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

permissions:
contents: read

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Tools
uses: tanstack/config/.github/setup@main
- name: Build
run: pnpm build
- name: Test
run: pnpm test
preview:
provenance:
name: Provenance
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Check Provenance
uses: danielroe/[email protected]
with:
fail-on-downgrade: true
30 changes: 17 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name: Release

on:
workflow_dispatch:
inputs:
tag:
description: override release tag
required: false
push:
branches: [main, alpha, beta]
branches: [main, alpha, beta, rc]

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true

env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

permissions:
contents: write
id-token: write
Expand All @@ -34,11 +32,17 @@ jobs:
run: pnpm build
- name: Test
run: pnpm test
- name: Publish
run: |
git config --global user.name 'Tanner Linsley'
git config --global user.email '[email protected]'
pnpm run cipublish
- name: Run Changesets (version or publish)
uses: changesets/[email protected]
with:
version: pnpm run changeset:version
publish: pnpm run changeset:publish
commit: "ci: Version Packages"
title: "ci: Version Packages"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ inputs.tag }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Comment on PRs about release
if: steps.changesets.outputs.published == 'true'
uses: tanstack/config/.github/comment-on-release@main
with:
published-packages: ${{ steps.changesets.outputs.publishedPackages }}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "customized-ui",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev:ui": "VITE_API_BASE_URL=http://localhost:8080 vite",
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-cli/create-qwik-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-qwik-app",
"version": "0.15.2",
"private": true,
"description": "CTA Qwik Builder",
"bin": "./dist/index.js",
"type": "module",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "rwsdk-customized-ui",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev:ui": "VITE_API_BASE_URL=http://localhost:8080 vite",
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-cli/create-rwsdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-rwsdk-app",
"version": "0.15.2",
"private": true,
"description": "CTA RedwoodSDK Builder",
"bin": "./dist/index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-cli/customized-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "customized-react-app",
"version": "0.15.2",
"private": true,
"description": "CTA Qwik Builder",
"bin": "./dist/index.js",
"type": "module",
Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,19 @@
"scripts": {
"cleanNodeModules": "rm -rf node_modules && pnpm -r exec rm -rf node_modules",
"build": "nx run-many --target=build --parallel 5",
"cipublish": "node scripts/publish.js",
"dev": "nx run-many --target=dev --parallel 20",
"test": "nx run-many -t test",
"test": "nx run-many --target=test",
"check-outdated": "node scripts/check-outdated-packages.js",
"update-outdated": "node scripts/check-outdated-packages.js --update",
"prepare": "husky install"
"prepare": "husky install",
"changeset": "changeset",
"changeset:publish": "changeset publish",
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile"
},
"devDependencies": {
"@changesets/cli": "^2.29.8",
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
"@tanstack/eslint-config": "^0.3.4",
"@tanstack/publish-config": "^0.2.2",
"eslint": "^9.20.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-unused-imports": "^4.1.4",
Expand Down
Loading