whatzapp 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.
@@ -0,0 +1,8 @@
1
+ # Changesets
2
+
3
+ Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
+ with multi-package repos, or single-package repos to help you version and publish your code. You can
5
+ find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6
+
7
+ We have a quick list of common questions to get you started engaging with this project in
8
+ [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://unpkg.com/@changesets/config@3.1.2/schema.json",
3
+ "changelog": "@changesets/cli/changelog",
4
+ "commit": false,
5
+ "fixed": [],
6
+ "linked": [],
7
+ "access": "public",
8
+ "baseBranch": "main",
9
+ "updateInternalDependencies": "patch",
10
+ "ignore": []
11
+ }
@@ -0,0 +1,21 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - "**"
7
+
8
+ jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ - uses: pnpm/action-setup@v2
14
+ with:
15
+ version: 10.24.0
16
+ - uses: actions/setup-node@v3
17
+ with:
18
+ node-version: 22
19
+ cache: "pnpm"
20
+ - run: pnpm install --frozen-lockfile
21
+ - run: pnpm run lint && pnpm run build
@@ -0,0 +1,33 @@
1
+ name: Publish
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - "main"
7
+
8
+ concurrency: ${{ github.workflow }}-${{ github.ref }}
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - uses: pnpm/action-setup@v2
16
+ with:
17
+ version: 10.24.0
18
+ - uses: actions/setup-node@v3
19
+ with:
20
+ node-version: 22
21
+ cache: "pnpm"
22
+ - run: pnpm install --frozen-lockfile
23
+ - name: Setup npm authentication for pnpm
24
+ run: |
25
+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > $HOME/.npmrc
26
+ - name: Create Release Pull Request or Publish
27
+ id: changesets
28
+ uses: changesets/action@v1
29
+ with:
30
+ publish: pnpm publish
31
+ env:
32
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
33
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
package/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # whatzapp
2
+
3
+ ## 0.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - e136a20: initialized project
8
+ - 5db0ff7: make public
package/package.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "whatzapp",
3
+ "version": "0.0.2",
4
+ "description": "",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "module": "dist/index.mjs",
8
+ "types": "dist/index.d.ts",
9
+ "keywords": [],
10
+ "author": "",
11
+ "license": "MIT",
12
+ "devDependencies": {
13
+ "@changesets/cli": "^2.29.8",
14
+ "tsup": "^8.5.1",
15
+ "typescript": "^5.9.3"
16
+ },
17
+ "scripts": {
18
+ "build": "tsup src/index.ts --format cjs,esm --dts",
19
+ "lint": "tsc"
20
+ }
21
+ }
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export const add = (a: number, b: number) => a + b;
package/tsconfig.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ // Visit https://aka.ms/tsconfig to read more about this file
3
+ "compilerOptions": {
4
+ // File Layout
5
+ "rootDir": "./src",
6
+ // "outDir": "./dist",
7
+
8
+ // Environment Settings
9
+ // See also https://aka.ms/tsconfig/module
10
+ "module": "nodenext",
11
+ "target": "esnext",
12
+ "types": [],
13
+ // For nodejs:
14
+ // "lib": ["esnext"],
15
+ // "types": ["node"],
16
+ // and npm install -D @types/node
17
+
18
+ // Other Outputs
19
+ "sourceMap": true,
20
+ "declaration": true,
21
+ "declarationMap": true,
22
+
23
+ // Stricter Typechecking Options
24
+ "noUncheckedIndexedAccess": true,
25
+ "exactOptionalPropertyTypes": true,
26
+
27
+ // Style Options
28
+ // "noImplicitReturns": true,
29
+ // "noImplicitOverride": true,
30
+ // "noUnusedLocals": true,
31
+ // "noUnusedParameters": true,
32
+ // "noFallthroughCasesInSwitch": true,
33
+ // "noPropertyAccessFromIndexSignature": true,
34
+
35
+ // Recommended Options
36
+ "strict": true,
37
+ "jsx": "react-jsx",
38
+ "verbatimModuleSyntax": true,
39
+ "isolatedModules": true,
40
+ "noUncheckedSideEffectImports": true,
41
+ "moduleDetection": "force",
42
+ "skipLibCheck": true,
43
+ "noEmit": true
44
+ }
45
+ }