@xylabs/ts-scripts-yarn3 3.4.0 → 3.5.0
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/actions/statics.js
CHANGED
|
@@ -33,7 +33,7 @@ __export(statics_exports, {
|
|
|
33
33
|
module.exports = __toCommonJS(statics_exports);
|
|
34
34
|
var import_chalk = __toESM(require("chalk"));
|
|
35
35
|
var import_lib = require("../lib");
|
|
36
|
-
const DefaultDependencies = ["axios", "@xylabs/pixel", "react", "graphql", "react-router", "@mui/material", "@mui/
|
|
36
|
+
const DefaultDependencies = ["axios", "@xylabs/pixel", "react", "graphql", "react-router", "@mui/material", "@mui/system"];
|
|
37
37
|
const statics = () => {
|
|
38
38
|
var _a, _b, _c;
|
|
39
39
|
console.log(import_chalk.default.green("Check Required Static Dependencies"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/actions/statics.ts"],"sourcesContent":["import chalk from 'chalk'\n\nimport { detectDuplicateDependencies, parsedPackageJSON } from '../lib'\n\nconst DefaultDependencies = ['axios', '@xylabs/pixel', 'react', 'graphql', 'react-router', '@mui/material', '@mui/
|
|
1
|
+
{"version":3,"sources":["../../src/actions/statics.ts"],"sourcesContent":["import chalk from 'chalk'\n\nimport { detectDuplicateDependencies, parsedPackageJSON } from '../lib'\n\nconst DefaultDependencies = ['axios', '@xylabs/pixel', 'react', 'graphql', 'react-router', '@mui/material', '@mui/system']\n\nexport const statics = () => {\n console.log(chalk.green('Check Required Static Dependencies'))\n\n const statics = parsedPackageJSON()?.xy?.deps?.statics\n\n return detectDuplicateDependencies(statics, DefaultDependencies)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAElB,iBAA+D;AAE/D,MAAM,sBAAsB,CAAC,SAAS,iBAAiB,SAAS,WAAW,gBAAgB,iBAAiB,aAAa;AAElH,MAAM,UAAU,MAAM;AAN7B;AAOE,UAAQ,IAAI,aAAAA,QAAM,MAAM,oCAAoC,CAAC;AAE7D,QAAMC,YAAU,mDAAkB,MAAlB,mBAAqB,OAArB,mBAAyB,SAAzB,mBAA+B;AAE/C,aAAO,wCAA4BA,UAAS,mBAAmB;AACjE;","names":["chalk","statics"]}
|
package/dist/actions/statics.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import chalk from "chalk";
|
|
2
2
|
import { detectDuplicateDependencies, parsedPackageJSON } from "../lib";
|
|
3
|
-
const DefaultDependencies = ["axios", "@xylabs/pixel", "react", "graphql", "react-router", "@mui/material", "@mui/
|
|
3
|
+
const DefaultDependencies = ["axios", "@xylabs/pixel", "react", "graphql", "react-router", "@mui/material", "@mui/system"];
|
|
4
4
|
const statics = () => {
|
|
5
5
|
var _a, _b, _c;
|
|
6
6
|
console.log(chalk.green("Check Required Static Dependencies"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/actions/statics.ts"],"sourcesContent":["import chalk from 'chalk'\n\nimport { detectDuplicateDependencies, parsedPackageJSON } from '../lib'\n\nconst DefaultDependencies = ['axios', '@xylabs/pixel', 'react', 'graphql', 'react-router', '@mui/material', '@mui/
|
|
1
|
+
{"version":3,"sources":["../../src/actions/statics.ts"],"sourcesContent":["import chalk from 'chalk'\n\nimport { detectDuplicateDependencies, parsedPackageJSON } from '../lib'\n\nconst DefaultDependencies = ['axios', '@xylabs/pixel', 'react', 'graphql', 'react-router', '@mui/material', '@mui/system']\n\nexport const statics = () => {\n console.log(chalk.green('Check Required Static Dependencies'))\n\n const statics = parsedPackageJSON()?.xy?.deps?.statics\n\n return detectDuplicateDependencies(statics, DefaultDependencies)\n}\n"],"mappings":"AAAA,OAAO,WAAW;AAElB,SAAS,6BAA6B,yBAAyB;AAE/D,MAAM,sBAAsB,CAAC,SAAS,iBAAiB,SAAS,WAAW,gBAAgB,iBAAiB,aAAa;AAElH,MAAM,UAAU,MAAM;AAN7B;AAOE,UAAQ,IAAI,MAAM,MAAM,oCAAoC,CAAC;AAE7D,QAAMA,YAAU,mCAAkB,MAAlB,mBAAqB,OAArB,mBAAyB,SAAzB,mBAA+B;AAE/C,SAAO,4BAA4BA,UAAS,mBAAmB;AACjE;","names":["statics"]}
|
package/dist/index.d.mts
CHANGED
|
@@ -284,7 +284,7 @@ declare const generateIgnoreFiles: (filename: string, pkg?: string) => 1 | 0;
|
|
|
284
284
|
|
|
285
285
|
declare const multiLineToJSONArray: (output: string) => any;
|
|
286
286
|
|
|
287
|
-
declare const loadConfig: <T extends object>(params?: T
|
|
287
|
+
declare const loadConfig: <T extends object>(params?: T) => Promise<T>;
|
|
288
288
|
|
|
289
289
|
declare const parsedPackageJSON: (path?: string) => any;
|
|
290
290
|
|
package/dist/index.d.ts
CHANGED
|
@@ -284,7 +284,7 @@ declare const generateIgnoreFiles: (filename: string, pkg?: string) => 1 | 0;
|
|
|
284
284
|
|
|
285
285
|
declare const multiLineToJSONArray: (output: string) => any;
|
|
286
286
|
|
|
287
|
-
declare const loadConfig: <T extends object>(params?: T
|
|
287
|
+
declare const loadConfig: <T extends object>(params?: T) => Promise<T>;
|
|
288
288
|
|
|
289
289
|
declare const parsedPackageJSON: (path?: string) => any;
|
|
290
290
|
|
package/package.json
CHANGED
|
@@ -60,18 +60,18 @@
|
|
|
60
60
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
61
61
|
"@rollup/plugin-json": "^6.1.0",
|
|
62
62
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
63
|
-
"@types/node": "^20.11.
|
|
63
|
+
"@types/node": "^20.11.25",
|
|
64
64
|
"@types/yargs": "^17.0.32",
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
66
|
-
"@typescript-eslint/parser": "^7.
|
|
67
|
-
"@xylabs/tsconfig": "~3.
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "^7.1.1",
|
|
66
|
+
"@typescript-eslint/parser": "^7.1.1",
|
|
67
|
+
"@xylabs/tsconfig": "~3.5.0",
|
|
68
68
|
"async-mutex": "^0.4.1",
|
|
69
69
|
"chalk": "^4.1.2",
|
|
70
70
|
"cosmiconfig": "^9.0.0",
|
|
71
71
|
"cosmiconfig-typescript-loader": "^5.0.0",
|
|
72
72
|
"cpy": "^8.1.2",
|
|
73
73
|
"depcheck": "^1.4.7",
|
|
74
|
-
"eslint": "^8.
|
|
74
|
+
"eslint": "^8.57.0",
|
|
75
75
|
"eslint-config-prettier": "^9.1.0",
|
|
76
76
|
"eslint-plugin-prettier": "^5.1.3",
|
|
77
77
|
"eslint-plugin-sonarjs": "^0.24.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"jest": "^29.7.0",
|
|
80
80
|
"jest-extended": "^4.0.2",
|
|
81
81
|
"jest-mock-extended": "^3.0.5",
|
|
82
|
-
"jest-sorted": "^1.0.
|
|
82
|
+
"jest-sorted": "^1.0.15",
|
|
83
83
|
"jsonc-eslint-parser": "^2.4.0",
|
|
84
84
|
"license-checker": "^25.0.1",
|
|
85
85
|
"lodash": "^4.17.21",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"publint": "^0.2.7",
|
|
93
93
|
"reflect-metadata": "^0.2.1",
|
|
94
94
|
"rimraf": "^4.4.1",
|
|
95
|
-
"rollup": "^4.12.
|
|
95
|
+
"rollup": "^4.12.1",
|
|
96
96
|
"rollup-plugin-exclude-dependencies-from-bundle": "^1.1.23",
|
|
97
97
|
"rollup-plugin-node-externals": "^7.0.1",
|
|
98
98
|
"supertest": "^6.3.4",
|
|
@@ -102,20 +102,20 @@
|
|
|
102
102
|
"tsc-prog": "^2.3.0",
|
|
103
103
|
"tslib": "^2.6.2",
|
|
104
104
|
"tsup": "^8.0.2",
|
|
105
|
-
"typedoc": "^0.25.
|
|
105
|
+
"typedoc": "^0.25.11",
|
|
106
106
|
"types-package-json": "^2.0.39",
|
|
107
107
|
"yargs": "^17.7.2"
|
|
108
108
|
},
|
|
109
109
|
"description": "TypeScript project scripts",
|
|
110
110
|
"devDependencies": {
|
|
111
|
-
"@types/eslint": "^8.56.
|
|
111
|
+
"@types/eslint": "^8.56.5",
|
|
112
112
|
"@types/license-checker": "^25.0.6",
|
|
113
113
|
"@types/lodash": "^4.14.202",
|
|
114
114
|
"@types/parse-git-config": "^3.0.4",
|
|
115
|
-
"@xylabs/eslint-config": "~3.
|
|
116
|
-
"@xylabs/tsconfig": "~3.
|
|
115
|
+
"@xylabs/eslint-config": "~3.5.0",
|
|
116
|
+
"@xylabs/tsconfig": "~3.5.0",
|
|
117
117
|
"publint": "^0.2.7",
|
|
118
|
-
"typescript": "^5.
|
|
118
|
+
"typescript": "^5.4.2"
|
|
119
119
|
},
|
|
120
120
|
"peerDependencies": {
|
|
121
121
|
"typescript": "^5"
|
|
@@ -169,6 +169,6 @@
|
|
|
169
169
|
"package-clean": "echo Not cleaning..."
|
|
170
170
|
},
|
|
171
171
|
"sideEffects": false,
|
|
172
|
-
"version": "3.
|
|
172
|
+
"version": "3.5.0",
|
|
173
173
|
"type": "commonjs"
|
|
174
174
|
}
|
package/src/actions/statics.ts
CHANGED
|
@@ -2,7 +2,7 @@ import chalk from 'chalk'
|
|
|
2
2
|
|
|
3
3
|
import { detectDuplicateDependencies, parsedPackageJSON } from '../lib'
|
|
4
4
|
|
|
5
|
-
const DefaultDependencies = ['axios', '@xylabs/pixel', 'react', 'graphql', 'react-router', '@mui/material', '@mui/
|
|
5
|
+
const DefaultDependencies = ['axios', '@xylabs/pixel', 'react', 'graphql', 'react-router', '@mui/material', '@mui/system']
|
|
6
6
|
|
|
7
7
|
export const statics = () => {
|
|
8
8
|
console.log(chalk.green('Check Required Static Dependencies'))
|