@ariestools/toolchain 9.1.1 → 9.2.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/COPYING +674 -0
- package/LICENSE +165 -0
- package/README.md +56 -22
- package/dist/actions/deplint/checkPackage/getUnlistedDependencies.d.ts.map +1 -1
- package/dist/actions/deplint/checkPackage/getUnlistedDevDependencies.d.ts.map +1 -1
- package/dist/actions/deplint/findFiles.d.ts.map +1 -1
- package/dist/actions/deplint/findFilesByGlob.d.ts.map +1 -1
- package/dist/actions/deplint/getBasePackageName.d.ts +8 -0
- package/dist/actions/deplint/getBasePackageName.d.ts.map +1 -1
- package/dist/actions/deplint/packageEditor.d.ts.map +1 -1
- package/dist/actions/deplint/packageJsonEditor.d.ts.map +1 -1
- package/dist/actions/incremental.d.ts.map +1 -1
- package/dist/actions/package/compile/XyConfig.d.ts +3 -3
- package/dist/actions/package/compile/compile.d.ts.map +1 -1
- package/dist/actions/package-lint-specs.d.ts.map +1 -1
- package/dist/actions/publish.d.ts +6 -1
- package/dist/actions/publish.d.ts.map +1 -1
- package/dist/actions/repo-init/index.d.ts +2 -1
- package/dist/actions/repo-init/index.d.ts.map +1 -1
- package/dist/actions/repo-init/resolvePlan.d.ts +1 -0
- package/dist/actions/repo-init/resolvePlan.d.ts.map +1 -1
- package/dist/actions/repo-init/templateVars.d.ts +1 -0
- package/dist/actions/repo-init/templateVars.d.ts.map +1 -1
- package/dist/actions/repo-init/types.d.ts +16 -0
- package/dist/actions/repo-init/types.d.ts.map +1 -1
- package/dist/actions/repo-init.d.ts +1 -1
- package/dist/actions/repo-init.d.ts.map +1 -1
- package/dist/actions/skills/defaults.d.ts +16 -2
- package/dist/actions/skills/defaults.d.ts.map +1 -1
- package/dist/actions/skills/index.d.ts +1 -1
- package/dist/actions/skills/index.d.ts.map +1 -1
- package/dist/actions/skills/lint.d.ts +7 -0
- package/dist/actions/skills/lint.d.ts.map +1 -1
- package/dist/actions/skills/lock.d.ts +22 -0
- package/dist/actions/skills/lock.d.ts.map +1 -0
- package/dist/actions/skills/passthrough.d.ts.map +1 -1
- package/dist/actions/skills/skillRules.d.ts +2 -2
- package/dist/actions/skills/skillRules.d.ts.map +1 -1
- package/dist/actions/sonar.d.ts +4 -0
- package/dist/actions/sonar.d.ts.map +1 -1
- package/dist/bin/package/build.mjs +4 -0
- package/dist/bin/package/build.mjs.map +1 -1
- package/dist/bin/package/compile.mjs +4 -0
- package/dist/bin/package/compile.mjs.map +1 -1
- package/dist/bin/package/recompile.mjs +4 -0
- package/dist/bin/package/recompile.mjs.map +1 -1
- package/dist/bin/xy.mjs +813 -256
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/bin/xyex.d.ts +3 -0
- package/dist/bin/xyex.d.ts.map +1 -0
- package/dist/bin/xyex.mjs +62920 -0
- package/dist/bin/xyex.mjs.map +1 -0
- package/dist/lib/gitCheckoutRoot.d.ts +17 -0
- package/dist/lib/gitCheckoutRoot.d.ts.map +1 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/pm/PackageManager.d.ts +7 -0
- package/dist/pm/PackageManager.d.ts.map +1 -1
- package/dist/pm/bunPackageManager.d.ts +1 -1
- package/dist/pm/bunPackageManager.d.ts.map +1 -1
- package/dist/pm/npmPackageManager.d.ts +1 -1
- package/dist/pm/npmPackageManager.d.ts.map +1 -1
- package/dist/pm/pnpmPackageManager.d.ts.map +1 -1
- package/dist/pm/yarnPackageManager.d.ts +1 -1
- package/dist/pm/yarnPackageManager.d.ts.map +1 -1
- package/dist/xy/build/index.d.ts +5 -1
- package/dist/xy/build/index.d.ts.map +1 -1
- package/dist/xy/common/index.d.ts +10 -1
- package/dist/xy/common/index.d.ts.map +1 -1
- package/dist/xy/common/packmanCommand.d.ts +7 -0
- package/dist/xy/common/packmanCommand.d.ts.map +1 -1
- package/dist/xy/common/repo/initCommand.d.ts.map +1 -1
- package/dist/xy/common/skills/index.d.ts.map +1 -1
- package/dist/xy/deploy/publishCommand.d.ts.map +1 -1
- package/dist/xy/experimentalCommand.d.ts +11 -0
- package/dist/xy/experimentalCommand.d.ts.map +1 -0
- package/dist/xy/index.d.ts +3 -0
- package/dist/xy/index.d.ts.map +1 -1
- package/dist/xy/lint/index.d.ts +5 -1
- package/dist/xy/lint/index.d.ts.map +1 -1
- package/dist/xy/react/index.d.ts +5 -1
- package/dist/xy/react/index.d.ts.map +1 -1
- package/dist/xy/stability.d.ts +94 -0
- package/dist/xy/stability.d.ts.map +1 -0
- package/dist/xy/stabilityCatalog.d.ts +30 -0
- package/dist/xy/stabilityCatalog.d.ts.map +1 -0
- package/dist/xy/xy.d.ts +19 -1
- package/dist/xy/xy.d.ts.map +1 -1
- package/dist/xy/xyParseOptions.d.ts +6 -1
- package/dist/xy/xyParseOptions.d.ts.map +1 -1
- package/package.json +19 -14
- package/templates/repo/cli/package/package.json.tmpl +7 -7
- package/templates/repo/cli/root/LICENSE.tmpl +1 -0
- package/templates/repo/cli/root/cspell.json.tmpl +1 -1
- package/templates/repo/cli/root/github/workflows/build-bun.yml.tmpl +8 -12
- package/templates/repo/cli/root/github/workflows/build-npm.yml.tmpl +10 -15
- package/templates/repo/cli/root/github/workflows/build-pnpm.yml.tmpl +9 -14
- package/templates/repo/cli/root/github/workflows/build-yarn.yml.tmpl +9 -14
- package/templates/repo/cli/root/package.json.tmpl +10 -9
- package/templates/repo/cli/root/vitest.config.ts.tmpl +3 -29
package/LICENSE
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
GNU LESSER GENERAL PUBLIC LICENSE
|
|
2
|
+
Version 3, 29 June 2007
|
|
3
|
+
|
|
4
|
+
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
5
|
+
Everyone is permitted to copy and distribute verbatim copies
|
|
6
|
+
of this license document, but changing it is not allowed.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
This version of the GNU Lesser General Public License incorporates
|
|
10
|
+
the terms and conditions of version 3 of the GNU General Public
|
|
11
|
+
License, supplemented by the additional permissions listed below.
|
|
12
|
+
|
|
13
|
+
0. Additional Definitions.
|
|
14
|
+
|
|
15
|
+
As used herein, "this License" refers to version 3 of the GNU Lesser
|
|
16
|
+
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
|
17
|
+
General Public License.
|
|
18
|
+
|
|
19
|
+
"The Library" refers to a covered work governed by this License,
|
|
20
|
+
other than an Application or a Combined Work as defined below.
|
|
21
|
+
|
|
22
|
+
An "Application" is any work that makes use of an interface provided
|
|
23
|
+
by the Library, but which is not otherwise based on the Library.
|
|
24
|
+
Defining a subclass of a class defined by the Library is deemed a mode
|
|
25
|
+
of using an interface provided by the Library.
|
|
26
|
+
|
|
27
|
+
A "Combined Work" is a work produced by combining or linking an
|
|
28
|
+
Application with the Library. The particular version of the Library
|
|
29
|
+
with which the Combined Work was made is also called the "Linked
|
|
30
|
+
Version".
|
|
31
|
+
|
|
32
|
+
The "Minimal Corresponding Source" for a Combined Work means the
|
|
33
|
+
Corresponding Source for the Combined Work, excluding any source code
|
|
34
|
+
for portions of the Combined Work that, considered in isolation, are
|
|
35
|
+
based on the Application, and not on the Linked Version.
|
|
36
|
+
|
|
37
|
+
The "Corresponding Application Code" for a Combined Work means the
|
|
38
|
+
object code and/or source code for the Application, including any data
|
|
39
|
+
and utility programs needed for reproducing the Combined Work from the
|
|
40
|
+
Application, but excluding the System Libraries of the Combined Work.
|
|
41
|
+
|
|
42
|
+
1. Exception to Section 3 of the GNU GPL.
|
|
43
|
+
|
|
44
|
+
You may convey a covered work under sections 3 and 4 of this License
|
|
45
|
+
without being bound by section 3 of the GNU GPL.
|
|
46
|
+
|
|
47
|
+
2. Conveying Modified Versions.
|
|
48
|
+
|
|
49
|
+
If you modify a copy of the Library, and, in your modifications, a
|
|
50
|
+
facility refers to a function or data to be supplied by an Application
|
|
51
|
+
that uses the facility (other than as an argument passed when the
|
|
52
|
+
facility is invoked), then you may convey a copy of the modified
|
|
53
|
+
version:
|
|
54
|
+
|
|
55
|
+
a) under this License, provided that you make a good faith effort to
|
|
56
|
+
ensure that, in the event an Application does not supply the
|
|
57
|
+
function or data, the facility still operates, and performs
|
|
58
|
+
whatever part of its purpose remains meaningful, or
|
|
59
|
+
|
|
60
|
+
b) under the GNU GPL, with none of the additional permissions of
|
|
61
|
+
this License applicable to that copy.
|
|
62
|
+
|
|
63
|
+
3. Object Code Incorporating Material from Library Header Files.
|
|
64
|
+
|
|
65
|
+
The object code form of an Application may incorporate material from
|
|
66
|
+
a header file that is part of the Library. You may convey such object
|
|
67
|
+
code under terms of your choice, provided that, if the incorporated
|
|
68
|
+
material is not limited to numerical parameters, data structure
|
|
69
|
+
layouts and accessors, or small macros, inline functions and templates
|
|
70
|
+
(ten or fewer lines in length), you do both of the following:
|
|
71
|
+
|
|
72
|
+
a) Give prominent notice with each copy of the object code that the
|
|
73
|
+
Library is used in it and that the Library and its use are
|
|
74
|
+
covered by this License.
|
|
75
|
+
|
|
76
|
+
b) Accompany the object code with a copy of the GNU GPL and this license
|
|
77
|
+
document.
|
|
78
|
+
|
|
79
|
+
4. Combined Works.
|
|
80
|
+
|
|
81
|
+
You may convey a Combined Work under terms of your choice that,
|
|
82
|
+
taken together, effectively do not restrict modification of the
|
|
83
|
+
portions of the Library contained in the Combined Work and reverse
|
|
84
|
+
engineering for debugging such modifications, if you also do each of
|
|
85
|
+
the following:
|
|
86
|
+
|
|
87
|
+
a) Give prominent notice with each copy of the Combined Work that
|
|
88
|
+
the Library is used in it and that the Library and its use are
|
|
89
|
+
covered by this License.
|
|
90
|
+
|
|
91
|
+
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
|
92
|
+
document.
|
|
93
|
+
|
|
94
|
+
c) For a Combined Work that displays copyright notices during
|
|
95
|
+
execution, include the copyright notice for the Library among
|
|
96
|
+
these notices, as well as a reference directing the user to the
|
|
97
|
+
copies of the GNU GPL and this license document.
|
|
98
|
+
|
|
99
|
+
d) Do one of the following:
|
|
100
|
+
|
|
101
|
+
0) Convey the Minimal Corresponding Source under the terms of this
|
|
102
|
+
License, and the Corresponding Application Code in a form
|
|
103
|
+
suitable for, and under terms that permit, the user to
|
|
104
|
+
recombine or relink the Application with a modified version of
|
|
105
|
+
the Linked Version to produce a modified Combined Work, in the
|
|
106
|
+
manner specified by section 6 of the GNU GPL for conveying
|
|
107
|
+
Corresponding Source.
|
|
108
|
+
|
|
109
|
+
1) Use a suitable shared library mechanism for linking with the
|
|
110
|
+
Library. A suitable mechanism is one that (a) uses at run time
|
|
111
|
+
a copy of the Library already present on the user's computer
|
|
112
|
+
system, and (b) will operate properly with a modified version
|
|
113
|
+
of the Library that is interface-compatible with the Linked
|
|
114
|
+
Version.
|
|
115
|
+
|
|
116
|
+
e) Provide Installation Information, but only if you would otherwise
|
|
117
|
+
be required to provide such information under section 6 of the
|
|
118
|
+
GNU GPL, and only to the extent that such information is
|
|
119
|
+
necessary to install and execute a modified version of the
|
|
120
|
+
Combined Work produced by recombining or relinking the
|
|
121
|
+
Application with a modified version of the Linked Version. (If
|
|
122
|
+
you use option 4d0, the Installation Information must accompany
|
|
123
|
+
the Minimal Corresponding Source and Corresponding Application
|
|
124
|
+
Code. If you use option 4d1, you must provide the Installation
|
|
125
|
+
Information in the manner specified by section 6 of the GNU GPL
|
|
126
|
+
for conveying Corresponding Source.)
|
|
127
|
+
|
|
128
|
+
5. Combined Libraries.
|
|
129
|
+
|
|
130
|
+
You may place library facilities that are a work based on the
|
|
131
|
+
Library side by side in a single library together with other library
|
|
132
|
+
facilities that are not Applications and are not covered by this
|
|
133
|
+
License, and convey such a combined library under terms of your
|
|
134
|
+
choice, if you do both of the following:
|
|
135
|
+
|
|
136
|
+
a) Accompany the combined library with a copy of the same work based
|
|
137
|
+
on the Library, uncombined with any other library facilities,
|
|
138
|
+
conveyed under the terms of this License.
|
|
139
|
+
|
|
140
|
+
b) Give prominent notice with the combined library that part of it
|
|
141
|
+
is a work based on the Library, and explaining where to find the
|
|
142
|
+
accompanying uncombined form of the same work.
|
|
143
|
+
|
|
144
|
+
6. Revised Versions of the GNU Lesser General Public License.
|
|
145
|
+
|
|
146
|
+
The Free Software Foundation may publish revised and/or new versions
|
|
147
|
+
of the GNU Lesser General Public License from time to time. Such new
|
|
148
|
+
versions will be similar in spirit to the present version, but may
|
|
149
|
+
differ in detail to address new problems or concerns.
|
|
150
|
+
|
|
151
|
+
Each version is given a distinguishing version number. If the
|
|
152
|
+
Library as you received it specifies that a certain numbered version
|
|
153
|
+
of the GNU Lesser General Public License "or any later version"
|
|
154
|
+
applies to it, you have the option of following the terms and
|
|
155
|
+
conditions either of that published version or of any later version
|
|
156
|
+
published by the Free Software Foundation. If the Library as you
|
|
157
|
+
received it does not specify a version number of the GNU Lesser
|
|
158
|
+
General Public License, you may choose any version of the GNU Lesser
|
|
159
|
+
General Public License ever published by the Free Software Foundation.
|
|
160
|
+
|
|
161
|
+
If the Library as you received it specifies that a proxy can decide
|
|
162
|
+
whether future versions of the GNU Lesser General Public License shall
|
|
163
|
+
apply, that proxy's public statement of acceptance of any version is
|
|
164
|
+
permanent authorization for you to choose that version for the
|
|
165
|
+
Library.
|
package/README.md
CHANGED
|
@@ -1,48 +1,80 @@
|
|
|
1
|
-
[![logo][]](https://
|
|
1
|
+
[![logo][]](https://ariestools.ai)
|
|
2
2
|
|
|
3
3
|
# @ariestools/toolchain
|
|
4
4
|
|
|
5
5
|
[![npm][npm-badge]][npm-link]
|
|
6
6
|
[![license][license-badge]][license-link]
|
|
7
7
|
|
|
8
|
-
> Unified TypeScript toolchain for
|
|
8
|
+
> Unified TypeScript toolchain for Aries Tools — build, lint, test, and publish with auto-detected package manager and React support
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
12
|
-
Using npm:
|
|
13
|
-
|
|
14
12
|
```sh
|
|
15
|
-
|
|
13
|
+
pnpm add -D @ariestools/toolchain
|
|
14
|
+
# or: npm install -D @ariestools/toolchain
|
|
15
|
+
# or: yarn add -D @ariestools/toolchain
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
Requires Node.js ≥ 22. **pnpm** is fully supported; npm / yarn / bun support is experimental.
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
### Hello world
|
|
21
|
+
|
|
22
|
+
```json
|
|
23
|
+
{
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "xy build",
|
|
26
|
+
"compile": "xy compile",
|
|
27
|
+
"lint": "xy lint",
|
|
28
|
+
"test": "xy test",
|
|
29
|
+
"check": "xy check"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
22
32
|
```
|
|
23
33
|
|
|
24
|
-
|
|
34
|
+
```ts
|
|
35
|
+
// xy.config.ts
|
|
36
|
+
import type { XyConfig } from '@ariestools/toolchain'
|
|
25
37
|
|
|
26
|
-
|
|
27
|
-
|
|
38
|
+
const config: XyConfig = {}
|
|
39
|
+
export default config
|
|
28
40
|
```
|
|
29
41
|
|
|
30
|
-
|
|
42
|
+
```ts
|
|
43
|
+
// eslint.config.ts
|
|
44
|
+
import { recommendedConfig } from '@ariestools/eslint-config-flat'
|
|
31
45
|
|
|
32
|
-
|
|
33
|
-
bun add {{name}}
|
|
46
|
+
export default [...recommendedConfig({ tier: 3, isTypeChecked: true })]
|
|
34
47
|
```
|
|
35
48
|
|
|
36
|
-
|
|
49
|
+
```json
|
|
50
|
+
// tsconfig.json
|
|
51
|
+
{ "extends": "@ariestools/tsconfig", "include": ["src"] }
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Run `xy` from the **repository root**. Prefer `xy` in CI; `xyex` is labs. Catalog: `pnpm xy --stability`. Profiles: [docs/profiles.md](../../docs/profiles.md). Config fields: [docs/xy-config.md](../../docs/xy-config.md).
|
|
37
55
|
|
|
56
|
+
### `xy` vs `xyex`
|
|
57
|
+
|
|
58
|
+
| Binary | Channel |
|
|
59
|
+
|--------|---------|
|
|
60
|
+
| `xy` | Stable public CLI |
|
|
61
|
+
| `xyex` | Experimental supersets (may change without a major bump) |
|
|
62
|
+
|
|
63
|
+
Both are installed with this package. Prefer `xy` in CI. See the repo [stability policy](../../docs/STABILITY.md).
|
|
64
|
+
|
|
65
|
+
### Agent skills
|
|
66
|
+
|
|
67
|
+
Long-form agent docs: [`ariestools/ariestools-skills`](https://github.com/ariestools/ariestools-skills). Install with `pnpm xy skills lint --fix` or `npx skills add ariestools/ariestools-skills --all`.
|
|
68
|
+
|
|
69
|
+
## Create a new repo (`xy repo init`)
|
|
38
70
|
Scaffold a toolchain-ready repo. Omit the template to answer setup questions (monorepo, React, package manager, skills tier).
|
|
39
71
|
|
|
40
72
|
```sh
|
|
41
73
|
# Interactive (recommended for new projects)
|
|
42
74
|
npx --package=@ariestools/toolchain xy repo init
|
|
43
75
|
|
|
44
|
-
# Explicit template + name (
|
|
45
|
-
pnpm xy repo init cli my-cli --pm pnpm --
|
|
76
|
+
# Explicit template + name (defaults: pnpm, @ariestools, MIT, xy skills)
|
|
77
|
+
pnpm xy repo init cli my-cli --pm pnpm --yes
|
|
46
78
|
|
|
47
79
|
# Single-package React tooling
|
|
48
80
|
pnpm xy repo init cli my-app --no-monorepo --react --skills-tier xl1
|
|
@@ -52,10 +84,12 @@ Useful flags:
|
|
|
52
84
|
|
|
53
85
|
| Flag | Meaning |
|
|
54
86
|
|---|---|
|
|
55
|
-
| `--pm` | `pnpm` (default) / `yarn` / `npm` / `bun` |
|
|
87
|
+
| `--pm` | `pnpm` (default) / `yarn` / `npm` / `bun` (non-pnpm is experimental) |
|
|
88
|
+
| `--scope` | npm scope (default `@ariestools`; `none` for unscoped) |
|
|
89
|
+
| `--license` | SPDX id (default **MIT**, not the toolchain LGPL) |
|
|
56
90
|
| `--monorepo` / `--no-monorepo` | Workspace layout vs single package |
|
|
57
91
|
| `--react` / `--no-react` | `eslint-config-react-flat` + `tsconfig-react` vs flat |
|
|
58
|
-
| `--skills-tier` | `none` / `xy` / `xyo` / `xl1`
|
|
92
|
+
| `--skills-tier` | `none` / `xy` / `xyo` / `xl1` (default **xy**) |
|
|
59
93
|
| `--skills-optional` | With `xl1`, also install `xl1-scaffold` / `xl1-build` |
|
|
60
94
|
| `--skip-install` / `--skip-git` | Skip post-scaffold steps |
|
|
61
95
|
| `-y` / `--yes` | Accept wizard defaults (project name still required) |
|
|
@@ -245,14 +279,14 @@ Destinations must remain inside their configured `dist/<platform>` directory.
|
|
|
245
279
|
|
|
246
280
|
## License
|
|
247
281
|
|
|
248
|
-
See
|
|
282
|
+
LGPL-3.0-only. See [LICENSE](LICENSE) (LGPLv3) and [COPYING](COPYING) (GPLv3, incorporated by LGPL-3).
|
|
249
283
|
|
|
250
284
|
## Credits
|
|
251
285
|
|
|
252
|
-
[Made with 🔥 and ❄️ by
|
|
286
|
+
[Made with 🔥 and ❄️ by Aries Tools](https://ariestools.ai)
|
|
253
287
|
|
|
254
288
|
[npm-badge]: https://img.shields.io/npm/v/@ariestools/toolchain.svg
|
|
255
289
|
[npm-link]: https://www.npmjs.com/package/@ariestools/toolchain
|
|
256
290
|
[license-badge]: https://img.shields.io/npm/l/@ariestools/toolchain.svg
|
|
257
|
-
[license-link]: https://github.com/
|
|
291
|
+
[license-link]: https://github.com/ariestools/toolchain/blob/main/LICENSE
|
|
258
292
|
[logo]: https://cdn.xy.company/img/brand/XYPersistentCompany_Logo_Icon_Colored.svg
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUnlistedDependencies.d.ts","sourceRoot":"","sources":["../../../../src/actions/deplint/checkPackage/getUnlistedDependencies.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"getUnlistedDependencies.d.ts","sourceRoot":"","sources":["../../../../src/actions/deplint/checkPackage/getUnlistedDependencies.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAOrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAgDnF;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CACpC,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EAAE,EACvB,YAAY,EAAE,MAAM,EAAE,EACtB,cAAc,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GAC3B,OAAO,CAMT;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,cAAc,GAAG,iBAAiB,CAAA;CAC5C;AAED,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EAAE,EACtB,eAAe,EAAE,MAAM,EAAE,EACzB,gBAAgB,EAAE,MAAM,EAAE,EAC1B,mBAAmB,EAAE,MAAM,EAAE,EAC7B,uBAAuB,EAAE,MAAM,EAAE,GAChC,WAAW,EAAE,CAqBf;AAED,wBAAgB,uBAAuB,CACrC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,SAAS,EAC7B,EACE,YAAY,EAAE,eAAe,EAAE,gBAAgB,GAChD,EAAE,kBAAkB,EACrB,EACE,mBAAmB,EAAE,uBAAuB,EAAE,eAAe,GAC9D,EAAE,iBAAiB,UAWrB;AAED,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,SAAS,EACpB,EACE,YAAY,EAAE,eAAe,EAAE,gBAAgB,GAChD,EAAE,kBAAkB,EACrB,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,EAAE,iBAAiB,EACnE,cAAc,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,EAC5B,UAAU,CAAC,EAAE,OAAO,UA6BrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUnlistedDevDependencies.d.ts","sourceRoot":"","sources":["../../../../src/actions/deplint/checkPackage/getUnlistedDevDependencies.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"getUnlistedDevDependencies.d.ts","sourceRoot":"","sources":["../../../../src/actions/deplint/checkPackage/getUnlistedDevDependencies.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAMrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAEnF,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,EAAE,EACtB,eAAe,EAAE,MAAM,EAAE,EACzB,gBAAgB,EAAE,MAAM,EAAE,EAC1B,kBAAkB,EAAE,MAAM,EAAE,EAC5B,WAAW,EAAE,MAAM,EAAE,EACrB,uBAAuB,EAAE,MAAM,EAAE,GAChC,MAAM,EAAE,CAoBV;AAED,wBAAgB,0BAA0B,CACxC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,SAAS,EAC7B,EACE,eAAe,EAAE,YAAY,EAAE,gBAAgB,GAChD,EAAE,kBAAkB,EACrB,EACE,cAAc,EAAE,kBAAkB,EAAE,WAAW,EAAE,uBAAuB,GACzE,EAAE,iBAAiB,UAcrB;AAED,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,SAAS,EACpB,EACE,eAAe,EAAE,YAAY,EAAE,gBAAgB,GAChD,EAAE,kBAAkB,EACrB,EACE,kBAAkB,EAAE,WAAW,EAAE,uBAAuB,GACzD,EAAE,iBAAiB,UAerB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findFiles.d.ts","sourceRoot":"","sources":["../../../src/actions/deplint/findFiles.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"findFiles.d.ts","sourceRoot":"","sources":["../../../src/actions/deplint/findFiles.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAiG9D,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC5B;;OAEG;IACH,YAAY,CAAC,EAAE,mBAAmB,CAAA;IAClC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;CACzB;AAsND;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,sBAAsB,CAAC,EAAE,MAAM,EAAE,GAAG,gBAAgB;;IAiD5F;;MAEE;;;IAGF;;MAEE;;EAGL"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findFilesByGlob.d.ts","sourceRoot":"","sources":["../../../src/actions/deplint/findFilesByGlob.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"findFilesByGlob.d.ts","sourceRoot":"","sources":["../../../src/actions/deplint/findFilesByGlob.ts"],"names":[],"mappings":"AAiCA,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAE,MAAM,EAAO,YAIlF"}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
export declare function getBasePackageName(importName: string): string;
|
|
2
|
+
/**
|
|
3
|
+
* npm package names that are safe as package.json dependency keys.
|
|
4
|
+
* Rejects empty strings, `@scope` without a package, path-like leftovers
|
|
5
|
+
* (`/foo`), and other names the registry would not accept.
|
|
6
|
+
*/
|
|
7
|
+
export declare function isValidNpmDependencyName(name: string): boolean;
|
|
8
|
+
/** Package name derived from an import specifier, or undefined if it is not a real npm name. */
|
|
9
|
+
export declare function packageNameFromImport(importName: string): string | undefined;
|
|
2
10
|
//# sourceMappingURL=getBasePackageName.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBasePackageName.d.ts","sourceRoot":"","sources":["../../../src/actions/deplint/getBasePackageName.ts"],"names":[],"mappings":"AAAA,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,UAOpD"}
|
|
1
|
+
{"version":3,"file":"getBasePackageName.d.ts","sourceRoot":"","sources":["../../../src/actions/deplint/getBasePackageName.ts"],"names":[],"mappings":"AAAA,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,UAOpD;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAU9D;AAMD,gGAAgG;AAChG,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAG5E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageEditor.d.ts","sourceRoot":"","sources":["../../../src/actions/deplint/packageEditor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"packageEditor.d.ts","sourceRoot":"","sources":["../../../src/actions/deplint/packageEditor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAWlD,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAE/D,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,KAAK,CAAQ;IAErB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAa;IAEjC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAW;IAErC,YAAY,SAAS,EAAE,SAAS,EAG/B;IAED,QAAQ,CAAC,GAAG,EAAE,UAAU,GAAG,iBAAiB,GAAG,SAAS,CAoDvD;IAED,IAAI,IAAI,IAAI,CAGX;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageJsonEditor.d.ts","sourceRoot":"","sources":["../../../src/actions/deplint/packageJsonEditor.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"packageJsonEditor.d.ts","sourceRoot":"","sources":["../../../src/actions/deplint/packageJsonEditor.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incremental.d.ts","sourceRoot":"","sources":["../../src/actions/incremental.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"incremental.d.ts","sourceRoot":"","sources":["../../src/actions/incremental.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/D,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAA;AAExE,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AASD,UAAU,oBAAoB;IAC5B,gBAAgB,EAAE,MAAM,CAAA;IACxB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,MAAM,CAAA;IACvB,iBAAiB,EAAE,MAAM,CAAA;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,iBAAiB,CAAA;IACzB,YAAY,EAAE,MAAM,CAAA;IACpB,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACzC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,EAAE,MAAM,CAAA;IACxB,OAAO,EAAE,CAAC,CAAA;IACV,kBAAkB,EAAE,MAAM,CAAA;IAC1B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAA;CACjD;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,iBAAiB,CAAA;IACzB,sBAAsB,EAAE,MAAM,EAAE,CAAA;IAChC,OAAO,EAAE,mBAAmB,CAAA;IAC5B,IAAI,EAAE,OAAO,CAAA;IACb,QAAQ,CAAC,EAAE,mBAAmB,CAAA;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,2BAA2B;IAC1C,MAAM,EAAE,iBAAiB,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,EAAE,EAAE,cAAc,CAAA;IAClB,UAAU,EAAE,oBAAoB,EAAE,CAAA;CACnC;AA8bD,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,2BAA2B,GAAG,eAAe,CAiC1F;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,2BAA2B,GAAG,IAAI,CAKlF;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI,CAIxE"}
|
|
@@ -43,7 +43,7 @@ export interface LiveShareConfig extends PathConfig {
|
|
|
43
43
|
* `#module` imports — layout sync, library compile with computed entries,
|
|
44
44
|
* and declaration import rewriting (see MonolithConfig)
|
|
45
45
|
* - `transpile`: emit one output file per source file without rolling up imports
|
|
46
|
-
* - `tsc`: reserved for pure TypeScript emit (not wired into `packageCompile` yet)
|
|
46
|
+
* - `tsc`: reserved for pure TypeScript emit (not wired into `packageCompile` yet; experimental)
|
|
47
47
|
* - `vendor`: copy pre-compiled workspace package dist into a shared vendor tree,
|
|
48
48
|
* rewrite scoped imports to relative paths, and emit umbrella subpath shims
|
|
49
49
|
*/
|
|
@@ -164,10 +164,10 @@ export interface CompileConfig {
|
|
|
164
164
|
* type-validation pass.
|
|
165
165
|
* - `per-package` (default): spawn `tsc -p` in every workspace
|
|
166
166
|
* (`package-compile --validate-only`).
|
|
167
|
-
* - `shared
|
|
167
|
+
* - `shared` (experimental): validate all packages in one process with a shared
|
|
168
168
|
* source-file cache (the `xy tsc-validate` engine). Each package is
|
|
169
169
|
* still checked under its own tsconfig options; total work drops
|
|
170
|
-
* because shared dependency declarations are parsed once.
|
|
170
|
+
* because shared dependency declarations are parsed once. May change on a minor.
|
|
171
171
|
* Single-package compiles (`xy compile <pkg>`) always validate in-package.
|
|
172
172
|
*/
|
|
173
173
|
validator?: 'per-package' | 'shared';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../../../src/actions/package/compile/compile.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAE7C,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,eAAO,MAAM,cAAc,cAAoB,QAAQ,SAAa,kBAAkB,KAAQ,OAAO,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../../../src/actions/package/compile/compile.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAE7C,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,eAAO,MAAM,cAAc,cAAoB,QAAQ,SAAa,kBAAkB,KAAQ,OAAO,CAAC,MAAM,CAsB3G,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-lint-specs.d.ts","sourceRoot":"","sources":["../../src/actions/package-lint-specs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"package-lint-specs.d.ts","sourceRoot":"","sources":["../../src/actions/package-lint-specs.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAmCnD;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,MAAM,EACX,UAAU,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,GAC/C,UAAU,CA0BZ"}
|
|
@@ -12,11 +12,16 @@ export interface PublishParams {
|
|
|
12
12
|
*/
|
|
13
13
|
chunkSize?: number;
|
|
14
14
|
isVerbose?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* npm dist-tag (`latest`, `next`, `canary`, …). Prefer `next` for
|
|
17
|
+
* prereleases so `latest` stays on intentional stable cuts.
|
|
18
|
+
*/
|
|
19
|
+
tag?: string;
|
|
15
20
|
}
|
|
16
21
|
type PublishAuthCommand = 'npm' | 'pnpm';
|
|
17
22
|
export declare function publishAuthCommand(pmName?: PackageManagerName): PublishAuthCommand;
|
|
18
23
|
export declare function didEnsureNpmAuthenticated(): boolean;
|
|
19
24
|
export declare function didEnsurePublishAuthenticated(pmName?: PackageManagerName): boolean;
|
|
20
|
-
export declare const publish: ({ chunkSize, isVerbose }?: PublishParams) => number;
|
|
25
|
+
export declare const publish: ({ chunkSize, isVerbose, tag, }?: PublishParams) => number;
|
|
21
26
|
export {};
|
|
22
27
|
//# sourceMappingURL=publish.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../src/actions/publish.ts"],"names":[],"mappings":"AAGA,OAAO,EACoC,KAAK,kBAAkB,EACjE,MAAM,gBAAgB,CAAA;AAEvB,MAAM,WAAW,aAAa;IAC5B;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../src/actions/publish.ts"],"names":[],"mappings":"AAGA,OAAO,EACoC,KAAK,kBAAkB,EACjE,MAAM,gBAAgB,CAAA;AAEvB,MAAM,WAAW,aAAa;IAC5B;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAQD,KAAK,kBAAkB,GAAG,KAAK,GAAG,MAAM,CAAA;AAgCxC,wBAAgB,kBAAkB,CAAC,MAAM,GAAE,kBAA2C,GAAG,kBAAkB,CAE1G;AAmBD,wBAAgB,yBAAyB,IAAI,OAAO,CAEnD;AA2BD,wBAAgB,6BAA6B,CAAC,MAAM,GAAE,kBAA2C,GAAG,OAAO,CAE1G;AAED,eAAO,MAAM,OAAO,oCAEjB,aAAa,WAmCf,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { RepoInitParams } from './types.ts';
|
|
2
|
-
export { resolveRepoInitPlan } from './resolvePlan.ts';
|
|
2
|
+
export { normalizeRepoInitScope, resolveRepoInitPlan } from './resolvePlan.ts';
|
|
3
3
|
export { skillsInstallPlansForTier } from './skillsInstall.ts';
|
|
4
4
|
export { buildTemplateVariables } from './templateVars.ts';
|
|
5
5
|
export type { RepoInitPackageManager, RepoInitParams, RepoInitPlan, } from './types.ts';
|
|
6
|
+
export { DEFAULT_REPO_INIT_AUTHOR_EMAIL, DEFAULT_REPO_INIT_AUTHOR_NAME, DEFAULT_REPO_INIT_AUTHOR_URL, DEFAULT_REPO_INIT_LICENSE, DEFAULT_REPO_INIT_SCOPE, } from './types.ts';
|
|
6
7
|
export declare function repoInit(params: RepoInitParams): Promise<number>;
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/repo-init/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAEhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/repo-init/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAEhD,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAC1D,YAAY,EACV,sBAAsB,EAAE,cAAc,EAAE,YAAY,GACrD,MAAM,YAAY,CAAA;AACnB,OAAO,EACL,8BAA8B,EAC9B,6BAA6B,EAC7B,4BAA4B,EAC5B,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,YAAY,CAAA;AAEnB,wBAAsB,QAAQ,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAqCtE"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { RepoInitParams, RepoInitPlan } from './types.ts';
|
|
2
|
+
export declare function normalizeRepoInitScope(raw: string): string;
|
|
2
3
|
/**
|
|
3
4
|
* When template is provided, fill only missing fields (legacy non-wizard path).
|
|
4
5
|
* When template is omitted, run the interactive wizard (unless --yes supplies defaults).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolvePlan.d.ts","sourceRoot":"","sources":["../../../src/actions/repo-init/resolvePlan.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACc,cAAc,EAAE,YAAY,EACrD,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"resolvePlan.d.ts","sourceRoot":"","sources":["../../../src/actions/repo-init/resolvePlan.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACc,cAAc,EAAE,YAAY,EACrD,MAAM,YAAY,CAAA;AA+GnB,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAI1D;AA4JD;;;GAGG;AACH,wBAAsB,mBAAmB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAwBnG"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { RepoInitPackageManager, RepoInitPlan } from './types.ts';
|
|
2
2
|
export declare function packageManagerField(pm: RepoInitPackageManager): string;
|
|
3
3
|
export declare function xyCommandForPm(pm: RepoInitPackageManager): string;
|
|
4
|
+
export declare function licenseFileContents(license: string, year: number, authorName: string): string;
|
|
4
5
|
export declare function buildTemplateVariables(plan: RepoInitPlan): Record<string, string>;
|
|
5
6
|
//# sourceMappingURL=templateVars.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templateVars.d.ts","sourceRoot":"","sources":["../../../src/actions/repo-init/templateVars.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAEtE,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,sBAAsB,GAAG,MAAM,CAetE;AAED,wBAAgB,cAAc,CAAC,EAAE,EAAE,sBAAsB,GAAG,MAAM,CAYjE;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"templateVars.d.ts","sourceRoot":"","sources":["../../../src/actions/repo-init/templateVars.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAEtE,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,sBAAsB,GAAG,MAAM,CAetE;AAED,wBAAgB,cAAc,CAAC,EAAE,EAAE,sBAAsB,GAAG,MAAM,CAYjE;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CA0B7F;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAoEjF"}
|
|
@@ -3,10 +3,21 @@ import type { SkillTier } from '../skills/skillRules.ts';
|
|
|
3
3
|
* Package managers supported by `xy repo init` scaffolding.
|
|
4
4
|
*/
|
|
5
5
|
export type RepoInitPackageManager = 'bun' | 'npm' | 'pnpm' | 'yarn';
|
|
6
|
+
/** Default npm scope for `--yes` and the wizard fallback. Not `@xylabs`. */
|
|
7
|
+
export declare const DEFAULT_REPO_INIT_SCOPE = "@ariestools";
|
|
8
|
+
export declare const DEFAULT_REPO_INIT_LICENSE = "MIT";
|
|
9
|
+
export declare const DEFAULT_REPO_INIT_AUTHOR_NAME = "Aries Tools";
|
|
10
|
+
export declare const DEFAULT_REPO_INIT_AUTHOR_EMAIL = "support@ariestools.ai";
|
|
11
|
+
export declare const DEFAULT_REPO_INIT_AUTHOR_URL = "https://ariestools.ai";
|
|
6
12
|
export interface RepoInitParams {
|
|
13
|
+
author?: string;
|
|
14
|
+
authorEmail?: string;
|
|
15
|
+
authorUrl?: string;
|
|
7
16
|
description?: string;
|
|
8
17
|
githubOrg?: string;
|
|
18
|
+
homepage?: string;
|
|
9
19
|
isVerbose?: boolean;
|
|
20
|
+
license?: string;
|
|
10
21
|
monorepo?: boolean;
|
|
11
22
|
name?: string;
|
|
12
23
|
packageName?: string;
|
|
@@ -21,9 +32,14 @@ export interface RepoInitParams {
|
|
|
21
32
|
yes?: boolean;
|
|
22
33
|
}
|
|
23
34
|
export interface RepoInitPlan {
|
|
35
|
+
authorEmail: string;
|
|
36
|
+
authorName: string;
|
|
37
|
+
authorUrl: string;
|
|
24
38
|
description: string;
|
|
25
39
|
githubOrg: string;
|
|
40
|
+
homepage: string;
|
|
26
41
|
isVerbose: boolean;
|
|
42
|
+
license: string;
|
|
27
43
|
monorepo: boolean;
|
|
28
44
|
name: string;
|
|
29
45
|
packageName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/actions/repo-init/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAExD;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,CAAA;AAEpE,MAAM,WAAW,cAAc;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,EAAE,CAAC,EAAE,sBAAsB,CAAA;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,GAAG,CAAC,EAAE,OAAO,CAAA;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,EAAE,EAAE,sBAAsB,CAAA;IAC1B,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,OAAO,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,cAAc,EAAE,OAAO,CAAA;IACvB,UAAU,EAAE,SAAS,CAAA;IACrB,OAAO,EAAE,OAAO,CAAA;IAChB,WAAW,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;CACjB"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/actions/repo-init/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAExD;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,CAAA;AAEpE,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB,gBAAgB,CAAA;AAEpD,eAAO,MAAM,yBAAyB,QAAQ,CAAA;AAE9C,eAAO,MAAM,6BAA6B,gBAAgB,CAAA;AAE1D,eAAO,MAAM,8BAA8B,0BAA0B,CAAA;AAErE,eAAO,MAAM,4BAA4B,0BAA0B,CAAA;AAEnE,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,EAAE,CAAC,EAAE,sBAAsB,CAAA;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,GAAG,CAAC,EAAE,OAAO,CAAA;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,OAAO,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,EAAE,EAAE,sBAAsB,CAAA;IAC1B,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,OAAO,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,cAAc,EAAE,OAAO,CAAA;IACvB,UAAU,EAAE,SAAS,CAAA;IACrB,OAAO,EAAE,OAAO,CAAA;IAChB,WAAW,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;CACjB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { buildTemplateVariables, repoInit, type RepoInitPackageManager, type RepoInitParams, type RepoInitPlan, resolveRepoInitPlan, skillsInstallPlansForTier, } from './repo-init/index.ts';
|
|
1
|
+
export { buildTemplateVariables, DEFAULT_REPO_INIT_AUTHOR_EMAIL, DEFAULT_REPO_INIT_AUTHOR_NAME, DEFAULT_REPO_INIT_AUTHOR_URL, DEFAULT_REPO_INIT_LICENSE, DEFAULT_REPO_INIT_SCOPE, normalizeRepoInitScope, repoInit, type RepoInitPackageManager, type RepoInitParams, type RepoInitPlan, resolveRepoInitPlan, skillsInstallPlansForTier, } from './repo-init/index.ts';
|
|
2
2
|
//# sourceMappingURL=repo-init.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repo-init.d.ts","sourceRoot":"","sources":["../../src/actions/repo-init.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,QAAQ,EACR,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAA"}
|
|
1
|
+
{"version":3,"file":"repo-init.d.ts","sourceRoot":"","sources":["../../src/actions/repo-init.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,8BAA8B,EAC9B,6BAA6B,EAC7B,4BAA4B,EAC5B,yBAAyB,EACzB,uBAAuB,EACvB,sBAAsB,EACtB,QAAQ,EACR,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAA"}
|
|
@@ -7,11 +7,25 @@ Source of truth for xyo-knowledge and xl1-* skills.
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const XYO_SKILLS_SOURCE = "XYOracleNetwork/xyo-skills";
|
|
9
9
|
export declare const ARIESTOOLS_SKILLS: readonly ['ariestools-sdk', 'xy-development', 'xy-toolchain'];
|
|
10
|
-
export declare const XYO_STACK_SKILLS: readonly ['xl1-build', 'xl1-knowledge', 'xl1-patterns', 'xl1-scaffold', 'xl1-testing', 'xyo-knowledge'];
|
|
10
|
+
export declare const XYO_STACK_SKILLS: readonly ['xl1-build', 'xl1-dapp-kit', 'xl1-knowledge', 'xl1-patterns', 'xl1-scaffold', 'xl1-testing', 'xyo-knowledge'];
|
|
11
|
+
/**
|
|
12
|
+
* Skills that used to live in xyo-skills and now live in ariestools-skills.
|
|
13
|
+
* `xy skills lint` reports (and `--fix` reinstalls) lockfile entries still on `from`.
|
|
14
|
+
*/
|
|
15
|
+
export declare const MIGRATED_SKILLS: readonly [{
|
|
16
|
+
readonly from: "XYOracleNetwork/xyo-skills";
|
|
17
|
+
readonly name: 'xy-development';
|
|
18
|
+
readonly to: "ariestools/ariestools-skills";
|
|
19
|
+
}, {
|
|
20
|
+
readonly from: "XYOracleNetwork/xyo-skills";
|
|
21
|
+
readonly name: 'xy-toolchain';
|
|
22
|
+
readonly to: "ariestools/ariestools-skills";
|
|
23
|
+
}];
|
|
24
|
+
export type MigratedSkillName = (typeof MIGRATED_SKILLS)[number]['name'];
|
|
11
25
|
/**
|
|
12
26
|
All skills managed by `xy skills` conveniences (both sources).
|
|
13
27
|
*/
|
|
14
|
-
export declare const XYO_DEFAULT_SKILLS: readonly ["ariestools-sdk", "xy-development", "xy-toolchain", "xl1-build", "xl1-knowledge", "xl1-patterns", "xl1-scaffold", "xl1-testing", "xyo-knowledge"];
|
|
28
|
+
export declare const XYO_DEFAULT_SKILLS: readonly ["ariestools-sdk", "xy-development", "xy-toolchain", "xl1-build", "xl1-dapp-kit", "xl1-knowledge", "xl1-patterns", "xl1-scaffold", "xl1-testing", "xyo-knowledge"];
|
|
15
29
|
export declare const hasSkillsAgentFlag: (args: readonly string[]) => boolean;
|
|
16
30
|
export interface SkillInstallPlan {
|
|
17
31
|
selector: readonly string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/actions/skills/defaults.ts"],"names":[],"mappings":"AAEA;;EAEE;AACF,eAAO,MAAM,wBAAwB,iCAAiC,CAAA;AAEtE;;EAEE;AACF,eAAO,MAAM,iBAAiB,+BAA+B,CAAA;AAE7D,eAAO,MAAM,iBAAiB,YAC5B,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,CACN,CAAA;AAEV,eAAO,MAAM,gBAAgB,YAC3B,WAAW,EACX,eAAe,EACf,cAAc,EACd,cAAc,EACd,aAAa,EACb,eAAe,CACP,CAAA;AAEV;;EAEE;AACF,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/actions/skills/defaults.ts"],"names":[],"mappings":"AAEA;;EAEE;AACF,eAAO,MAAM,wBAAwB,iCAAiC,CAAA;AAEtE;;EAEE;AACF,eAAO,MAAM,iBAAiB,+BAA+B,CAAA;AAE7D,eAAO,MAAM,iBAAiB,YAC5B,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,CACN,CAAA;AAEV,eAAO,MAAM,gBAAgB,YAC3B,WAAW,EACX,cAAc,EACd,eAAe,EACf,cAAc,EACd,cAAc,EACd,aAAa,EACb,eAAe,CACP,CAAA;AAEV;;;GAGG;AACH,eAAO,MAAM,eAAe;aAExB,IAAI;aAAqB,IAAI,EAAE,gBAAgB;aAAE,EAAE;;aAGnD,IAAI;aAAqB,IAAI,EAAE,cAAc;aAAE,EAAE;EAE3C,CAAA;AAEV,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA;AAExE;;EAEE;AACF,eAAO,MAAM,kBAAkB,6KAGrB,CAAA;AAIV,eAAO,MAAM,kBAAkB,SAAU,SAAS,MAAM,EAAE,KAAG,OAE5D,CAAA;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAA;IAC3B,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;;GAGG;AACH,eAAO,MAAM,0BAA0B,SAAU,SAAS,MAAM,EAAE,KAAG,gBAAgB,EAOpF,CAAA;AAED;;EAEE;AACF,eAAO,MAAM,kBAAkB,SAAU,SAAS,MAAM,EAAE,KAAG,MAAM,EAGlE,CAAA;AAED,eAAO,MAAM,kBAAkB,cAAe,MAAM,KAAG,MAKtD,CAAA;AAED,eAAO,MAAM,cAAc,SAAgB,SAAS,MAAM,EAAE,KAAG,OAAO,CAAC,MAAM,CAM5E,CAAA"}
|
|
@@ -2,8 +2,8 @@ export * from './defaults.ts';
|
|
|
2
2
|
export * from './detectProfile.ts';
|
|
3
3
|
export * from './installed.ts';
|
|
4
4
|
export * from './lint.ts';
|
|
5
|
+
export * from './lock.ts';
|
|
5
6
|
export * from './passthrough.ts';
|
|
6
7
|
export * from './skillRules.ts';
|
|
7
|
-
export * from './updo.ts';
|
|
8
8
|
export * from './versions.ts';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/skills/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/skills/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA"}
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import type { EnvelopeReturn } from '../../lib/index.ts';
|
|
2
2
|
import type { RuleCheckDefinition } from '../ruleRunner.ts';
|
|
3
3
|
import { type RepoProfile } from './detectProfile.ts';
|
|
4
|
+
import { type UnmigratedSkill } from './lock.ts';
|
|
4
5
|
import { type SkillTier, type XyoSkillName } from './skillRules.ts';
|
|
5
6
|
export interface SkillsLintOptions {
|
|
6
7
|
cwd?: string;
|
|
7
8
|
fix?: boolean;
|
|
8
9
|
globalDir?: string;
|
|
10
|
+
/** Override for tests. Defaults to `skills add <canonical-source> --skill <name> -y`. */
|
|
11
|
+
installSkill?: (skillName: XyoSkillName) => Promise<number>;
|
|
9
12
|
isOffline?: boolean;
|
|
10
13
|
isStrict?: boolean;
|
|
14
|
+
/** Override for tests. Skips the GitHub version fetch when set. */
|
|
15
|
+
latestVersions?: ReadonlyMap<XyoSkillName, string | undefined>;
|
|
11
16
|
projectDirs?: string[];
|
|
12
17
|
strict?: boolean;
|
|
13
18
|
}
|
|
@@ -30,9 +35,11 @@ interface SkillsLintContext {
|
|
|
30
35
|
cwd: string;
|
|
31
36
|
duplicates: string[];
|
|
32
37
|
globalDir: string;
|
|
38
|
+
installSkill: (skillName: XyoSkillName) => Promise<number>;
|
|
33
39
|
missing: XyoSkillName[];
|
|
34
40
|
outdated: OutdatedSkill[];
|
|
35
41
|
profile: RepoProfile;
|
|
42
|
+
unmigrated: UnmigratedSkill[];
|
|
36
43
|
unnecessary: XyoSkillName[];
|
|
37
44
|
}
|
|
38
45
|
export declare const SKILLS_LINT_RULES: RuleCheckDefinition<SkillsLintContext>[];
|