-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from ngx-primer/main
Rebase Branch & Sync
- Loading branch information
Showing
15 changed files
with
3,640 additions
and
1,063 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"type": "module", | ||
"dependencies": { | ||
"@angular/common": "~18.2.13", | ||
"@angular/core": "~18.2.13", | ||
"@angular/platform-browser": "~18.2.13", | ||
"@angular/platform-server": "~18.2.13", | ||
"@angular/router": "~18.2.13", | ||
"@angular/ssr": "~18.2.12", | ||
"@ngx-primer/primitive/accordion": "0.0.2-0", | ||
"@nx/angular": "20.1.0", | ||
"express": "~4.18.3", | ||
"zone.js": "~0.14.10", | ||
"jest-preset-angular": "~14.1.1", | ||
"vite": "^5.4.11", | ||
"@analogjs/platform": "1.10.0-beta.6", | ||
"@nx/vite": "20.1.0", | ||
"@analogjs/vite-plugin-angular": "^1.9.0", | ||
"tailwindcss": "^3.4.15", | ||
"vite-tsconfig-paths": "^4.2.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
import { mergeApplicationConfig, ApplicationConfig } from '@angular/core'; | ||
import { provideServerRendering } from '@angular/platform-server'; | ||
import { ApplicationConfig, mergeApplicationConfig } from '@angular/core'; | ||
|
||
import { appConfig } from './app.config'; | ||
import { provideClientHydration } from '@angular/platform-browser'; | ||
import { provideServerRendering } from '@angular/platform-server'; | ||
|
||
const serverConfig: ApplicationConfig = { | ||
providers: [provideServerRendering()], | ||
providers: [ | ||
provideServerRendering(), | ||
provideClientHydration() | ||
], | ||
}; | ||
|
||
export const config = mergeApplicationConfig(appConfig, serverConfig); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/// <reference types="vitest" /> | ||
|
||
import analog from '@analogjs/platform'; | ||
import angular from '@analogjs/vite-plugin-angular'; | ||
import { defineConfig } from 'vite'; | ||
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; | ||
import tailwindcss from 'tailwindcss'; | ||
import tsconfigPaths from 'vite-tsconfig-paths'; | ||
|
||
// https://vitejs.dev/config/ | ||
export default defineConfig(({ mode }) => { | ||
return { | ||
root: __dirname, | ||
cacheDir: '../../node_modules/.vite', | ||
build: { | ||
outDir: '../../dist/apps/documentations/client', | ||
reportCompressedSize: true, | ||
target: ['es2020'], | ||
}, | ||
plugins: [ | ||
analog({ | ||
ssr: false, | ||
static: true, | ||
prerender: { | ||
routes: [], | ||
}, | ||
}), | ||
angular(), | ||
nxViteTsPaths(), | ||
tsconfigPaths() | ||
], | ||
server: { | ||
fs: { | ||
allow: ['.'], | ||
}, | ||
}, | ||
test: { | ||
globals: true, | ||
environment: 'jsdom', | ||
setupFiles: ['src/test-setup.ts'], | ||
include: ['**/*.spec.ts'], | ||
reporters: ['default'], | ||
}, | ||
define: { | ||
'import.meta.vitest': mode !== 'production', | ||
}, | ||
css: { | ||
postcss: { | ||
plugins: [tailwindcss], | ||
}, | ||
}, | ||
}; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export * from './directives/id-generator/id-generator.directive'; | ||
export * from './directives/id-generator/id-generator.directive'; | ||
export * from './providers/id-generator/id-generator.provider'; |
Oops, something went wrong.