-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from p10ns11y/prepare-multi-pack
Introduce multi pack
- Loading branch information
Showing
13 changed files
with
2,316 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Publish on Version Change | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'package.json' | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '22' | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Build project | ||
|
||
run: npx trubo run build | ||
|
||
- name: Publish to GitHub Packages | ||
working-directory: packages/core | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: npm publish --registry=https://npm.pkg.github.com/ | ||
|
||
- name: Publish to npm | ||
working-directory: packages/core | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: npm publish --registry=https://registry.npmjs.org/ --access public |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,29 @@ | ||
{ | ||
"name": "adaptate", | ||
"version": "0.0.6", | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"version": "0.0.7", | ||
"author": { | ||
"name": "Peramanathan Sathyamoorthy", | ||
"url": "https://github.com/p10ns11y/adaptate.git" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/p10ns11y/adaptate.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/p10ns11y/adaptate/issues" | ||
}, | ||
"homepage": "https://github.com/p10ns11y/adaptate#readme", | ||
"license": "MIT", | ||
"type": "module", | ||
"main": "./build/index.es.js", | ||
"types": "./build/index.d.ts", | ||
"scripts": { | ||
"test": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --coverage", | ||
"build": "vite build", | ||
"check-types": "tsc --noEmit" | ||
}, | ||
"dependencies": { | ||
"zod": "^3.23.8" | ||
"build": "turbo run build" | ||
}, | ||
"devDependencies": { | ||
"@apidevtools/swagger-parser": "^10.1.0", | ||
"@types/jest": "^29.5.14", | ||
"@types/js-yaml": "^4.0.9", | ||
"jest": "^29.7.0", | ||
"js-yaml": "^4.1.0", | ||
"ts-jest": "^29.2.5", | ||
"turbo": "^2.2.3", | ||
"vite": "^5.4.10" | ||
}, | ||
"peerDependencies": { | ||
"zod": "^3.23.8" | ||
"turbo": "^2.2.3" | ||
}, | ||
"packageManager": "[email protected]", | ||
"files": [ | ||
"build", | ||
"src", | ||
"package.json", | ||
"README.md" | ||
], | ||
"exports": { | ||
".": { | ||
"types": "./src/index.ts", | ||
"default": "./build/index.es.js" | ||
}, | ||
"./check-model": { | ||
"types": "./src/check-model.ts", | ||
"default": "./build/check-model.es.js" | ||
} | ||
}, | ||
"description": "Dynamic and Adaptable Model Validator Using Zod, Interoperable with OpenAPI", | ||
"keywords": [ | ||
"Zod", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{ | ||
"name": "@adaptate/core", | ||
"version": "0.0.7", | ||
"author": { | ||
"name": "Peramanathan Sathyamoorthy", | ||
"url": "https://github.com/p10ns11y/adaptate.git" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/p10ns11y/adaptate.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/p10ns11y/adaptate/issues" | ||
}, | ||
"homepage": "https://github.com/p10ns11y/adaptate#readme", | ||
"license": "MIT", | ||
"type": "module", | ||
"source": "./src/index.ts", | ||
"main": "./build/index.es.js", | ||
"types": "./build/index.d.ts", | ||
"scripts": { | ||
"test": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --coverage", | ||
"build": "vite build", | ||
"check-types": "tsc --noEmit" | ||
}, | ||
"dependencies": { | ||
"zod": "^3.23.8" | ||
}, | ||
"devDependencies": { | ||
"@apidevtools/swagger-parser": "^10.1.0", | ||
"@github/local-action": "^2.1.3", | ||
"@types/jest": "^29.5.14", | ||
"@types/js-yaml": "^4.0.9", | ||
"jest": "^29.7.0", | ||
"js-yaml": "^4.1.0", | ||
"ts-jest": "^29.2.5", | ||
"vite": "^5.4.10" | ||
}, | ||
"peerDependencies": { | ||
"zod": "^3.23.8" | ||
}, | ||
"packageManager": "[email protected]", | ||
"files": [ | ||
"build", | ||
"package.json", | ||
"README.md" | ||
], | ||
"exports": { | ||
".": { | ||
"types": "./src/index.ts", | ||
"default": "./build/index.es.js" | ||
} | ||
}, | ||
"description": "Dynamic and Adaptable Model Validator Using Zod, Interoperable with OpenAPI", | ||
"keywords": [ | ||
"Zod", | ||
"OpenAPI", | ||
"Schema Validation", | ||
"JSON Schema", | ||
"TypeScript", | ||
"Dynamic Validation", | ||
"Conditional Requirements", | ||
"React Hooks", | ||
"Data Validation", | ||
"API Integration", | ||
"Model Validator", | ||
"Schema Transformation", | ||
"Runtime Validation", | ||
"Component Props Validation", | ||
"Business Data Abstraction" | ||
] | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters