@moneko/core 3.15.1 → 3.15.3

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/lib/paths.mjs +1 -1
  2. package/package.json +4 -4
package/lib/paths.mjs CHANGED
@@ -1 +1 @@
1
- import e from"url";import{dirname as t,resolve as o}from"path";let a=JSON.parse(process.env.npm_config_argv||'{"original":[]}').original;export const __filename=e.fileURLToPath(import.meta.url);export const __dirname=t(__filename);export const yarnArgv={};for(let e=0,t=a.length;e<t;e++){let t=a[e].split("=");Object.assign(yarnArgv,{[t[0]]:t[1]||!0})}export const CUSTOMCONFIG=process.env.npm_config_config||yarnArgv.config;let c=process.cwd(),r=o(c,"./node_modules"),n={__dirname,__filename,nodeModules:r,corePath:e.fileURLToPath(new URL(".",import.meta.url)),programPath:c,webpackCachePath:o(r,"./.temp_cache"),lineCachePath:o(r,"./.cache"),cachePath:o(r,"./.cache/.mo"),httpCachePath:o(r,"./.cache/http"),swcCachePath:o(r,"./.swc"),configPath:o(c,"./config/index.ts"),customConfigPath:o(c,`./config/${CUSTOMCONFIG}.ts`),coveragePath:o(c,"./coverage/clover.xml"),pagesPath:o(c,"./src/pages"),componentsPath:o(c,"./components"),mockPath:o(c,"./mock"),vfsDtsPath:o(r,"./@app")};export const routeDir="library"===process.env.APPTYPE?n.componentsPath:n.pagesPath;export default n;
1
+ import e from"url";import{dirname as t,resolve as a}from"path";let o=JSON.parse(process.env.npm_config_argv||'{"original":[]}').original;export const __filename=e.fileURLToPath(import.meta.url);export const __dirname=t(__filename);export const yarnArgv={};for(let e=0,t=o.length;e<t;e++){let t=o[e].split("=");Object.assign(yarnArgv,{[t[0]]:t[1]||!0})}export const CUSTOMCONFIG=process.env.npm_config_config||yarnArgv.config;let c=process.cwd(),r=a(c,"./node_modules"),n={__dirname,__filename,nodeModules:r,corePath:e.fileURLToPath(new URL(".",import.meta.url)),programPath:c,webpackCachePath:a(r,"./.temp_cache"),lineCachePath:a(r,"./.cache"),cachePath:a(r,"./.cache/.mo"),httpCachePath:a(r,"./.cache/http"),swcCachePath:a(r,"./.cache/.swc"),configPath:a(c,"./config/index.ts"),customConfigPath:a(c,`./config/${CUSTOMCONFIG}.ts`),coveragePath:a(c,"./coverage/clover.xml"),pagesPath:a(c,"./src/pages"),componentsPath:a(c,"./components"),mockPath:a(c,"./mock"),vfsDtsPath:a(r,"./@app")};export const routeDir="library"===process.env.APPTYPE?n.componentsPath:n.pagesPath;export default n;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneko/core",
3
- "version": "3.15.1",
3
+ "version": "3.15.3",
4
4
  "description": "core",
5
5
  "main": "lib/index.mjs",
6
6
  "type": "module",
@@ -13,7 +13,7 @@
13
13
  "dependencies": {
14
14
  "@moneko/mdx": "0.1.26",
15
15
  "@moneko/transform-imports": "0.5.1",
16
- "@swc/core": "1.5.0",
16
+ "@swc/core": "1.5.5",
17
17
  "@typescript/vfs": "1.5.0",
18
18
  "browserslist": "4.23.0",
19
19
  "chalk": "5.3.0",
@@ -22,7 +22,7 @@
22
22
  "core-js-compat": "3.37.0",
23
23
  "css-loader": "7.1.1",
24
24
  "dotenv": "16.4.5",
25
- "enhanced-resolve": "5.16.0",
25
+ "enhanced-resolve": "5.16.1",
26
26
  "express": "4.19.2",
27
27
  "html-webpack-plugin": "5.6.0",
28
28
  "http-proxy-middleware": "3.0.0",
@@ -50,7 +50,7 @@
50
50
  "@types/multer": "1.4.11",
51
51
  "@types/webpack-bundle-analyzer": "4.7.0",
52
52
  "@types/webpack-hot-middleware": "2.25.9",
53
- "sass": "1.75.0",
53
+ "sass": "1.77.0",
54
54
  "sass-loader": "14.2.1"
55
55
  },
56
56
  "files": [