@master/create-css 2.0.0-rc.21 → 2.0.0-rc.22
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/dist/bin/index.mjs +0 -4
- package/package.json +1 -1
package/dist/bin/index.mjs
CHANGED
|
@@ -154,25 +154,21 @@ program.name(pkg.name).description(pkg.description).version(pkg.version || 'work
|
|
|
154
154
|
exit(1);
|
|
155
155
|
}
|
|
156
156
|
appPkg.name = appName;
|
|
157
|
-
const targetPackages = [];
|
|
158
157
|
for(const key in appPkg.dependencies){
|
|
159
158
|
if (appPkg.dependencies[key] === 'workspace:^') {
|
|
160
159
|
appPkg.dependencies[key] = CURRENT_VERSION;
|
|
161
160
|
}
|
|
162
|
-
targetPackages.push(key);
|
|
163
161
|
}
|
|
164
162
|
for(const key in appPkg.devDependencies){
|
|
165
163
|
if (appPkg.devDependencies[key] === 'workspace:^') {
|
|
166
164
|
appPkg.devDependencies[key] = CURRENT_VERSION;
|
|
167
165
|
}
|
|
168
|
-
targetPackages.push(key);
|
|
169
166
|
}
|
|
170
167
|
writeFileSync('package.json', JSON.stringify(appPkg, null, 4), {
|
|
171
168
|
flag: 'w'
|
|
172
169
|
});
|
|
173
170
|
spinner.stop();
|
|
174
171
|
log.ok`Cloned example from "${examplePath}"`;
|
|
175
|
-
log.i`Start "${options.pm} install" for dependencies: ${targetPackages}`;
|
|
176
172
|
log``;
|
|
177
173
|
try {
|
|
178
174
|
execSync(`${options.pm} install`, {
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@master/create-css","type":"module","scripts":{"build":"techor build","dev":"pnpm build --watch","lint":"eslint ./src","type-check":"tsc --noEmit","test":"jest"},"license":"MIT","description":"Initialize a new Master CSS project","author":"Aoyue Design LLC.","funding":"https://css.master.co/docs/donate","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/create"},"keywords":["cli","create","init","css","mastercss"],"bin":"./dist/bin/index.mjs","files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@techor/fs":"^3.0.16","@techor/log":"^3.0.16","commander":"^12.0.0","detect-package-manager":"^3.0.1","giget":"^1.2.1","ora":"^8.0.1"},"devDependencies":{"css-shared":"^2.0.0-rc.
|
|
1
|
+
{"name":"@master/create-css","type":"module","scripts":{"build":"techor build","dev":"pnpm build --watch","lint":"eslint ./src","type-check":"tsc --noEmit","test":"jest"},"license":"MIT","description":"Initialize a new Master CSS project","author":"Aoyue Design LLC.","funding":"https://css.master.co/docs/donate","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/create"},"keywords":["cli","create","init","css","mastercss"],"bin":"./dist/bin/index.mjs","files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@techor/fs":"^3.0.16","@techor/log":"^3.0.16","commander":"^12.0.0","detect-package-manager":"^3.0.1","giget":"^1.2.1","ora":"^8.0.1"},"devDependencies":{"css-shared":"^2.0.0-rc.22"},"version":"2.0.0-rc.22"}
|