@architg564/learning-yt 1.0.2-next.3 → 1.0.2-next.5

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/fourth.js ADDED
@@ -0,0 +1,6 @@
1
+ //#region fourth.js
2
+ function e() {
3
+ return "Hey there!";
4
+ }
5
+ //#endregion
6
+ export { e as hey };
package/dist/index.js ADDED
@@ -0,0 +1,9 @@
1
+ //#region index.js
2
+ function e() {
3
+ return "Hello";
4
+ }
5
+ function t() {
6
+ return "Hi There!";
7
+ }
8
+ //#endregion
9
+ export { t as greet, e as sayHello };
package/dist/second.js ADDED
@@ -0,0 +1,6 @@
1
+ //#region src/second.js
2
+ function e() {
3
+ return "Hey!!!!";
4
+ }
5
+ //#endregion
6
+ export { e as greet1 };
package/dist/third.js ADDED
@@ -0,0 +1,6 @@
1
+ //#region src/third.js
2
+ function e() {
3
+ return "hey hey!!!!";
4
+ }
5
+ //#endregion
6
+ export { e as greet2 };
package/package.json CHANGED
@@ -1,19 +1,23 @@
1
1
  {
2
2
  "name": "@architg564/learning-yt",
3
- "version": "1.0.2-next.3",
3
+ "version": "1.0.2-next.5",
4
4
  "description": "learning npm packaging tools",
5
5
  "type": "module",
6
- "main": "index.js",
6
+ "main": "./dist/index.js",
7
7
  "files": [
8
- "src",
9
- "index.js"
8
+ "dist"
10
9
  ],
11
10
  "exports": {
12
- ".": "./index.js",
13
- "./second": "./src/second.js",
14
- "./third": "./src/third.js"
11
+ ".": "./dist/index.js",
12
+ "./second": "./dist/second.js",
13
+ "./third": "./dist/third.js",
14
+ "./fourth": "./dist/fourth.js"
15
15
  },
16
16
  "scripts": {
17
- "test": "echo \"Error: no test specified\" && exit 1"
17
+ "test": "echo \"Error: no test specified\" && exit 1",
18
+ "build": "vite build"
19
+ },
20
+ "devDependencies": {
21
+ "vite": "^8.0.13"
18
22
  }
19
23
  }
package/index.js DELETED
@@ -1,9 +0,0 @@
1
- export function sayHello() {
2
- return 'Hello';
3
- }
4
- export function greet() {
5
- return 'Hi There!';
6
- }
7
-
8
- // export { greet1 } from './src/second.js'
9
- // export { greet2 } from './src/third.js'
package/src/second.js DELETED
@@ -1,3 +0,0 @@
1
- export function greet1() {
2
- return "Hey!!!!";
3
- }
package/src/third.js DELETED
@@ -1,3 +0,0 @@
1
- export function greet2(){
2
- return 'hey hey!!!!';
3
- }