@ng-cn/core 1.0.0
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/.cursor/rules/cursor.mdc +53 -0
- package/.editorconfig +17 -0
- package/.postcssrc.json +5 -0
- package/.prettierrc +27 -0
- package/README.md +199 -0
- package/angular.json +122 -0
- package/dist/schematics/component/index.d.ts +8 -0
- package/dist/schematics/component/index.js +109 -0
- package/dist/schematics/ng-add/index.d.ts +7 -0
- package/dist/schematics/ng-add/index.js +51 -0
- package/mcp.json +336 -0
- package/package.json +99 -0
- package/postcss.config.mjs +6 -0
- package/public/.!14865!favicon.ico +0 -0
- package/public/angular-shad-cn.png +0 -0
- package/public/favicon.ico +0 -0
- package/schematics/README.md +97 -0
- package/schematics/collection.json +16 -0
- package/schematics/component/index.d.ts +9 -0
- package/schematics/component/index.js +214 -0
- package/schematics/component/index.ts +238 -0
- package/schematics/component/schema.json +36 -0
- package/schematics/ng-add/index.d.ts +8 -0
- package/schematics/ng-add/index.js +310 -0
- package/schematics/ng-add/index.ts +334 -0
- package/schematics/ng-add/schema.json +25 -0
- package/schematics/tsconfig.json +20 -0
- package/tsconfig.app.json +17 -0
- package/tsconfig.json +45 -0
- package/tsconfig.spec.json +15 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"baseUrl": ".",
|
|
4
|
+
"lib": ["es2020"],
|
|
5
|
+
"module": "commonjs",
|
|
6
|
+
"target": "es2020",
|
|
7
|
+
"declaration": true,
|
|
8
|
+
"outDir": ".",
|
|
9
|
+
"rootDir": ".",
|
|
10
|
+
"strict": true,
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"skipDefaultLibCheck": true,
|
|
13
|
+
"types": ["node"],
|
|
14
|
+
"moduleResolution": "node",
|
|
15
|
+
"esModuleInterop": true,
|
|
16
|
+
"resolveJsonModule": true
|
|
17
|
+
},
|
|
18
|
+
"include": ["**/*.ts"],
|
|
19
|
+
"exclude": ["node_modules", "**/*.d.ts"]
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"extends": "./tsconfig.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"outDir": "./out-tsc/app",
|
|
7
|
+
"types": [
|
|
8
|
+
"node"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"include": [
|
|
12
|
+
"src/**/*.ts"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"src/**/*.spec.ts"
|
|
16
|
+
]
|
|
17
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"compileOnSave": false,
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"strict": true,
|
|
7
|
+
"noImplicitOverride": true,
|
|
8
|
+
"noPropertyAccessFromIndexSignature": true,
|
|
9
|
+
"noImplicitReturns": true,
|
|
10
|
+
"noFallthroughCasesInSwitch": true,
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"isolatedModules": true,
|
|
13
|
+
"experimentalDecorators": true,
|
|
14
|
+
"importHelpers": true,
|
|
15
|
+
"target": "ES2022",
|
|
16
|
+
"module": "preserve",
|
|
17
|
+
"baseUrl": ".",
|
|
18
|
+
"paths": {
|
|
19
|
+
"@/*": ["src/*"],
|
|
20
|
+
"@/lib/*": ["src/app/lib/*"],
|
|
21
|
+
"@/components/*": ["src/app/components/*"],
|
|
22
|
+
"@/ui/*": ["src/app/lib/components/ui/*"],
|
|
23
|
+
"@/utils/*": ["src/app/lib/utils/*"],
|
|
24
|
+
"@/services/*": ["src/app/services/*"],
|
|
25
|
+
"@/data/*": ["src/app/data/*"],
|
|
26
|
+
"@/pages/*": ["src/app/pages/*"]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"angularCompilerOptions": {
|
|
30
|
+
"enableI18nLegacyMessageIdFormat": false,
|
|
31
|
+
"strictInjectionParameters": true,
|
|
32
|
+
"strictInputAccessModifiers": true,
|
|
33
|
+
"typeCheckHostBindings": true,
|
|
34
|
+
"strictTemplates": true
|
|
35
|
+
},
|
|
36
|
+
"files": [],
|
|
37
|
+
"references": [
|
|
38
|
+
{
|
|
39
|
+
"path": "./tsconfig.app.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "./tsconfig.spec.json"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
+
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
+
{
|
|
4
|
+
"extends": "./tsconfig.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"outDir": "./out-tsc/spec",
|
|
7
|
+
"types": [
|
|
8
|
+
"jasmine"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"include": [
|
|
12
|
+
"src/**/*.d.ts",
|
|
13
|
+
"src/**/*.spec.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|