buner 0.0.1 → 0.0.2

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.
@@ -21,13 +21,12 @@ jobs:
21
21
  - name: Checkout code
22
22
  uses: actions/checkout@v4
23
23
 
24
- - name: Set up Node.js
25
- uses: actions/setup-node@v4
24
+ - name: Set up Bun
25
+ uses: oven-sh/setup-bun@v2
26
26
  with:
27
- node-version: '22.x'
28
- registry-url: 'https://registry.npmjs.org'
27
+ bun-version: latest
29
28
 
30
29
  - name: Publish to NPM
31
- run: npm publish --access public
30
+ run: bun publish --access public
32
31
  env:
33
- NODE_AUTH_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
32
+ NPM_CONFIG_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
package/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # buner
2
+
3
+ To install dependencies:
4
+
5
+ ```bash
6
+ bun install
7
+ ```
8
+
9
+ To run:
10
+
11
+ ```bash
12
+ bun run index.ts
13
+ ```
14
+
15
+ This project was created using `bun init` in bun v1.2.19. [Bun](https://bun.com) is a fast all-in-one JavaScript runtime.
package/index.ts ADDED
@@ -0,0 +1 @@
1
+ console.log("Hello via Bun!");
package/package.json CHANGED
@@ -1,26 +1,15 @@
1
1
  {
2
+ "version": "0.0.2",
2
3
  "name": "buner",
3
- "version": "0.0.1",
4
- "main": "index.js",
5
- "dependencies": {
6
- "bun-types": "^1.2.19",
7
- "csstype": "^3.1.3",
8
- "typescript": "^5.9.2",
9
- "undici-types": "^7.10.0"
10
- },
11
- "devDependencies": {},
12
- "scripts": {
13
- "test": "echo \"Error: no test specified\" && exit 1"
14
- },
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/precise-alloy/buner.git"
18
- },
19
- "author": "",
20
- "license": "ISC",
21
- "bugs": {
22
- "url": "https://github.com/precise-alloy/buner/issues"
23
- },
24
- "homepage": "https://github.com/precise-alloy/buner#readme",
25
- "description": ""
26
- }
4
+ "module": "index.ts",
5
+ "type": "module",
6
+ "devDependencies": {
7
+ "@types/bun": "latest"
8
+ },
9
+ "peerDependencies": {
10
+ "typescript": "^5"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public"
14
+ }
15
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "compilerOptions": {
3
+ // Environment setup & latest features
4
+ "lib": ["ESNext"],
5
+ "target": "ESNext",
6
+ "module": "Preserve",
7
+ "moduleDetection": "force",
8
+ "jsx": "react-jsx",
9
+ "allowJs": true,
10
+
11
+ // Bundler mode
12
+ "moduleResolution": "bundler",
13
+ "allowImportingTsExtensions": true,
14
+ "verbatimModuleSyntax": true,
15
+ "noEmit": true,
16
+
17
+ // Best practices
18
+ "strict": true,
19
+ "skipLibCheck": true,
20
+ "noFallthroughCasesInSwitch": true,
21
+ "noUncheckedIndexedAccess": true,
22
+ "noImplicitOverride": true,
23
+
24
+ // Some stricter flags (disabled by default)
25
+ "noUnusedLocals": false,
26
+ "noUnusedParameters": false,
27
+ "noPropertyAccessFromIndexSignature": false
28
+ }
29
+ }
package/index.js DELETED
@@ -1,3 +0,0 @@
1
- exports.printMsg = function () {
2
- console.log('This is a message from the buner package')
3
- }