Skip to content

Commit 3351e33

Browse files
chore: release 1.0.0 (#938)
1 parent 54daee3 commit 3351e33

File tree

107 files changed

+1514
-337
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+1514
-337
lines changed

.all-contributorsrc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,8 @@
774774
"avatar_url": "https://avatars.githubusercontent.com/u/1307706?v=4",
775775
"profile": "https://alexfriesen.net/",
776776
"contributions": [
777-
"infra"
777+
"infra",
778+
"code"
778779
]
779780
},
780781
{
@@ -785,6 +786,15 @@
785786
"contributions": [
786787
"doc"
787788
]
789+
},
790+
{
791+
"login": "nckirik",
792+
"name": "N. Can KIRIK",
793+
"avatar_url": "https://avatars.githubusercontent.com/u/53273233?v=4",
794+
"profile": "https://github.com/nckirik",
795+
"contributions": [
796+
"code"
797+
]
788798
}
789799
],
790800
"contributorsPerLine": 7,

.github/workflows/release.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- beta
7+
8+
permissions:
9+
contents: read # for checkout
10+
11+
jobs:
12+
version:
13+
name: Version and Publish
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: write # to be able to publish a GitHub release
17+
issues: write # to be able to comment on released issues
18+
pull-requests: write # to be able to comment on released pull requests
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v3
22+
with:
23+
fetch-depth: 0
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v3
26+
with:
27+
node-version-file: .node-version
28+
- run: corepack enable
29+
- run: pnpm --version
30+
- name: Install dependencies
31+
uses: actions/setup-node@v3
32+
with:
33+
cache: 'pnpm'
34+
cache-dependency-path: '**/pnpm-lock.yaml'
35+
- name: Install
36+
run: pnpm install --frozen-lockfile --prefer-offline
37+
# - name: Release
38+
# env:
39+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
41+
# run: |
42+
# TAG="$(${{ github.ref_name == 'main' }} && echo 'latest' || echo '${{ github.ref_name }}')"
43+
# RELEASE_TAG=$TAG npx semantic-release

CHANGELOG.md

