mirror of
https://github.com/Warky-Devs/artemis-kit.git
synced 2025-05-18 19:37:28 +00:00
Released 1.0.3
This commit is contained in:
parent
9f5b743e15
commit
38edf8def5
12
.vscode/settings.json
vendored
12
.vscode/settings.json
vendored
@ -1,7 +1,7 @@
|
||||
{
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode" ,
|
||||
"editor.formatOnSave": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": true
|
||||
},
|
||||
}
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": "explicit"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,11 @@
|
||||
# @warkypublic/artemis-kit
|
||||
|
||||
## 1.0.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated export for object and dataqueue.
|
||||
|
||||
## 1.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
26
package.json
26
package.json
@ -1,16 +1,36 @@
|
||||
{
|
||||
"name": "@warkypublic/artemis-kit",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"description": "A comprehensive TypeScript/JavaScript utility library focused on precision and efficiency.",
|
||||
"type": "module",
|
||||
"main": "./src/index.ts",
|
||||
"module": "./src/index.ts",
|
||||
"types": "./src/index.ts",
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./dataqueue": "./src/dataqueue/index.ts",
|
||||
"./object": "./src/object/index.ts"
|
||||
},
|
||||
"typesVersions": {
|
||||
"*": {
|
||||
"dataqueue": [
|
||||
"./src/dataqueue/index.ts"
|
||||
],
|
||||
"object": [
|
||||
"./src/object/index.ts"
|
||||
]
|
||||
}
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts"
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": "./dist/index.ts",
|
||||
"./dataqueue": "./dist/dataqueue.js",
|
||||
"./object": "./dist/object.js"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
@ -67,4 +87,4 @@
|
||||
},
|
||||
"homepage": "https://github.com/Warky-Devs/artemis-kit#readme",
|
||||
"packageManager": "pnpm@9.6.0+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e"
|
||||
}
|
||||
}
|
@ -3,6 +3,6 @@ export * from "./strings";
|
||||
export * from "./mime";
|
||||
export * from "./promise";
|
||||
export * from "./i18n";
|
||||
export * from "./dataqueue";
|
||||
|
||||
//export * from './logger'
|
||||
export * from "./dom";
|
||||
|
@ -1,34 +1,44 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import { resolve } from 'path';
|
||||
import dts from 'vite-plugin-dts'; // You'll need to install this
|
||||
|
||||
/* eslint-disable no-undef */
|
||||
import { defineConfig } from "vite";
|
||||
import { resolve } from "path";
|
||||
import dts from "vite-plugin-dts"; // You'll need to install this
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
lib: {
|
||||
entry: resolve(__dirname, 'src/index.ts'),
|
||||
formats: ['es'],
|
||||
fileName: 'index'
|
||||
entry: {
|
||||
index: resolve(__dirname, "src/index.ts"),
|
||||
object: resolve(__dirname, "src/object/index.ts"),
|
||||
dataqueue: resolve(__dirname, "src/dataqueue/index.ts"),
|
||||
},
|
||||
formats: ["es"],
|
||||
fileName: (format, entryname) => {
|
||||
if (format === "es") {
|
||||
return `${entryname}.js`;
|
||||
}
|
||||
return `${entryname}.${format}.js`;
|
||||
},
|
||||
},
|
||||
rollupOptions: {
|
||||
external: [
|
||||
'fs',
|
||||
'path',
|
||||
'url',
|
||||
'chalk',
|
||||
'semver',
|
||||
'yargs',
|
||||
'yargs/helpers'
|
||||
]
|
||||
"fs",
|
||||
"path",
|
||||
"url",
|
||||
"chalk",
|
||||
"semver",
|
||||
"yargs",
|
||||
"yargs/helpers",
|
||||
],
|
||||
},
|
||||
target: 'node16',
|
||||
outDir: 'dist',
|
||||
target: "node16",
|
||||
outDir: "dist",
|
||||
emptyOutDir: true,
|
||||
sourcemap: true
|
||||
}, plugins: [
|
||||
sourcemap: true,
|
||||
},
|
||||
plugins: [
|
||||
dts({
|
||||
insertTypesEntry: true,
|
||||
outDir: 'dist'
|
||||
})
|
||||
]
|
||||
});
|
||||
outDir: "dist",
|
||||
}),
|
||||
],
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user