@modern-js/tailwindcss-generator 3.7.31 → 3.7.33

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.
Files changed (2) hide show
  1. package/dist/index.js +32 -31
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -65101,13 +65101,13 @@ __export(src_exports, {
65101
65101
  module.exports = __toCommonJS(src_exports);
65102
65102
  var import_path7 = __toESM(require("path"));
65103
65103
 
65104
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/fs-extra.js
65104
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/fs-extra.js
65105
65105
  var import_fs_extra = __toESM(require_lib());
65106
65106
 
65107
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
65107
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
65108
65108
  var FS_RESOURCE = "_codesmith_core_fs_resource";
65109
65109
 
65110
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/fsExists.js
65110
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/utils/fsExists.js
65111
65111
  function fsExists(path7) {
65112
65112
  return __async(this, null, function* () {
65113
65113
  try {
@@ -65119,19 +65119,19 @@ function fsExists(path7) {
65119
65119
  });
65120
65120
  }
65121
65121
 
65122
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/execa.js
65122
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/execa.js
65123
65123
  var import_execa = __toESM(require_execa());
65124
65124
 
65125
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
65125
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
65126
65126
  var import_semver = __toESM(require_semver2());
65127
65127
 
65128
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/utils/renderString.js
65128
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/utils/renderString.js
65129
65129
  var import_ejs = __toESM(require_ejs());
65130
65130
  function renderString(template, fullData) {
65131
65131
  return import_ejs.default.render(template, fullData) || "";
65132
65132
  }
65133
65133
 
65134
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/index.js
65134
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/index.js
65135
65135
  var EjsAPI = class {
65136
65136
  renderTemplate(_0, _1) {
65137
65137
  return __async(this, arguments, function* (templateResource, target, parameters = {}) {
@@ -65166,7 +65166,7 @@ var EjsAPI = class {
65166
65166
  }
65167
65167
  };
65168
65168
 
65169
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-fs/dist/esm-node/index.js
65169
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-fs/dist/esm-node/index.js
65170
65170
  var import_path = __toESM(require("path"));
65171
65171
  var FsAPI = class {
65172
65172
  renderFile(resource, target) {
@@ -65195,7 +65195,7 @@ var FsAPI = class {
65195
65195
  }
65196
65196
  };
65197
65197
 
65198
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-git/dist/esm-node/utils/index.js
65198
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-git/dist/esm-node/utils/index.js
65199
65199
  function canUseGit() {
65200
65200
  return __async(this, null, function* () {
65201
65201
  try {
@@ -65279,7 +65279,7 @@ function gitCommit(cwd, commitMessage) {
65279
65279
  });
65280
65280
  }
65281
65281
 
65282
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-git/dist/esm-node/index.js
65282
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-git/dist/esm-node/index.js
65283
65283
  var GitAPI = class {
65284
65284
  isInGitRepo() {
65285
65285
  return __async(this, arguments, function* (cwd = this.generatorCore.outputPath) {
@@ -65335,7 +65335,7 @@ var GitAPI = class {
65335
65335
  }
65336
65336
  };
65337
65337
 
65338
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/utils/renderString.js
65338
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/utils/renderString.js
65339
65339
  var import_handlebars = __toESM(require_lib2());
65340
65340
  function renderString2(template, fullData, registers) {
65341
65341
  const helpers = __spreadValues({}, registers === null || registers === void 0 ? void 0 : registers.helpers);
@@ -65345,7 +65345,7 @@ function renderString2(template, fullData, registers) {
65345
65345
  return import_handlebars.default.compile(template)(fullData) || "";
65346
65346
  }
65347
65347
 
65348
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/index.js
65348
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/index.js
65349
65349
  var HandlebarsAPI = class {
65350
65350
  registerHelp(helpers) {
65351
65351
  return __async(this, null, function* () {
@@ -65502,7 +65502,7 @@ function __generator(thisArg, body) {
65502
65502
  }
65503
65503
  }
65504
65504
 
65505
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/npm.js
65505
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/npm.js
65506
65506
  var import_execa3 = __toESM(require_execa());
65507
65507
  function canUseNvm() {
65508
65508
  return _canUseNvm.apply(this, arguments);
@@ -65723,7 +65723,7 @@ function _canUsePnpm() {
65723
65723
  return _canUsePnpm.apply(this, arguments);
65724
65724
  }
65725
65725
 
65726
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/utils/install.js
65726
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/utils/install.js
65727
65727
  function execaWithStreamLog(command, args, options) {
65728
65728
  const promise = (0, import_execa.default)(command, args, __spreadProps(__spreadValues({}, options), {
65729
65729
  stdin: "inherit",
@@ -65824,7 +65824,7 @@ function pnpmInstall(_0) {
65824
65824
  });
65825
65825
  }
65826
65826
 
65827
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/index.js
65827
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/index.js
65828
65828
  var NpmAPI = class {
65829
65829
  npmInstall({ cwd, registryUrl, ignoreScripts }) {
65830
65830
  return npmInstall({
@@ -65852,7 +65852,7 @@ var NpmAPI = class {
65852
65852
  }
65853
65853
  };
65854
65854
 
65855
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/lodash.js
65855
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/lodash.js
65856
65856
  var import_lodash = __toESM(require_lodash());
65857
65857
  var import_lodash2 = __toESM(require_lodash2());
65858
65858
  var import_lodash3 = __toESM(require_lodash3());
@@ -71619,10 +71619,10 @@ var Schema = (
71619
71619
  }()
71620
71620
  );
71621
71621
 
71622
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
71622
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
71623
71623
  var import_inquirer = __toESM(require_inquirer());
71624
71624
 
71625
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/transform.js
71625
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/transform.js
71626
71626
  function validateSchema(schema) {
71627
71627
  const { type, properties } = schema;
71628
71628
  if (type !== "object") {
@@ -71709,7 +71709,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
71709
71709
  return getQuestionFromSchema(schema, configValue, validateMap, initValue);
71710
71710
  }
71711
71711
 
71712
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
71712
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
71713
71713
  var compileRule = (rule, scope) => {
71714
71714
  const state = Schema.compile(rule, __spreadValues({
71715
71715
  $self: {},
@@ -71809,7 +71809,7 @@ function prompt(_0) {
71809
71809
  });
71810
71810
  }
71811
71811
 
71812
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/inquirer.js
71812
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/inquirer.js
71813
71813
  var CLIReader = class {
71814
71814
  getAnswers() {
71815
71815
  return this.answers;
@@ -71837,7 +71837,7 @@ var CLIReader = class {
71837
71837
  }
71838
71838
  };
71839
71839
 
71840
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
71840
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
71841
71841
  var import_comment_json = __toESM(require_src3());
71842
71842
  var import_inquirer2 = __toESM(require_inquirer2());
71843
71843
 
@@ -71904,7 +71904,7 @@ var I18n = class {
71904
71904
  }
71905
71905
  };
71906
71906
 
71907
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/en.js
71907
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/en.js
71908
71908
  var EN_LOCALE = {
71909
71909
  environment: {
71910
71910
  node_version: "The version of Node.js is too low. Please upgrade to the LTS version: https://nodejs.org/",
@@ -71931,7 +71931,7 @@ var EN_LOCALE = {
71931
71931
  }
71932
71932
  };
71933
71933
 
71934
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/zh.js
71934
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/zh.js
71935
71935
  var ZH_LOCALE = {
71936
71936
  environment: {
71937
71937
  node_version: "Node.js 版本太低,请升级至 LTS 版本: https://nodejs.org/",
@@ -71958,14 +71958,14 @@ var ZH_LOCALE = {
71958
71958
  }
71959
71959
  };
71960
71960
 
71961
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/index.js
71961
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/index.js
71962
71962
  var i18n = new I18n();
71963
71963
  var localeKeys = i18n.init("zh", {
71964
71964
  zh: ZH_LOCALE,
71965
71965
  en: EN_LOCALE
71966
71966
  });
71967
71967
 
71968
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/checkUseNvm.js
71968
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/checkUseNvm.js
71969
71969
  var import_path3 = __toESM(require("path"));
71970
71970
  var NODE_MAJOR_VERSION_MAP = {
71971
71971
  "lts/*": 18,
@@ -71976,7 +71976,8 @@ var NODE_MAJOR_VERSION_MAP = {
71976
71976
  "lts/erbium": 12,
71977
71977
  "lts/fermium": 14,
71978
71978
  "lts/gallium": 16,
71979
- "lts/hydrogen": 18
71979
+ "lts/hydrogen": 18,
71980
+ "lts/jod": 22
71980
71981
  };
71981
71982
  function getNoteVersion() {
71982
71983
  return __async(this, null, function* () {
@@ -72016,7 +72017,7 @@ function checkUseNvm(cwd, logger) {
72016
72017
  });
72017
72018
  }
72018
72019
 
72019
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/transform.js
72020
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/transform.js
72020
72021
  function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
72021
72022
  for (const question of questions) {
72022
72023
  question.default = initValue[question.name] || question.default;
@@ -72043,7 +72044,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
72043
72044
  return questions;
72044
72045
  }
72045
72046
 
72046
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
72047
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
72047
72048
  var AppAPI = class {
72048
72049
  checkEnvironment(nodeVersion) {
72049
72050
  return __async(this, null, function* () {
@@ -72286,11 +72287,11 @@ var AppAPI = class {
72286
72287
  }
72287
72288
  };
72288
72289
 
72289
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.7/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
72290
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.8/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
72290
72291
  var import_comment_json2 = __toESM(require_src3());
72291
72292
  var declarationUpdate = __toESM(require_dist());
72292
72293
 
72293
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.7/node_modules/@modern-js/codesmith-api-json/dist/esm-node/utils/index.js
72294
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.8/node_modules/@modern-js/codesmith-api-json/dist/esm-node/utils/index.js
72294
72295
  function editJson(generatorCore, resource, getNewJsonValue) {
72295
72296
  return __async(this, null, function* () {
72296
72297
  const originJsonValue = yield resource.value();
@@ -72305,7 +72306,7 @@ function editJson(generatorCore, resource, getNewJsonValue) {
72305
72306
  });
72306
72307
  }
72307
72308
 
72308
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.7/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
72309
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.8/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
72309
72310
  var JsonAPI = class {
72310
72311
  get(resource) {
72311
72312
  return __async(this, null, function* () {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.7.31",
18
+ "version": "3.7.33",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -23,17 +23,17 @@
23
23
  "/dist/index.js"
24
24
  ],
25
25
  "devDependencies": {
26
- "@modern-js/codesmith": "2.6.7",
27
- "@modern-js/codesmith-api-app": "2.6.7",
28
- "@modern-js/codesmith-api-json": "2.6.7",
29
- "@modern-js/codesmith-utils": "2.6.7",
26
+ "@modern-js/codesmith": "2.6.8",
27
+ "@modern-js/codesmith-api-app": "2.6.8",
28
+ "@modern-js/codesmith-api-json": "2.6.8",
29
+ "@modern-js/codesmith-utils": "2.6.8",
30
30
  "@types/jest": "^29",
31
31
  "@types/node": "^14",
32
32
  "jest": "^29",
33
33
  "typescript": "^5",
34
- "@modern-js/dependence-generator": "3.7.31",
35
- "@modern-js/generator-common": "3.7.31",
36
- "@modern-js/generator-utils": "3.7.31",
34
+ "@modern-js/dependence-generator": "3.7.33",
35
+ "@modern-js/generator-common": "3.7.33",
36
+ "@modern-js/generator-utils": "3.7.33",
37
37
  "@scripts/build": "2.66.0",
38
38
  "@scripts/jest-config": "2.66.0"
39
39
  },