Skip to content

Commit

Permalink
feat(create-analog): add support for Vite 5.1 to template apps
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Mar 8, 2024
1 parent f72cabb commit 9a88b38
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 17 deletions.
3 changes: 2 additions & 1 deletion packages/content/src/lib/get-content-files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ export const getContentFilesList = () =>
*/
export const getContentFiles = () =>
import.meta.glob(['/src/content/**/*.md', '/src/content/**/*.agx'], {
as: 'raw',
query: '?raw',
import: 'default',
});
2 changes: 1 addition & 1 deletion packages/create-analog/template-angular-v17/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"nx": "~18.0.0",
"jsdom": "^22.1.0",
"typescript": "~5.3.0",
"vite": "~5.0.0",
"vite": "^5.0.0",
"vitest": "^1.3.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"composite": false,
"outDir": "./out-tsc/app",
"types": []
},
Expand Down
6 changes: 1 addition & 5 deletions packages/create-analog/template-angular-v17/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,5 @@
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
},
"references": [
{ "path": "tsconfig.app.json" },
{ "path": "tsconfig.spec.json" }
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"composite": false,
"outDir": "./out-tsc/spec",
"target": "es2016",
"types": ["node", "vitest/globals"]
Expand Down
2 changes: 1 addition & 1 deletion packages/create-analog/template-blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"nx": "~18.0.0",
"jsdom": "^22.1.0",
"typescript": "~5.3.0",
"vite": "~5.0.0",
"vite": "^5.0.0",
"vitest": "^1.3.1"
}
}
1 change: 0 additions & 1 deletion packages/create-analog/template-blog/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"composite": false,
"outDir": "./out-tsc/app",
"types": []
},
Expand Down
6 changes: 1 addition & 5 deletions packages/create-analog/template-blog/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,5 @@
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
},
"references": [
{ "path": "tsconfig.app.json" },
{ "path": "tsconfig.spec.json" }
]
}
}
1 change: 0 additions & 1 deletion packages/create-analog/template-blog/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"composite": false,
"outDir": "./out-tsc/spec",
"target": "es2016",
"types": ["node", "vitest/globals"]
Expand Down

0 comments on commit 9a88b38

Please sign in to comment.