@sps-woodland/editable-table 8.31.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.
@@ -0,0 +1,2 @@
1
+ import type { ComponentManifest } from "@sps-woodland/core";
2
+ export declare const MANIFEST: ComponentManifest;
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@sps-woodland/editable-table",
3
+ "description": "SPS Woodland Design System Editable Table component",
4
+ "version": "8.31.0",
5
+ "author": "SPS Commerce",
6
+ "license": "UNLICENSED",
7
+ "repository": "https://github.com/SPSCommerce/woodland/tree/main/packages/@sps-woodland/editable-table",
8
+ "homepage": "https://github.com/SPSCommerce/woodland/tree/master/packages/@sps-woodland/editable-table#readme",
9
+ "type": "module",
10
+ "module": "./lib/index.js",
11
+ "main": "./lib/index.umd.cjs",
12
+ "types": "./lib/index.d.ts",
13
+ "exports": {
14
+ ".": {
15
+ "require": "./lib/index.umd.cjs",
16
+ "import": "./lib/index.js",
17
+ "default": "./lib/index.js",
18
+ "types": "./lib/index.d.ts"
19
+ },
20
+ "./lib/style.css": {
21
+ "import": "./lib/style.css",
22
+ "require": "./lib/style.css"
23
+ }
24
+ },
25
+ "publishConfig": {
26
+ "access": "public"
27
+ },
28
+ "peerDependencies": {
29
+ "@spscommerce/utils": "^7.0.0",
30
+ "react": "^16.14.0",
31
+ "react-dom": "^16.14.0",
32
+ "@sps-woodland/core": "8.31.0",
33
+ "@sps-woodland/tokens": "8.31.0"
34
+ },
35
+ "devDependencies": {
36
+ "@spscommerce/utils": "^7.0.0",
37
+ "@vanilla-extract/css": "^1.9.3",
38
+ "@vanilla-extract/recipes": "^0.2.5",
39
+ "react": "^16.14.0",
40
+ "react-dom": "^16.14.0",
41
+ "vite-plugin-lib-inject-css": "^2.2.2",
42
+ "@sps-woodland/core": "8.31.0",
43
+ "@sps-woodland/tokens": "8.31.0"
44
+ },
45
+ "dependencies": {
46
+ "@handsontable/react": "^15.3.0",
47
+ "@handsontable/react-wrapper": "^15.3.0",
48
+ "handsontable": "^15.3.0"
49
+ },
50
+ "scripts": {
51
+ "build": "pnpm run build:js && pnpm run build:types",
52
+ "build:js": "vite build",
53
+ "build:types": "tsc --emitDeclarationOnly --declaration --declarationDir lib",
54
+ "watch": "vite build --watch",
55
+ "clean": "git clean -fdX",
56
+ "pub": "node ../../../scripts/publish-package.mjs"
57
+ }
58
+ }
@@ -0,0 +1,32 @@
1
+ import path from "path";
2
+ import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin";
3
+ import { libInjectCss } from "vite-plugin-lib-inject-css";
4
+ import { defineConfig } from "vite";
5
+ import { getVanillaExtractPluginProps } from "../../../scripts/vanilla-extract-plugin-props.mjs";
6
+ import pkg from "./package.json";
7
+
8
+ const packageVersion = process.env.PREDICTED_VERSION || pkg.version;
9
+
10
+ export default defineConfig({
11
+ plugins: [
12
+ vanillaExtractPlugin(
13
+ getVanillaExtractPluginProps({
14
+ packageName: pkg.name,
15
+ packageVersion,
16
+ })
17
+ ),
18
+ libInjectCss(),
19
+ ],
20
+ build: {
21
+ lib: {
22
+ entry: path.resolve(__dirname, "src/index.ts"),
23
+ name: "EditableTable",
24
+ fileName: "index",
25
+ },
26
+ outDir: path.resolve(__dirname, "./lib"),
27
+ emptyOutDir: false,
28
+ rollupOptions: {
29
+ external: pkg.peerDependencies ? Object.keys(pkg.peerDependencies) : [],
30
+ },
31
+ },
32
+ });