Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
merrycoder committed Jan 10, 2025
1 parent 67beefd commit a147ace
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Package to npmjs
name: Publish Package to github packages
on:
workflow_dispatch:
inputs:
Expand All @@ -23,6 +23,7 @@ jobs:
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: '@qualipool'
- run: echo "github.event.inputs.semver ${{ github.event.inputs.semver }}"
- run: npm ci
- run: npm publish
env:
Expand Down
11 changes: 1 addition & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
.DS_Store
/node_modules
/scripts/update-pages/.tmp
/.project
/.settings
/testsbin
/scripts/xsddoc/.tmp
/.vscode
.idea
bin
obj
.vs
/dist
31 changes: 31 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.sortImports": "explicit"
},
"editor.formatOnSave": false,
"eslint.validate": ["javascript", "typescript", "html", "json"],
"eslint.useFlatConfig": true,
"[javascript]": {
"editor.tabSize": 2
},
"[typescript]": {
"editor.tabSize": 2
},
"[json]": {
"editor.tabSize": 2
},
"editor.rulers": [100],
"files.trimTrailingWhitespace": true,
"editor.renderWhitespace": "all",
"files.insertFinalNewline": true,
"files.watcherExclude": {
"**/.git/*/**": true,
"**/node_modules/*/**": true,
"**/cdk-out/*/**": true,
"**/dist/*/**": true
},
"files.associations": {
"base-tsconfig.json": "jsonc"
}
}
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@
"name": "@qualipool/swissrets-json",
"version": "0.9.0",
"description": "A swiss real estate transfer standard.",
"directories": {
"schema": "schema"
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test:unit": "jest --config ./jest.config.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
"lint:fix": "eslint . --fix",
"build": "tsc --project tsconfig.build.json"
},
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
// Emit
"outDir": "dist"
},
"exclude": ["src/**/*.spec.ts"]
}

0 comments on commit a147ace

Please sign in to comment.