ide-assi 0.2.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/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # ide-assi-component
2
+
3
+ This template should help get you started developing with Vue 3 in Vite.
4
+
5
+ ## Recommended IDE Setup
6
+
7
+ [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
8
+
9
+ ## Customize configuration
10
+
11
+ See [Vite Configuration Reference](https://vite.dev/config/).
12
+
13
+ ## Project Setup
14
+
15
+ ```sh
16
+ npm install
17
+ ```
18
+
19
+ ### Compile and Hot-Reload for Development
20
+
21
+ ```sh
22
+ npm run dev
23
+ ```
24
+
25
+ ### Compile and Minify for Production
26
+
27
+ ```sh
28
+ npm run build
29
+ ```
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ class HelloCard extends HTMLElement {
4
+ connectedCallback() {
5
+ this.innerHTML = `<div style="padding:1rem;border:1px solid #ddd;">
6
+ 안녕하세요, <b>${this.getAttribute("name") ?? "게스트"}</b>!
7
+ </div>`;
8
+ }
9
+ }
10
+ customElements.define("hello-card", HelloCard);
@@ -0,0 +1,8 @@
1
+ class HelloCard extends HTMLElement {
2
+ connectedCallback() {
3
+ this.innerHTML = `<div style="padding:1rem;border:1px solid #ddd;">
4
+ 안녕하세요, <b>${this.getAttribute("name") ?? "게스트"}</b>!
5
+ </div>`;
6
+ }
7
+ }
8
+ customElements.define("hello-card", HelloCard);
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+ class HelloCard extends HTMLElement {
2
+ connectedCallback() {
3
+ this.innerHTML = `<div style="padding:1rem;border:1px solid #ddd;">
4
+ 안녕하세요, <b>${this.getAttribute("name") ?? "게스트"}</b>!
5
+ </div>`;
6
+ }
7
+ }
8
+ customElements.define("hello-card", HelloCard);
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "ide-assi",
3
+ "type": "module",
4
+ "version": "0.2.0",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "exports": {
8
+ "import": "./dist/index.js",
9
+ "require": "./dist/index.js",
10
+ "default": "./dist/index.js"
11
+ },
12
+ "scripts": {
13
+ "test": "echo \"Error: no test specified\" && exit 1",
14
+ "build": "rollup -c && mkdir -p dist && cp -r src/* dist/",
15
+ "build2": "rollup -c"
16
+ },
17
+ "keywords": [],
18
+ "author": "",
19
+ "license": "ISC",
20
+ "description": "",
21
+ "devDependencies": {
22
+ "@rollup/plugin-commonjs": "^28.0.3",
23
+ "@rollup/plugin-node-resolve": "^16.0.1",
24
+ "rollup": "^4.44.1"
25
+ },
26
+ "dependencies": {
27
+ "@langchain/core": "^0.x.x",
28
+ "@langchain/google-genai": "^0.x.x",
29
+ "@langchain/ollama": "^0.x.x",
30
+ "@langchain/openai": "^0.x.x",
31
+ "exceljs": "^4.4.0",
32
+ "jquery": "^3.6.0",
33
+ "react": "^19.1.0"
34
+ },
35
+ "peerDependencies": {
36
+ "jquery": "^3.6.0"
37
+ }
38
+ }
File without changes
@@ -0,0 +1,22 @@
1
+ import resolve from "@rollup/plugin-node-resolve";
2
+ import commonjs from "@rollup/plugin-commonjs";
3
+
4
+ export default {
5
+ input: "src/index.js",
6
+ output: [
7
+ {
8
+ file: "dist/bundle.cjs.js", // ✅ CommonJS 형식
9
+ format: "cjs",
10
+ exports: "named",
11
+ inlineDynamicImports: true,
12
+ },
13
+ {
14
+ file: "dist/bundle.esm.js", // ✅ ES Module 형식
15
+ format: "esm",
16
+ exports: "named",//"default"
17
+ inlineDynamicImports: true,
18
+ }
19
+ ],
20
+ external: [],
21
+ plugins: [resolve(), commonjs()]
22
+ };
package/src/index.js ADDED
@@ -0,0 +1,8 @@
1
+ class HelloCard extends HTMLElement {
2
+ connectedCallback() {
3
+ this.innerHTML = `<div style="padding:1rem;border:1px solid #ddd;">
4
+ 안녕하세요, <b>${this.getAttribute("name") ?? "게스트"}</b>!
5
+ </div>`;
6
+ }
7
+ }
8
+ customElements.define("hello-card", HelloCard);