@motionscript/patterns 0.4.0-alpha.0 → 0.4.1-alpha.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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @motionscript/patterns
2
2
 
3
+ ## 0.4.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 640afd2: **Deprecated: `@motionscript/grids`, `@motionscript/patterns` and `@motionscript/audio` are retired, for removal in 0.5.0.** They keep working through 0.4.x and get no further changes. Every root export is marked `@deprecated`, and CI fails a kit retired this way once it reaches its removal release.
8
+ - @motionscript/sdk@0.4.1-alpha.0
9
+
10
+ ## 0.4.0
11
+
12
+ ### Minor Changes
13
+
14
+ - b996da5: Versioned component-API paths. `@motionscript/sdk/v1`, `@motionscript/sdk/v1/component` and each kit's `@motionscript/<kit>/v1` are the v1 API, today exactly the bare paths. A custom component imports the `/v1` paths, so a later major, which ships a v1 shim in the same engine, keeps it linking against one core. A bare import means the latest API, for npm users who follow the newest release. Each kit's `./kit` stays unstable and unversioned.
15
+
16
+ A dynamic node's `require("@motionscript/sdk/v1")` resolves to the host's `sdk`, as `@motionscript/sdk` does, and the error for an unknown specifier now names `@motionscript/sdk/v1`. `@motionscript/sdk/v1/component` and the kit paths link through `dynamicNodes.modules`, like `@motionscript/sdk/component`.
17
+
3
18
  ## 0.4.0-alpha.0
4
19
 
5
20
  ### Minor Changes
package/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # @motionscript/patterns
2
2
 