Lines changed: 141 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,76 @@
1-
## [0.2.45](https://github.com/analogjs/analog/compare/0.2.44...0.2.45) (2024-03-08)
1+
# [1.0.0](https://github.com/analogjs/analog/compare/1.0.0-rc.3...1.0.0) (2024-03-14)
2+
3+
# [1.0.0-rc.3](https://github.com/analogjs/analog/compare/1.0.0-rc.2...1.0.0-rc.3) (2024-03-14)
4+
5+
### Bug Fixes
6+
7+
- **nx-plugin:** rename template files and adjust versions ([#936](https://github.com/analogjs/analog/issues/936)) ([e0d4b6b](https://github.com/analogjs/analog/commit/e0d4b6b2cec348482b07f33b666451b724afbabf))
8+
9+
# [1.0.0-rc.2](https://github.com/analogjs/analog/compare/1.0.0-rc.1...1.0.0-rc.2) (2024-03-12)
10+
11+
### Bug Fixes
12+
13+
- **nx-plugin:** update package versions to 1.0 RC ([#933](https://github.com/analogjs/analog/issues/933)) ([d37a9c2](https://github.com/analogjs/analog/commit/d37a9c2c75d7739d56b4af6942f63c4ff77b8ade))
14+
15+
# [1.0.0-rc.1](https://github.com/analogjs/analog/compare/0.2.45...1.0.0-rc.1) (2024-03-08)
16+
17+
# [1.0.0-rc.0](https://github.com/analogjs/analog/compare/1.0.0-beta.5...1.0.0-rc.0) (2024-03-07)
18+
19+
# [1.0.0-beta.2](https://github.com/analogjs/analog/compare/0.2.29...1.0.0-beta.2) (2023-12-30)
20+
21+
# [1.0.0-beta.1](https://github.com/analogjs/analog/compare/1.0.0-beta.0...1.0.0-beta.1) (2023-12-12)
22+
23+
### Bug Fixes
24+
25+
- **create-analog:** set app root for Vite/ESM support ([32ab9ce](https://github.com/analogjs/analog/commit/32ab9cecc6dc0d28e166edbc9a27a9071ba22069))
26+
- **vite-plugin-nitro:** use relative paths for root directory ([989fd6d](https://github.com/analogjs/analog/commit/989fd6d162d4d5a389ab543bead70e4a2188f931))
27+
28+
# [1.0.0-beta.0](https://github.com/analogjs/analog/compare/0.2.25...1.0.0-beta.0) (2023-12-12)
29+
30+
### Bug Fixes
31+
32+
- add release tag env variable ([379c546](https://github.com/analogjs/analog/commit/379c5466ba054fdf5fc6a9e579f3c17849004c88))
33+
- only auto-publish [@analogjs](https://github.com/analogjs) packages ([98301dc](https://github.com/analogjs/analog/commit/98301dc08dac3f7cb46dfce3483679005ba0ed60))
34+
- set beta tag on publish ([c1b8211](https://github.com/analogjs/analog/commit/c1b8211153d5259214a5a5f807fb892f82a28600))
35+
- use semantic release to publish ([8410660](https://github.com/analogjs/analog/commit/841066058ad83f5ddd190221b3d832a8dddf5497))
36+
37+
### Features
38+
39+
- add npm publish job for packages ([2802c92](https://github.com/analogjs/analog/commit/2802c92cee93cfa7a076421c329383968b5f74a2))
40+
- update app templates to 1.0.0-beta ([5a23eb0](https://github.com/analogjs/analog/commit/5a23eb08718329ef2ec90135af47beb4a2c96bb7))
41+
42+
## [0.2.45](https://github.com/analogjs/analog/compare/1.0.0-rc.0...0.2.45) (2024-03-08)
243

344
### Features
445

546
- **create-analog:** add support for Vite 5.1 to template apps ([#925](https://github.com/analogjs/analog/issues/925)) ([8c6d45f](https://github.com/analogjs/analog/commit/8c6d45fbb181e8203fbf70207d5296788a881027))
647
- **vite-plugin-angular:** add pipeline to transform analog markdown template ([#875](https://github.com/analogjs/analog/issues/875)) ([789fa06](https://github.com/analogjs/analog/commit/789fa062d6a36bfbe0da6689da3509e78c41e658))
748

49+
# [1.0.0-rc.0](https://github.com/analogjs/analog/compare/1.0.0-beta.5...1.0.0-rc.0) (2024-03-07)
50+
51+
# [1.0.0-beta.2](https://github.com/analogjs/analog/compare/0.2.29...1.0.0-beta.2) (2023-12-30)
52+
53+
# [1.0.0-beta.1](https://github.com/analogjs/analog/compare/1.0.0-beta.0...1.0.0-beta.1) (2023-12-12)
54+
55+
### Bug Fixes
56+
57+
- **create-analog:** set app root for Vite/ESM support ([32ab9ce](https://github.com/analogjs/analog/commit/32ab9cecc6dc0d28e166edbc9a27a9071ba22069))
58+
- **vite-plugin-nitro:** use relative paths for root directory ([989fd6d](https://github.com/analogjs/analog/commit/989fd6d162d4d5a389ab543bead70e4a2188f931))
59+
60+
# [1.0.0-beta.0](https://github.com/analogjs/analog/compare/0.2.25...1.0.0-beta.0) (2023-12-12)
61+
62+
### Bug Fixes
63+
64+
- add release tag env variable ([379c546](https://github.com/analogjs/analog/commit/379c5466ba054fdf5fc6a9e579f3c17849004c88))
65+
- only auto-publish [@analogjs](https://github.com/analogjs) packages ([98301dc](https://github.com/analogjs/analog/commit/98301dc08dac3f7cb46dfce3483679005ba0ed60))
66+
- set beta tag on publish ([c1b8211](https://github.com/analogjs/analog/commit/c1b8211153d5259214a5a5f807fb892f82a28600))
67+
- use semantic release to publish ([8410660](https://github.com/analogjs/analog/commit/841066058ad83f5ddd190221b3d832a8dddf5497))
68+
69+
### Features
70+
71+
- add npm publish job for packages ([2802c92](https://github.com/analogjs/analog/commit/2802c92cee93cfa7a076421c329383968b5f74a2))
72+
- update app templates to 1.0.0-beta ([5a23eb0](https://github.com/analogjs/analog/commit/5a23eb08718329ef2ec90135af47beb4a2c96bb7))
73+
874
## [0.2.44](https://github.com/analogjs/analog/compare/0.2.43...0.2.44) (2024-03-06)
975

1076
### Bug Fixes
@@ -90,7 +156,7 @@
90156

91157
- **vite-plugin-angular:** add include configuration for analog file globs ([#882](https://github.com/analogjs/analog/issues/882)) ([00baaf4](https://github.com/analogjs/analog/commit/00baaf4fb0162a2ec3161410665b21cfd421d864))
92158

93-
## [0.2.32](https://github.com/analogjs/analog/compare/0.2.31...0.2.32) (2024-02-08)
159+
## [0.2.32](https://github.com/analogjs/analog/compare/1.0.0-beta.3...0.2.32) (2024-02-08)
94160

95161
### Bug Fixes
96162

@@ -100,6 +166,29 @@
100166

101167
- **nx-plugin:** add support for nx 18 ([#880](https://github.com/analogjs/analog/issues/880)) ([aa5c4fa](https://github.com/analogjs/analog/commit/aa5c4fa5b064a613b2cabfe3aed97509efbdd06f))
102168

169+
# [1.0.0-beta.2](https://github.com/analogjs/analog/compare/0.2.29...1.0.0-beta.2) (2023-12-30)
170+
171+
# [1.0.0-beta.1](https://github.com/analogjs/analog/compare/1.0.0-beta.0...1.0.0-beta.1) (2023-12-12)
172+
173+
### Bug Fixes
174+
175+
- **create-analog:** set app root for Vite/ESM support ([32ab9ce](https://github.com/analogjs/analog/commit/32ab9cecc6dc0d28e166edbc9a27a9071ba22069))
176+
- **vite-plugin-nitro:** use relative paths for root directory ([989fd6d](https://github.com/analogjs/analog/commit/989fd6d162d4d5a389ab543bead70e4a2188f931))
177+
178+
# [1.0.0-beta.0](https://github.com/analogjs/analog/compare/0.2.25...1.0.0-beta.0) (2023-12-12)
179+
180+
### Bug Fixes
181+
182+
- add release tag env variable ([379c546](https://github.com/analogjs/analog/commit/379c5466ba054fdf5fc6a9e579f3c17849004c88))
183+
- only auto-publish [@analogjs](https://github.com/analogjs) packages ([98301dc](https://github.com/analogjs/analog/commit/98301dc08dac3f7cb46dfce3483679005ba0ed60))
184+
- set beta tag on publish ([c1b8211](https://github.com/analogjs/analog/commit/c1b8211153d5259214a5a5f807fb892f82a28600))
185+
- use semantic release to publish ([8410660](https://github.com/analogjs/analog/commit/841066058ad83f5ddd190221b3d832a8dddf5497))
186+
187+
### Features
188+
189+
- add npm publish job for packages ([2802c92](https://github.com/analogjs/analog/commit/2802c92cee93cfa7a076421c329383968b5f74a2))
190+
- update app templates to 1.0.0-beta ([5a23eb0](https://github.com/analogjs/analog/commit/5a23eb08718329ef2ec90135af47beb4a2c96bb7))
191+
103192
## [0.2.31](https://github.com/analogjs/analog/compare/0.2.31-beta.2...0.2.31) (2024-02-07)
104193

105194
### Features
@@ -198,13 +287,39 @@
198287

199288
- **vite-plugin-angular:** add ts-morph as devDependency ([2870b9c](https://github.com/analogjs/analog/commit/2870b9c49eaf85b1400d489cf6eb89dd2b1082cd))
200289

201-
## [0.2.30-beta.0](https://github.com/analogjs/analog/compare/0.2.29...0.2.30-beta.0) (2024-01-02)
290+
## [0.2.30-beta.0](https://github.com/analogjs/analog/compare/1.0.0-beta.2...0.2.30-beta.0) (2024-01-02)
202291

203292
### Features
204293

205-
- **trpc:** allow install of superjson version 2.2.1 and newer ([#793](https://github.com/analogjs/analog/issues/793)) ([4dffaf3](https://github.com/analogjs/analog/commit/4dffaf37657c0d04eedd16ec3b7262b78ace52c6))
206294
- **vite-plugin-angular:** introduce experimental support for .ng format ([#823](https://github.com/analogjs/analog/issues/823)) ([f12beeb](https://github.com/analogjs/analog/commit/f12beeb2ecc8ab8dc7377981555fa13e8c62f14b))
207295

296+
# [1.0.0-beta.2](https://github.com/analogjs/analog/compare/0.2.29...1.0.0-beta.2) (2023-12-30)
297+
298+
### Features
299+
300+
- **trpc:** allow install of superjson version 2.2.1 and newer ([#793](https://github.com/analogjs/analog/issues/793)) ([4dffaf3](https://github.com/analogjs/analog/commit/4dffaf37657c0d04eedd16ec3b7262b78ace52c6))
301+
302+
# [1.0.0-beta.1](https://github.com/analogjs/analog/compare/1.0.0-beta.0...1.0.0-beta.1) (2023-12-12)
303+
304+
### Bug Fixes
305+
306+
- **create-analog:** set app root for Vite/ESM support ([32ab9ce](https://github.com/analogjs/analog/commit/32ab9cecc6dc0d28e166edbc9a27a9071ba22069))
307+
- **vite-plugin-nitro:** use relative paths for root directory ([989fd6d](https://github.com/analogjs/analog/commit/989fd6d162d4d5a389ab543bead70e4a2188f931))
308+
309+
# [1.0.0-beta.0](https://github.com/analogjs/analog/compare/0.2.25...1.0.0-beta.0) (2023-12-12)
310+
311+
### Bug Fixes
312+
313+
- add release tag env variable ([379c546](https://github.com/analogjs/analog/commit/379c5466ba054fdf5fc6a9e579f3c17849004c88))
314+
- only auto-publish [@analogjs](https://github.com/analogjs) packages ([98301dc](https://github.com/analogjs/analog/commit/98301dc08dac3f7cb46dfce3483679005ba0ed60))
315+
- set beta tag on publish ([c1b8211](https://github.com/analogjs/analog/commit/c1b8211153d5259214a5a5f807fb892f82a28600))
316+
- use semantic release to publish ([8410660](https://github.com/analogjs/analog/commit/841066058ad83f5ddd190221b3d832a8dddf5497))
317+
318+
### Features
319+
320+
- add npm publish job for packages ([2802c92](https://github.com/analogjs/analog/commit/2802c92cee93cfa7a076421c329383968b5f74a2))
321+
- update app templates to 1.0.0-beta ([5a23eb0](https://github.com/analogjs/analog/commit/5a23eb08718329ef2ec90135af47beb4a2c96bb7))
322+
208323
## [0.2.29](https://github.com/analogjs/analog/compare/0.2.28...0.2.29) (2023-12-19)
209324

210325
### Bug Fixes
@@ -229,7 +344,7 @@
229344
- **vite-plugin-angular:** improve compatibility with sourcemaps ([#803](https://github.com/analogjs/analog/issues/803)) ([ccc959b](https://github.com/analogjs/analog/commit/ccc959b8978525af3f0bc431924e1744d2c834e3))
230345
- **vite-plugin-angular:** support Windows path for templateUrl and styleUrl ([#799](https://github.com/analogjs/analog/issues/799)) ([c083461](https://github.com/analogjs/analog/commit/c083461dc063e693f41eda42863638556b3c19ef))
231346

232-
## [0.2.26](https://github.com/analogjs/analog/compare/0.2.25...0.2.26) (2023-12-13)
347+
## [0.2.26](https://github.com/analogjs/analog/compare/1.0.0-beta.1...0.2.26) (2023-12-13)
233348

234349
### Bug Fixes
235350

@@ -239,6 +354,27 @@
239354

240355
- **vite-plugin-angular:** only filter to Angular CDK packages for ESM transform ([#796](https://github.com/analogjs/analog/issues/796)) ([d5256a8](https://github.com/analogjs/analog/commit/d5256a83c0aac7009e13ad0b3801e50b26a960ed))
241356

357+
# [1.0.0-beta.1](https://github.com/analogjs/analog/compare/1.0.0-beta.0...1.0.0-beta.1) (2023-12-12)
358+
359+
### Bug Fixes
360+
361+
- **create-analog:** set app root for Vite/ESM support ([32ab9ce](https://github.com/analogjs/analog/commit/32ab9cecc6dc0d28e166edbc9a27a9071ba22069))
362+
- **vite-plugin-nitro:** use relative paths for root directory ([989fd6d](https://github.com/analogjs/analog/commit/989fd6d162d4d5a389ab543bead70e4a2188f931))
363+
364+
# [1.0.0-beta.0](https://github.com/analogjs/analog/compare/0.2.25...1.0.0-beta.0) (2023-12-12)
365+
366+
### Bug Fixes
367+
368+
- add release tag env variable ([379c546](https://github.com/analogjs/analog/commit/379c5466ba054fdf5fc6a9e579f3c17849004c88))
369+
- only auto-publish [@analogjs](https://github.com/analogjs) packages ([98301dc](https://github.com/analogjs/analog/commit/98301dc08dac3f7cb46dfce3483679005ba0ed60))
370+
- set beta tag on publish ([c1b8211](https://github.com/analogjs/analog/commit/c1b8211153d5259214a5a5f807fb892f82a28600))
371+
- use semantic release to publish ([8410660](https://github.com/analogjs/analog/commit/841066058ad83f5ddd190221b3d832a8dddf5497))
372+
373+
### Features
374+
375+
- add npm publish job for packages ([2802c92](https://github.com/analogjs/analog/commit/2802c92cee93cfa7a076421c329383968b5f74a2))
376+
- update app templates to 1.0.0-beta ([5a23eb0](https://github.com/analogjs/analog/commit/5a23eb08718329ef2ec90135af47beb4a2c96bb7))
377+
242378
## [0.2.25](https://github.com/analogjs/analog/compare/0.2.24...0.2.25) (2023-12-12)
243379

244380
### Bug Fixes

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- prettier-ignore-start -->
44
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
5-
[![All Contributors](https://img.shields.io/badge/all_contributors-82-orange.svg?style=flat-square)](#contributors-)
5+
[![All Contributors](https://img.shields.io/badge/all_contributors-83-orange.svg?style=flat-square)](#contributors-)
66
<!-- ALL-CONTRIBUTORS-BADGE:END -->
77
<!-- prettier-ignore-end -->
88

@@ -191,8 +191,9 @@ Thanks goes to these wonderful people for contributing to Analog ([emoji key](ht
191191
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ilirbeqirii"><img src="https://avatars.githubusercontent.com/u/24731032?v=4?s=100" width="100px;" alt="Ilir Beqiri"/><br /><sub><b>Ilir Beqiri</b></sub></a><br /><a href="https://github.com/analogjs/analog/commits?author=ilirbeqirii" title="Documentation">📖</a></td>
192192
<td align="center" valign="top" width="14.28%"><a href="https://github.com/remes2000"><img src="https://avatars.githubusercontent.com/u/26173223?v=4?s=100" width="100px;" alt="Michał Nieruchalski"/><br /><sub><b>Michał Nieruchalski</b></sub></a><br /><a href="https://github.com/analogjs/analog/commits?author=remes2000" title="Code">💻</a></td>
193193
<td align="center" valign="top" width="14.28%"><a href="https://angelfraga.com/"><img src="https://avatars.githubusercontent.com/u/11693938?v=4?s=100" width="100px;" alt="Angel Fraga Parodi"/><br /><sub><b>Angel Fraga Parodi</b></sub></a><br /><a href="#infra-angelfraga" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/analogjs/analog/commits?author=angelfraga" title="Code">💻</a></td>
194-
<td align="center" valign="top" width="14.28%"><a href="https://alexfriesen.net/"><img src="https://avatars.githubusercontent.com/u/1307706?v=4?s=100" width="100px;" alt="Alex"/><br /><sub><b>Alex</b></sub></a><br /><a href="#infra-alexfriesen" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
194+
<td align="center" valign="top" width="14.28%"><a href="https://alexfriesen.net/"><img src="https://avatars.githubusercontent.com/u/1307706?v=4?s=100" width="100px;" alt="Alex"/><br /><sub><b>Alex</b></sub></a><br /><a href="#infra-alexfriesen" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/analogjs/analog/commits?author=alexfriesen" title="Code">💻</a></td>
195195
<td align="center" valign="top" width="14.28%"><a href="https://github.com/duluca"><img src="https://avatars.githubusercontent.com/u/822159?v=4?s=100" width="100px;" alt="Doguhan Uluca"/><br /><sub><b>Doguhan Uluca</b></sub></a><br /><a href="https://github.com/analogjs/analog/commits?author=duluca" title="Documentation">📖</a></td>
196+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/nckirik"><img src="https://avatars.githubusercontent.com/u/53273233?v=4?s=100" width="100px;" alt="N. Can KIRIK"/><br /><sub><b>N. Can KIRIK</b></sub></a><br /><a href="https://github.com/analogjs/analog/commits?author=nckirik" title="Code">💻</a></td>
196197
</tr>
197198
</tbody>
198199
</table>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "analog-app-e2e-cypress",
3+
"private": true,
4+
"type": "commonjs"
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "analog-app-e2e-playwright",
3+
"private": true,
4+
"type": "commonjs"
5+
}

apps/analog-app-e2e-playwright/vite.config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/// <reference types="vitest" />
22

33
import { defineConfig } from 'vite';
4-
import { offsetFromRoot } from '@nx/devkit';
54

65
// https://vitejs.dev/config/
76
export default defineConfig(({ mode }) => {
@@ -13,9 +12,7 @@ export default defineConfig(({ mode }) => {
1312
environment: 'node',
1413
include: ['**/*.spec.ts'],
1514
cache: {
16-
dir: `${offsetFromRoot(
17-
'apps/analog-app-e2e-playwright'
18-
)}/node_modules/.vitest/analog-app-e2e-playwright`,
15+
dir: `../../node_modules/.vitest`,
1916
},
2017
},
2118
define: {

apps/analog-preset-e2e/vite.config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/// <reference types="vitest" />
22

33
import { defineConfig } from 'vite';
4-
import { offsetFromRoot } from '@nx/devkit';
54

65
// https://vitejs.dev/config/
76
export default defineConfig(({ mode }) => {
@@ -13,9 +12,7 @@ export default defineConfig(({ mode }) => {
1312
environment: 'node',
1413
include: ['**/*.spec.ts'],
1514
cache: {
16-
dir: `${offsetFromRoot(
17-
'apps/analog-preset-e2e'
18-
)}/node_modules/.vitest/analog-preset-e2e`,
15+
dir: `../../node_modules/.vitest`,
1916
},
2017
},
2118
define: {
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "astro-app-e2e-playwright",
3+
"private": true,
4+
"type": "commonjs"
5+
}

apps/astro-app-e2e-playwright/vite.config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/// <reference types="vitest" />
22

3-
import { offsetFromRoot } from '@nx/devkit';
43
import { defineConfig } from 'vite';
54

65
// https://vitejs.dev/config/
@@ -13,9 +12,7 @@ export default defineConfig(({ mode }) => {
1312
environment: 'node',
1413
include: ['**/*.spec.ts'],
1514
cache: {
16-
dir: `${offsetFromRoot(
17-
'packages/astro-app-e2e-playwright'
18-
)}/node_modules/.vitest/astro-app-e2e-playwright`,
15+
dir: `../../node_modules/.vitest`,
1916
},
2017
},
2118
define: {

0 commit comments

Comments
 (0)