@wso2/oxygen-ui 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/bin/cli.js +2 -1
  2. package/package.json +6 -6
package/bin/cli.js CHANGED
@@ -18,6 +18,8 @@
18
18
  * under the License.
19
19
  */
20
20
 
21
+ /* global process, console */
22
+
21
23
  import { fileURLToPath } from 'url';
22
24
  import { dirname, join, resolve } from 'path';
23
25
  import {
@@ -190,7 +192,6 @@ function copyAgentsMd() {
190
192
  if (content.includes(AGENTS_IMPORT_MARKER)) {
191
193
  console.log(' Root AGENTS.md already contains Oxygen UI reference.');
192
194
  // Still copy the file content
193
- const sourceContent = readFileSync(sourceFile, 'utf-8');
194
195
  writeFileSync(agentsTargetFile, content);
195
196
  return false;
196
197
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wso2/oxygen-ui",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "WSO2 Oxygen UI | Design System - Powered with Material-UI component library with TypeScript support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -56,10 +56,6 @@
56
56
  "homepage": "https://github.com/wso2/oxygen-ui#readme",
57
57
  "dependencies": {
58
58
  "@fontsource-variable/inter": "5.2.8",
59
- "prismjs": "^1.30.0",
60
- "@wso2/oxygen-ui-icons-react": "0.2.0"
61
- },
62
- "peerDependencies": {
63
59
  "@emotion/react": "11.14.0",
64
60
  "@emotion/styled": "11.14.1",
65
61
  "@mui/material": "7.3.4",
@@ -68,8 +64,12 @@
68
64
  "@mui/x-date-pickers": "8.16.0",
69
65
  "@mui/x-tree-view": "8.14.0",
70
66
  "date-fns": "4.1.0",
67
+ "prismjs": "^1.30.0"
68
+ },
69
+ "peerDependencies": {
71
70
  "react": "19.2.3",
72
- "react-dom": "19.2.3"
71
+ "react-dom": "19.2.3",
72
+ "@wso2/oxygen-ui-icons-react": "^0.2.1"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@eslint/js": "9.39.0",