@factor-wise/prisma-schema 1.0.3 → 1.0.4
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/package.json +6 -1
- package/.github/workflows/publish.yml +0 -45
- package/tsconfig.json +0 -25
package/package.json
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@factor-wise/prisma-schema",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Shared Prisma schema and generated client for Factor Wise projects",
|
|
5
5
|
"main": "generated/client/index.js",
|
|
6
6
|
"types": "generated/client/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"prisma/",
|
|
9
|
+
"package.json",
|
|
10
|
+
"generated/client/"
|
|
11
|
+
],
|
|
7
12
|
"scripts": {
|
|
8
13
|
"generate": "prisma generate",
|
|
9
14
|
"build": "npm run generate",
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
name: 🚀 Publish to NPM
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
publish:
|
|
10
|
-
name: 📦 Publish Prisma Schema Package
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
|
|
13
|
-
permissions:
|
|
14
|
-
contents: write # allow pushing tags/commits back
|
|
15
|
-
|
|
16
|
-
steps:
|
|
17
|
-
- name: 🛎️ Checkout repository
|
|
18
|
-
uses: actions/checkout@v4
|
|
19
|
-
|
|
20
|
-
- name: 🧰 Setup Node.js
|
|
21
|
-
uses: actions/setup-node@v4
|
|
22
|
-
with:
|
|
23
|
-
node-version: 20
|
|
24
|
-
registry-url: "https://registry.npmjs.org"
|
|
25
|
-
|
|
26
|
-
- name: 📥 Install dependencies
|
|
27
|
-
run: npm install # use install instead of ci if package-lock.json is missing
|
|
28
|
-
|
|
29
|
-
- name: 📝 Configure Git user
|
|
30
|
-
run: |
|
|
31
|
-
git config --global user.name "github-actions[bot]"
|
|
32
|
-
git config --global user.email "actions@github.com"
|
|
33
|
-
|
|
34
|
-
- name: 📝 Bump version
|
|
35
|
-
run: npm version patch -m "🔖 Bump version to %s [skip ci]"
|
|
36
|
-
|
|
37
|
-
- name: 🚀 Publish to NPM
|
|
38
|
-
env:
|
|
39
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
40
|
-
run: npm publish --access public
|
|
41
|
-
|
|
42
|
-
- name: 🧠 Push version bump & tags to GitHub
|
|
43
|
-
env:
|
|
44
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
45
|
-
run: git push origin main --follow-tags
|
package/tsconfig.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"module": "nodenext",
|
|
4
|
-
"moduleResolution": "nodenext",
|
|
5
|
-
"resolvePackageJsonExports": true,
|
|
6
|
-
"esModuleInterop": true,
|
|
7
|
-
"isolatedModules": true,
|
|
8
|
-
"declaration": true,
|
|
9
|
-
"removeComments": true,
|
|
10
|
-
"emitDecoratorMetadata": true,
|
|
11
|
-
"experimentalDecorators": true,
|
|
12
|
-
"allowSyntheticDefaultImports": true,
|
|
13
|
-
"target": "ES2023",
|
|
14
|
-
"sourceMap": true,
|
|
15
|
-
"outDir": "./dist",
|
|
16
|
-
"baseUrl": "./",
|
|
17
|
-
"incremental": true,
|
|
18
|
-
"skipLibCheck": true,
|
|
19
|
-
"strictNullChecks": true,
|
|
20
|
-
"forceConsistentCasingInFileNames": true,
|
|
21
|
-
"noImplicitAny": false,
|
|
22
|
-
"strictBindCallApply": false,
|
|
23
|
-
"noFallthroughCasesInSwitch": false
|
|
24
|
-
}
|
|
25
|
-
}
|