Skip to content

Commit 32a1a98

Browse files
committed
chore: prep new plugin for angular-three-plugin
new plugin
1 parent 6514dea commit 32a1a98

30 files changed

+315
-186
lines changed

libs/plugin-old/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# plugin
2+
3+
This library was generated with [Nx](https://nx.dev).
4+
5+
## Building
6+
7+
Run `nx build plugin` to build the library.
8+
9+
## Running unit tests
10+
11+
Run `nx test plugin` to execute the unit tests via [Jest](https://jestjs.io).
File renamed without changes.
File renamed without changes.

libs/plugin-old/jest.config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/* eslint-disable */
2+
export default {
3+
displayName: 'plugin',
4+
preset: '../../jest.preset.js',
5+
transform: {
6+
'^.+\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
7+
},
8+
moduleFileExtensions: ['ts', 'js', 'html'],
9+
coverageDirectory: '../../coverage/libs/plugin-old',
10+
};

libs/plugin-old/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "plugin-old",
3+
"type": "commonjs"
4+
}

libs/plugin-old/project.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"name": "plugin-old",
3+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
4+
"sourceRoot": "libs/plugin-old/src",
5+
"projectType": "library",
6+
"tags": [],
7+
"targets": {
8+
"build": {
9+
"executor": "@nx/js:tsc",
10+
"outputs": ["{options.outputPath}"],
11+
"options": {
12+
"outputPath": "dist/libs/core/plugin",
13+
"main": "libs/plugin-old/src/index.ts",
14+
"tsConfig": "libs/plugin-old/tsconfig.lib.json",
15+
"assets": [
16+
"libs/plugin-old/*.md",
17+
{
18+
"input": "./libs/plugin-old/src",
19+
"glob": "**/!(*.ts)",
20+
"output": "./src"
21+
},
22+
{
23+
"input": "./libs/plugin-old/src",
24+
"glob": "**/*.d.ts",
25+
"output": "./src"
26+
},
27+
{
28+
"input": "./libs/plugin-old",
29+
"glob": "generators.json",
30+
"output": "."
31+
},
32+
{
33+
"input": "./libs/plugin-old",
34+
"glob": "executors.json",
35+
"output": "."
36+
}
37+
]
38+
},
39+
"dependsOn": [
40+
{
41+
"target": "build",
42+
"projects": "core"
43+
}
44+
]
45+
},
46+
"lint": {
47+
"executor": "@nx/eslint:lint",
48+
"outputs": ["{options.outputFile}"]
49+
},
50+
"test": {
51+
"executor": "@nx/jest:jest",
52+
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
53+
"options": {
54+
"jestConfig": "libs/plugin-old/jest.config.ts"
55+
}
56+
}
57+
}
58+
}

0 commit comments

Comments
 (0)