@eventcatalog/core 0.0.4 → 0.0.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @eventcatalog/core
2
2
 
3
+ ## 0.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`576debd`](https://github.com/boyney123/eventcatalog/commit/576debdfc5dbc2fbbf98e2b3f4d78b84f9a07669) [#46](https://github.com/boyney123/eventcatalog/pull/46) Thanks [@boyney123](https://github.com/boyney123)! - fix: using cross-env to fix issues with windows OS
8
+
3
9
  ## 0.0.4
4
10
 
5
11
  ### Patch Changes
@@ -38,7 +38,7 @@ cli
38
38
  .command('start [siteDir]')
39
39
  .description('Start the development server.')
40
40
  .action(() => {
41
- execSync(`PROJECT_DIR=${projectDIR} npm run start`, {
41
+ execSync(`cross-env PROJECT_DIR=${projectDIR} npm run start`, {
42
42
  cwd: eventCatalogLibDir,
43
43
  stdio: 'inherit',
44
44
  });
@@ -56,7 +56,7 @@ cli
56
56
  fs.copySync(path.join(projectDIR, 'public'), path.join(eventCatalogLibDir, 'public'));
57
57
 
58
58
  // build using nextjs
59
- execSync(`PROJECT_DIR=${projectDIR} npm run build`, {
59
+ execSync(`cross-env PROJECT_DIR=${projectDIR} npm run build`, {
60
60
  cwd: eventCatalogLibDir,
61
61
  stdio: 'inherit',
62
62
  });
@@ -82,7 +82,7 @@ cli
82
82
  path.join(eventCatalogLibDir, 'eventcatalog.config.js')
83
83
  );
84
84
 
85
- execSync(`PROJECT_DIR=${projectDIR} npm run dev`, {
85
+ execSync(`cross-env PROJECT_DIR=${projectDIR} npm run dev`, {
86
86
  cwd: eventCatalogLibDir,
87
87
  stdio: 'inherit',
88
88
  });
@@ -103,7 +103,7 @@ cli
103
103
  path.join(eventCatalogLibDir, 'eventcatalog.config.js')
104
104
  );
105
105
 
106
- execSync(`PROJECT_DIR=${projectDIR} npm run generate`, {
106
+ execSync(`cross-env PROJECT_DIR=${projectDIR} npm run generate`, {
107
107
  cwd: eventCatalogLibDir,
108
108
  stdio: 'inherit',
109
109
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventcatalog/core",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -46,6 +46,7 @@
46
46
  "postcss": "^8.3.11",
47
47
  "tailwindcss": "^2.2.19",
48
48
  "trim": "0.0.3",
49
+ "cross-env": "^7.0.3",
49
50
  "typescript": "^4.4.4"
50
51
  },
51
52
  "gitHead": "5f82ce7f267e9b3ec771bbd3cc81359ed0a8fd18"