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.
- package/.github/workflows/deploy.yaml +5 -6
- package/README.md +15 -0
- package/index.ts +1 -0
- package/package.json +13 -24
- package/tsconfig.json +29 -0
- package/index.js +0 -3
|
@@ -21,13 +21,12 @@ jobs:
|
|
|
21
21
|
- name: Checkout code
|
|
22
22
|
uses: actions/checkout@v4
|
|
23
23
|
|
|
24
|
-
- name: Set up
|
|
25
|
-
uses:
|
|
24
|
+
- name: Set up Bun
|
|
25
|
+
uses: oven-sh/setup-bun@v2
|
|
26
26
|
with:
|
|
27
|
-
|
|
28
|
-
registry-url: 'https://registry.npmjs.org'
|
|
27
|
+
bun-version: latest
|
|
29
28
|
|
|
30
29
|
- name: Publish to NPM
|
|
31
|
-
run:
|
|
30
|
+
run: bun publish --access public
|
|
32
31
|
env:
|
|
33
|
-
|
|
32
|
+
NPM_CONFIG_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
|
package/README.md
ADDED
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
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"bun
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
},
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
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