@slicemedia/devkit 0.0.0-bootstrap.0 → 0.1.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/README.md +34 -3
- package/dist/addon.d.ts +3 -0
- package/dist/addon.d.ts.map +1 -0
- package/dist/addon.js +2 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/package.json +46 -7
package/README.md
CHANGED
|
@@ -1,4 +1,35 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `@slicemedia/devkit`
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
The optional convenience package for Slice Media DevKit. Its root re-exports the side-effect-free
|
|
4
|
+
browser runtime from `@slicemedia/devkit-core`; the `@slicemedia/devkit/addon` subpath exposes addon
|
|
5
|
+
authoring primitives.
|
|
6
|
+
|
|
7
|
+
Install the `0.1.0` release candidate through the npm `next` tag:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @slicemedia/devkit@next
|
|
11
|
+
pnpm add @slicemedia/devkit@next
|
|
12
|
+
yarn add @slicemedia/devkit@next
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import { createBreakpointService, whenDomReady } from "@slicemedia/devkit";
|
|
17
|
+
import { defineAddon } from "@slicemedia/devkit/addon";
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Importing either entry does not install a global runtime, initialize behavior, or load the optional
|
|
21
|
+
addon example. Applications that want the smallest dependency surface may continue to install and
|
|
22
|
+
import `@slicemedia/devkit-core` or `@slicemedia/devkit-addon` directly.
|
|
23
|
+
|
|
24
|
+
## Support and security
|
|
25
|
+
|
|
26
|
+
See Slice Media's [support policy](https://github.com/slicemedia/.github/blob/main/SUPPORT.md) for
|
|
27
|
+
help and maintenance expectations. Report vulnerabilities through the
|
|
28
|
+
[DevKit security policy](../../SECURITY.md), not a public issue.
|
|
29
|
+
|
|
30
|
+
## Project notice
|
|
31
|
+
|
|
32
|
+
Licensed under MIT. This package is independently developed by Slice Media and is not affiliated
|
|
33
|
+
with, endorsed by, or sponsored by Webflow, Inc. Webflow and related marks belong to their
|
|
34
|
+
respective owners. AI tools materially assisted its implementation and documentation; production
|
|
35
|
+
use still requires human review, accessibility and security checks, and project-specific testing.
|
package/dist/addon.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addon.d.ts","sourceRoot":"","sources":["../src/addon.ts"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,cAAc,0BAA0B,CAAC"}
|
package/dist/addon.js
ADDED
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convenience entry point for the DevKit browser runtime.
|
|
3
|
+
*
|
|
4
|
+
* Importing this module has no global side effects. Site composition remains in
|
|
5
|
+
* the consuming project's entry point.
|
|
6
|
+
*/
|
|
7
|
+
export * from "@slicemedia/devkit-core";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,yBAAyB,CAAC"}
|
package/dist/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,20 +1,59 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slicemedia/devkit",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Bootstrap placeholder for the @slicemedia/devkit package identity; not a functional release.",
|
|
3
|
+
"version": "0.1.0",
|
|
5
4
|
"private": false,
|
|
6
|
-
"
|
|
5
|
+
"description": "Convenient browser-runtime and addon-authoring entry point for Slice Media DevKit.",
|
|
7
6
|
"author": "Slice Media",
|
|
8
|
-
"files": ["README.md", "LICENSE"],
|
|
9
7
|
"repository": {
|
|
10
8
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/slicemedia/devkit.git"
|
|
9
|
+
"url": "git+https://github.com/slicemedia/devkit.git",
|
|
10
|
+
"directory": "packages/devkit"
|
|
12
11
|
},
|
|
13
12
|
"homepage": "https://github.com/slicemedia/devkit#readme",
|
|
14
13
|
"bugs": {
|
|
15
14
|
"url": "https://github.com/slicemedia/devkit/issues"
|
|
16
15
|
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"slicemedia",
|
|
18
|
+
"webflow",
|
|
19
|
+
"browser",
|
|
20
|
+
"addon",
|
|
21
|
+
"typescript"
|
|
22
|
+
],
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"type": "module",
|
|
25
|
+
"sideEffects": false,
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"README.md",
|
|
29
|
+
"LICENSE"
|
|
30
|
+
],
|
|
31
|
+
"exports": {
|
|
32
|
+
".": {
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"import": "./dist/index.js"
|
|
35
|
+
},
|
|
36
|
+
"./addon": {
|
|
37
|
+
"types": "./dist/addon.d.ts",
|
|
38
|
+
"import": "./dist/addon.js"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=22.13.0 <23 || >=24.0.0 <25"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@slicemedia/devkit-addon": "0.1.0",
|
|
46
|
+
"@slicemedia/devkit-core": "0.1.0"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"typescript": "6.0.3"
|
|
50
|
+
},
|
|
17
51
|
"publishConfig": {
|
|
18
|
-
"access": "public"
|
|
52
|
+
"access": "public",
|
|
53
|
+
"provenance": true
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"build": "tsc -p tsconfig.build.json",
|
|
57
|
+
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
19
58
|
}
|
|
20
|
-
}
|
|
59
|
+
}
|