@deot/dev-adder 2.3.1 → 2.3.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/dist/index.cjs.js +4 -4
- package/dist/index.es.js +4 -4
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const devShared = require('@deot/dev-shared');
|
|
6
5
|
const node_path = require('node:path');
|
|
6
|
+
const devShared = require('@deot/dev-shared');
|
|
7
7
|
const ora = require('ora');
|
|
8
8
|
const fs = require('fs-extra');
|
|
9
9
|
const inquirer = require('inquirer');
|
|
@@ -118,9 +118,9 @@ const run = (options) => devShared.Utils.autoCatch(async () => {
|
|
|
118
118
|
fs.outputFileSync(`${dir}/${packageFolderName}/__tests__/index.spec.ts`, "// TODO");
|
|
119
119
|
fs.outputFileSync(`${dir}/${packageFolderName}/package.json`, JSON.stringify({
|
|
120
120
|
name: packageName,
|
|
121
|
-
version: "
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
version: "0.0.1",
|
|
122
|
+
type: "module",
|
|
123
|
+
main: "dist/index.es.js",
|
|
124
124
|
types: "dist/index.d.ts",
|
|
125
125
|
exports: {
|
|
126
126
|
".": {
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Locals, Utils, Logger, Shell } from '@deot/dev-shared';
|
|
2
1
|
import { resolve } from 'node:path';
|
|
2
|
+
import { Locals, Utils, Logger, Shell } from '@deot/dev-shared';
|
|
3
3
|
import ora from 'ora';
|
|
4
4
|
import fs from 'fs-extra';
|
|
5
5
|
import inquirer from 'inquirer';
|
|
@@ -114,9 +114,9 @@ const run = (options) => Utils.autoCatch(async () => {
|
|
|
114
114
|
fs.outputFileSync(`${dir}/${packageFolderName}/__tests__/index.spec.ts`, "// TODO");
|
|
115
115
|
fs.outputFileSync(`${dir}/${packageFolderName}/package.json`, JSON.stringify({
|
|
116
116
|
name: packageName,
|
|
117
|
-
version: "
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
version: "0.0.1",
|
|
118
|
+
type: "module",
|
|
119
|
+
main: "dist/index.es.js",
|
|
120
120
|
types: "dist/index.d.ts",
|
|
121
121
|
exports: {
|
|
122
122
|
".": {
|