@quilted/create 0.2.49 โ 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/build/esm/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/plugins/typescript.mjs +1 -1
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/prompts.mjs +1 -1
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.mjs +1 -1
- package/build/esnext/_virtual/index7.esnext +2 -2
- package/build/esnext/_virtual/index8.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/prettier@3.5.1/node_modules/prettier/plugins/typescript.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/prompts.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.esnext +1 -1
- package/package.json +1 -1
- package/templates/app-basic/App.tsx +8 -20
- package/templates/app-basic/package.json +2 -1
- package/templates/app-basic/server.tsx +7 -5
- package/templates/app-basic/shared/context.ts +2 -2
- package/templates/app-basic/tests/render/render.tsx +3 -3
- package/templates/app-empty/package.json +2 -1
- package/templates/app-empty/server.tsx +6 -5
- package/templates/app-graphql/App.tsx +14 -22
- package/templates/app-graphql/package.json +2 -1
- package/templates/app-graphql/server.tsx +11 -7
- package/templates/app-graphql/shared/context.ts +3 -11
- package/templates/app-graphql/shared/graphql.ts +10 -0
- package/templates/app-graphql/tests/render/render.tsx +3 -3
- package/templates/app-trpc/App.tsx +15 -22
- package/templates/app-trpc/package.json +2 -1
- package/templates/app-trpc/server.tsx +18 -18
- package/templates/app-trpc/shared/context.ts +2 -2
- package/templates/app-trpc/tests/render/render.tsx +3 -3
- package/templates/github/_github/workflows/actions/prepare/action.yml +6 -3
- package/templates/github/_github/workflows/ci.yml +7 -4
- package/templates/server-basic/package.json +1 -1
- package/templates/server-basic/server.ts +2 -2
- package/templates/workspace/package.json +5 -5
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
name: CI
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
-
|
|
4
|
+
pull_request:
|
|
5
5
|
branches:
|
|
6
|
-
-
|
|
7
|
-
- '!main'
|
|
6
|
+
- main
|
|
8
7
|
workflow_call:
|
|
9
8
|
inputs:
|
|
10
9
|
build:
|
|
@@ -16,6 +15,7 @@ jobs:
|
|
|
16
15
|
lint:
|
|
17
16
|
name: Lint ๐
|
|
18
17
|
runs-on: ubuntu-latest
|
|
18
|
+
timeout-minutes: 5
|
|
19
19
|
steps:
|
|
20
20
|
- uses: actions/checkout@v4
|
|
21
21
|
- uses: ./.github/workflows/actions/prepare
|
|
@@ -24,6 +24,7 @@ jobs:
|
|
|
24
24
|
type-check:
|
|
25
25
|
name: Type check ๐งฎ
|
|
26
26
|
runs-on: ubuntu-latest
|
|
27
|
+
timeout-minutes: 5
|
|
27
28
|
steps:
|
|
28
29
|
- uses: actions/checkout@v4
|
|
29
30
|
- uses: ./.github/workflows/actions/prepare
|
|
@@ -32,6 +33,7 @@ jobs:
|
|
|
32
33
|
unit-tests:
|
|
33
34
|
name: Unit tests ๐งช
|
|
34
35
|
runs-on: ubuntu-latest
|
|
36
|
+
timeout-minutes: 5
|
|
35
37
|
steps:
|
|
36
38
|
- uses: actions/checkout@v4
|
|
37
39
|
- uses: ./.github/workflows/actions/prepare
|
|
@@ -39,8 +41,9 @@ jobs:
|
|
|
39
41
|
|
|
40
42
|
build:
|
|
41
43
|
name: Build ๐
|
|
42
|
-
if: ${{ inputs.build || github.event_name == '
|
|
44
|
+
if: ${{ inputs.build || github.event_name == 'pull_request' }}
|
|
43
45
|
runs-on: ubuntu-latest
|
|
46
|
+
timeout-minutes: 5
|
|
44
47
|
steps:
|
|
45
48
|
- uses: actions/checkout@v4
|
|
46
49
|
- uses: ./.github/workflows/actions/prepare
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
"typescript:watch": "tsx watch --conditions quilt:source"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@quilted/rollup": "^0.
|
|
17
|
-
"@quilted/vite": "^0.
|
|
16
|
+
"@quilted/rollup": "^0.4.0",
|
|
17
|
+
"@quilted/vite": "^0.3.0",
|
|
18
18
|
"@quilted/typescript": "^0.4.0",
|
|
19
|
-
"rollup": "^4.
|
|
19
|
+
"rollup": "^4.46.0",
|
|
20
20
|
"prettier": "^3.3.0",
|
|
21
21
|
"tsx": "^4.19.0",
|
|
22
22
|
"typescript": "^5.7.0",
|
|
23
|
-
"vite": "^
|
|
24
|
-
"vitest": "^3.
|
|
23
|
+
"vite": "^7.1.0",
|
|
24
|
+
"vitest": "^3.2.0"
|
|
25
25
|
},
|
|
26
26
|
"prettier": {
|
|
27
27
|
"arrowParens": "always",
|