@alexaegis/autotool-plugin-workspace 0.3.3 → 0.4.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/index.cjs +173 -23
- package/index.d.ts.map +1 -1
- package/index.js +173 -23
- package/index.spec.d.ts +2 -0
- package/index.spec.d.ts.map +1 -0
- package/package.json +16 -16
- package/readme.md +5 -0
- package/index.cjs.map +0 -1
- package/index.js.map +0 -1
package/index.cjs
CHANGED
|
@@ -1,9 +1,157 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const node_path = require("node:path");
|
|
4
|
+
const name$1 = "@alexaegis/workspace";
|
|
5
|
+
const description$1 = "base repo for common stuff in my other js projects";
|
|
6
|
+
const version$1 = "0.4.0";
|
|
7
|
+
const license$1 = "mit";
|
|
8
|
+
const keywords$1 = [
|
|
9
|
+
"eslint",
|
|
10
|
+
"javascript",
|
|
11
|
+
"js",
|
|
12
|
+
"managed-by-autotool",
|
|
13
|
+
"ts",
|
|
14
|
+
"tsconfig",
|
|
15
|
+
"turbo",
|
|
16
|
+
"typescript"
|
|
17
|
+
];
|
|
18
|
+
const author = {
|
|
19
|
+
email: "alexaegis@gmail.com",
|
|
20
|
+
name: "Alex Aegis",
|
|
21
|
+
url: "https://github.com/AlexAegis"
|
|
22
|
+
};
|
|
23
|
+
const homepage = "https://github.com/AlexAegis/js-tooling";
|
|
24
|
+
const repository = {
|
|
25
|
+
url: "git+https://github.com/AlexAegis/js-tooling",
|
|
26
|
+
type: "git"
|
|
27
|
+
};
|
|
28
|
+
const bugs = {
|
|
29
|
+
email: "alexaegis@gmail.com",
|
|
30
|
+
url: "https://github.com/AlexAegis/js-tooling/issues"
|
|
31
|
+
};
|
|
32
|
+
const type$1 = "module";
|
|
33
|
+
const config = {
|
|
34
|
+
"engine-strict": true
|
|
35
|
+
};
|
|
36
|
+
const engines = {
|
|
37
|
+
node: ">=18.10.0",
|
|
38
|
+
pnpm: ">=8.0.0"
|
|
39
|
+
};
|
|
40
|
+
const packageManager = "pnpm@8.6.6";
|
|
41
|
+
const workspaces = [
|
|
42
|
+
"apps/*",
|
|
43
|
+
"fixtures/*",
|
|
44
|
+
"libs/*",
|
|
45
|
+
"packages/*"
|
|
46
|
+
];
|
|
47
|
+
const scripts$1 = {
|
|
48
|
+
build: "turbo run build-lib_ build-app_ --concurrency 16 --cache-dir .cache/turbo",
|
|
49
|
+
"build-app": "turbo run build-app_ --concurrency 16 --cache-dir .cache/turbo",
|
|
50
|
+
"build-lib": "turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo",
|
|
51
|
+
lint: "turbo run lint_ --concurrency 16 --cache-dir .cache/turbo",
|
|
52
|
+
"lint:depcheck": "turbo run lint:depcheck_ --concurrency 16 --cache-dir .cache/turbo",
|
|
53
|
+
"lint:depcheck_": "depcheck",
|
|
54
|
+
"lint:es": "turbo run lint:es_ --concurrency 16 --cache-dir .cache/turbo",
|
|
55
|
+
"lint:format": "turbo run lint:format_ --concurrency 16 --cache-dir .cache/turbo",
|
|
56
|
+
"lint:format_": "prettier --cache-location .cache/prettier --ignore-path .config/workspace-only.prettierignore --check .",
|
|
57
|
+
"lint:md": "turbo run lint:md_ --concurrency 16 --cache-dir .cache/turbo",
|
|
58
|
+
"lint:md_": "remark --frail --no-stdout --silently-ignore --ignore-pattern packages --ignore-pattern libs --ignore-pattern apps .",
|
|
59
|
+
"lint:style": "turbo run lint:style_ --concurrency 16 --cache-dir .cache/turbo",
|
|
60
|
+
"lint:style:css": "turbo run lint:style:css_ --concurrency 16 --cache-dir .cache/turbo",
|
|
61
|
+
"lint:style:html": "turbo run lint:style:html_ --concurrency 16 --cache-dir .cache/turbo",
|
|
62
|
+
"lint:style:scss": "turbo run lint:style:scss_ --concurrency 16 --cache-dir .cache/turbo",
|
|
63
|
+
"lint:svelte": "turbo run lint:svelte_ --concurrency 16 --cache-dir .cache/turbo",
|
|
64
|
+
"lint:tsc": "turbo run lint:tsc_ --concurrency 16 --cache-dir .cache/turbo",
|
|
65
|
+
publint: "turbo run publint_ --concurrency 16 --cache-dir .cache/turbo",
|
|
66
|
+
all: "turbo run all_ --concurrency 16 --cache-dir .cache/turbo",
|
|
67
|
+
format: "turbo run format_ --concurrency 16 --cache-dir .cache/turbo",
|
|
68
|
+
format_: "prettier --cache-location .cache/prettier --ignore-path .config/workspace-only.prettierignore --write .",
|
|
69
|
+
ncu: "ncu --configFilePath ./.config/ && pnpm up",
|
|
70
|
+
nuke: "nuke",
|
|
71
|
+
postinstall: "husky install && turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo && pnpm format",
|
|
72
|
+
release: "commit-and-tag-version --sign --commit-all",
|
|
73
|
+
"release:major": "commit-and-tag-version --sign --commit-all --release-as major",
|
|
74
|
+
"release:minor": "commit-and-tag-version --sign --commit-all --release-as minor",
|
|
75
|
+
"release:patch": "commit-and-tag-version --sign --commit-all --release-as patch",
|
|
76
|
+
start: "turbo run start_ --parallel --cache-dir .cache/turbo",
|
|
77
|
+
test: "turbo run test_ --concurrency 16 --cache-dir .cache/turbo && merge-workspace-lcov-reports && lcov-viewer lcov -o ./coverage ./coverage/lcov.info",
|
|
78
|
+
typedoc: "turbo run typedoc_ --concurrency 16 --cache-dir .cache/turbo",
|
|
79
|
+
typedoc_: "typedoc"
|
|
80
|
+
};
|
|
81
|
+
const devDependencies$1 = {
|
|
82
|
+
"@alexaegis/autotool-plugin-commitlint": "workspace:^",
|
|
83
|
+
"@alexaegis/autotool-plugin-depcheck": "workspace:^",
|
|
84
|
+
"@alexaegis/autotool-plugin-editorconfig": "workspace:^",
|
|
85
|
+
"@alexaegis/autotool-plugin-eslint": "workspace:^",
|
|
86
|
+
"@alexaegis/autotool-plugin-git": "workspace:^",
|
|
87
|
+
"@alexaegis/autotool-plugin-github": "workspace:^",
|
|
88
|
+
"@alexaegis/autotool-plugin-husky": "workspace:^",
|
|
89
|
+
"@alexaegis/autotool-plugin-ncu": "workspace:^",
|
|
90
|
+
"@alexaegis/autotool-plugin-prettier": "workspace:^",
|
|
91
|
+
"@alexaegis/autotool-plugin-publint": "workspace:^",
|
|
92
|
+
"@alexaegis/autotool-plugin-remark": "workspace:^",
|
|
93
|
+
"@alexaegis/autotool-plugin-standard-version": "workspace:^",
|
|
94
|
+
"@alexaegis/autotool-plugin-stylelint": "workspace:^",
|
|
95
|
+
"@alexaegis/autotool-plugin-svelte": "workspace:^",
|
|
96
|
+
"@alexaegis/autotool-plugin-ts": "workspace:^",
|
|
97
|
+
"@alexaegis/autotool-plugin-turbo": "workspace:^",
|
|
98
|
+
"@alexaegis/autotool-plugin-typedoc": "workspace:^",
|
|
99
|
+
"@alexaegis/autotool-plugin-vite": "workspace:^",
|
|
100
|
+
"@alexaegis/autotool-plugin-vitest": "workspace:^",
|
|
101
|
+
"@alexaegis/autotool-plugin-vscode": "workspace:^",
|
|
102
|
+
"@alexaegis/autotool-plugin-workspace": "workspace:^",
|
|
103
|
+
"@alexaegis/coverage-tools": "^0.4.0",
|
|
104
|
+
"@alexaegis/eslint-config-core": "workspace:^",
|
|
105
|
+
"@alexaegis/nuke": "workspace:^",
|
|
106
|
+
"@alexaegis/stylelint-config": "workspace:^",
|
|
107
|
+
"@alexaegis/ts": "workspace:^",
|
|
108
|
+
"@lcov-viewer/cli": "^1.3.0",
|
|
109
|
+
"@types/eslint": "^8.40.2",
|
|
110
|
+
"@types/node": "^20.4.0",
|
|
111
|
+
"@types/yargs": "^17.0.24",
|
|
112
|
+
"@vitest/coverage-v8": "^0.32.4",
|
|
113
|
+
autotool: "^0.1.1",
|
|
114
|
+
"commit-and-tag-version": "^11.2.2",
|
|
115
|
+
commitlint: "^17.6.6",
|
|
116
|
+
depcheck: "^1.4.3",
|
|
117
|
+
eslint: "^8.44.0",
|
|
118
|
+
husky: "^8.0.3",
|
|
119
|
+
"lint-staged": "^13.2.3",
|
|
120
|
+
"npm-check-updates": "^16.10.13",
|
|
121
|
+
prettier: "^3.0.0",
|
|
122
|
+
publint: "^0.1.16",
|
|
123
|
+
remark: "^14.0.3",
|
|
124
|
+
"remark-cli": "^11.0.0",
|
|
125
|
+
stylelint: "^15.10.0",
|
|
126
|
+
"svelte-check": "^3.4.4",
|
|
127
|
+
"ts-node": "^10.9.1",
|
|
128
|
+
turbo: "^1.10.7",
|
|
129
|
+
typedoc: "^0.24.8",
|
|
130
|
+
typescript: "^5.1.6",
|
|
131
|
+
vitest: "^0.32.4"
|
|
132
|
+
};
|
|
133
|
+
const rootPackageJson = {
|
|
134
|
+
name: name$1,
|
|
135
|
+
description: description$1,
|
|
136
|
+
version: version$1,
|
|
137
|
+
license: license$1,
|
|
138
|
+
"private": true,
|
|
139
|
+
keywords: keywords$1,
|
|
140
|
+
author,
|
|
141
|
+
homepage,
|
|
142
|
+
repository,
|
|
143
|
+
bugs,
|
|
144
|
+
type: type$1,
|
|
145
|
+
config,
|
|
146
|
+
engines,
|
|
147
|
+
packageManager,
|
|
148
|
+
workspaces,
|
|
149
|
+
scripts: scripts$1,
|
|
150
|
+
devDependencies: devDependencies$1
|
|
151
|
+
};
|
|
4
152
|
const name = "@alexaegis/autotool-plugin-workspace";
|
|
5
153
|
const description = "This package contains generic workspace tools and scripts";
|
|
6
|
-
const version = "0.
|
|
154
|
+
const version = "0.4.0";
|
|
7
155
|
const license = "MIT";
|
|
8
156
|
const archetype = {
|
|
9
157
|
platform: "node",
|
|
@@ -28,7 +176,7 @@ const scripts = {
|
|
|
28
176
|
"lint:es": "turbo run lint:es_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
29
177
|
"lint:es_": "eslint --max-warnings=0 --fix --no-error-on-unmatched-pattern .",
|
|
30
178
|
"lint:format": "turbo run lint:format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
31
|
-
"lint:format_": "prettier --
|
|
179
|
+
"lint:format_": "prettier --cache-location .cache/prettier --check .",
|
|
32
180
|
"lint:md": "turbo run lint:md_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
33
181
|
"lint:md_": "remark --frail --no-stdout --silently-ignore .",
|
|
34
182
|
"lint:tsc": "turbo run lint:tsc_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
@@ -37,7 +185,7 @@ const scripts = {
|
|
|
37
185
|
publint_: "publint dist",
|
|
38
186
|
all: "turbo run all_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
39
187
|
format: "turbo run format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
40
|
-
format_: "prettier --
|
|
188
|
+
format_: "prettier --cache-location .cache/prettier --write .",
|
|
41
189
|
test: "turbo run test_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
42
190
|
test_: "vitest --passWithNoTests --coverage --run",
|
|
43
191
|
"test:watch": "vitest --passWithNoTests --coverage"
|
|
@@ -49,24 +197,24 @@ const exports$1 = {
|
|
|
49
197
|
require: "./dist/index.cjs",
|
|
50
198
|
"default": "./dist/index.js"
|
|
51
199
|
},
|
|
52
|
-
"./pnpm-workspace": "./static/pnpm-workspace.yaml"
|
|
200
|
+
"./pnpm-workspace": "./static/pnpm-workspace.yaml",
|
|
201
|
+
"./readme": "./readme.md"
|
|
53
202
|
};
|
|
54
203
|
const dependencies = {
|
|
55
|
-
"@alexaegis/logging": "^0.
|
|
56
|
-
"autotool-plugin": "^0.
|
|
57
|
-
"npm-check-updates": "^16.10.13"
|
|
204
|
+
"@alexaegis/logging": "^0.4.0",
|
|
205
|
+
"autotool-plugin": "^0.1.1"
|
|
58
206
|
};
|
|
59
207
|
const devDependencies = {
|
|
60
|
-
"@alexaegis/eslint-config-vitest": "^0.
|
|
61
|
-
"@alexaegis/nuke": "^0.
|
|
62
|
-
"@alexaegis/ts": "^0.
|
|
63
|
-
"@alexaegis/vite": "^0.
|
|
64
|
-
"@alexaegis/vitest": "^0.
|
|
65
|
-
"@types/node": "^20.
|
|
66
|
-
publint: "^0.1.
|
|
67
|
-
typescript: "^5.1.
|
|
208
|
+
"@alexaegis/eslint-config-vitest": "^0.4.0",
|
|
209
|
+
"@alexaegis/nuke": "^0.4.0",
|
|
210
|
+
"@alexaegis/ts": "^0.4.0",
|
|
211
|
+
"@alexaegis/vite": "^0.4.0",
|
|
212
|
+
"@alexaegis/vitest": "^0.4.0",
|
|
213
|
+
"@types/node": "^20.4.0",
|
|
214
|
+
publint: "^0.1.16",
|
|
215
|
+
typescript: "^5.1.6",
|
|
68
216
|
vite: "^4.3.9",
|
|
69
|
-
vitest: "^0.32.
|
|
217
|
+
vitest: "^0.32.4"
|
|
70
218
|
};
|
|
71
219
|
const packageJson = {
|
|
72
220
|
name,
|
|
@@ -88,7 +236,7 @@ const plugin = (_options) => {
|
|
|
88
236
|
name: packageJson.name,
|
|
89
237
|
elements: [
|
|
90
238
|
{
|
|
91
|
-
description: "
|
|
239
|
+
description: "pnpm workspace preferences",
|
|
92
240
|
executor: "fileCopy",
|
|
93
241
|
packageKind: "root",
|
|
94
242
|
sourcePluginPackageName: packageJson.name,
|
|
@@ -107,7 +255,10 @@ const plugin = (_options) => {
|
|
|
107
255
|
node: ">=18.10.0",
|
|
108
256
|
npm: void 0,
|
|
109
257
|
pnpm: ">=8.0.0"
|
|
110
|
-
}
|
|
258
|
+
},
|
|
259
|
+
packageManager: rootPackageJson.packageManager,
|
|
260
|
+
workspaces: ["apps/*", "libs/*", "packages/*", "fixtures/*"]
|
|
261
|
+
// Some tools like typedoc will only read this field even through the same information is defined in the pnpm-workspace.yaml
|
|
111
262
|
}
|
|
112
263
|
},
|
|
113
264
|
{
|
|
@@ -116,8 +267,7 @@ const plugin = (_options) => {
|
|
|
116
267
|
packageKind: "root",
|
|
117
268
|
data: {
|
|
118
269
|
scripts: {
|
|
119
|
-
nuke: "nuke"
|
|
120
|
-
ncu: "ncu --deep --peer --upgrade && pnpm up"
|
|
270
|
+
nuke: "nuke"
|
|
121
271
|
},
|
|
122
272
|
devDependencies: {
|
|
123
273
|
"@alexaegis/nuke": packageJson.devDependencies["@alexaegis/nuke"],
|
|
@@ -135,6 +285,8 @@ const plugin = (_options) => {
|
|
|
135
285
|
// versioned together
|
|
136
286
|
"@alexaegis/autotool-plugin-husky": `^${packageJson.version}`,
|
|
137
287
|
// versioned together
|
|
288
|
+
"@alexaegis/autotool-plugin-ncu": `^${packageJson.version}`,
|
|
289
|
+
// versioned together
|
|
138
290
|
"@alexaegis/autotool-plugin-prettier": `^${packageJson.version}`,
|
|
139
291
|
// versioned together
|
|
140
292
|
"@alexaegis/autotool-plugin-publint": `^${packageJson.version}`,
|
|
@@ -159,9 +311,8 @@ const plugin = (_options) => {
|
|
|
159
311
|
// versioned together
|
|
160
312
|
"@alexaegis/autotool-plugin-vscode": `^${packageJson.version}`,
|
|
161
313
|
// versioned together
|
|
162
|
-
"@alexaegis/autotool-plugin-workspace": `^${packageJson.version}
|
|
314
|
+
"@alexaegis/autotool-plugin-workspace": `^${packageJson.version}`
|
|
163
315
|
// versioned together
|
|
164
|
-
"npm-check-updates": packageJson.dependencies["npm-check-updates"]
|
|
165
316
|
}
|
|
166
317
|
}
|
|
167
318
|
}
|
|
@@ -170,4 +321,3 @@ const plugin = (_options) => {
|
|
|
170
321
|
};
|
|
171
322
|
exports.default = plugin;
|
|
172
323
|
exports.plugin = plugin;
|
|
173
|
-
//# sourceMappingURL=index.cjs.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAA6B,MAAM,iBAAiB,CAAC;AAKjF,eAAO,MAAM,MAAM,EAAE,cAiEpB,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
package/index.js
CHANGED
|
@@ -1,7 +1,155 @@
|
|
|
1
1
|
import { join } from "node:path";
|
|
2
|
+
const name$1 = "@alexaegis/workspace";
|
|
3
|
+
const description$1 = "base repo for common stuff in my other js projects";
|
|
4
|
+
const version$1 = "0.4.0";
|
|
5
|
+
const license$1 = "mit";
|
|
6
|
+
const keywords$1 = [
|
|
7
|
+
"eslint",
|
|
8
|
+
"javascript",
|
|
9
|
+
"js",
|
|
10
|
+
"managed-by-autotool",
|
|
11
|
+
"ts",
|
|
12
|
+
"tsconfig",
|
|
13
|
+
"turbo",
|
|
14
|
+
"typescript"
|
|
15
|
+
];
|
|
16
|
+
const author = {
|
|
17
|
+
email: "alexaegis@gmail.com",
|
|
18
|
+
name: "Alex Aegis",
|
|
19
|
+
url: "https://github.com/AlexAegis"
|
|
20
|
+
};
|
|
21
|
+
const homepage = "https://github.com/AlexAegis/js-tooling";
|
|
22
|
+
const repository = {
|
|
23
|
+
url: "git+https://github.com/AlexAegis/js-tooling",
|
|
24
|
+
type: "git"
|
|
25
|
+
};
|
|
26
|
+
const bugs = {
|
|
27
|
+
email: "alexaegis@gmail.com",
|
|
28
|
+
url: "https://github.com/AlexAegis/js-tooling/issues"
|
|
29
|
+
};
|
|
30
|
+
const type$1 = "module";
|
|
31
|
+
const config = {
|
|
32
|
+
"engine-strict": true
|
|
33
|
+
};
|
|
34
|
+
const engines = {
|
|
35
|
+
node: ">=18.10.0",
|
|
36
|
+
pnpm: ">=8.0.0"
|
|
37
|
+
};
|
|
38
|
+
const packageManager = "pnpm@8.6.6";
|
|
39
|
+
const workspaces = [
|
|
40
|
+
"apps/*",
|
|
41
|
+
"fixtures/*",
|
|
42
|
+
"libs/*",
|
|
43
|
+
"packages/*"
|
|
44
|
+
];
|
|
45
|
+
const scripts$1 = {
|
|
46
|
+
build: "turbo run build-lib_ build-app_ --concurrency 16 --cache-dir .cache/turbo",
|
|
47
|
+
"build-app": "turbo run build-app_ --concurrency 16 --cache-dir .cache/turbo",
|
|
48
|
+
"build-lib": "turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo",
|
|
49
|
+
lint: "turbo run lint_ --concurrency 16 --cache-dir .cache/turbo",
|
|
50
|
+
"lint:depcheck": "turbo run lint:depcheck_ --concurrency 16 --cache-dir .cache/turbo",
|
|
51
|
+
"lint:depcheck_": "depcheck",
|
|
52
|
+
"lint:es": "turbo run lint:es_ --concurrency 16 --cache-dir .cache/turbo",
|
|
53
|
+
"lint:format": "turbo run lint:format_ --concurrency 16 --cache-dir .cache/turbo",
|
|
54
|
+
"lint:format_": "prettier --cache-location .cache/prettier --ignore-path .config/workspace-only.prettierignore --check .",
|
|
55
|
+
"lint:md": "turbo run lint:md_ --concurrency 16 --cache-dir .cache/turbo",
|
|
56
|
+
"lint:md_": "remark --frail --no-stdout --silently-ignore --ignore-pattern packages --ignore-pattern libs --ignore-pattern apps .",
|
|
57
|
+
"lint:style": "turbo run lint:style_ --concurrency 16 --cache-dir .cache/turbo",
|
|
58
|
+
"lint:style:css": "turbo run lint:style:css_ --concurrency 16 --cache-dir .cache/turbo",
|
|
59
|
+
"lint:style:html": "turbo run lint:style:html_ --concurrency 16 --cache-dir .cache/turbo",
|
|
60
|
+
"lint:style:scss": "turbo run lint:style:scss_ --concurrency 16 --cache-dir .cache/turbo",
|
|
61
|
+
"lint:svelte": "turbo run lint:svelte_ --concurrency 16 --cache-dir .cache/turbo",
|
|
62
|
+
"lint:tsc": "turbo run lint:tsc_ --concurrency 16 --cache-dir .cache/turbo",
|
|
63
|
+
publint: "turbo run publint_ --concurrency 16 --cache-dir .cache/turbo",
|
|
64
|
+
all: "turbo run all_ --concurrency 16 --cache-dir .cache/turbo",
|
|
65
|
+
format: "turbo run format_ --concurrency 16 --cache-dir .cache/turbo",
|
|
66
|
+
format_: "prettier --cache-location .cache/prettier --ignore-path .config/workspace-only.prettierignore --write .",
|
|
67
|
+
ncu: "ncu --configFilePath ./.config/ && pnpm up",
|
|
68
|
+
nuke: "nuke",
|
|
69
|
+
postinstall: "husky install && turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo && pnpm format",
|
|
70
|
+
release: "commit-and-tag-version --sign --commit-all",
|
|
71
|
+
"release:major": "commit-and-tag-version --sign --commit-all --release-as major",
|
|
72
|
+
"release:minor": "commit-and-tag-version --sign --commit-all --release-as minor",
|
|
73
|
+
"release:patch": "commit-and-tag-version --sign --commit-all --release-as patch",
|
|
74
|
+
start: "turbo run start_ --parallel --cache-dir .cache/turbo",
|
|
75
|
+
test: "turbo run test_ --concurrency 16 --cache-dir .cache/turbo && merge-workspace-lcov-reports && lcov-viewer lcov -o ./coverage ./coverage/lcov.info",
|
|
76
|
+
typedoc: "turbo run typedoc_ --concurrency 16 --cache-dir .cache/turbo",
|
|
77
|
+
typedoc_: "typedoc"
|
|
78
|
+
};
|
|
79
|
+
const devDependencies$1 = {
|
|
80
|
+
"@alexaegis/autotool-plugin-commitlint": "workspace:^",
|
|
81
|
+
"@alexaegis/autotool-plugin-depcheck": "workspace:^",
|
|
82
|
+
"@alexaegis/autotool-plugin-editorconfig": "workspace:^",
|
|
83
|
+
"@alexaegis/autotool-plugin-eslint": "workspace:^",
|
|
84
|
+
"@alexaegis/autotool-plugin-git": "workspace:^",
|
|
85
|
+
"@alexaegis/autotool-plugin-github": "workspace:^",
|
|
86
|
+
"@alexaegis/autotool-plugin-husky": "workspace:^",
|
|
87
|
+
"@alexaegis/autotool-plugin-ncu": "workspace:^",
|
|
88
|
+
"@alexaegis/autotool-plugin-prettier": "workspace:^",
|
|
89
|
+
"@alexaegis/autotool-plugin-publint": "workspace:^",
|
|
90
|
+
"@alexaegis/autotool-plugin-remark": "workspace:^",
|
|
91
|
+
"@alexaegis/autotool-plugin-standard-version": "workspace:^",
|
|
92
|
+
"@alexaegis/autotool-plugin-stylelint": "workspace:^",
|
|
93
|
+
"@alexaegis/autotool-plugin-svelte": "workspace:^",
|
|
94
|
+
"@alexaegis/autotool-plugin-ts": "workspace:^",
|
|
95
|
+
"@alexaegis/autotool-plugin-turbo": "workspace:^",
|
|
96
|
+
"@alexaegis/autotool-plugin-typedoc": "workspace:^",
|
|
97
|
+
"@alexaegis/autotool-plugin-vite": "workspace:^",
|
|
98
|
+
"@alexaegis/autotool-plugin-vitest": "workspace:^",
|
|
99
|
+
"@alexaegis/autotool-plugin-vscode": "workspace:^",
|
|
100
|
+
"@alexaegis/autotool-plugin-workspace": "workspace:^",
|
|
101
|
+
"@alexaegis/coverage-tools": "^0.4.0",
|
|
102
|
+
"@alexaegis/eslint-config-core": "workspace:^",
|
|
103
|
+
"@alexaegis/nuke": "workspace:^",
|
|
104
|
+
"@alexaegis/stylelint-config": "workspace:^",
|
|
105
|
+
"@alexaegis/ts": "workspace:^",
|
|
106
|
+
"@lcov-viewer/cli": "^1.3.0",
|
|
107
|
+
"@types/eslint": "^8.40.2",
|
|
108
|
+
"@types/node": "^20.4.0",
|
|
109
|
+
"@types/yargs": "^17.0.24",
|
|
110
|
+
"@vitest/coverage-v8": "^0.32.4",
|
|
111
|
+
autotool: "^0.1.1",
|
|
112
|
+
"commit-and-tag-version": "^11.2.2",
|
|
113
|
+
commitlint: "^17.6.6",
|
|
114
|
+
depcheck: "^1.4.3",
|
|
115
|
+
eslint: "^8.44.0",
|
|
116
|
+
husky: "^8.0.3",
|
|
117
|
+
"lint-staged": "^13.2.3",
|
|
118
|
+
"npm-check-updates": "^16.10.13",
|
|
119
|
+
prettier: "^3.0.0",
|
|
120
|
+
publint: "^0.1.16",
|
|
121
|
+
remark: "^14.0.3",
|
|
122
|
+
"remark-cli": "^11.0.0",
|
|
123
|
+
stylelint: "^15.10.0",
|
|
124
|
+
"svelte-check": "^3.4.4",
|
|
125
|
+
"ts-node": "^10.9.1",
|
|
126
|
+
turbo: "^1.10.7",
|
|
127
|
+
typedoc: "^0.24.8",
|
|
128
|
+
typescript: "^5.1.6",
|
|
129
|
+
vitest: "^0.32.4"
|
|
130
|
+
};
|
|
131
|
+
const rootPackageJson = {
|
|
132
|
+
name: name$1,
|
|
133
|
+
description: description$1,
|
|
134
|
+
version: version$1,
|
|
135
|
+
license: license$1,
|
|
136
|
+
"private": true,
|
|
137
|
+
keywords: keywords$1,
|
|
138
|
+
author,
|
|
139
|
+
homepage,
|
|
140
|
+
repository,
|
|
141
|
+
bugs,
|
|
142
|
+
type: type$1,
|
|
143
|
+
config,
|
|
144
|
+
engines,
|
|
145
|
+
packageManager,
|
|
146
|
+
workspaces,
|
|
147
|
+
scripts: scripts$1,
|
|
148
|
+
devDependencies: devDependencies$1
|
|
149
|
+
};
|
|
2
150
|
const name = "@alexaegis/autotool-plugin-workspace";
|
|
3
151
|
const description = "This package contains generic workspace tools and scripts";
|
|
4
|
-
const version = "0.
|
|
152
|
+
const version = "0.4.0";
|
|
5
153
|
const license = "MIT";
|
|
6
154
|
const archetype = {
|
|
7
155
|
platform: "node",
|
|
@@ -26,7 +174,7 @@ const scripts = {
|
|
|
26
174
|
"lint:es": "turbo run lint:es_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
27
175
|
"lint:es_": "eslint --max-warnings=0 --fix --no-error-on-unmatched-pattern .",
|
|
28
176
|
"lint:format": "turbo run lint:format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
29
|
-
"lint:format_": "prettier --
|
|
177
|
+
"lint:format_": "prettier --cache-location .cache/prettier --check .",
|
|
30
178
|
"lint:md": "turbo run lint:md_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
31
179
|
"lint:md_": "remark --frail --no-stdout --silently-ignore .",
|
|
32
180
|
"lint:tsc": "turbo run lint:tsc_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
@@ -35,7 +183,7 @@ const scripts = {
|
|
|
35
183
|
publint_: "publint dist",
|
|
36
184
|
all: "turbo run all_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
37
185
|
format: "turbo run format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
38
|
-
format_: "prettier --
|
|
186
|
+
format_: "prettier --cache-location .cache/prettier --write .",
|
|
39
187
|
test: "turbo run test_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
40
188
|
test_: "vitest --passWithNoTests --coverage --run",
|
|
41
189
|
"test:watch": "vitest --passWithNoTests --coverage"
|
|
@@ -47,24 +195,24 @@ const exports = {
|
|
|
47
195
|
require: "./dist/index.cjs",
|
|
48
196
|
"default": "./dist/index.js"
|
|
49
197
|
},
|
|
50
|
-
"./pnpm-workspace": "./static/pnpm-workspace.yaml"
|
|
198
|
+
"./pnpm-workspace": "./static/pnpm-workspace.yaml",
|
|
199
|
+
"./readme": "./readme.md"
|
|
51
200
|
};
|
|
52
201
|
const dependencies = {
|
|
53
|
-
"@alexaegis/logging": "^0.
|
|
54
|
-
"autotool-plugin": "^0.
|
|
55
|
-
"npm-check-updates": "^16.10.13"
|
|
202
|
+
"@alexaegis/logging": "^0.4.0",
|
|
203
|
+
"autotool-plugin": "^0.1.1"
|
|
56
204
|
};
|
|
57
205
|
const devDependencies = {
|
|
58
|
-
"@alexaegis/eslint-config-vitest": "^0.
|
|
59
|
-
"@alexaegis/nuke": "^0.
|
|
60
|
-
"@alexaegis/ts": "^0.
|
|
61
|
-
"@alexaegis/vite": "^0.
|
|
62
|
-
"@alexaegis/vitest": "^0.
|
|
63
|
-
"@types/node": "^20.
|
|
64
|
-
publint: "^0.1.
|
|
65
|
-
typescript: "^5.1.
|
|
206
|
+
"@alexaegis/eslint-config-vitest": "^0.4.0",
|
|
207
|
+
"@alexaegis/nuke": "^0.4.0",
|
|
208
|
+
"@alexaegis/ts": "^0.4.0",
|
|
209
|
+
"@alexaegis/vite": "^0.4.0",
|
|
210
|
+
"@alexaegis/vitest": "^0.4.0",
|
|
211
|
+
"@types/node": "^20.4.0",
|
|
212
|
+
publint: "^0.1.16",
|
|
213
|
+
typescript: "^5.1.6",
|
|
66
214
|
vite: "^4.3.9",
|
|
67
|
-
vitest: "^0.32.
|
|
215
|
+
vitest: "^0.32.4"
|
|
68
216
|
};
|
|
69
217
|
const packageJson = {
|
|
70
218
|
name,
|
|
@@ -86,7 +234,7 @@ const plugin = (_options) => {
|
|
|
86
234
|
name: packageJson.name,
|
|
87
235
|
elements: [
|
|
88
236
|
{
|
|
89
|
-
description: "
|
|
237
|
+
description: "pnpm workspace preferences",
|
|
90
238
|
executor: "fileCopy",
|
|
91
239
|
packageKind: "root",
|
|
92
240
|
sourcePluginPackageName: packageJson.name,
|
|
@@ -105,7 +253,10 @@ const plugin = (_options) => {
|
|
|
105
253
|
node: ">=18.10.0",
|
|
106
254
|
npm: void 0,
|
|
107
255
|
pnpm: ">=8.0.0"
|
|
108
|
-
}
|
|
256
|
+
},
|
|
257
|
+
packageManager: rootPackageJson.packageManager,
|
|
258
|
+
workspaces: ["apps/*", "libs/*", "packages/*", "fixtures/*"]
|
|
259
|
+
// Some tools like typedoc will only read this field even through the same information is defined in the pnpm-workspace.yaml
|
|
109
260
|
}
|
|
110
261
|
},
|
|
111
262
|
{
|
|
@@ -114,8 +265,7 @@ const plugin = (_options) => {
|
|
|
114
265
|
packageKind: "root",
|
|
115
266
|
data: {
|
|
116
267
|
scripts: {
|
|
117
|
-
nuke: "nuke"
|
|
118
|
-
ncu: "ncu --deep --peer --upgrade && pnpm up"
|
|
268
|
+
nuke: "nuke"
|
|
119
269
|
},
|
|
120
270
|
devDependencies: {
|
|
121
271
|
"@alexaegis/nuke": packageJson.devDependencies["@alexaegis/nuke"],
|
|
@@ -133,6 +283,8 @@ const plugin = (_options) => {
|
|
|
133
283
|
// versioned together
|
|
134
284
|
"@alexaegis/autotool-plugin-husky": `^${packageJson.version}`,
|
|
135
285
|
// versioned together
|
|
286
|
+
"@alexaegis/autotool-plugin-ncu": `^${packageJson.version}`,
|
|
287
|
+
// versioned together
|
|
136
288
|
"@alexaegis/autotool-plugin-prettier": `^${packageJson.version}`,
|
|
137
289
|
// versioned together
|
|
138
290
|
"@alexaegis/autotool-plugin-publint": `^${packageJson.version}`,
|
|
@@ -157,9 +309,8 @@ const plugin = (_options) => {
|
|
|
157
309
|
// versioned together
|
|
158
310
|
"@alexaegis/autotool-plugin-vscode": `^${packageJson.version}`,
|
|
159
311
|
// versioned together
|
|
160
|
-
"@alexaegis/autotool-plugin-workspace": `^${packageJson.version}
|
|
312
|
+
"@alexaegis/autotool-plugin-workspace": `^${packageJson.version}`
|
|
161
313
|
// versioned together
|
|
162
|
-
"npm-check-updates": packageJson.dependencies["npm-check-updates"]
|
|
163
314
|
}
|
|
164
315
|
}
|
|
165
316
|
}
|
|
@@ -170,4 +321,3 @@ export {
|
|
|
170
321
|
plugin as default,
|
|
171
322
|
plugin
|
|
172
323
|
};
|
|
173
|
-
//# sourceMappingURL=index.js.map
|
package/index.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.spec.d.ts","sourceRoot":"","sources":["../../../src/index.spec.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexaegis/autotool-plugin-workspace",
|
|
3
3
|
"description": "This package contains generic workspace tools and scripts",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
7
|
"archetype": {
|
|
@@ -48,24 +48,24 @@
|
|
|
48
48
|
"require": "./index.cjs",
|
|
49
49
|
"default": "./index.js"
|
|
50
50
|
},
|
|
51
|
-
"./pnpm-workspace": "./static/pnpm-workspace.yaml"
|
|
51
|
+
"./pnpm-workspace": "./static/pnpm-workspace.yaml",
|
|
52
|
+
"./readme": "./readme.md"
|
|
52
53
|
},
|
|
53
54
|
"dependencies": {
|
|
54
|
-
"@alexaegis/logging": "^0.
|
|
55
|
-
"autotool-plugin": "^0.
|
|
56
|
-
"npm-check-updates": "^16.10.13"
|
|
55
|
+
"@alexaegis/logging": "^0.4.0",
|
|
56
|
+
"autotool-plugin": "^0.1.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@alexaegis/eslint-config-vitest": "^0.
|
|
60
|
-
"@alexaegis/nuke": "^0.
|
|
61
|
-
"@alexaegis/ts": "^0.
|
|
62
|
-
"@alexaegis/vite": "^0.
|
|
63
|
-
"@alexaegis/vitest": "^0.
|
|
64
|
-
"@types/node": "^20.
|
|
65
|
-
"publint": "^0.1.
|
|
66
|
-
"typescript": "^5.1.
|
|
59
|
+
"@alexaegis/eslint-config-vitest": "^0.4.0",
|
|
60
|
+
"@alexaegis/nuke": "^0.4.0",
|
|
61
|
+
"@alexaegis/ts": "^0.4.0",
|
|
62
|
+
"@alexaegis/vite": "^0.4.0",
|
|
63
|
+
"@alexaegis/vitest": "^0.4.0",
|
|
64
|
+
"@types/node": "^20.4.0",
|
|
65
|
+
"publint": "^0.1.16",
|
|
66
|
+
"typescript": "^5.1.6",
|
|
67
67
|
"vite": "^4.3.9",
|
|
68
|
-
"vitest": "^0.32.
|
|
68
|
+
"vitest": "^0.32.4"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"build": "turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"lint:es": "turbo run lint:es_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
76
76
|
"lint:es_": "eslint --max-warnings=0 --fix --no-error-on-unmatched-pattern .",
|
|
77
77
|
"lint:format": "turbo run lint:format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
78
|
-
"lint:format_": "prettier --
|
|
78
|
+
"lint:format_": "prettier --cache-location .cache/prettier --check .",
|
|
79
79
|
"lint:md": "turbo run lint:md_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
80
80
|
"lint:md_": "remark --frail --no-stdout --silently-ignore .",
|
|
81
81
|
"lint:tsc": "turbo run lint:tsc_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"publint_": "publint dist",
|
|
85
85
|
"all": "turbo run all_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
86
86
|
"format": "turbo run format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
87
|
-
"format_": "prettier --
|
|
87
|
+
"format_": "prettier --cache-location .cache/prettier --write .",
|
|
88
88
|
"test": "turbo run test_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-workspace",
|
|
89
89
|
"test_": "vitest --passWithNoTests --coverage --run",
|
|
90
90
|
"test:watch": "vitest --passWithNoTests --coverage"
|
package/readme.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# [@alexaegis/autotool-plugin-workspace](https://github.com/AlexAegis/js-tooling/tree/master/packages/autotool-plugin-workspace)
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@alexaegis/autotool-plugin-workspace)
|
|
4
|
+
[](https://github.com/AlexAegis/js-tooling/actions/workflows/cicd.yml)
|
|
5
|
+
[](https://www.codacy.com/gh/AlexAegis/js-tooling/dashboard?utm_source=github.com&utm_medium=referral&utm_content=AlexAegis/js-tooling&utm_campaign=Badge_Grade)
|
package/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../src/index.ts"],"sourcesContent":["import { type AutotoolPlugin, type AutotoolPluginObject } from 'autotool-plugin';\nimport { join } from 'node:path';\nimport packageJson from '../package.json';\n\nexport const plugin: AutotoolPlugin = (_options): AutotoolPluginObject => {\n\treturn {\n\t\tname: packageJson.name,\n\t\telements: [\n\t\t\t{\n\t\t\t\tdescription: 'vscode settings',\n\t\t\t\texecutor: 'fileCopy',\n\t\t\t\tpackageKind: 'root',\n\t\t\t\tsourcePluginPackageName: packageJson.name,\n\t\t\t\tsourceFile: join('static', 'pnpm-workspace.yaml'),\n\t\t\t\ttargetFile: 'pnpm-workspace.yaml',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdescription: 'workspace engine preferences for node',\n\t\t\t\texecutor: 'packageJson',\n\t\t\t\tpackageKind: 'root',\n\t\t\t\tdata: {\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\t'engine-strict': true,\n\t\t\t\t\t},\n\t\t\t\t\tengines: {\n\t\t\t\t\t\tnode: '>=18.10.0',\n\t\t\t\t\t\tnpm: undefined,\n\t\t\t\t\t\tpnpm: '>=8.0.0',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tdescription: 'workspace scripts and all autotool plugins as devDependencies',\n\t\t\t\texecutor: 'packageJson',\n\t\t\t\tpackageKind: 'root',\n\t\t\t\tdata: {\n\t\t\t\t\tscripts: {\n\t\t\t\t\t\tnuke: 'nuke',\n\t\t\t\t\t\tncu: 'ncu --deep --peer --upgrade && pnpm up',\n\t\t\t\t\t},\n\t\t\t\t\tdevDependencies: {\n\t\t\t\t\t\t'@alexaegis/nuke': packageJson.devDependencies['@alexaegis/nuke'],\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-commitlint': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-depcheck': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-editorconfig': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-eslint': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-git': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-github': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-husky': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-prettier': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-publint': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-remark': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-standard-version': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-stylelint': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-svelte': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-ts': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-turbo': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-typedoc': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-vite': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-vitest': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-vscode': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-workspace': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'npm-check-updates': packageJson.dependencies['npm-check-updates'],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t};\n};\n\nexport default plugin;\n"],"names":["join"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIa,MAAA,SAAyB,CAAC,aAAmC;AAClE,SAAA;AAAA,IACN,MAAM,YAAY;AAAA,IAClB,UAAU;AAAA,MACT;AAAA,QACC,aAAa;AAAA,QACb,UAAU;AAAA,QACV,aAAa;AAAA,QACb,yBAAyB,YAAY;AAAA,QACrC,YAAYA,UAAAA,KAAK,UAAU,qBAAqB;AAAA,QAChD,YAAY;AAAA,MACb;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,UAAU;AAAA,QACV,aAAa;AAAA,QACb,MAAM;AAAA,UACL,QAAQ;AAAA,YACP,iBAAiB;AAAA,UAClB;AAAA,UACA,SAAS;AAAA,YACR,MAAM;AAAA,YACN,KAAK;AAAA,YACL,MAAM;AAAA,UACP;AAAA,QACD;AAAA,MACD;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,UAAU;AAAA,QACV,aAAa;AAAA,QACb,MAAM;AAAA,UACL,SAAS;AAAA,YACR,MAAM;AAAA,YACN,KAAK;AAAA,UACN;AAAA,UACA,iBAAiB;AAAA,YAChB,mBAAmB,YAAY,gBAAgB,iBAAiB;AAAA,YAChE,yCAAyC,IAAI,YAAY;AAAA;AAAA,YACzD,uCAAuC,IAAI,YAAY;AAAA;AAAA,YACvD,2CAA2C,IAAI,YAAY;AAAA;AAAA,YAC3D,qCAAqC,IAAI,YAAY;AAAA;AAAA,YACrD,kCAAkC,IAAI,YAAY;AAAA;AAAA,YAClD,qCAAqC,IAAI,YAAY;AAAA;AAAA,YACrD,oCAAoC,IAAI,YAAY;AAAA;AAAA,YACpD,uCAAuC,IAAI,YAAY;AAAA;AAAA,YACvD,sCAAsC,IAAI,YAAY;AAAA;AAAA,YACtD,qCAAqC,IAAI,YAAY;AAAA;AAAA,YACrD,+CAA+C,IAAI,YAAY;AAAA;AAAA,YAC/D,wCAAwC,IAAI,YAAY;AAAA;AAAA,YACxD,qCAAqC,IAAI,YAAY;AAAA;AAAA,YACrD,iCAAiC,IAAI,YAAY;AAAA;AAAA,YACjD,oCAAoC,IAAI,YAAY;AAAA;AAAA,YACpD,sCAAsC,IAAI,YAAY;AAAA;AAAA,YACtD,mCAAmC,IAAI,YAAY;AAAA;AAAA,YACnD,qCAAqC,IAAI,YAAY;AAAA;AAAA,YACrD,qCAAqC,IAAI,YAAY;AAAA;AAAA,YACrD,wCAAwC,IAAI,YAAY;AAAA;AAAA,YACxD,qBAAqB,YAAY,aAAa,mBAAmB;AAAA,UAClE;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EAAA;AAEF;;;"}
|
package/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import { type AutotoolPlugin, type AutotoolPluginObject } from 'autotool-plugin';\nimport { join } from 'node:path';\nimport packageJson from '../package.json';\n\nexport const plugin: AutotoolPlugin = (_options): AutotoolPluginObject => {\n\treturn {\n\t\tname: packageJson.name,\n\t\telements: [\n\t\t\t{\n\t\t\t\tdescription: 'vscode settings',\n\t\t\t\texecutor: 'fileCopy',\n\t\t\t\tpackageKind: 'root',\n\t\t\t\tsourcePluginPackageName: packageJson.name,\n\t\t\t\tsourceFile: join('static', 'pnpm-workspace.yaml'),\n\t\t\t\ttargetFile: 'pnpm-workspace.yaml',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdescription: 'workspace engine preferences for node',\n\t\t\t\texecutor: 'packageJson',\n\t\t\t\tpackageKind: 'root',\n\t\t\t\tdata: {\n\t\t\t\t\tconfig: {\n\t\t\t\t\t\t'engine-strict': true,\n\t\t\t\t\t},\n\t\t\t\t\tengines: {\n\t\t\t\t\t\tnode: '>=18.10.0',\n\t\t\t\t\t\tnpm: undefined,\n\t\t\t\t\t\tpnpm: '>=8.0.0',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tdescription: 'workspace scripts and all autotool plugins as devDependencies',\n\t\t\t\texecutor: 'packageJson',\n\t\t\t\tpackageKind: 'root',\n\t\t\t\tdata: {\n\t\t\t\t\tscripts: {\n\t\t\t\t\t\tnuke: 'nuke',\n\t\t\t\t\t\tncu: 'ncu --deep --peer --upgrade && pnpm up',\n\t\t\t\t\t},\n\t\t\t\t\tdevDependencies: {\n\t\t\t\t\t\t'@alexaegis/nuke': packageJson.devDependencies['@alexaegis/nuke'],\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-commitlint': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-depcheck': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-editorconfig': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-eslint': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-git': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-github': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-husky': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-prettier': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-publint': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-remark': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-standard-version': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-stylelint': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-svelte': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-ts': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-turbo': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-typedoc': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-vite': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-vitest': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-vscode': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'@alexaegis/autotool-plugin-workspace': `^${packageJson.version}`, // versioned together\n\t\t\t\t\t\t'npm-check-updates': packageJson.dependencies['npm-check-updates'],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t};\n};\n\nexport default plugin;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIa,MAAA,SAAyB,CAAC,aAAmC;AAClE,SAAA;AAAA,IACN,MAAM,YAAY;AAAA,IAClB,UAAU;AAAA,MACT;AAAA,QACC,aAAa;AAAA,QACb,UAAU;AAAA,QACV,aAAa;AAAA,QACb,yBAAyB,YAAY;AAAA,QACrC,YAAY,KAAK,UAAU,qBAAqB;AAAA,QAChD,YAAY;AAAA,MACb;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,UAAU;AAAA,QACV,aAAa;AAAA,QACb,MAAM;AAAA,UACL,QAAQ;AAAA,YACP,iBAAiB;AAAA,UAClB;AAAA,UACA,SAAS;AAAA,YACR,MAAM;AAAA,YACN,KAAK;AAAA,YACL,MAAM;AAAA,UACP;AAAA,QACD;AAAA,MACD;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,UAAU;AAAA,QACV,aAAa;AAAA,QACb,MAAM;AAAA,UACL,SAAS;AAAA,YACR,MAAM;AAAA,YACN,KAAK;AAAA,UACN;AAAA,UACA,iBAAiB;AAAA,YAChB,mBAAmB,YAAY,gBAAgB,iBAAiB;AAAA,YAChE,yCAAyC,IAAI,YAAY;AAAA;AAAA,YACzD,uCAAuC,IAAI,YAAY;AAAA;AAAA,YACvD,2CAA2C,IAAI,YAAY;AAAA;AAAA,YAC3D,qCAAqC,IAAI,YAAY;AAAA;AAAA,YACrD,kCAAkC,IAAI,YAAY;AAAA;AAAA,YAClD,qCAAqC,IAAI,YAAY;AAAA;AAAA,YACrD,oCAAoC,IAAI,YAAY;AAAA;AAAA,YACpD,uCAAuC,IAAI,YAAY;AAAA;AAAA,YACvD,sCAAsC,IAAI,YAAY;AAAA;AAAA,YACtD,qCAAqC,IAAI,YAAY;AAAA;AAAA,YACrD,+CAA+C,IAAI,YAAY;AAAA;AAAA,YAC/D,wCAAwC,IAAI,YAAY;AAAA;AAAA,YACxD,qCAAqC,IAAI,YAAY;AAAA;AAAA,YACrD,iCAAiC,IAAI,YAAY;AAAA;AAAA,YACjD,oCAAoC,IAAI,YAAY;AAAA;AAAA,YACpD,sCAAsC,IAAI,YAAY;AAAA;AAAA,YACtD,mCAAmC,IAAI,YAAY;AAAA;AAAA,YACnD,qCAAqC,IAAI,YAAY;AAAA;AAAA,YACrD,qCAAqC,IAAI,YAAY;AAAA;AAAA,YACrD,wCAAwC,IAAI,YAAY;AAAA;AAAA,YACxD,qBAAqB,YAAY,aAAa,mBAAmB;AAAA,UAClE;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EAAA;AAEF;"}
|