Skip to content

Commit a098d21

Browse files
committed
feat: preparing confetti and fireworks components
1 parent 909b039 commit a098d21

Some content is hidden

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

80 files changed

+3227
-281
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

apps/angular-demo/package.json

+86
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
{
2+
"name": "ng-particles-demo",
3+
"version": "2.9.3",
4+
"scripts": {
5+
"ng": "ng",
6+
"start": "ng serve -o",
7+
"build": "ng build",
8+
"build:ci": "ng build",
9+
"watch": "ng build --watch --configuration development",
10+
"test": "ng test"
11+
},
12+
"private": true,
13+
"dependencies": {
14+
"@angular/animations": "~15.0.4",
15+
"@angular/common": "~15.0.4",
16+
"@angular/compiler": "~15.0.4",
17+
"@angular/core": "~15.0.4",
18+
"@angular/forms": "~15.0.4",
19+
"@angular/platform-browser": "~15.0.4",
20+
"@angular/platform-browser-dynamic": "~15.0.4",
21+
"@angular/router": "~15.0.4",
22+
"ng-confetti": "^2.9.3",
23+
"ng-fireworks": "^2.9.3",
24+
"ng-particles": "^3.9.3",
25+
"rxjs": "~7.8.0",
26+
"tslib": "^2.4.1",
27+
"tsparticles": "^2.9.3",
28+
"tsparticles-demo-configs": "^2.9.3",
29+
"tsparticles-engine": "^2.9.3",
30+
"tsparticles-interaction-external-attract": "^2.9.3",
31+
"tsparticles-interaction-external-bounce": "^2.9.3",
32+
"tsparticles-interaction-external-bubble": "^2.9.3",
33+
"tsparticles-interaction-external-connect": "^2.9.3",
34+
"tsparticles-interaction-external-grab": "^2.9.3",
35+
"tsparticles-interaction-external-pause": "^2.9.3",
36+
"tsparticles-interaction-external-push": "^2.9.3",
37+
"tsparticles-interaction-external-remove": "^2.9.3",
38+
"tsparticles-interaction-external-repulse": "^2.9.3",
39+
"tsparticles-interaction-external-slow": "^2.9.3",
40+
"tsparticles-interaction-external-trail": "^2.9.3",
41+
"tsparticles-interaction-particles-attract": "^2.9.3",
42+
"tsparticles-interaction-particles-collisions": "^2.9.3",
43+
"tsparticles-interaction-particles-links": "^2.9.3",
44+
"tsparticles-move-base": "^2.9.3",
45+
"tsparticles-move-parallax": "^2.9.3",
46+
"tsparticles-particles.js": "^2.9.3",
47+
"tsparticles-plugin-absorbers": "^2.9.3",
48+
"tsparticles-plugin-emitters": "^2.9.3",
49+
"tsparticles-plugin-polygon-mask": "^2.9.3",
50+
"tsparticles-shape-circle": "^2.9.3",
51+
"tsparticles-shape-image": "^2.9.3",
52+
"tsparticles-shape-line": "^2.9.3",
53+
"tsparticles-shape-polygon": "^2.9.3",
54+
"tsparticles-shape-square": "^2.9.3",
55+
"tsparticles-shape-star": "^2.9.3",
56+
"tsparticles-shape-text": "^2.9.3",
57+
"tsparticles-slim": "^2.9.3",
58+
"tsparticles-updater-angle": "^2.9.3",
59+
"tsparticles-updater-color": "^2.9.3",
60+
"tsparticles-updater-destroy": "^2.9.3",
61+
"tsparticles-updater-life": "^2.9.3",
62+
"tsparticles-updater-opacity": "^2.9.3",
63+
"tsparticles-updater-out-modes": "^2.9.3",
64+
"tsparticles-updater-roll": "^2.9.3",
65+
"tsparticles-updater-size": "^2.9.3",
66+
"tsparticles-updater-stroke-color": "^2.9.3",
67+
"tsparticles-updater-tilt": "^2.9.3",
68+
"tsparticles-updater-twinkle": "^2.9.3",
69+
"tsparticles-updater-wobble": "^2.9.3",
70+
"zone.js": "~0.12.0"
71+
},
72+
"devDependencies": {
73+
"@angular-devkit/build-angular": "~15.0.4",
74+
"@angular/cli": "~15.0.4",
75+
"@angular/compiler-cli": "~15.0.4",
76+
"@types/jasmine": "~4.3.1",
77+
"@types/node": "^18.11.17",
78+
"jasmine-core": "~4.5.0",
79+
"karma": "~6.4.1",
80+
"karma-chrome-launcher": "~3.1.1",
81+
"karma-coverage": "~2.2.0",
82+
"karma-jasmine": "~5.1.0",
83+
"karma-jasmine-html-reporter": "~2.0.0",
84+
"typescript": "~4.8.4"
85+
}
86+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

apps/angular15-demo/package.json

-84
This file was deleted.

components/confetti/.gitignore

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# See http://help.github.com./ignore-files/ for more about ignoring files.
2+
3+
# Compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
/bazel-out
8+
9+
# Node
10+
/node_modules
11+
npm-debug.log
12+
yarn-error.log
13+
14+
# IDEs and editors
15+
.idea/
16+
.project
17+
.classpath
18+
.c9/
19+
*.launch
20+
.settings/
21+
*.sublime-workspace
22+
23+
# Visual Studio Code
24+
.vscode/*
25+
!.vscode/settings.json
26+
!.vscode/tasks.json
27+
!.vscode/launch.json
28+
!.vscode/extensions.json
29+
.history/*
30+
31+
# Miscellaneous
32+
/.angular/cache
33+
.sass-cache/
34+
/connect.lock
35+
/coverage
36+
/libpeerconnection.log
37+
testem.log
38+
/typings
39+
40+
# System files
41+
.DS_Store
42+
Thumbs.db

components/confetti/README.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Confetti
2+
3+
This project was generated with [Angular CLI](https://github.com./angular/angular-cli) version 15.1.5.
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.

components/confetti/angular.json

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"cli": {
5+
"packageManager": "pnpm",
6+
"analytics": "5b6759b4-0ecf-4977-b1c2-76d9fcfbdc05"
7+
},
8+
"newProjectRoot": "projects",
9+
"projects": {
10+
"ng-confetti": {
11+
"projectType": "library",
12+
"root": "projects/ng-confetti",
13+
"sourceRoot": "projects/ng-confetti/src",
14+
"prefix": "lib",
15+
"architect": {
16+
"build": {
17+
"builder": "@angular-devkit/build-angular:ng-packagr",
18+
"options": {
19+
"project": "projects/ng-confetti/ng-package.json"
20+
},
21+
"configurations": {
22+
"production": {
23+
"tsConfig": "projects/ng-confetti/tsconfig.lib.prod.json"
24+
},
25+
"development": {
26+
"tsConfig": "projects/ng-confetti/tsconfig.lib.json"
27+
}
28+
},
29+
"defaultConfiguration": "production"
30+
},
31+
"test": {
32+
"builder": "@angular-devkit/build-angular:karma",
33+
"options": {
34+
"tsConfig": "projects/ng-confetti/tsconfig.spec.json",
35+
"polyfills": [
36+
"zone.js",
37+
"zone.js/testing"
38+
]
39+
}
40+
}
41+
}
42+
}
43+
}
44+
}

components/confetti/package.json

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"name": "ng-confetti",
3+
"version": "2.9.3",
4+
"scripts": {
5+
"ng": "ng",
6+
"build:all": "ng build",
7+
"build": "node scripts/prebuild.js && pnpm run prettify:src && pnpm run prettify:readme && ng build ng-confetti --configuration production",
8+
"build:ci": "node scripts/prebuild.js && pnpm run prettify:ci:src && pnpm run prettify:ci:readme && ng build ng-confetti --configuration production",
9+
"version": "pnpm run build && git add ./projects/ng-confetti/package.json",
10+
"prettify:ci:src": "prettier --check ./projects/ng-confetti/src/*",
11+
"prettify:ci:readme": "prettier --check ./README.md",
12+
"prettify:src": "prettier --write ./projects/ng-confetti/src/*",
13+
"prettify:readme": "prettier --write ./README.md",
14+
"watch": "ng build --watch --configuration development",
15+
"test": "ng test",
16+
"prepack": "pnpm run build"
17+
},
18+
"private": true,
19+
"dependencies": {
20+
"@angular/animations": "^15.1.0",
21+
"@angular/common": "^15.1.0",
22+
"@angular/compiler": "^15.1.0",
23+
"@angular/core": "^15.1.0",
24+
"@angular/forms": "^15.1.0",
25+
"@angular/platform-browser": "^15.1.0",
26+
"@angular/platform-browser-dynamic": "^15.1.0",
27+
"@angular/router": "^15.1.0",
28+
"rxjs": "~7.8.0",
29+
"tslib": "^2.3.0",
30+
"tsparticles-confetti": "^2.9.3",
31+
"zone.js": "~0.12.0"
32+
},
33+
"devDependencies": {
34+
"@angular-devkit/build-angular": "^15.1.5",
35+
"@angular/cli": "~15.1.5",
36+
"@angular/compiler-cli": "^15.1.0",
37+
"@types/jasmine": "~4.3.0",
38+
"jasmine-core": "~4.5.0",
39+
"karma": "~6.4.0",
40+
"karma-chrome-launcher": "~3.1.0",
41+
"karma-coverage": "~2.2.0",
42+
"karma-jasmine": "~5.1.0",
43+
"karma-jasmine-html-reporter": "~2.0.0",
44+
"ng-packagr": "^15.1.0",
45+
"typescript": "~4.9.4"
46+
},
47+
"module": "dist/ng-confetti/fesm2015/ng-confetti.mjs",
48+
"es2020": "dist/ng-confetti/fesm2020/ng-confetti.mjs",
49+
"esm2020": "dist/ng-confetti/esm2020/ng-confetti.mjs",
50+
"fesm2020": "dist/ng-confetti/fesm2020/ng-confetti.mjs",
51+
"fesm2015": "dist/ng-confetti/fesm2015/ng-confetti.mjs",
52+
"typings": "dist/ng-confetti/index.d.ts",
53+
"exports": {
54+
"./package.json": {
55+
"default": "./dist/ng-confetti/package.json"
56+
},
57+
".": {
58+
"types": "./dist/ng-confetti/index.d.ts",
59+
"esm2020": "./dist/ng-confetti/esm2020/ng-confetti.mjs",
60+
"es2020": "./dist/ng-confetti/fesm2020/ng-confetti.mjs",
61+
"es2015": "./dist/ng-confetti/fesm2015/ng-confetti.mjs",
62+
"node": "./dist/ng-confetti/fesm2015/ng-confetti.mjs",
63+
"default": "./dist/ng-confetti/fesm2020/ng-confetti.mjs"
64+
}
65+
}
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Confetti
2+
3+
This project was generated with [Angular CLI](https://github.com./angular/angular-cli) version 15.1.5.
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.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3+
"dest": "../../dist/ng-confetti",
4+
"lib": {
5+
"entryFile": "src/public-api.ts"
6+
}
7+
}

0 commit comments

Comments
 (0)