feat(move): move lib

This commit is contained in:
thomas
2023-10-17 23:02:33 +02:00
parent 2e0c7f61cb
commit fcd125d001
17 changed files with 23 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
{ {
"extends": ["../../.eslintrc.json"], "extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"], "ignorePatterns": ["!**/*"],
"overrides": [ "overrides": [
{ {

View File

@@ -5,7 +5,7 @@
### Run Application ### Run Application
```bash ```bash
npx nx serve pipe-hard npx nx serve angular-pipe-hard
``` ```
### Documentation and Instruction ### Documentation and Instruction

View File

@@ -1,25 +1,25 @@
{ {
"name": "pipe-hard", "name": "angular-pipe-hard",
"$schema": "../../node_modules/nx/schemas/project-schema.json", "$schema": "../../../node_modules/nx/schemas/project-schema.json",
"projectType": "application", "projectType": "application",
"sourceRoot": "apps/pipe-hard/src", "sourceRoot": "apps/angular/pipe-hard/src",
"prefix": "app", "prefix": "app",
"targets": { "targets": {
"build": { "build": {
"executor": "@angular-devkit/build-angular:browser", "executor": "@angular-devkit/build-angular:browser",
"outputs": ["{options.outputPath}"], "outputs": ["{options.outputPath}"],
"options": { "options": {
"outputPath": "dist/apps/pipe-hard", "outputPath": "dist/apps/angular/pipe-hard",
"index": "apps/pipe-hard/src/index.html", "index": "apps/angular/pipe-hard/src/index.html",
"main": "apps/pipe-hard/src/main.ts", "main": "apps/angular/pipe-hard/src/main.ts",
"polyfills": "apps/pipe-hard/src/polyfills.ts", "polyfills": "apps/angular/pipe-hard/src/polyfills.ts",
"tsConfig": "apps/pipe-hard/tsconfig.app.json", "tsConfig": "apps/angular/pipe-hard/tsconfig.app.json",
"inlineStyleLanguage": "scss", "inlineStyleLanguage": "scss",
"assets": [ "assets": [
"apps/pipe-hard/src/favicon.ico", "apps/angular/pipe-hard/src/favicon.ico",
"apps/pipe-hard/src/assets" "apps/angular/pipe-hard/src/assets"
], ],
"styles": ["apps/pipe-hard/src/styles.scss"], "styles": ["apps/angular/pipe-hard/src/styles.scss"],
"scripts": [] "scripts": []
}, },
"configurations": { "configurations": {
@@ -38,8 +38,8 @@
], ],
"fileReplacements": [ "fileReplacements": [
{ {
"replace": "apps/pipe-hard/src/environments/environment.ts", "replace": "apps/angular/pipe-hard/src/environments/environment.ts",
"with": "apps/pipe-hard/src/environments/environment.prod.ts" "with": "apps/angular/pipe-hard/src/environments/environment.prod.ts"
} }
], ],
"outputHashing": "all" "outputHashing": "all"
@@ -59,10 +59,10 @@
"executor": "@angular-devkit/build-angular:dev-server", "executor": "@angular-devkit/build-angular:dev-server",
"configurations": { "configurations": {
"production": { "production": {
"browserTarget": "pipe-hard:build:production" "browserTarget": "angular-pipe-hard:build:production"
}, },
"development": { "development": {
"browserTarget": "pipe-hard:build:development" "browserTarget": "angular-pipe-hard:build:development"
} }
}, },
"defaultConfiguration": "development" "defaultConfiguration": "development"
@@ -70,15 +70,15 @@
"extract-i18n": { "extract-i18n": {
"executor": "@angular-devkit/build-angular:extract-i18n", "executor": "@angular-devkit/build-angular:extract-i18n",
"options": { "options": {
"browserTarget": "pipe-hard:build" "browserTarget": "angular-pipe-hard:build"
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/linter:eslint",
"options": { "options": {
"lintFilePatterns": [ "lintFilePatterns": [
"apps/pipe-hard/**/*.ts", "apps/angular/pipe-hard/**/*.ts",
"apps/pipe-hard/**/*.html" "apps/angular/pipe-hard/**/*.html"
] ]
} }
} }

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -1,7 +1,7 @@
{ {
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../../dist/out-tsc", "outDir": "../../../dist/out-tsc",
"types": [], "types": [],
"target": "ES2022", "target": "ES2022",
"useDefineForClassFields": false "useDefineForClassFields": false

View File

@@ -1,5 +1,5 @@
{ {
"extends": "../../tsconfig.base.json", "extends": "../../../tsconfig.base.json",
"files": [], "files": [],
"include": [], "include": [],
"references": [ "references": [

View File

@@ -3,7 +3,7 @@ title: 🔴 Utility Wrapper Pipe
description: Challenge 10 is about creating a pipe to wrap utilities description: Challenge 10 is about creating a pipe to wrap utilities
author: Thomas Laforge author: Thomas Laforge
challengeNumber: 10 challengeNumber: 10
command: pipe-hard command: angular-pipe-hard
sidebar: sidebar:
order: 202 order: 202
--- ---