slates 0.0.2 → 1.0.0-rc.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.
package/dist/index.cjs ADDED
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/index.ts
18
+ var index_exports = {};
19
+ module.exports = __toCommonJS(index_exports);
20
+ __reExport(index_exports, require("@slates/provider"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@slates/provider")
24
+ });
@@ -0,0 +1 @@
1
+ export * from '@slates/provider';
@@ -0,0 +1 @@
1
+ export * from '@slates/provider';
@@ -0,0 +1,2 @@
1
+ // src/index.ts
2
+ export * from "@slates/provider";
package/package.json CHANGED
@@ -1,25 +1,43 @@
1
1
  {
2
2
  "name": "slates",
3
- "version": "0.0.2",
4
- "description": "Slates coming soon.",
5
- "main": "index.js",
6
- "scripts": {
7
- "postinstall": "echo Slates is coming soon."
3
+ "version": "1.0.0-rc.10",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "author": "Tobias Herber",
8
+ "license": "FSL 1.1",
9
+ "type": "module",
10
+ "source": "src/index.ts",
11
+ "files": [
12
+ "src/**",
13
+ "dist/**",
14
+ "README.md",
15
+ "package.json"
16
+ ],
17
+ "exports": {
18
+ "bun": "./src/index.ts",
19
+ "types": "./dist/index.d.ts",
20
+ "require": "./dist/index.cjs",
21
+ "import": "./dist/index.module.js",
22
+ "default": "./dist/index.module.js"
8
23
  },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/slateshq/slates.git"
24
+ "main": "./dist/index.cjs",
25
+ "module": "./dist/index.module.js",
26
+ "types": "dist/index.d.ts",
27
+ "unpkg": "./dist/index.module.js",
28
+ "scripts": {
29
+ "test": "vitest run --passWithNoTests",
30
+ "lint": "prettier src/**/*.ts --check",
31
+ "build": "tsup --config ../../tsup.packages.config.ts",
32
+ "typecheck": "tsc --noEmit"
12
33
  },
13
- "keywords": [
14
- "slates"
15
- ],
16
- "bin": {
17
- "slates": "./bin/slates.js"
18
- },
19
- "author": "tobihrbr @ slates",
20
- "license": "MIT",
21
- "bugs": {
22
- "url": "https://github.com/slateshq/slates/issues"
34
+ "dependencies": {
35
+ "@slates/provider": "1.0.0-rc.11"
23
36
  },
24
- "homepage": "https://github.com/slateshq/slates#readme"
37
+ "devDependencies": {
38
+ "microbundle": "^0.15.1",
39
+ "@slates/tsconfig": "1.0.0-rc.1",
40
+ "typescript": "5.8.2",
41
+ "vitest": "^3.1.2"
42
+ }
25
43
  }
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@slates/provider';
package/bin/slates.js DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- /*
4
- slates is coming very soon
5
- follow @slateshq to be the first to know
6
- */
7
- console.log('\n', '\x1b[7m', '\x1b[105m', 'Slates is coming soon', '\x1b[0m');
8
- console.log(' \x1b[7m', '\x1b[105m', 'Slates.ml', '\x1b[0m');
package/readme.md DELETED
@@ -1,9 +0,0 @@
1
- # Slates
2
-
3
- Slates is coming very soon, stay tuned! 🍿
4
-
5
- [Slates](https://slates.ml)
6
-
7
- ```bash
8
- npm install -g slates
9
- ```