Skip to content

Commit 9d8a8b9

Browse files
committed
chore: remove pkg
1 parent 1dcc0f5 commit 9d8a8b9

File tree

2 files changed

+44
-2
lines changed

2 files changed

+44
-2
lines changed

packages/nx-plugin/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
},
4242
"files": [
4343
"src",
44+
"./*.md",
45+
"./generators.json",
46+
"./executors.json",
4447
"!**/*.tsbuildinfo"
4548
]
4649
}

packages/nx-plugin/project.json

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,47 @@
55
"projectType": "library",
66
"implicitDependencies": ["cli"],
77
"targets": {
8-
"build": {},
9-
"lint": {},
8+
"build": {
9+
"executor": "@nx/js:tsc",
10+
"outputs": ["{options.outputPath}"],
11+
"options": {
12+
"outputPath": "{projectRoot}/dist",
13+
"main": "{projectRoot}/src/index.ts",
14+
"tsConfig": "{projectRoot}/tsconfig.lib.json",
15+
"assets": [
16+
"{projectRoot}/*.md",
17+
{
18+
"input": "./packages/nx-plugin/src",
19+
"glob": "**/!(*.ts)",
20+
"output": "./src"
21+
},
22+
{
23+
"input": "./packages/nx-plugin/src",
24+
"glob": "**/*.d.ts",
25+
"output": "./src"
26+
},
27+
{
28+
"input": "./packages/nx-plugin",
29+
"glob": "generators.json",
30+
"output": "."
31+
},
32+
{
33+
"input": "./packages/nx-plugin",
34+
"glob": "executors.json",
35+
"output": "."
36+
}
37+
]
38+
}
39+
},
40+
"lint": {
41+
"options": {
42+
"lintFilePatterns": [
43+
"packages/nx-plugin/**/*.ts",
44+
"packages/nx-plugin/package.json",
45+
"packages/nx-plugin/generators.json"
46+
]
47+
}
48+
},
1049
"unit-test": {
1150
"executor": "@nx/vite:test",
1251
"options": {

0 commit comments

Comments
 (0)