3
+ > **Deprecated.** The patterns kit is retired and is removed in 0.5.0. It gets no
4
+ > further changes; pin a 0.4 release if a project still uses it.
5
+
3
6
  Grid backgrounds for [Motion Script](https://motionscript.dev): `LineGridPattern`
4
7
  and `DotGridPattern` fill a box of their own, and `GridPattern` is an infinite
5
8
  grid that fills whatever a `Camera` can currently see.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@motionscript/patterns",
3
- "version": "0.4.0-alpha.0",
3
+ "version": "0.4.1-alpha.0",
4
4
  "exports": {
5
5
  ".": "dist/browser/index.js",
6
6
  "./v1": "dist/browser/v1.js",
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { LineGridPattern } from "./line-grid-pattern/index.js";
2
- export { DotGridPattern } from "./dot-grid-pattern/index.js";
3
- export { GridPattern } from "./grid-pattern/index.js";
4
- export { NODES } from "./nodes.js";
1
+ export { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ LineGridPattern } from "./line-grid-pattern/index.js";
2
+ export { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ DotGridPattern } from "./dot-grid-pattern/index.js";
3
+ export { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ GridPattern } from "./grid-pattern/index.js";
4
+ export { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ NODES } from "./nodes.js";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gEAAgE,CAAC,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACtH,OAAO,EAAE,gEAAgE,CAAC,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACpH,OAAO,EAAE,gEAAgE,CAAC,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC7G,OAAO,EAAE,gEAAgE,CAAC,KAAK,EAAE,MAAM,SAAS,CAAA"}
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // The public surface, named one by one; everything else is `./kit` (`unstable.ts`).
2
- export { LineGridPattern } from "./line-grid-pattern/index.js";
3
- export { DotGridPattern } from "./dot-grid-pattern/index.js";
4
- export { GridPattern } from "./grid-pattern/index.js";
5
- export { NODES } from "./nodes.js";
2
+ export { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ LineGridPattern } from "./line-grid-pattern/index.js";
3
+ export { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ DotGridPattern } from "./dot-grid-pattern/index.js";
4
+ export { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ GridPattern } from "./grid-pattern/index.js";
5
+ export { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ NODES } from "./nodes.js";
6
6
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA","sourcesContent":["// The public surface, named one by one; everything else is `./kit` (`unstable.ts`).\nexport { LineGridPattern } from \"./line-grid-pattern\"\nexport { DotGridPattern } from \"./dot-grid-pattern\"\nexport { GridPattern } from \"./grid-pattern\"\nexport { NODES } from \"./nodes\"\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,OAAO,EAAE,gEAAgE,CAAC,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACtH,OAAO,EAAE,gEAAgE,CAAC,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACpH,OAAO,EAAE,gEAAgE,CAAC,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC7G,OAAO,EAAE,gEAAgE,CAAC,KAAK,EAAE,MAAM,SAAS,CAAA","sourcesContent":["// The public surface, named one by one; everything else is `./kit` (`unstable.ts`).\nexport { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ LineGridPattern } from \"./line-grid-pattern\"\nexport { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ DotGridPattern } from \"./dot-grid-pattern\"\nexport { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ GridPattern } from \"./grid-pattern\"\nexport { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ NODES } from \"./nodes\"\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@motionscript/patterns",
3
- "version": "0.4.0-alpha.0",
3
+ "version": "0.4.1-alpha.0",
4
4
  "type": "module",
5
5
  "description": "Background patterns for Motion Script: line and dot grids that fill a box, and an infinite grid that fills whatever a camera can see.",
6
6
  "repository": {
@@ -54,8 +54,14 @@
54
54
  ],
55
55
  "license": "Apache-2.0",
56
56
  "author": "Motionscript",
57
+ "motionscript": {
58
+ "deprecated": {
59
+ "removeIn": "0.5.0",
60
+ "message": "@motionscript/patterns is retired and is removed in 0.5.0. It gets no further changes."
61
+ }
62
+ },
57
63
  "peerDependencies": {
58
- "@motionscript/sdk": "^0.4.0-alpha.0"
64
+ "@motionscript/sdk": "^0.4.1-alpha.0"
59
65
  },
60
66
  "devDependencies": {
61
67
  "@types/node": "^25.6.2",
@@ -66,8 +72,8 @@
66
72
  "typescript": "^6.0.3",
67
73
  "typescript-eslint": "^8.48.0",
68
74
  "vitest": "^4.1.5",
69
- "@motionscript/core": "0.4.0-alpha.0",
70
- "@motionscript/sdk": "0.4.0-alpha.0"
75
+ "@motionscript/core": "0.4.1-alpha.0",
76
+ "@motionscript/sdk": "0.4.1-alpha.0"
71
77
  },
72
78
  "scripts": {
73
79
  "build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json --resolve-full-paths && node ../../../scripts/build-browser.mjs",
package/registry.json CHANGED
@@ -6,19 +6,19 @@
6
6
  "items": [
7
7
  {
8
8
  "name": "line-grid-pattern",
9
- "description": "A rectangular grid of lines in a fixed box, with minor lines between the major ones and an offset that scrolls it.",
9
+ "description": "Retired, removed in 0.5.0. A rectangular grid of lines in a fixed box, with minor lines between the major ones and an offset that scrolls it.",
10
10
  "root": "src/line-grid-pattern",
11
11
  "files": ["index.ts", "line-grid-pattern.ts"]
12
12
  },
13
13
  {
14
14
  "name": "dot-grid-pattern",
15
- "description": "A field of dots on the same divisions and offset as a line grid, so one laid over the other lines up.",
15
+ "description": "Retired, removed in 0.5.0. A field of dots on the same divisions and offset as a line grid, so one laid over the other lines up.",
16
16
  "root": "src/dot-grid-pattern",
17
17
  "files": ["index.ts", "dot-grid-pattern.ts"]
18
18
  },
19
19
  {
20
20
  "name": "grid-pattern",
21
- "description": "An infinite world-anchored line grid that fills whatever the camera can see, with dashes locked to the world.",
21
+ "description": "Retired, removed in 0.5.0. An infinite world-anchored line grid that fills whatever the camera can see, with dashes locked to the world.",
22
22
  "root": "src/grid-pattern",
23
23
  "files": ["index.ts", "grid-pattern.ts"]
24
24
  }
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  // The public surface, named one by one; everything else is `./kit` (`unstable.ts`).
2
- export { LineGridPattern } from "./line-grid-pattern"
3
- export { DotGridPattern } from "./dot-grid-pattern"
4
- export { GridPattern } from "./grid-pattern"
5
- export { NODES } from "./nodes"
2
+ export { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ LineGridPattern } from "./line-grid-pattern"
3
+ export { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ DotGridPattern } from "./dot-grid-pattern"
4
+ export { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ GridPattern } from "./grid-pattern"
5
+ export { /** @deprecated The patterns kit is retired. Remove in 0.5.0. */ NODES } from "./nodes"