versacompiler 1.0.0 → 1.0.1

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/index.js CHANGED
@@ -157,6 +157,7 @@ const deleteFile = async ruta => {
157
157
  .replace('.vue', '.js')
158
158
  .replace('.ts', '.js'),
159
159
  PATH_DIST,
160
+ PATH_SOURCE,
160
161
  )
161
162
  ).toString();
162
163
  try {
@@ -22,5 +22,5 @@ export const showTimingForHumans = timing => {
22
22
  * @param {string} ruta - La ruta de origen.
23
23
  * @returns {Promise<string>} - La ruta mapeada en el directorio de distribución.
24
24
  */
25
- export const mapRuta = async (ruta, PATH_DIST) =>
25
+ export const mapRuta = async (ruta, PATH_DIST, PATH_SOURCE) =>
26
26
  path.join(PATH_DIST, path.relative(PATH_SOURCE, ruta));
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "versacompiler",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Una herramienta para compilar y minificar archivos .vue, .js y .ts para proyectos de Vue 3 con soporte para TypeScript.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
7
7
  "versacompiler": "dist/index.js"
8
8
  },
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
9
12
  "files": [
10
13
  "dist",
11
14
  "LICENSE",