create-o2s-app 1.0.2 → 1.0.3
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 +6 -0
- package/dist/index.js +4 -0
- package/package.json +2 -2
- package/src/index.ts +4 -0
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -94,6 +94,7 @@ program
|
|
|
94
94
|
(0, fs_1.rmSync)(`${targetDirectory}/packages/integrations`, { recursive: true });
|
|
95
95
|
(0, fs_1.rmSync)(`${targetDirectory}/packages/utils`, { recursive: true });
|
|
96
96
|
(0, fs_1.rmSync)(`${targetDirectory}/packages/create-o2s-app`, { recursive: true });
|
|
97
|
+
(0, fs_1.rmSync)(`${targetDirectory}/packages/telemetry`, { recursive: true });
|
|
97
98
|
let file = (0, fs_1.readFileSync)(targetDirectory + '/package-lock.json', 'utf8');
|
|
98
99
|
file = removeSymLinks(file);
|
|
99
100
|
(0, fs_1.writeFileSync)(targetDirectory + '/package-lock.json', file);
|
|
@@ -132,9 +133,12 @@ const removeSymLinks = (file) => {
|
|
|
132
133
|
['create-o2s-app', 'packages/create-o2s-app'],
|
|
133
134
|
['utils.logger', 'packages/utils/logger'],
|
|
134
135
|
['framework', 'packages/framework'],
|
|
136
|
+
['telemetry', 'packages/telemetry'],
|
|
135
137
|
['integrations.mocked', 'packages/integrations/mocked'],
|
|
136
138
|
['integrations.strapi-cms', 'packages/integrations/strapi-cms'],
|
|
137
139
|
['integrations.redis', 'packages/integrations/redis'],
|
|
140
|
+
['integrations.medusajs', 'packages/integrations/medusajs'],
|
|
141
|
+
['integrations.algolia', 'packages/integrations/algolia'],
|
|
138
142
|
];
|
|
139
143
|
let newFile = file;
|
|
140
144
|
names.forEach(([name, path]) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-o2s-app",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,css,scss,json}\""
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@o2s/telemetry": "^1.0.
|
|
17
|
+
"@o2s/telemetry": "^1.0.6",
|
|
18
18
|
"@types/adm-zip": "^0.5.7",
|
|
19
19
|
"@types/prompts": "^2.4.9",
|
|
20
20
|
"cli-progress": "^3.12.0",
|
package/src/index.ts
CHANGED
|
@@ -76,6 +76,7 @@ program
|
|
|
76
76
|
rmSync(`${targetDirectory}/packages/integrations`, { recursive: true });
|
|
77
77
|
rmSync(`${targetDirectory}/packages/utils`, { recursive: true });
|
|
78
78
|
rmSync(`${targetDirectory}/packages/create-o2s-app`, { recursive: true });
|
|
79
|
+
rmSync(`${targetDirectory}/packages/telemetry`, { recursive: true });
|
|
79
80
|
|
|
80
81
|
let file = readFileSync(targetDirectory + '/package-lock.json', 'utf8');
|
|
81
82
|
file = removeSymLinks(file);
|
|
@@ -119,9 +120,12 @@ const removeSymLinks = (file: string) => {
|
|
|
119
120
|
['create-o2s-app', 'packages/create-o2s-app'],
|
|
120
121
|
['utils.logger', 'packages/utils/logger'],
|
|
121
122
|
['framework', 'packages/framework'],
|
|
123
|
+
['telemetry', 'packages/telemetry'],
|
|
122
124
|
['integrations.mocked', 'packages/integrations/mocked'],
|
|
123
125
|
['integrations.strapi-cms', 'packages/integrations/strapi-cms'],
|
|
124
126
|
['integrations.redis', 'packages/integrations/redis'],
|
|
127
|
+
['integrations.medusajs', 'packages/integrations/medusajs'],
|
|
128
|
+
['integrations.algolia', 'packages/integrations/algolia'],
|
|
125
129
|
];
|
|
126
130
|
|
|
127
131
|
let newFile = file;
|