@w3docs/core 0.1.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.
@@ -0,0 +1,3 @@
1
+ declare const w3docsCore = "Hello from @w3docs/core";
2
+
3
+ export { w3docsCore };
@@ -0,0 +1,3 @@
1
+ declare const w3docsCore = "Hello from @w3docs/core";
2
+
3
+ export { w3docsCore };
package/dist/index.js ADDED
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ w3docsCore: () => w3docsCore
24
+ });
25
+ module.exports = __toCommonJS(index_exports);
26
+ var w3docsCore = "Hello from @w3docs/core";
27
+ // Annotate the CommonJS export names for ESM import in node:
28
+ 0 && (module.exports = {
29
+ w3docsCore
30
+ });
package/dist/index.mjs ADDED
@@ -0,0 +1,5 @@
1
+ // src/index.ts
2
+ var w3docsCore = "Hello from @w3docs/core";
3
+ export {
4
+ w3docsCore
5
+ };
package/package.json ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "@w3docs/core",
3
+ "version": "0.1.0",
4
+ "private": false,
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "scripts": {
9
+ "build": "tsup src/index.ts --format cjs,esm --dts",
10
+ "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
11
+ "lint": "tsc --noEmit",
12
+ "typecheck": "tsc --noEmit",
13
+ "clean": "rm -rf dist .turbo node_modules",
14
+ "pushout": "npm publish --access public",
15
+ "pushout-inc": "npm version patch --no-git-tag-version && pnpm pushout"
16
+ },
17
+ "devDependencies": {
18
+ "@w3docs/tsconfig": "workspace:*",
19
+ "tsup": "^8.0.0",
20
+ "typescript": "^5.5.0"
21
+ }
22
+ }