@modern-js/repo-generator 0.0.0-next-1687716454057 → 0.0.0-next-1687751137272
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/index.js +6 -0
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -124099,6 +124099,9 @@ var require_path = __commonJS({
|
|
|
124099
124099
|
},
|
|
124100
124100
|
removeSlash: function() {
|
|
124101
124101
|
return removeSlash;
|
|
124102
|
+
},
|
|
124103
|
+
cutNameByHyphen: function() {
|
|
124104
|
+
return cutNameByHyphen;
|
|
124102
124105
|
}
|
|
124103
124106
|
});
|
|
124104
124107
|
var _interop_require_default = require_interop_require_default();
|
|
@@ -124148,6 +124151,9 @@ var require_path = __commonJS({
|
|
|
124148
124151
|
var removeLeadingSlash = (s) => s.replace(/^\/+/, "");
|
|
124149
124152
|
var removeTailSlash = (s) => s.replace(/\/+$/, "");
|
|
124150
124153
|
var removeSlash = (s) => removeLeadingSlash(removeTailSlash(s));
|
|
124154
|
+
var cutNameByHyphen = (s) => {
|
|
124155
|
+
return s.split(/[-_]/)[0];
|
|
124156
|
+
};
|
|
124151
124157
|
}
|
|
124152
124158
|
});
|
|
124153
124159
|
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "0.0.0-next-
|
|
18
|
+
"version": "0.0.0-next-1687751137272",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"main": "./dist/index.js",
|
|
21
21
|
"files": [
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
"@types/node": "^14",
|
|
30
30
|
"jest": "^29",
|
|
31
31
|
"typescript": "^5",
|
|
32
|
-
"@modern-js/base-generator": "0.0.0-next-
|
|
33
|
-
"@modern-js/generator-common": "0.0.0-next-
|
|
34
|
-
"@modern-js/generator-plugin": "0.0.0-next-
|
|
35
|
-
"@modern-js/generator-utils": "0.0.0-next-
|
|
36
|
-
"@modern-js/
|
|
37
|
-
"@
|
|
38
|
-
"@modern-js/
|
|
39
|
-
"@modern-js/
|
|
40
|
-
"@scripts/
|
|
41
|
-
"@
|
|
42
|
-
"@modern-js/
|
|
32
|
+
"@modern-js/base-generator": "0.0.0-next-1687751137272",
|
|
33
|
+
"@modern-js/generator-common": "0.0.0-next-1687751137272",
|
|
34
|
+
"@modern-js/generator-plugin": "0.0.0-next-1687751137272",
|
|
35
|
+
"@modern-js/generator-utils": "0.0.0-next-1687751137272",
|
|
36
|
+
"@modern-js/mwa-generator": "0.0.0-next-1687751137272",
|
|
37
|
+
"@scripts/build": "0.0.0-next-1687751137272",
|
|
38
|
+
"@modern-js/module-generator": "0.0.0-next-1687751137272",
|
|
39
|
+
"@modern-js/utils": "0.0.0-next-1687751137272",
|
|
40
|
+
"@scripts/jest-config": "0.0.0-next-1687751137272",
|
|
41
|
+
"@modern-js/monorepo-generator": "0.0.0-next-1687751137272",
|
|
42
|
+
"@modern-js/doc-generator": "0.0.0-next-1687751137272"
|
|
43
43
|
},
|
|
44
44
|
"sideEffects": false,
|
|
45
45
|
"publishConfig": {
|