Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,499 changes: 100 additions & 1,399 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gillianplatform/sedap",
"version": "0.0.1",
"version": "0.0.2",
"description": "Monorepo for JavaScript libraries for SEDAP",
"repository":"https://github.com/gillianplatform/sedap-js",
"workspaces": [
Expand Down
28 changes: 5 additions & 23 deletions react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gillianplatform/sedap-react",
"version": "0.0.1",
"version": "0.0.2",
"description": "React components for SEDAP",
"repository":"https://github.com/gillianplatform/sedap-js",
"type": "module",
Expand All @@ -14,13 +14,8 @@
"format": "prettier --write --parser typescript '**/*.{ts,tsx}'",
"lint": "eslint --fix",
"lint-check": "eslint",
"build": "tsc && vite build",
"watch:tsc": "tsc --watch --preserveWatchOutput",
"watch:vite": "vite build --watch",
"watch": "concurrently -n tsc,vite -c cyan,green \"npm run watch:tsc\" \"npm run watch:vite\"",
"test": "vitest run",
"test-watch": "vitest",
"test:ui": "vitest --ui",
"build": "vite build",
"watch": "vite build --watch",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
Expand All @@ -32,37 +27,31 @@
"@eslint/compat": "^1.2.4",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"@gillianplatform/sedap-types": "0.0.1",
"@gillianplatform/sedap-types": "0.0.2",
"@storybook/addon-essentials": "^8.4.7",
"@storybook/addon-interactions": "^8.4.7",
"@storybook/addon-onboarding": "^8.4.7",
"@storybook/blocks": "^8.4.7",
"@storybook/react": "^8.4.7",
"@storybook/react-vite": "^8.4.7",
"@storybook/test": "^8.4.7",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/react": "^19.0.2",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"concurrently": "^9.1.2",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-storybook": "^0.11.1",
"globals": "^15.14.0",
"husky": "^9.1.7",
"jsdom": "^25.0.1",
"lint-staged": "^15.3.0",
"prettier": "^3.4.2",
"storybook": "^8.4.7",
"styled-components": "^6.1.13",
"typescript": "^5.7.2",
"vite": "^6.0.6",
"vite-plugin-dts": "^4.4.0",
"vitest": "^2.1.8"
"vite-plugin-dts": "^4.4.0"
},
"peerDependencies": {
"immutable": "^5.0.3",
Expand All @@ -73,12 +62,5 @@
"@xyflow/react": "^12.3.6",
"elkjs": "^0.9.3",
"web-worker": "^1.3.0"
},
"lint-staged": {
"*.{ts,tsx}": [
"npm run format",
"npm run lint",
"npm run test"
]
}
}
8 changes: 0 additions & 8 deletions react/setupTests.ts

This file was deleted.

14 changes: 1 addition & 13 deletions react/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference types="vitest" />

import { defineConfig } from "vite";
import dts from "vite-plugin-dts";
import { peerDependencies } from "./package.json";
Expand All @@ -11,23 +9,13 @@ export default defineConfig({
name: "vite-react-ts-button", // Sets the name of the generated library.
fileName: (format) => `index.${format}.js`, // Generates the output file name based on the format.
formats: ["cjs", "es"], // Specifies the output formats (CommonJS and ES modules).
cssFileName: "style", // Specifies the output CSS file name.
},
rollupOptions: {
external: [...Object.keys(peerDependencies)], // Defines external dependencies for Rollup bundling.
output: {
assetFileNames: (assetInfo) => {
if (assetInfo.names[0] == "react.css") return "style.css";
return assetInfo.names[0];
},
},
},
sourcemap: true, // Generates source maps for debugging.
emptyOutDir: true, // Clears the output directory before building.
},
test: {
globals: true,
environment: "jsdom",
setupFiles: "./setupTests.ts",
},
plugins: [dts()], // Uses the 'vite-plugin-dts' plugin for generating TypeScript declaration files (d.ts).
});
2 changes: 1 addition & 1 deletion types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gillianplatform/sedap-types",
"version": "0.0.1",
"version": "0.0.2",
"description": "SEDAP types for TypeScript",
"repository":"https://github.com/gillianplatform/sedap-js",
"types": "./src/index.d.ts",
Expand Down
13 changes: 5 additions & 8 deletions vscode/ext/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gillianplatform/sedap-vscode-ext",
"version": "0.0.1",
"version": "0.0.2",
"description": "SEDAP-related utilities for VSCode extensions",
"repository":"https://github.com/gillianplatform/sedap-js",
"type": "commonjs",
Expand All @@ -17,10 +17,8 @@
"format": "prettier --write --parser typescript '**/*.ts'",
"lint": "eslint --fix",
"lint-check": "eslint",
"build": "tsc && vite build",
"watch:tsc": "tsc --watch --preserveWatchOutput",
"watch:vite": "vite build --watch",
"watch": "concurrently -n tsc,vite -c cyan,green \"npm run watch:tsc\" \"npm run watch:vite\""
"build": "vite build",
"watch": "vite build --watch"
},
"keywords": [],
"author": "",
Expand All @@ -29,12 +27,11 @@
"@eslint/compat": "^1.2.4",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"@gillianplatform/sedap-types": "0.0.1",
"@gillianplatform/sedap-vscode-types": "0.0.1",
"@gillianplatform/sedap-types": "0.0.2",
"@gillianplatform/sedap-vscode-types": "0.0.2",
"@types/vscode": "^1.96.0",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"concurrently": "^9.1.2",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
Expand Down
4 changes: 2 additions & 2 deletions vscode/types/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@gillianplatform/sedap-vscode-types",
"version": "0.0.1",
"version": "0.0.2",
"description": "Types for SEDAP VSCode helper libraries",
"repository":"https://github.com/gillianplatform/sedap-js",
"types": "./src/index.d.ts",
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@gillianplatform/sedap-types": "0.0.1",
"@gillianplatform/sedap-types": "0.0.2",
"typescript": "^5.7.2"
}
}
15 changes: 6 additions & 9 deletions vscode/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gillianplatform/sedap-vscode-ui",
"version": "0.0.1",
"version": "0.0.2",
"description": "SEDAP-related utilities for webviews inside VSCode extensions",
"repository":"https://github.com/gillianplatform/sedap-js",
"type": "module",
Expand All @@ -14,10 +14,8 @@
"format": "prettier --write --parser typescript '**/*.{ts,tsx}'",
"lint": "eslint --fix",
"lint-check": "eslint",
"build": "tsc && vite build",
"watch:tsc": "tsc --watch --preserveWatchOutput",
"watch:vite": "vite build --watch",
"watch": "concurrently -n tsc,vite -c cyan,green \"npm run watch:tsc\" \"npm run watch:vite\""
"build": "vite build",
"watch": "vite build --watch"
},
"keywords": [],
"author": "",
Expand All @@ -27,13 +25,12 @@
"@eslint/compat": "^1.2.4",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"@gillianplatform/sedap-types": "0.0.1",
"@gillianplatform/sedap-vscode-types": "0.0.1",
"@gillianplatform/sedap-types": "0.0.2",
"@gillianplatform/sedap-vscode-types": "0.0.2",
"@types/react": "^19.0.2",
"@types/vscode-webview": "^1.57.5",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"concurrently": "^9.1.2",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
Expand All @@ -49,7 +46,7 @@
"vite-plugin-dts": "^4.4.0"
},
"peerDependencies": {
"@gillianplatform/sedap-react": "0.0.1",
"@gillianplatform/sedap-react": "0.0.2",
"react": "^19.0.0",
"react-icons": "^5.4.0"
},
Expand Down