@windrun-huaiin/dev-scripts 13.0.0 → 13.0.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.
@@ -1 +1 @@
1
- {"version":3,"file":"create-diaomao-app.d.ts","sourceRoot":"","sources":["../../src/commands/create-diaomao-app.ts"],"names":[],"mappings":"AAKA,wBAAsB,gBAAgB,CAAC,SAAS,EAAE,MAAM,iBA6JvD"}
1
+ {"version":3,"file":"create-diaomao-app.d.ts","sourceRoot":"","sources":["../../src/commands/create-diaomao-app.ts"],"names":[],"mappings":"AAKA,wBAAsB,gBAAgB,CAAC,SAAS,EAAE,MAAM,iBAwIvD"}
@@ -74,32 +74,14 @@ async function createDiaomaoApp(targetDir) {
74
74
  pkg.name = path.basename(targetDir);
75
75
  pkg.version = "1.0.0";
76
76
  pkg.private = true;
77
- // add pnpm configuration for standalone project
78
- pkg.pnpm = {
79
- "onlyBuiltDependencies": [
80
- "@clerk/shared",
81
- "@parcel/watcher",
82
- "@tailwindcss/oxide",
83
- "core-js",
84
- "esbuild",
85
- "sharp",
86
- "unrs-resolver"
87
- ],
88
- "overrides": {
89
- "@types/react": "19.1.2",
90
- "@types/react-dom": "19.1.3"
91
- },
92
- "patchedDependencies": {
93
- "fumadocs-ui@15.3.3": "patches/fumadocs-ui@15.3.3.patch"
94
- }
95
- };
96
77
  // remove standalone-specific scripts for non-monorepo scenario
97
78
  if (pkg.scripts) {
98
79
  delete pkg.scripts['djvp'];
99
80
  }
100
81
  // remove publish related config
101
82
  delete pkg.publishConfig;
102
- delete pkg.files;
83
+ if (pkg.files)
84
+ delete pkg.files;
103
85
  await fsExtra.writeJson(pkgPath, pkg, { spaces: 2 });
104
86
  console.log('Installing dependencies...');
105
87
  // auto install dependencies
@@ -72,32 +72,14 @@ async function createDiaomaoApp(targetDir) {
72
72
  pkg.name = path.basename(targetDir);
73
73
  pkg.version = "1.0.0";
74
74
  pkg.private = true;
75
- // add pnpm configuration for standalone project
76
- pkg.pnpm = {
77
- "onlyBuiltDependencies": [
78
- "@clerk/shared",
79
- "@parcel/watcher",
80
- "@tailwindcss/oxide",
81
- "core-js",
82
- "esbuild",
83
- "sharp",
84
- "unrs-resolver"
85
- ],
86
- "overrides": {
87
- "@types/react": "19.1.2",
88
- "@types/react-dom": "19.1.3"
89
- },
90
- "patchedDependencies": {
91
- "fumadocs-ui@15.3.3": "patches/fumadocs-ui@15.3.3.patch"
92
- }
93
- };
94
75
  // remove standalone-specific scripts for non-monorepo scenario
95
76
  if (pkg.scripts) {
96
77
  delete pkg.scripts['djvp'];
97
78
  }
98
79
  // remove publish related config
99
80
  delete pkg.publishConfig;
100
- delete pkg.files;
81
+ if (pkg.files)
82
+ delete pkg.files;
101
83
  await writeJson(pkgPath, pkg, { spaces: 2 });
102
84
  console.log('Installing dependencies...');
103
85
  // auto install dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windrun-huaiin/dev-scripts",
3
- "version": "13.0.0",
3
+ "version": "13.0.1",
4
4
  "description": "Development scripts for multilingual projects",
5
5
  "main": "dist/index.js",
6
6
  "bin": {