@itrocks/handbook 0.0.9 → 0.0.10
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.
|
@@ -17,6 +17,9 @@ Name the facade after the package unless `index.ts` is the intended public entry
|
|
|
17
17
|
Use `build.ts` for browser registration and `transformers.ts` for transformer registration.
|
|
18
18
|
Use separate CJS/ESM builds only when consumers require both; reference `route`.
|
|
19
19
|
|
|
20
|
+
When creating a package, check the current project's `.idea/vcs.xml`. If it exists and lists `@itrocks` package
|
|
21
|
+
repositories, add a Git mapping for the new package, following the existing path format and ordering.
|
|
22
|
+
|
|
20
23
|
## Compiler and publication
|
|
21
24
|
|
|
22
25
|
Start from the closest reference package and remove unused options.
|
|
@@ -27,6 +30,8 @@ Exclude `src/front` from the backend build. Mixed browser builds extend the base
|
|
|
27
30
|
Use `@itrocks/prepare-module` where compiled browser subpaths must be copied to the root.
|
|
28
31
|
|
|
29
32
|
Package metadata includes author, description, keywords, homepage, license, scoped name, repository and version.
|
|
33
|
+
For every new `@itrocks/*` package, set the
|
|
34
|
+
[mandatory framework and scope keywords](../documentation/package-metadata.md#keywords) according to its scope.
|
|
30
35
|
Start an unreleased package at `0.0.1`; follow [package versioning](../README.md#package-versioning) for existing packages.
|
|
31
36
|
Use `itrocks-ts/<package>` for the repository and keep the license consistent with `LICENSE`.
|
|
32
37
|
|
|
@@ -15,8 +15,15 @@ Avoid the package name, version claims, marketing adjectives and secondary featu
|
|
|
15
15
|
## Keywords
|
|
16
16
|
|
|
17
17
|
Use unique, relevant search terms drawn from the package's capability, operations, platform and technologies.
|
|
18
|
-
|
|
18
|
+
Every `@itrocks/*` package must include `it.rocks` and at least one scope keyword in `package.json.keywords`:
|
|
19
|
+
|
|
20
|
+
- `backend` for backend packages.
|
|
21
|
+
- `front-end` for browser or user interface packages, including CSS-only packages.
|
|
22
|
+
- Both `backend` and `front-end` for packages covering both scopes.
|
|
23
|
+
|
|
24
|
+
Apply this rule systematically when creating a package or updating its scope.
|
|
25
|
+
Prefer 7–15 terms; relevance takes precedence over the count.
|
|
19
26
|
Use lowercase except established acronyms; sort alphabetically, ignoring case.
|
|
20
27
|
Do not add vague terms, dependency inventories or spelling variants merely to increase the count.
|
|
21
28
|
|
|
22
|
-
Parse the JSON and check description agreement, keyword uniqueness and ordering after editing.
|
|
29
|
+
Parse the JSON and check description agreement, mandatory keywords, keyword uniqueness and ordering after editing.
|
package/package.json
CHANGED