create-rspeedy-canary 0.13.0-canary-20260105-ec1caf1a → 0.13.0-canary-20260105-03ea61ec

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,6 +1,6 @@
1
1
  # create-rspeedy
2
2
 
3
- ## 0.13.0-canary-20260105063609-ec1caf1ac6f8cd7ef16998cd004fc820423e1f49
3
+ ## 0.13.0-canary-20260105073516-03ea61ec2d93d160830d8e107e184ca9622f27f4
4
4
 
5
5
  ## 0.12.5
6
6
 
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import { fileURLToPath } from "node:url";
5
5
  import { checkCancel, create, multiselect, select as external_create_rstack_select } from "create-rstack";
6
6
  const src_dirname = node_path.dirname(fileURLToPath(import.meta.url));
7
7
  const src_require = createRequire(import.meta.url);
8
- const { devDependencies } = src_require('../package.json');
8
+ const { devDependencies: devDependencies } = src_require('../package.json');
9
9
  const composeTemplateName = ({ template, tools, lang })=>{
10
10
  const toolsKeys = (tools ? Object.keys(tools) : []).sort();
11
11
  const toolsStr = toolsKeys.length > 0 ? `-${toolsKeys.join('-')}` : '';
@@ -78,10 +78,9 @@ create({
78
78
  tools
79
79
  })),
80
80
  version: devDependencies,
81
- getTemplateName,
81
+ getTemplateName: getTemplateName,
82
82
  mapESLintTemplate (templateName) {
83
- var _TEMPLATES_find;
84
- const lang = null == (_TEMPLATES_find = TEMPLATES.find(({ template })=>templateName.startsWith(template))) ? void 0 : _TEMPLATES_find.lang;
83
+ const lang = TEMPLATES.find(({ template })=>templateName.startsWith(template))?.lang;
85
84
  if (!lang) return null;
86
85
  switch(lang){
87
86
  case 'js':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rspeedy-canary",
3
- "version": "0.13.0-canary-20260105-ec1caf1a",
3
+ "version": "0.13.0-canary-20260105-03ea61ec",
4
4
  "description": "Create Rspeedy-powered ReactLynx apps with one command",
5
5
  "keywords": [
6
6
  "webpack",
@@ -37,7 +37,7 @@
37
37
  "@rsbuild/plugin-type-check": "1.3.1",
38
38
  "@lynx-js/qrcode-rsbuild-plugin": "npm:@lynx-js/qrcode-rsbuild-plugin-canary@^0.4.3",
39
39
  "@lynx-js/react-rsbuild-plugin": "npm:@lynx-js/react-rsbuild-plugin-canary@^0.12.4",
40
- "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@^0.13.0-canary-20260105-ec1caf1a",
40
+ "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@^0.13.0-canary-20260105-03ea61ec",
41
41
  "@lynx-js/react": "npm:@lynx-js/react-canary@^0.115.3"
42
42
  },
43
43
  "engines": {