Skip to content

Commit

Permalink
feat: WIP otter training - feedback on page
Browse files Browse the repository at this point in the history
  • Loading branch information
sdo-1A committed Oct 10, 2024
1 parent 051ad6e commit f0555cc
Show file tree
Hide file tree
Showing 22 changed files with 149 additions and 140 deletions.
3 changes: 2 additions & 1 deletion apps/showcase/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,8 @@
],
"options": {
"script": "prepare-training"
}
},
"dependsOn": ["^build", "^build-cli"]
},
"copy-training-assets": {
"cache": true,
Expand Down
1 change: 0 additions & 1 deletion apps/showcase/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import { MonacoEditorModule } from 'ngx-monaco-editor-v2';
import { DatePickerHebrewInputPresComponent, ScrollBackTopPresComponent, SidenavPresComponent } from '../components/utilities';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import {MonacoEditorModule} from 'ngx-monaco-editor-v2';


const runtimeChecks: Partial<RuntimeChecks> = {
Expand Down
127 changes: 0 additions & 127 deletions apps/showcase/src/assets/sdk-training/shared/monorepo-with-app

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"htmlContentUrl": "./steps/plugins/instructions.html"
},
{
"title": "Integrate your component in Angular",
"title": "Integrate your SDK in Angular",
"htmlContentUrl": "./steps/angular-integration/instructions.html",
"filesConfiguration": {
"name": "angular-integration",
"startingFile": "apps/tutorial-app/src/app/app.component.ts",
"urls": {
".": "./shared/monorepo-template.json",
"./libs/sdk/src": "@o3r/training-sdk/folder-structure.json"
"./libs/sdk/src": "@o3r/training-sdk/structure/src.json"
},
"mode": "interactive",
"commands": ["npm install --legacy-peer-deps --ignore-scripts --force", "npm run ng run sdk:build", "npm run ng run tutorial-app:serve"]
Expand All @@ -36,7 +36,7 @@
"name": "sdk-specification",
"startingFile": "open-api.yaml",
"solutionUrls": {
".": "@o3r/training-sdk/openapi-structure.json"
".": "@o3r/training-sdk/structure/spec.json"
},
"mode": "readonly",
"commands": []
Expand All @@ -49,8 +49,8 @@
"name": "generate-sdk",
"startingFile": "src/api/dummy/dummy-api.ts",
"solutionUrls": {
"src": "@o3r/training-sdk/folder-structure.json",
".": "@o3r/training-sdk/openapi-structure.json"
"src": "@o3r/training-sdk/structure/src.json",
".": "@o3r/training-sdk/structure/spec.json"
},
"mode": "readonly",
"commands": []
Expand All @@ -63,11 +63,11 @@
"name": "generate-date-sdk",
"startingFile": "open-api.yaml",
"urls": {
".": "@o3r/training-sdk/openapi-structure.json"
".": "@o3r/training-sdk/structure/spec.json"
},
"solutionUrls": {
".": "@o3r/training-sdk/openapi-structure.json",
"./src": "@o3r/training-sdk/folder-structure.json"
".": "@o3r/training-sdk/structure/spec.json",
"./src": "@o3r/training-sdk/structure/src.json"
},
"mode": "readonly",
"commands": []
Expand All @@ -80,7 +80,7 @@
"name": "utils-date",
"startingFile": "apps/app/src/app/app.component.ts",
"urls": {
".": "./shared/empty.json",
".": "./shared/monorepo-with-app.json",
"./apps/app/src/app": "./steps/date/exercise.json"
},
"solutionUrls": {
Expand Down
136 changes: 136 additions & 0 deletions apps/showcase/src/assets/trainings/sdk/shared/monorepo-with-app.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/@o3r/training-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"lint": "eslint \"**/*[jt]s\" --cache",
"start": "tsc-watch -b tsconfigs/esm2020 --noClear --onFirstSuccess \\\"yarn run files:pack --watch\\\"",
"extract": "yarn run extract-src && yarn run extract-openapi",
"extract-src": "o3r-extract-folder-structure --files \"src\" && cpy ./folder-structure.json dist",
"extract-openapi": "o3r-extract-folder-structure --files \"./open-api.yaml\" -o openapi-structure.json && cpy ./openapi-structure.json dist",
"extract-src": "o3r-extract-folder-structure --files \"src\" -o dist/structure/src.json",
"extract-openapi": "o3r-extract-folder-structure --files \"./open-api.yaml\" -o dist/structure/spec.json",
"build": "yarn run build:cjs && yarn run build:esm2015 && yarn run build:esm2020 && yarn run files:pack && yarn run extract",
"build:cjs": "swc src -d dist/cjs -C module.type=commonjs -q --strip-leading-paths",
"build:esm2015": "swc src -d dist/esm2015 -C module.type=es6 -q --strip-leading-paths",
Expand Down

0 comments on commit f0555cc

Please sign in to comment.