@gjsify/empty 0.0.4 → 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.
Files changed (3) hide show
  1. package/README.md +21 -1
  2. package/package.json +12 -6
  3. package/index.cjs +0 -1
package/README.md CHANGED
@@ -1,3 +1,23 @@
1
1
  # @gjsify/empty
2
2
 
3
- Just an empty module, used to resolve modules that are not needed
3
+ Empty placeholder package used as a replacement for unsupported Node.js modules in GJS builds.
4
+
5
+ Part of the [gjsify](https://github.com/gjsify/gjsify) project — Node.js and Web APIs for GJS (GNOME JavaScript).
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install @gjsify/empty
11
+ # or
12
+ yarn add @gjsify/empty
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ```typescript
18
+ import '@gjsify/empty';
19
+ ```
20
+
21
+ ## License
22
+
23
+ MIT
package/package.json CHANGED
@@ -1,15 +1,21 @@
1
1
  {
2
2
  "name": "@gjsify/empty",
3
- "version": "0.0.4",
3
+ "version": "0.1.0",
4
4
  "description": "Empty module for Gjs",
5
- "main": "index.cjs",
6
- "module": "index.mjs",
5
+ "type": "module",
6
+ "main": "index.mjs",
7
7
  "types": "index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./index.d.ts",
11
+ "default": "./index.mjs"
12
+ }
13
+ },
8
14
  "scripts": {
9
15
  "clear": "echo 'Noting to do'",
10
- "print:name": "echo '@gjsify/empty'",
11
- "build": "yarn print:name && echo 'Noting to do'",
12
- "test": "yarn print:name && echo 'Noting to do'"
16
+ "check": "true",
17
+ "build": "echo 'Noting to do'",
18
+ "test": "echo 'Noting to do'"
13
19
  },
14
20
  "keywords": [
15
21
  "gjs",
package/index.cjs DELETED
@@ -1 +0,0 @@
1
- module.exports = {};