@getflip/swirl-components-angular 0.0.0-new-shell-20231128130729
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3502 -0
- package/README.md +4 -0
- package/angular.json +38 -0
- package/package.json +29 -0
- package/projects/component-library/ng-package.json +7 -0
- package/projects/component-library/package.json +11 -0
- package/projects/component-library/src/lib/component-library.module.ts +23 -0
- package/projects/component-library/src/public-api.ts +9 -0
- package/projects/component-library/tsconfig.lib.json +12 -0
- package/projects/component-library/tsconfig.lib.prod.json +10 -0
- package/projects/component-library/tsconfig.spec.json +10 -0
- package/tsconfig.json +32 -0
package/README.md
ADDED
package/angular.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"newProjectRoot": "projects",
|
|
5
|
+
"projects": {
|
|
6
|
+
"component-library": {
|
|
7
|
+
"projectType": "library",
|
|
8
|
+
"root": "projects/component-library",
|
|
9
|
+
"sourceRoot": "projects/component-library/src",
|
|
10
|
+
"prefix": "lib",
|
|
11
|
+
"architect": {
|
|
12
|
+
"build": {
|
|
13
|
+
"builder": "@angular-devkit/build-angular:ng-packagr",
|
|
14
|
+
"options": {
|
|
15
|
+
"project": "projects/component-library/ng-package.json"
|
|
16
|
+
},
|
|
17
|
+
"configurations": {
|
|
18
|
+
"production": {
|
|
19
|
+
"tsConfig": "projects/component-library/tsconfig.lib.prod.json"
|
|
20
|
+
},
|
|
21
|
+
"development": {
|
|
22
|
+
"tsConfig": "projects/component-library/tsconfig.lib.json"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"defaultConfiguration": "production"
|
|
26
|
+
},
|
|
27
|
+
"test": {
|
|
28
|
+
"builder": "@angular-devkit/build-angular:karma",
|
|
29
|
+
"options": {
|
|
30
|
+
"main": "projects/component-library/src/test.ts",
|
|
31
|
+
"tsConfig": "projects/component-library/tsconfig.spec.json",
|
|
32
|
+
"karmaConfig": "projects/component-library/karma.conf.js"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@getflip/swirl-components-angular",
|
|
3
|
+
"version": "0.0.0-new-shell-20231128130729",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"ng": "ng",
|
|
6
|
+
"build": "ng build"
|
|
7
|
+
},
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"@angular/animations": "^14.1.0",
|
|
10
|
+
"@angular/common": "^14.1.0",
|
|
11
|
+
"@angular/compiler": "^14.1.0",
|
|
12
|
+
"@angular/core": "^14.1.0",
|
|
13
|
+
"@angular/forms": "^14.1.0",
|
|
14
|
+
"@angular/platform-browser": "^14.1.0",
|
|
15
|
+
"@angular/platform-browser-dynamic": "^14.1.0",
|
|
16
|
+
"@angular/router": "^14.1.0",
|
|
17
|
+
"@getflip/swirl-components": "0.0.0-new-shell-20231128130728",
|
|
18
|
+
"rxjs": "~7.5.0",
|
|
19
|
+
"tslib": "^2.3.0",
|
|
20
|
+
"zone.js": "~0.11.4"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@angular-devkit/build-angular": "^14.1.2",
|
|
24
|
+
"@angular/cli": "~14.1.2",
|
|
25
|
+
"@angular/compiler-cli": "^14.1.0",
|
|
26
|
+
"ng-packagr": "^14.1.0",
|
|
27
|
+
"typescript": "~4.7.2"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { NgModule } from "@angular/core";
|
|
2
|
+
|
|
3
|
+
import { DIRECTIVES } from "./stencil-generated";
|
|
4
|
+
import { BooleanValueAccessor } from "./stencil-generated/boolean-value-accessor";
|
|
5
|
+
import { SelectValueAccessor } from "./stencil-generated/select-value-accessor";
|
|
6
|
+
import { TextValueAccessor } from "./stencil-generated/text-value-accessor";
|
|
7
|
+
|
|
8
|
+
@NgModule({
|
|
9
|
+
declarations: [
|
|
10
|
+
...DIRECTIVES,
|
|
11
|
+
BooleanValueAccessor,
|
|
12
|
+
SelectValueAccessor,
|
|
13
|
+
TextValueAccessor,
|
|
14
|
+
],
|
|
15
|
+
imports: [],
|
|
16
|
+
exports: [
|
|
17
|
+
...DIRECTIVES,
|
|
18
|
+
BooleanValueAccessor,
|
|
19
|
+
SelectValueAccessor,
|
|
20
|
+
TextValueAccessor,
|
|
21
|
+
],
|
|
22
|
+
})
|
|
23
|
+
export class SwirlComponentsModule {}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Public API Surface of component-library
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export * from "./lib/stencil-generated/components";
|
|
6
|
+
export * from "./lib/stencil-generated/boolean-value-accessor";
|
|
7
|
+
export * from "./lib/stencil-generated/select-value-accessor";
|
|
8
|
+
export * from "./lib/stencil-generated/text-value-accessor";
|
|
9
|
+
export * from "./lib/component-library.module";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/lib",
|
|
6
|
+
"declaration": true,
|
|
7
|
+
"declarationMap": true,
|
|
8
|
+
"inlineSources": true,
|
|
9
|
+
"types": []
|
|
10
|
+
},
|
|
11
|
+
"exclude": ["src/test.ts", "**/*.spec.ts"]
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/spec",
|
|
6
|
+
"types": ["jasmine"]
|
|
7
|
+
},
|
|
8
|
+
"files": ["src/test.ts"],
|
|
9
|
+
"include": ["**/*.spec.ts", "**/*.d.ts"]
|
|
10
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"compileOnSave": false,
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"baseUrl": "./",
|
|
6
|
+
"paths": {
|
|
7
|
+
"component-library": ["dist/component-library"]
|
|
8
|
+
},
|
|
9
|
+
"outDir": "./dist/out-tsc",
|
|
10
|
+
"forceConsistentCasingInFileNames": true,
|
|
11
|
+
"strict": true,
|
|
12
|
+
"noImplicitOverride": false,
|
|
13
|
+
"noPropertyAccessFromIndexSignature": true,
|
|
14
|
+
"noImplicitReturns": true,
|
|
15
|
+
"noFallthroughCasesInSwitch": true,
|
|
16
|
+
"sourceMap": true,
|
|
17
|
+
"declaration": false,
|
|
18
|
+
"downlevelIteration": true,
|
|
19
|
+
"experimentalDecorators": true,
|
|
20
|
+
"moduleResolution": "node",
|
|
21
|
+
"importHelpers": true,
|
|
22
|
+
"target": "es2020",
|
|
23
|
+
"module": "es2020",
|
|
24
|
+
"lib": ["es2020", "dom"]
|
|
25
|
+
},
|
|
26
|
+
"angularCompilerOptions": {
|
|
27
|
+
"enableI18nLegacyMessageIdFormat": false,
|
|
28
|
+
"strictInjectionParameters": true,
|
|
29
|
+
"strictInputAccessModifiers": true,
|
|
30
|
+
"strictTemplates": true
|
|
31
|
+
}
|
|
32
|
+
}
|