Skip to content

Commit 653f052

Browse files
loads code from netconomy
1 parent db550c2 commit 653f052

File tree

77 files changed

+16964
-120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+16964
-120
lines changed

.gitignore

Lines changed: 27 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -1,130 +1,37 @@
1-
# Logs
2-
logs
3-
*.log
4-
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
lerna-debug.log*
8-
.pnpm-debug.log*
9-
10-
# Diagnostic reports (https://nodejs.org/api/report.html)
11-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
122

13-
# Runtime data
14-
pids
15-
*.pid
16-
*.seed
17-
*.pid.lock
18-
19-
# Directory for instrumented libs generated by jscoverage/JSCover
20-
lib-cov
21-
22-
# Coverage directory used by tools like istanbul
23-
coverage
24-
*.lcov
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
.yarn/install-state.gz
258

26-
# nyc test coverage
27-
.nyc_output
9+
# testing
10+
/coverage
2811

29-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30-
.grunt
12+
# next.js
13+
/.next/
14+
/out/
3115

32-
# Bower dependency directory (https://bower.io/)
33-
bower_components
16+
# production
17+
/build
3418

35-
# node-waf configuration
36-
.lock-wscript
19+
# misc
20+
.DS_Store
21+
*.pem
3722

38-
# Compiled binary addons (https://nodejs.org/api/addons.html)
39-
build/Release
23+
# debug
24+
npm-debug.log*
25+
yarn-debug.log*
26+
yarn-error.log*
4027

41-
# Dependency directories
42-
node_modules/
43-
jspm_packages/
28+
# local env files
29+
.env*.local
4430

45-
# Snowpack dependency directory (https://snowpack.dev/)
46-
web_modules/
31+
# vercel
32+
.vercel
4733

48-
# TypeScript cache
34+
# typescript
4935
*.tsbuildinfo
50-
51-
# Optional npm cache directory
52-
.npm
53-
54-
# Optional eslint cache
55-
.eslintcache
56-
57-
# Optional stylelint cache
58-
.stylelintcache
59-
60-
# Microbundle cache
61-
.rpt2_cache/
62-
.rts2_cache_cjs/
63-
.rts2_cache_es/
64-
.rts2_cache_umd/
65-
66-
# Optional REPL history
67-
.node_repl_history
68-
69-
# Output of 'npm pack'
70-
*.tgz
71-
72-
# Yarn Integrity file
73-
.yarn-integrity
74-
75-
# dotenv environment variable files
76-
.env
77-
.env.development.local
78-
.env.test.local
79-
.env.production.local
80-
.env.local
81-
82-
# parcel-bundler cache (https://parceljs.org/)
83-
.cache
84-
.parcel-cache
85-
86-
# Next.js build output
87-
.next
88-
out
89-
90-
# Nuxt.js build / generate output
91-
.nuxt
92-
dist
93-
94-
# Gatsby files
95-
.cache/
96-
# Comment in the public line in if your project uses Gatsby and not Next.js
97-
# https://nextjs.org/blog/next-9-1#public-directory-support
98-
# public
99-
100-
# vuepress build output
101-
.vuepress/dist
102-
103-
# vuepress v2.x temp and cache directory
104-
.temp
105-
.cache
106-
107-
# Docusaurus cache and generated files
108-
.docusaurus
109-
110-
# Serverless directories
111-
.serverless/
112-
113-
# FuseBox cache
114-
.fusebox/
115-
116-
# DynamoDB Local files
117-
.dynamodb/
118-
119-
# TernJS port file
120-
.tern-port
121-
122-
# Stores VSCode versions used for testing VSCode extensions
123-
.vscode-test
124-
125-
# yarn v2
126-
.yarn/cache
127-
.yarn/unplugged
128-
.yarn/build-state.yml
129-
.yarn/install-state.gz
130-
.pnp.*
36+
next-env.d.ts
37+
.env

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# ContentfulSpartacusDemo
2+
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.7.
4+
5+
## Development server
6+
7+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
8+
9+
## Code scaffolding
10+
11+
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
12+
13+
## Build
14+
15+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
16+
17+
## Running unit tests
18+
19+
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20+
21+
## Running end-to-end tests
22+
23+
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
24+
25+
## Further help
26+
27+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.

