Skip to content

Commit

Permalink
refactor: rename portfolio into website
Browse files Browse the repository at this point in the history
  • Loading branch information
valerymelou committed May 24, 2024
1 parent ac78b92 commit 3f757bd
Show file tree
Hide file tree
Showing 22 changed files with 14 additions and 17 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions apps/portfolio/jest.config.ts → apps/website/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* eslint-disable */
export default {
displayName: 'portfolio',
displayName: 'website',
preset: '../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../coverage/apps/portfolio',
coverageDirectory: '../../coverage/apps/website',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',
Expand Down
27 changes: 12 additions & 15 deletions apps/portfolio/project.json → apps/website/project.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
{
"name": "portfolio",
"name": "website",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"prefix": "app",
"sourceRoot": "apps/portfolio/src",
"sourceRoot": "apps/website/src",
"tags": [],
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:application",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/apps/portfolio",
"index": "apps/portfolio/src/index.html",
"browser": "apps/portfolio/src/main.ts",
"outputPath": "dist/apps/website",
"index": "apps/website/src/index.html",
"browser": "apps/website/src/main.ts",
"polyfills": ["zone.js"],
"tsConfig": "apps/portfolio/tsconfig.app.json",
"tsConfig": "apps/website/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"apps/portfolio/src/favicon.ico",
"apps/portfolio/src/assets"
],
"styles": ["apps/portfolio/src/styles.scss"],
"assets": ["apps/website/src/favicon.ico", "apps/website/src/assets"],
"styles": ["apps/website/src/styles.scss"],
"scripts": []
},
"configurations": {
Expand Down Expand Up @@ -51,18 +48,18 @@
"executor": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"buildTarget": "portfolio:build:production"
"buildTarget": "website:build:production"
},
"development": {
"buildTarget": "portfolio:build:development"
"buildTarget": "website:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"executor": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "portfolio:build"
"buildTarget": "website:build"
}
},
"lint": {
Expand All @@ -72,7 +69,7 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/portfolio/jest.config.ts"
"jestConfig": "apps/website/jest.config.ts"
}
}
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3f757bd

Please sign in to comment.