Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions js-storefront/b2bspastore/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# B2bspastore

This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.2.15.
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 21.2.5.

## Development server

Expand Down Expand Up @@ -38,7 +38,7 @@ This will compile your project and store the build artifacts in the `dist/` dire

## Running unit tests

To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
To execute unit tests with the [Vitest](https://vitest.dev/) test runner, use the following command:

```bash
ng test
Expand Down
94 changes: 46 additions & 48 deletions js-storefront/b2bspastore/angular.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,52 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"cli": {
"packageManager": "npm"
},
"newProjectRoot": "projects",
"projects": {
"b2bspastore": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss",
"standalone": false
"type": "component",
"addTypeToClassName": false
},
"@schematics/angular:directive": {
"standalone": false
"type": "directive",
"addTypeToClassName": false
},
"@schematics/angular:service": {
"type": "service",
"addTypeToClassName": false
},
"@schematics/angular:guard": {
"typeSeparator": "."
},
"@schematics/angular:interceptor": {
"typeSeparator": "."
},
"@schematics/angular:module": {
"typeSeparator": "."
},
"@schematics/angular:pipe": {
"standalone": false
"typeSeparator": "."
},
"@schematics/angular:resolver": {
"typeSeparator": "."
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
"builder": "@angular/build:application",
"options": {
"outputPath": "dist/b2bspastore",
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [
"zone.js"
],
"polyfills": ["zone.js"],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
Expand Down Expand Up @@ -58,22 +75,20 @@
"src/styles/spartacus/organization.scss",
"src/styles/spartacus/product-configurator.scss"
],
"scripts": [],
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"includePaths": ["node_modules/"],
"sass": {
"silenceDeprecations": [
"import"
]
"silenceDeprecations": ["import"]
}
},
"server": "src/main.server.ts",
"prerender": false,
"security": {
"allowedHosts": []
},
"ssr": {
"entry": "src/server.ts"
}
},
"prerender": false
},
"configurations": {
"production": {
Expand Down Expand Up @@ -104,7 +119,7 @@
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"builder": "@angular/build:dev-server",
"configurations": {
"production": {
"buildTarget": "b2bspastore:build:production,noSsr"
Expand All @@ -115,31 +130,13 @@
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"builder": "@angular/build:unit-test",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
{
"glob": "**/*",
"input": "public"
},
{
"glob": "**/*",
"input": "./node_modules/@spartacus/smartedit/assets",
"output": "assets/"
}
],
"stylePreprocessorOptions": {
"includePaths": ["node_modules/"]
},
"styles": [
"src/styles.scss",
"src/styles/spartacus/user.scss",
"src/styles/spartacus/cart.scss",
"src/styles/spartacus/order.scss",
Expand All @@ -153,15 +150,16 @@
"src/styles/spartacus/organization.scss",
"src/styles/spartacus/product-configurator.scss"
],
"scripts": [],
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
]
}
"assets": [
{
"glob": "**/*",
"input": "./node_modules/@spartacus/smartedit/assets",
"output": "assets/"
}
]
}
}
}
}
}
}
}
Loading