angular.json

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"contentful-spartacus-demo": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"style": "scss",
11+
"standalone": false
12+
},
13+
"@schematics/angular:directive": {
14+
"standalone": false
15+
},
16+
"@schematics/angular:pipe": {
17+
"standalone": false
18+
}
19+
},
20+
"root": "",
21+
"sourceRoot": "src",
22+
"prefix": "app",
23+
"architect": {
24+
"build": {
25+
"builder": "@angular-devkit/build-angular:application",
26+
"options": {
27+
"outputPath": "dist/contentful-spartacus-demo",
28+
"index": "src/index.html",
29+
"browser": "src/main.ts",
30+
"polyfills": [
31+
"zone.js"
32+
],
33+
"tsConfig": "tsconfig.app.json",
34+
"inlineStyleLanguage": "scss",
35+
"assets": [
36+
"src/favicon.ico",
37+
"src/assets",
38+
{
39+
"glob": "**/*",
40+
"input": "./node_modules/@spartacus/smartedit/assets",
41+
"output": "assets/"
42+
}
43+
],
44+
"styles": [
45+
"src/styles.scss",
46+
"src/styles/spartacus/user.scss",
47+
"src/styles/spartacus/cart.scss",
48+
"src/styles/spartacus/order.scss",
49+
"src/styles/spartacus/checkout.scss",
50+
"src/styles/spartacus/storefinder.scss",
51+
"src/styles/spartacus/asm.scss",
52+
"src/styles/spartacus/product.scss"
53+
],
54+
"scripts": [],
55+
"stylePreprocessorOptions": {
56+
"includePaths": [
57+
"node_modules/"
58+
]
59+
}
60+
},
61+
"configurations": {
62+
"production": {
63+
"budgets": [
64+
{
65+
"type": "initial",
66+
"maximumWarning": "500kb",
67+
"maximumError": "3.5mb"
68+
},
69+
{
70+
"type": "anyComponentStyle",
71+
"maximumWarning": "2kb",
72+
"maximumError": "4kb"
73+
}
74+
],
75+
"outputHashing": "all"
76+
},
77+
"development": {
78+
"optimization": false,
79+
"extractLicenses": false,
80+
"sourceMap": true
81+
}
82+
},
83+
"defaultConfiguration": "production"
84+
},
85+
"serve": {
86+
"builder": "@angular-devkit/build-angular:dev-server",
87+
"configurations": {
88+
"production": {
89+
"buildTarget": "contentful-spartacus-demo:build:production"
90+
},
91+
"development": {
92+
"buildTarget": "contentful-spartacus-demo:build:development"
93+
}
94+
},
95+
"defaultConfiguration": "development"
96+
},
97+
"extract-i18n": {
98+
"builder": "@angular-devkit/build-angular:extract-i18n",
99+
"options": {
100+
"buildTarget": "contentful-spartacus-demo:build"
101+
}
102+
},
103+
"test": {
104+
"builder": "@angular-devkit/build-angular:karma",
105+
"options": {
106+
"polyfills": [
107+
"zone.js",
108+
"zone.js/testing"
109+
],
110+
"tsConfig": "tsconfig.spec.json",
111+
"inlineStyleLanguage": "scss",
112+
"assets": [
113+
"src/favicon.ico",
114+
"src/assets",
115+
{
116+
"glob": "**/*",
117+
"input": "./node_modules/@spartacus/smartedit/assets",
118+
"output": "assets/"
119+
}
120+
],
121+
"styles": [
122+
"src/styles.scss",
123+
"src/styles/spartacus/user.scss",
124+
"src/styles/spartacus/cart.scss",
125+
"src/styles/spartacus/order.scss",
126+
"src/styles/spartacus/checkout.scss",
127+
"src/styles/spartacus/storefinder.scss",
128+
"src/styles/spartacus/asm.scss",
129+
"src/styles/spartacus/product.scss"
130+
],
131+
"scripts": [],
132+
"stylePreprocessorOptions": {
133+
"includePaths": [
134+
"node_modules/"
135+
]
136+
}
137+
}
138+
}
139+
}
140+
}
141+
}
142+
}

0 commit comments

Comments
 (0)