@effected/changesets 0.3.0 → 0.4.1

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.
Files changed (3) hide show
  1. package/index.d.ts +12 -0
  2. package/lint.d.ts +11 -0
  3. package/package.json +7 -7
package/index.d.ts CHANGED
@@ -1,3 +1,15 @@
1
+ /**
2
+ * Changeset files, `.changeset/config.json` and the release plan as Effect
3
+ * schemas and pure functions.
4
+ *
5
+ * @remarks
6
+ * {@link ChangesetFile} parses one file and {@link PendingChangesets} reads a
7
+ * repository's pending set. {@link ChangesetConfig} decodes the config.
8
+ * {@link ReleasePlan} works out what those release, including packages reached
9
+ * only as dependents. Nothing here writes a changeset or versions a package.
10
+ *
11
+ * @packageDocumentation
12
+ */
1
13
  import { Effect, FileSystem, Option, Path, PlatformError, Result, Schema } from "effect";
2
14
  import { WorkspaceDiscovery, WorkspaceDiscoveryError, WorkspacePackage, WorkspaceRootNotFoundError } from "@effected/workspaces";
3
15
  import { InvalidVersionError } from "@effected/semver";
package/lint.d.ts CHANGED
@@ -1,3 +1,14 @@
1
+ /**
2
+ * Lint rules for changeset files that hold under any house style, as
3
+ * `@effected/markdown-lint` rules: the checks the changesets tool itself
4
+ * makes, plus package existence when the workspace's names are given.
5
+ *
6
+ * @remarks
7
+ * A separate entry point, so the root never reaches `@effected/markdown` or
8
+ * `@effected/markdown-lint`: both are optional peers, needed only here.
9
+ *
10
+ * @packageDocumentation
11
+ */
1
12
  import { LintDiagnostic, LintRule, MarkdownLintOptions } from "@effected/markdown-lint";
2
13
  /**
3
14
  * Options for {@link ChangesetLint.lint}: `MarkdownLint`'s parse options,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effected/changesets",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "private": false,
5
5
  "description": "Changeset files, `.changeset/config.json` and the release plan as Effect schemas and pure functions.",
6
6
  "keywords": [
@@ -42,14 +42,14 @@
42
42
  "./package.json": "./package.json"
43
43
  },
44
44
  "dependencies": {
45
- "@effected/glob": "^0.20.0",
46
- "@effected/semver": "^0.23.0",
47
- "@effected/workspaces": "^0.44.2",
48
- "@effected/yaml": "^0.29.0"
45
+ "@effected/glob": "^0.21.0",
46
+ "@effected/semver": "^0.24.0",
47
+ "@effected/workspaces": "^0.46.0",
48
+ "@effected/yaml": "^0.30.0"
49
49
  },
50
50
  "peerDependencies": {
51
- "@effected/markdown": "^0.28.0",
52
- "@effected/markdown-lint": "^0.1.1",
51
+ "@effected/markdown": "^0.29.0",
52
+ "@effected/markdown-lint": "^0.2.0",
53
53
  "effect": "~4.1.0"
54
54
  },
55
55
  "peerDependenciesMeta": {