create-o2s-app 0.9.2 → 0.10.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # create-o2s-app
2
2
 
3
+ ## 0.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 1fd263d: changed source branch to a dedicated one for the script to eliminate dependencies versions mismatch
8
+
9
+ ## 0.10.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 68e5eef: removed locking of o2s dependencies, they will be already locked on the `main` branch
14
+
15
+ ### Patch Changes
16
+
17
+ - cc6fff1: removed locking of o2s dependencies, they will be already locked on the `main` branch
18
+
3
19
  ## 0.9.2
4
20
 
5
21
  ### Patch Changes
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ program
27
27
  })).name;
28
28
  const targetDirectory = projectName || options.directory;
29
29
  const githubRepo = 'https://github.com/o2sdev/openselfservice';
30
- const githubBranch = 'main';
30
+ const githubBranch = 'create-o2s-app/base';
31
31
  if ((0, fs_1.existsSync)(targetDirectory)) {
32
32
  console.error(`Directory ${targetDirectory} already exists. Please choose a different name or remove the existing directory.`);
33
33
  return;
@@ -75,19 +75,6 @@ program
75
75
  return;
76
76
  }
77
77
  console.log();
78
- console.log(`Locking O2S packages to the latest stable release...`);
79
- try {
80
- (0, child_process_1.execSync)('npm install @o2s/framework@latest @o2s/utils.logger@latest @o2s/integrations.mocked --workspace=@o2s/api-harmonization', {
81
- cwd: targetDirectory,
82
- stdio: 'inherit',
83
- });
84
- console.log(`Dependencies installed successfully.`);
85
- }
86
- catch (error) {
87
- console.error('Error while installing dependencies:', error);
88
- return;
89
- }
90
- console.log();
91
78
  console.log('Project successfully created! 🎉');
92
79
  console.log(`Location: ${targetDirectory}`);
93
80
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-o2s-app",
3
- "version": "0.9.2",
3
+ "version": "0.10.1",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -28,7 +28,7 @@ program
28
28
  const targetDirectory = projectName || options.directory;
29
29
 
30
30
  const githubRepo = 'https://github.com/o2sdev/openselfservice';
31
- const githubBranch = 'main';
31
+ const githubBranch = 'create-o2s-app/base';
32
32
 
33
33
  if (existsSync(targetDirectory)) {
34
34
  console.error(
@@ -91,23 +91,6 @@ program
91
91
  return;
92
92
  }
93
93
 
94
- console.log();
95
- console.log(`Locking O2S packages to the latest stable release...`);
96
-
97
- try {
98
- execSync(
99
- 'npm install @o2s/framework@latest @o2s/utils.logger@latest @o2s/integrations.mocked --workspace=@o2s/api-harmonization',
100
- {
101
- cwd: targetDirectory,
102
- stdio: 'inherit',
103
- },
104
- );
105
- console.log(`Dependencies installed successfully.`);
106
- } catch (error) {
107
- console.error('Error while installing dependencies:', error);
108
- return;
109
- }
110
-
111
94
  console.log();
112
95
  console.log('Project successfully created! 🎉');
113
96
  console.log(`Location: ${targetDirectory}`);