Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/npm-publish-bundlers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ jobs:
- uses: pnpm/action-setup@v3
with:
version: 9
- run: pnpm install
working-directory: ${{ env.PACKAGE_DIR }}
- run: pnpm run build
working-directory: ${{ env.PACKAGE_DIR }}
- name: Install NX CLI
run: pnpm add -g nx
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm nx build dmf-bundlers
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" > .npmrc
working-directory: ${{ env.PACKAGE_DIR }}/dist
working-directory: ${{ env.PACKAGE_DIR }}
shell: bash
- run: ls -alh ${{ env.PACKAGE_DIR }}/dist
- run: ls -alh ${{ env.PACKAGE_DIR }}
- run: npm publish --access public
working-directory: ${{ env.PACKAGE_DIR }}/dist
working-directory: ${{ env.PACKAGE_DIR }}
16 changes: 9 additions & 7 deletions .github/workflows/npm-publish-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ jobs:
- uses: pnpm/action-setup@v3
with:
version: 9
- run: pnpm install
working-directory: ${{ env.PACKAGE_DIR }}
- run: pnpm run build
working-directory: ${{ env.PACKAGE_DIR }}
- name: Install NX CLI
run: pnpm add -g nx
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm nx build dmf-core
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" > .npmrc
working-directory: ${{ env.PACKAGE_DIR }}/dist
working-directory: ${{ env.PACKAGE_DIR }}
shell: bash
- run: ls -alh ${{ env.PACKAGE_DIR }}/dist
- run: ls -alh ${{ env.PACKAGE_DIR }}
- run: npm publish --access public
working-directory: ${{ env.PACKAGE_DIR }}/dist
working-directory: ${{ env.PACKAGE_DIR }}
16 changes: 9 additions & 7 deletions .github/workflows/npm-publish-logging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ jobs:
- uses: pnpm/action-setup@v3
with:
version: 9
- run: pnpm install
working-directory: ${{ env.PACKAGE_DIR }}
- run: pnpm run build
working-directory: ${{ env.PACKAGE_DIR }}
- name: Install NX CLI
run: pnpm add -g nx
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm nx build dmf-logging
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" > .npmrc
working-directory: ${{ env.PACKAGE_DIR }}/dist
working-directory: ${{ env.PACKAGE_DIR }}
shell: bash
- run: ls -alh ${{ env.PACKAGE_DIR }}/dist
- run: ls -alh ${{ env.PACKAGE_DIR }}
- run: npm publish --access public
working-directory: ${{ env.PACKAGE_DIR }}/dist
working-directory: ${{ env.PACKAGE_DIR }}
16 changes: 9 additions & 7 deletions .github/workflows/npm-publish-oidc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ jobs:
- uses: pnpm/action-setup@v3
with:
version: 9
- run: pnpm install
working-directory: ${{ env.PACKAGE_DIR }}
- run: pnpm run build
working-directory: ${{ env.PACKAGE_DIR }}
- name: Install NX CLI
run: pnpm add -g nx
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm nx build dmf-oidc
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" > .npmrc
working-directory: ${{ env.PACKAGE_DIR }}/dist
working-directory: ${{ env.PACKAGE_DIR }}
shell: bash
- run: ls -alh ${{ env.PACKAGE_DIR }}/dist
- run: ls -alh ${{ env.PACKAGE_DIR }}
- run: npm publish --access public
working-directory: ${{ env.PACKAGE_DIR }}/dist
working-directory: ${{ env.PACKAGE_DIR }}
16 changes: 9 additions & 7 deletions .github/workflows/npm-publish-react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ jobs:
- uses: pnpm/action-setup@v3
with:
version: 9
- run: pnpm install
working-directory: ${{ env.PACKAGE_DIR }}
- run: pnpm run build
working-directory: ${{ env.PACKAGE_DIR }}
- name: Install NX CLI
run: pnpm add -g nx
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm nx build dmf-react
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" > .npmrc
working-directory: ${{ env.PACKAGE_DIR }}/dist
working-directory: ${{ env.PACKAGE_DIR }}
shell: bash
- run: ls -alh ${{ env.PACKAGE_DIR }}/dist
- run: ls -alh ${{ env.PACKAGE_DIR }}
- run: npm publish --access public
working-directory: ${{ env.PACKAGE_DIR }}/dist
working-directory: ${{ env.PACKAGE_DIR }}
16 changes: 9 additions & 7 deletions .github/workflows/npm-publish-ros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ jobs:
- uses: pnpm/action-setup@v3
with:
version: 9
- run: pnpm install
working-directory: ${{ env.PACKAGE_DIR }}
- run: pnpm run build
working-directory: ${{ env.PACKAGE_DIR }}
- name: Install NX CLI
run: pnpm add -g nx
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm nx build dmf-logging
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" > .npmrc
working-directory: ${{ env.PACKAGE_DIR }}/dist
working-directory: ${{ env.PACKAGE_DIR }}
shell: bash
- run: ls -alh ${{ env.PACKAGE_DIR }}/dist
- run: ls -alh ${{ env.PACKAGE_DIR }}
- run: npm publish --access public
working-directory: ${{ env.PACKAGE_DIR }}/dist
working-directory: ${{ env.PACKAGE_DIR }}
9 changes: 5 additions & 4 deletions packages/dmf-bundlers/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "@dream.mf/bundlers",
"version": "0.4.0",
"typings": "./index.d.ts",
"typings": "./dist/index.d.ts",
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.cjs"
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"files": ["dist", "readme.md"],
"license": "MIT",
"dependencies": {
"@dream.mf/core": "workspace:*"
Expand Down Expand Up @@ -40,4 +41,4 @@
"@rspack/core": "^1.1.8",
"@rspack/plugin-react-refresh": "^1.0.1"
}
}
}
21 changes: 6 additions & 15 deletions packages/dmf-bundlers/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/dmf-bundlers/src",
"projectType": "library",
"tags": [
"scope:bundlers",
"type:library"
],
"tags": ["scope:bundlers", "type:library"],
"targets": {
"build": {
"executor": "@nx/vite:build",
"options": {
"outputPath": "dist/packages/dmf-bundlers",
"outputPath": "packages/dmf-bundlers/dist",
"assets": [
{
"glob": "package.json",
Expand Down Expand Up @@ -40,25 +37,19 @@
},
"test": {
"executor": "@nx/vite:test",
"outputs": [
"{options.reportsDirectory}"
],
"outputs": ["{options.reportsDirectory}"],
"options": {
"reportsDirectory": "../../coverage/packages/dmf-bundlers"
}
},
"biome-lint": {
"executor": "@gitopslovers/nx-biome:biome-lint",
"outputs": [
"{options.outputFile}"
],
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"packages/dmf-bundlers/**/*.ts"
],
"lintFilePatterns": ["packages/dmf-bundlers/**/*.ts"],
"write": false,
"unsafe": false
}
}
}
}
}
9 changes: 5 additions & 4 deletions packages/dmf-core/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"name": "@dream.mf/core",
"version": "1.2.7",
"typings": "./index.d.ts",
"typings": "./dist/index.d.ts",
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.cjs"
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"files": ["dist", "readme.md"],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Dream-mf/packages.git"
}
}
}
21 changes: 6 additions & 15 deletions packages/dmf-core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/dmf-core/src",
"projectType": "library",
"tags": [
"scope:core",
"type:library"
],
"tags": ["scope:core", "type:library"],
"targets": {
"build": {
"executor": "@nx/vite:build",
"options": {
"outputPath": "dist/packages/dmf-core",
"outputPath": "packages/dmf-core/dist",
"assets": [
{
"glob": "package.json",
Expand Down Expand Up @@ -40,25 +37,19 @@
},
"test": {
"executor": "@nx/vite:test",
"outputs": [
"{options.reportsDirectory}"
],
"outputs": ["{options.reportsDirectory}"],
"options": {
"reportsDirectory": "../../coverage/packages/dmf-core"
}
},
"biome-lint": {
"executor": "@gitopslovers/nx-biome:biome-lint",
"outputs": [
"{options.outputFile}"
],
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"packages/dmf-core/**/*.ts"
],
"lintFilePatterns": ["packages/dmf-core/**/*.ts"],
"write": false,
"unsafe": false
}
}
}
}
}
9 changes: 5 additions & 4 deletions packages/dmf-logging/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "@dream.mf/logging",
"version": "1.4.1",
"typings": "./index.d.ts",
"typings": "./dist/index.d.ts",
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.cjs"
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"files": ["dist", "readme.md"],
"license": "MIT",
"dependencies": {
"@dream.mf/core": "workspace:*"
Expand All @@ -24,4 +25,4 @@
"ts-loader": "^9.3.1",
"vitest": "2.1.8"
}
}
}
21 changes: 6 additions & 15 deletions packages/dmf-logging/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/dmf-logging/src",
"projectType": "library",
"tags": [
"scope:logging",
"type:library"
],
"tags": ["scope:logging", "type:library"],
"targets": {
"build": {
"executor": "@nx/vite:build",
"options": {
"outputPath": "dist/packages/dmf-logging",
"outputPath": "packages/dmf-logging/dist",
"assets": [
{
"glob": "package.json",
Expand Down Expand Up @@ -40,25 +37,19 @@
},
"test": {
"executor": "@nx/vite:test",
"outputs": [
"{options.reportsDirectory}"
],
"outputs": ["{options.reportsDirectory}"],
"options": {
"reportsDirectory": "../../coverage/packages/dmf-logging"
}
},
"biome-lint": {
"executor": "@gitopslovers/nx-biome:biome-lint",
"outputs": [
"{options.outputFile}"
],
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"packages/dmf-logging/**/*.ts"
],
"lintFilePatterns": ["packages/dmf-logging/**/*.ts"],
"write": false,
"unsafe": false
}
}
}
}
}
9 changes: 5 additions & 4 deletions packages/dmf-oidc/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@dream.mf/oidc",
"version": "1.0.0",
"typings": "./index.d.ts",
"typings": "./dist/index.d.ts",
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.cjs"
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"authors": [
Expand All @@ -14,6 +14,7 @@
"email": "[email protected]"
}
],
"files": ["dist", "readme.md"],
"license": "MIT",
"dependencies": {
"@dream.mf/core": "workspace:*",
Expand All @@ -30,4 +31,4 @@
"json": "11.0.0",
"@types/node": "^18.17.17"
}
}
}
Loading
Loading