@techstack/tcm-cli 1.4.49 → 2.0.2

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/bin/tcm.js ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import '../dist/index.js';
@@ -95,13 +95,16 @@ function getTcmConfig() {
95
95
  // tcm.config.ts
96
96
  function loadTcmConfigTs() {
97
97
  try {
98
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
98
99
  require('ts-node').register({
99
100
  compilerOptions: {
100
101
  module: 'CommonJS',
101
102
  },
102
103
  transpileOnly: true, // skip type checking
103
104
  });
104
- return interopRequireDefault(require(paths.appConfigTs)).default;
105
+ return interopRequireDefault(
106
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
107
+ require(paths.appConfigTs)).default;
105
108
  }
106
109
  catch (error) {
107
110
  logError(error);
@@ -112,9 +115,11 @@ function loadTcmConfigTs() {
112
115
  // tcm.config.js
113
116
  function loadTcmConfigJs() {
114
117
  // babel-node could easily be injected here if so desired.
118
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
115
119
  return require(paths.appConfigJs);
116
120
  }
117
121
  function loadTcmConfigCjs() {
122
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
118
123
  return require(paths.appConfigCjs);
119
124
  }
120
125
  function isTcmConfig(required) {
@@ -1,8 +1,9 @@
1
+ import type { Linter } from 'eslint';
1
2
  import { PackageJson } from './types.js';
2
3
  interface CreateEslintConfigArgs {
3
4
  pkg: PackageJson;
4
5
  rootDir: string;
5
6
  writeFile: boolean;
6
7
  }
7
- export declare function createEslintConfig({ rootDir, writeFile, }: CreateEslintConfigArgs): Promise<object | void>;
8
+ export declare function createEslintConfig({ rootDir, writeFile, }: CreateEslintConfigArgs): Promise<Linter.Config[] | void>;
8
9
  export {};
@@ -1,100 +1,139 @@
1
1
  import path from 'path';
2
+ import tsPlugin from '@typescript-eslint/eslint-plugin';
3
+ import * as tsParser from '@typescript-eslint/parser';
4
+ import eslintConfigPrettier from 'eslint-config-prettier';
5
+ import importPlugin from 'eslint-plugin-import';
6
+ import prettierPlugin from 'eslint-plugin-prettier';
7
+ import reactPlugin from 'eslint-plugin-react';
2
8
  import fs from 'fs-extra';
9
+ import globals from 'globals';
3
10
  export async function createEslintConfig({ rootDir, writeFile, }) {
4
- const config = {
5
- env: {
6
- browser: true,
7
- es6: true,
11
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
12
+ const tsRecommended = tsPlugin.configs['flat/recommended'];
13
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
14
+ const reactRecommended = reactPlugin.configs.flat
15
+ .recommended;
16
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
17
+ const importErrors = importPlugin.flatConfigs
18
+ .errors;
19
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
20
+ const importWarnings = importPlugin.flatConfigs
21
+ .warnings;
22
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
23
+ const importTypescript = importPlugin.flatConfigs
24
+ .typescript;
25
+ const config = [
26
+ // Ignore build output, declaration files, and dependencies
27
+ {
28
+ ignores: ['dist/**', 'node_modules/**', '**/*.d.ts', 'coverage/**'],
8
29
  },
9
- parser: '@typescript-eslint/parser',
10
- extends: [
11
- 'plugin:@typescript-eslint/recommended',
12
- 'plugin:react/recommended',
13
- 'plugin:import/errors',
14
- 'plugin:import/warnings',
15
- 'plugin:import/typescript',
16
- 'prettier',
17
- ],
18
- plugins: ['@typescript-eslint', 'prettier', 'react', 'import'],
19
- settings: {
20
- react: {
21
- version: 'detect',
30
+ // TypeScript recommended (flat config array)
31
+ ...tsRecommended,
32
+ // React recommended (flat config object)
33
+ reactRecommended,
34
+ // Import plugin configs
35
+ importErrors,
36
+ importWarnings,
37
+ importTypescript,
38
+ // Custom config with prettier plugin, globals, and rule overrides
39
+ {
40
+ files: ['**/*.{js,jsx,mjs,cjs,ts,tsx}'],
41
+ plugins: {
42
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
43
+ prettier: prettierPlugin,
22
44
  },
23
- 'import/resolver': {
24
- node: {
25
- extensions: ['.js', '.jsx', '.ts', '.tsx'],
45
+ languageOptions: {
46
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
47
+ parser: tsParser,
48
+ parserOptions: {
49
+ sourceType: 'module',
50
+ ecmaVersion: 'latest',
51
+ ecmaFeatures: {
52
+ jsx: true,
53
+ },
26
54
  },
27
- },
28
- },
29
- parserOptions: {
30
- sourceType: 'module',
31
- ecmaVersion: 'latest',
32
- ecmaFeatures: {
33
- jsx: true,
34
- modules: true,
35
- },
36
- },
37
- rules: {
38
- 'react/react-in-jsx-scope': 'off',
39
- '@typescript-eslint/no-use-before-define': ['warn'],
40
- '@typescript-eslint/no-var-requires': 0,
41
- '@typescript-eslint/no-empty-function': 'warn',
42
- 'import/no-unresolved': 2,
43
- 'import/order': [
44
- 'warn',
45
- {
46
- groups: [
47
- 'builtin',
48
- 'external',
49
- 'internal',
50
- 'parent',
51
- 'sibling',
52
- 'index',
53
- 'object',
54
- ],
55
- pathGroups: [
56
- {
57
- pattern: './*.scss',
58
- group: 'unknown',
59
- position: 'after',
60
- },
61
- ],
62
- 'newlines-between': 'always',
55
+ globals: {
56
+ ...globals.browser,
57
+ ...globals.es2015,
63
58
  },
64
- ],
65
- '@typescript-eslint/no-unused-vars': [
66
- 'warn',
67
- {
68
- vars: 'all',
69
- args: 'after-used',
59
+ },
60
+ settings: {
61
+ react: {
62
+ version: 'detect',
70
63
  },
71
- ],
72
- 'prettier/prettier': [
73
- 'error',
74
- {
75
- printWidth: 80,
76
- trailingComma: 'es5',
77
- semi: true,
78
- jsxSingleQuote: true,
79
- singleQuote: true,
80
- useTabs: false,
81
- 'react/no-typos': false,
82
- bracketSpacing: true,
83
- arrowParens: 'avoid',
84
- endOfLine: 'auto',
64
+ 'import/resolver': {
65
+ typescript: {
66
+ alwaysTryTypes: true,
67
+ },
68
+ node: {
69
+ extensions: ['.js', '.jsx', '.ts', '.tsx'],
70
+ },
85
71
  },
86
- ],
72
+ },
73
+ rules: {
74
+ 'react/react-in-jsx-scope': 'off',
75
+ '@typescript-eslint/no-use-before-define': ['warn'],
76
+ '@typescript-eslint/no-var-requires': 0,
77
+ '@typescript-eslint/no-empty-function': 'warn',
78
+ 'import/no-unresolved': 2,
79
+ 'import/order': [
80
+ 'warn',
81
+ {
82
+ groups: [
83
+ 'builtin',
84
+ 'external',
85
+ 'internal',
86
+ 'parent',
87
+ 'sibling',
88
+ 'index',
89
+ 'object',
90
+ ],
91
+ pathGroups: [
92
+ {
93
+ pattern: './*.scss',
94
+ group: 'unknown',
95
+ position: 'after',
96
+ },
97
+ ],
98
+ 'newlines-between': 'always',
99
+ },
100
+ ],
101
+ '@typescript-eslint/no-unused-vars': [
102
+ 'warn',
103
+ {
104
+ vars: 'all',
105
+ args: 'after-used',
106
+ },
107
+ ],
108
+ 'prettier/prettier': [
109
+ 'error',
110
+ {
111
+ printWidth: 80,
112
+ trailingComma: 'es5',
113
+ semi: true,
114
+ jsxSingleQuote: true,
115
+ singleQuote: true,
116
+ useTabs: false,
117
+ 'react/no-typos': false,
118
+ bracketSpacing: true,
119
+ arrowParens: 'avoid',
120
+ endOfLine: 'auto',
121
+ },
122
+ ],
123
+ },
87
124
  },
88
- };
125
+ // Prettier config (disables rules that conflict with prettier)
126
+ eslintConfigPrettier,
127
+ ];
89
128
  if (!writeFile) {
90
129
  return config;
91
130
  }
92
- const file = path.join(rootDir, '.eslintrc.js');
93
- // if the path is an abs path(e.g. "/Users/user/my-project/.eslintrc.js"),
94
- // need to convert a rel path to app root.
95
- config.extends = config.extends.map(it => /^\//u.test(it) ? path.relative(rootDir, it) : it);
131
+ const file = path.join(rootDir, 'eslint.config.js');
132
+ // Note: flat config with plugin objects cannot be fully serialized to JSON.
133
+ // The written file serves as a starting point and may need manual adjustment.
96
134
  try {
97
- await fs.writeFile(file, `module.exports = ${JSON.stringify(config, null, 2)}`, { flag: 'wx' });
135
+ const rulesOnly = config.find(c => c.rules?.['prettier/prettier'])?.rules;
136
+ await fs.writeFile(file, `// Generated by tcm - flat config format\nexport default ${JSON.stringify({ rules: rulesOnly }, null, 2)}`, { flag: 'wx' });
98
137
  }
99
138
  catch (e) {
100
139
  if (e.code === 'EEXIST') {
@@ -131,6 +131,7 @@ export async function createRollupConfig(appPackageJson, opts, outputNum) {
131
131
  },
132
132
  },
133
133
  typescript({
134
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
134
135
  typescript: ts,
135
136
  tsconfig: opts.tsconfig,
136
137
  tsconfigDefaults: {
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import { createRequire } from 'module';
3
3
  import path from 'path';
4
4
  import { fileURLToPath } from 'url';
5
- import asyncro from 'asyncro';
5
+ import * as asyncro from 'asyncro';
6
6
  import chalk from 'chalk';
7
7
  import enquirer from 'enquirer';
8
8
  const { Input, Select } = enquirer;
@@ -10,8 +10,9 @@ import { ESLint } from 'eslint';
10
10
  import * as execa from 'execa';
11
11
  import figlet from 'figlet';
12
12
  import fs from 'fs-extra';
13
- import jest from 'jest';
14
- const { run: jestRun } = jest;
13
+ import * as jest from 'jest';
14
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
15
+ const { run: jestRun } = jest.default || jest;
15
16
  import { concatAllArray } from 'jpjs';
16
17
  import ora from 'ora';
17
18
  import { rollup } from 'rollup';
@@ -42,6 +43,7 @@ const __dirname = path.dirname(__filename);
42
43
  let appPackageJson;
43
44
  try {
44
45
  appPackageJson = fs.readJSONSync(paths.appPackageJson);
46
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
45
47
  }
46
48
  catch (e) { }
47
49
  function setAuthorName(author) {
@@ -168,10 +170,6 @@ prog
168
170
  .example('create mypackage')
169
171
  .option('--template', `Specify a template. Allowed choices: [${Object.keys(templates).join(', ')}]`)
170
172
  .example('create --template react mypackage')
171
- .option('--husky', 'Should husky be added to the generated project?', true)
172
- .example('create --husky mypackage')
173
- .example('create --no-husky mypackage')
174
- .example('create --husky false mypackage')
175
173
  .action(async (pkg, opts) => {
176
174
  console.log(chalk.cyan(figlet.textSync('TCM', { horizontalLayout: 'full' })));
177
175
  const bootSpinner = ora(`Creating ${chalk.bold.green(pkg)}...`);
@@ -421,19 +419,25 @@ prog
421
419
  console.log(chalk.yellow(`Defaulting to "tcm lint ${defaultInputs.join(' ')}"`, '\nYou can override this in the package.json scripts, like "lint": "tcm lint src otherDir"'));
422
420
  }
423
421
  try {
424
- const config = await createEslintConfig({
422
+ const configs = await createEslintConfig({
425
423
  pkg: appPackageJson,
426
424
  rootDir: paths.appRoot,
427
425
  writeFile: opts['write-file'],
428
426
  });
427
+ const overrideConfig = [];
428
+ if (opts['ignore-pattern']) {
429
+ overrideConfig.push({ ignores: [opts['ignore-pattern']] });
430
+ }
431
+ if (Array.isArray(configs)) {
432
+ overrideConfig.push(...configs);
433
+ }
434
+ if (appPackageJson.eslint) {
435
+ overrideConfig.push(appPackageJson.eslint);
436
+ }
429
437
  const linter = new ESLint({
430
438
  cwd: paths.appRoot,
431
- baseConfig: {
432
- ...config,
433
- ...appPackageJson.eslint,
434
- ignorePatterns: opts['ignore-pattern'],
435
- },
436
- extensions: ['.js', '.mjs', '.cjs', '.ts', '.tsx', '.jsx'],
439
+ overrideConfigFile: true,
440
+ overrideConfig,
437
441
  fix: opts.fix,
438
442
  });
439
443
  const results = await linter.lintFiles(opts['_']);
@@ -1,7 +1,6 @@
1
1
  const basicTemplate = {
2
2
  name: 'basic',
3
3
  dependencies: [
4
- 'husky',
5
4
  'tcm-cli',
6
5
  'tslib',
7
6
  'typescript',
@@ -48,10 +48,18 @@ export declare const composePackageJson: (template: Template) => ({ name, author
48
48
  }>>;
49
49
  bundledDependencies?: string[];
50
50
  bundleDependencies?: string[];
51
- engines?: { [EngineName in "npm" | "node" | string]?: string; };
51
+ overrides?: import("type-fest").PackageJson.DependencyOverrides;
52
+ engines?: { [EngineName in import("type-fest").LiteralUnion<"npm" | "node", string>]?: string; };
52
53
  engineStrict?: boolean;
53
54
  os?: Array<import("type-fest").LiteralUnion<"aix" | "darwin" | "freebsd" | "linux" | "openbsd" | "sunos" | "win32" | "!aix" | "!darwin" | "!freebsd" | "!linux" | "!openbsd" | "!sunos" | "!win32", string>>;
54
55
  cpu?: Array<import("type-fest").LiteralUnion<"arm" | "arm64" | "ia32" | "mips" | "mipsel" | "ppc" | "ppc64" | "s390" | "s390x" | "x32" | "x64" | "!arm" | "!arm64" | "!ia32" | "!mips" | "!mipsel" | "!ppc" | "!ppc64" | "!s390" | "!s390x" | "!x32" | "!x64", string>>;
56
+ devEngines?: {
57
+ os?: import("type-fest").PackageJson.DevEngineDependency | import("type-fest").PackageJson.DevEngineDependency[];
58
+ cpu?: import("type-fest").PackageJson.DevEngineDependency | import("type-fest").PackageJson.DevEngineDependency[];
59
+ libc?: import("type-fest").PackageJson.DevEngineDependency | import("type-fest").PackageJson.DevEngineDependency[];
60
+ runtime?: import("type-fest").PackageJson.DevEngineDependency | import("type-fest").PackageJson.DevEngineDependency[];
61
+ packageManager?: import("type-fest").PackageJson.DevEngineDependency | import("type-fest").PackageJson.DevEngineDependency[];
62
+ };
55
63
  preferGlobal?: boolean;
56
64
  private?: boolean;
57
65
  publishConfig?: import("type-fest").PackageJson.PublishConfig;
package/package.json CHANGED
@@ -1,11 +1,16 @@
1
1
  {
2
2
  "name": "@techstack/tcm-cli",
3
- "version": "1.4.49",
3
+ "version": "2.0.2",
4
4
  "description": "Zero-config TypeScript package development",
5
5
  "homepage": "https://github.com/The-Code-Monkey/TechStack/blob/dev/packages/tcm-cli/README.md",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/The-Code-Monkey/TechStack.git"
8
+ "url": "https://github.com/The-Code-Monkey/TechStack.git",
9
+ "directory": "packages/tcm-cli"
10
+ },
11
+ "publishConfig": {
12
+ "access": "public",
13
+ "provenance": true
9
14
  },
10
15
  "bugs": {
11
16
  "url": "https://github.com/The-Code-Monkey/TechStack/issues"
@@ -17,7 +22,7 @@
17
22
  "bundle"
18
23
  ],
19
24
  "bin": {
20
- "tcm": "dist/index.js"
25
+ "tcm": "bin/tcm.js"
21
26
  },
22
27
  "type": "module",
23
28
  "typings": "./dist/index.d.ts",
@@ -25,114 +30,113 @@
25
30
  "build": "tsc -p tsconfig.json",
26
31
  "lint": "node dist/index.js lint ./",
27
32
  "start": "tsc -p tsconfig.json --watch",
28
- "deduplicate": "yarn dedupe",
29
- "deduplicate:check": "yarn dedupe -c",
33
+ "deduplicate": "npm dedupe",
34
+ "deduplicate:check": "npm dedupe -c",
30
35
  "doctoc": "doctoc README.md"
31
36
  },
32
37
  "files": [
33
38
  "dist",
39
+ "bin",
34
40
  "templates",
35
41
  "src/conf"
36
42
  ],
37
43
  "engines": {
38
- "node": ">=18"
44
+ "node": ">=24"
39
45
  },
40
46
  "dependencies": {
41
- "@babel/core": "7.26.10",
42
- "@babel/parser": "7.26.10",
47
+ "@babel/core": "7.29.0",
48
+ "@babel/parser": "7.29.3",
43
49
  "@babel/plugin-proposal-class-properties": "7.18.6",
44
- "@babel/preset-env": "7.26.9",
45
- "@babel/traverse": "7.26.10",
46
- "@rollup/plugin-babel": "6.0.4",
47
- "@rollup/plugin-commonjs": "28.0.3",
50
+ "@babel/preset-env": "7.29.3",
51
+ "@babel/traverse": "7.29.0",
52
+ "@rollup/plugin-babel": "7.0.0",
53
+ "@rollup/plugin-commonjs": "29.0.2",
48
54
  "@rollup/plugin-json": "6.1.0",
49
- "@rollup/plugin-node-resolve": "15.1.0",
50
- "@rollup/plugin-replace": "6.0.2",
51
- "@rollup/plugin-terser": "0.4.4",
52
- "@typescript-eslint/eslint-plugin": "7.18.0",
53
- "@typescript-eslint/parser": "7.18.0",
55
+ "@rollup/plugin-node-resolve": "16.0.3",
56
+ "@rollup/plugin-replace": "6.0.3",
57
+ "@rollup/plugin-terser": "1.0.0",
58
+ "@typescript-eslint/eslint-plugin": "8.59.1",
59
+ "@typescript-eslint/parser": "8.59.1",
54
60
  "asyncro": "3.0.0",
55
61
  "babel-plugin-annotate-pure-calls": "0.5.0",
56
62
  "babel-plugin-dev-expression": "0.2.3",
57
63
  "babel-plugin-macros": "3.1.0",
58
- "babel-plugin-polyfill-regenerator": "0.6.4",
64
+ "babel-plugin-polyfill-regenerator": "0.6.8",
59
65
  "babel-plugin-transform-rename-import": "2.3.0",
60
- "camelcase": "8.0.0",
61
- "chalk": "5.4.1",
66
+ "camelcase": "9.0.0",
67
+ "chalk": "5.6.2",
62
68
  "colorette": "2.0.20",
63
69
  "confusing-browser-globals": "1.0.11",
64
70
  "enquirer": "2.4.1",
65
- "eslint": "8.57.1",
66
- "eslint-config-prettier": "10.1.1",
71
+ "eslint": "9.39.4",
72
+ "eslint-config-prettier": "10.1.8",
67
73
  "eslint-config-react-app": "7.0.1",
74
+ "eslint-import-resolver-typescript": "4.4.4",
68
75
  "eslint-plugin-flowtype": "8.0.3",
69
- "eslint-plugin-import": "2.31.0",
70
- "eslint-plugin-jest": "28.5.0",
71
- "eslint-plugin-jsx-a11y": "6.8.0",
76
+ "eslint-plugin-import": "2.32.0",
77
+ "eslint-plugin-jest": "29.15.2",
78
+ "eslint-plugin-jsx-a11y": "6.10.2",
72
79
  "eslint-plugin-no-restricted-imports": "0.0.0",
73
- "eslint-plugin-prettier": "5.2.3",
74
- "eslint-plugin-react": "7.37.4",
75
- "eslint-plugin-react-hooks": "4.6.2",
76
- "eslint-plugin-testing-library": "7.1.1",
77
- "execa": "9.5.2",
78
- "figlet": "1.8.0",
79
- "fs-extra": "11.3.0",
80
- "jest": "29.7.0",
81
- "jest-environment-jsdom": "29.7.0",
82
- "jest-watch-typeahead": "2.2.2",
80
+ "eslint-plugin-prettier": "5.5.5",
81
+ "eslint-plugin-react": "7.37.5",
82
+ "eslint-plugin-react-hooks": "7.1.1",
83
+ "eslint-plugin-testing-library": "7.16.2",
84
+ "execa": "9.6.1",
85
+ "figlet": "1.11.0",
86
+ "fs-extra": "11.3.4",
87
+ "globals": "17.5.0",
88
+ "jest": "30.3.0",
89
+ "jest-environment-jsdom": "30.3.0",
90
+ "jest-watch-typeahead": "3.0.1",
83
91
  "jpjs": "1.2.1",
84
92
  "lodash.merge": "4.6.2",
85
- "ora": "8.2.0",
93
+ "ora": "9.4.0",
86
94
  "pascal-case": "4.0.0",
87
- "postcss": "8.5.3",
88
- "prettier": "3.3.0",
95
+ "postcss": "8.5.13",
96
+ "prettier": "3.8.3",
89
97
  "progress-estimator": "0.3.1",
90
98
  "regenerator-runtime": "0.14.1",
91
- "rollup": "4.36.0",
92
- "rollup-plugin-delete": "3.0.1",
93
- "rollup-plugin-dts": "6.2.0",
94
- "rollup-plugin-typescript2": "0.36.0",
99
+ "rollup": "4.60.2",
100
+ "rollup-plugin-delete": "3.0.2",
101
+ "rollup-plugin-dts": "6.4.1",
102
+ "rollup-plugin-typescript2": "0.37.0",
95
103
  "sade": "1.8.1",
96
- "semver": "7.7.1",
97
- "shelljs": "0.9.2",
98
- "sort-package-json": "3.0.0",
104
+ "semver": "7.7.4",
105
+ "shelljs": "0.10.0",
106
+ "sort-package-json": "3.6.1",
99
107
  "tiny-glob": "0.2.9",
100
- "ts-jest": "29.2.6",
101
- "ts-node": "10.9.1",
108
+ "ts-jest": "29.4.9",
109
+ "ts-node": "10.9.2",
102
110
  "tslib": "2.8.1",
103
- "type-fest": "4.37.0",
104
- "typescript": "5.8.2"
111
+ "type-fest": "5.6.0",
112
+ "typescript": "6.0.3"
105
113
  },
106
114
  "devDependencies": {
107
- "@commitlint/cli": "19.8.0",
108
- "@commitlint/config-conventional": "19.8.0",
109
- "@types/color": "4.2.0",
115
+ "@commitlint/cli": "20.5.3",
116
+ "@commitlint/config-conventional": "20.5.3",
117
+ "@types/color": "4.2.1",
110
118
  "@types/cssnano": "5.1.3",
111
- "@types/eslint": "8.56.12",
119
+ "@types/eslint": "9.6.1",
112
120
  "@types/figlet": "1.7.0",
113
121
  "@types/fs-extra": "11.0.4",
114
- "@types/lodash": "4.17.16",
115
- "@types/node": "18.17.1",
116
- "@types/react": "18.3.3",
117
- "@types/semver": "7.5.8",
118
- "@types/shelljs": "0.8.15",
122
+ "@types/lodash": "4.17.24",
123
+ "@types/node": "25.6.0",
124
+ "@types/react": "19.2.14",
125
+ "@types/semver": "7.7.1",
126
+ "@types/shelljs": "0.10.0",
119
127
  "auto-changelog": "2.5.0",
120
- "autoprefixer": "10.4.21",
128
+ "autoprefixer": "10.5.0",
121
129
  "babel-plugin-replace-identifiers": "0.1.1",
122
- "cssnano": "7.0.6",
123
- "doctoc": "2.2.1",
124
- "lint-staged": "15.5.0",
125
- "react": "18.3.1",
126
- "react-dom": "18.3.1",
127
- "react-is": "18.3.1",
128
- "styled-components": "6.1.16",
130
+ "cssnano": "7.1.7",
131
+ "doctoc": "2.4.1",
132
+ "lint-staged": "16.4.0",
133
+ "react": "19.2.5",
134
+ "react-dom": "19.2.5",
135
+ "react-is": "19.2.5",
136
+ "styled-components": "6.4.1",
129
137
  "tiny-invariant": "1.3.3",
130
138
  "tiny-warning": "1.0.3"
131
139
  },
132
- "publishConfig": {
133
- "access": "public",
134
- "registry": "https://registry.npmjs.org/"
135
- },
136
140
  "lint-staged": {
137
141
  "*.{js,jsx,ts,tsx,md,json,yml,yaml}": [
138
142
  "prettier -w"
@@ -146,5 +150,5 @@
146
150
  "import/no-unresolved": "warn"
147
151
  }
148
152
  },
149
- "gitHead": "d604f4f5463c886a6a25835ccfd8ffee522d633a"
153
+ "gitHead": "7bb2bc7bbce0432773369ca533adf6d1719e877a"
150
154
  }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 The-Code-Monkey
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.