Skip to content

Commit

Permalink
feat: add semantic-release dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Maarkis committed Jan 2, 2024
1 parent 302e5f2 commit 3e0cb91
Show file tree
Hide file tree
Showing 5 changed files with 1,545 additions and 107 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"ignorePatterns": [
"dist"
],
"env": {
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Release

on:
push:
branches:
- main


permissions:
contents: read

jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write


steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: latest
run_install: |
- recursive: true
args: [--frozen-lockfile]
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
cache: 'pnpm'

- name: Verify integrity
run: pnpm audit --prod

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
212 changes: 108 additions & 104 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,104 +1,108 @@
{
"name": "@maarkis/fluent-faker",
"version": "0.0.12",
"description": "",
"author": "Jean Markis",
"keywords": [
"faker",
"fluent",
"fluent faker data generator",
"fluent-faker",
"faker.js",
"faker js",
"faker-js",
"fake data",
"fake-data",
"fake-generator",
"faker data generator",
"fluent faker data generator"
],
"engines": {
"node": ">=14",
"pnpm": ">=7.14"
},
"repository": {
"type": "git",
"url": "https://github.com/Maarkis/fluent-faker.git"
},
"bugs": {
"url": "https://github.com/Maarkis/fluent-faker/issues"
},
"scripts": {
"prepare": "husky install",
"build": "pnpm run clean:build && pnpm run build:node && pnpm run build:types",
"build:node": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && bash ./fixup",
"build:types": "tsc --emitDeclarationOnly --declaration --outDir dist/types",
"check": "prettier --check \"src/**/*.ts\" && eslint --ext .js,.ts .",
"prettier": "prettier --write \"src/**/*.ts\"",
"test": "jest",
"coverage": "jest --coverage",
"lint": "eslint --ext .js,.ts . --fix",
"clean": "rimraf dist coverage node_modules",
"clean:build": "rimraf dist/*"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist/"
],
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"types": "index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js"
},
"./builder/*": {
"types": "./dist/types/builder.d.ts",
"import": "./dist/mjs/builder.js",
"require": "./dist/cjs/builder.js"
}
},
"typesVersions": {
">=0.0.1": {
"*": [
"dist/types/*"
]
}
},
"license": "MIT",
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.11",
"@types/lodash.clonedeep": "^4.5.9",
"@types/lodash.isfunction": "^3.0.9",
"@types/lodash.reduce": "^4.6.9",
"@types/node": "^20.10.6",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.1",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"prettier": "3.1.1",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"typescript-eslint": "0.0.1-alpha.0"
},
"dependencies": {
"@faker-js/faker": "^8.3.1",
"lodash.clonedeep": "^4.5.0",
"lodash.isfunction": "^3.0.9",
"lodash.reduce": "^4.6.0"
}
}
{
"name": "@maarkis/fluent-faker",
"version": "0.0.12",
"description": "",
"author": "Jean Markis",
"keywords": [
"faker",
"fluent",
"fluent faker data generator",
"fluent-faker",
"faker.js",
"faker js",
"faker-js",
"fake data",
"fake-data",
"fake-generator",
"faker data generator",
"fluent faker data generator"
],
"engines": {
"node": ">=14",
"pnpm": ">=7.14"
},
"repository": {
"type": "git",
"url": "https://github.com/Maarkis/fluent-faker.git"
},
"bugs": {
"url": "https://github.com/Maarkis/fluent-faker/issues"
},
"scripts": {
"prepare": "husky install",
"build": "pnpm run clean:build && pnpm run build:node && pnpm run build:types",
"build:node": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && bash ./fixup",
"build:types": "tsc --emitDeclarationOnly --declaration --outDir dist/types",
"check": "prettier --check \"src/**/*.ts\" && eslint --ext .js,.ts .",
"prettier": "prettier --write \"src/**/*.ts\"",
"test": "jest",
"coverage": "jest --coverage",
"lint": "eslint --ext .js,.ts . --fix",
"clean": "rimraf dist coverage node_modules",
"clean:build": "rimraf dist/*"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist/"
],
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"types": "index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js"
},
"./builder/*": {
"types": "./dist/types/builder.d.ts",
"import": "./dist/mjs/builder.js",
"require": "./dist/cjs/builder.js"
}
},
"typesVersions": {
">=0.0.1": {
"*": [
"dist/types/*"
]
}
},
"license": "MIT",
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.11",
"@types/lodash.clonedeep": "^4.5.9",
"@types/lodash.isfunction": "^3.0.9",
"@types/lodash.reduce": "^4.6.9",
"@types/node": "^20.10.6",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.1",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"prettier": "3.1.1",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"typescript-eslint": "0.0.1-alpha.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^11.0.2",
"semantic-release": "^22.0.12"
},
"dependencies": {
"@faker-js/faker": "^8.3.1",
"lodash.clonedeep": "^4.5.0",
"lodash.isfunction": "^3.0.9",
"lodash.reduce": "^4.6.0"
}
}
Loading

0 comments on commit 3e0cb91

Please sign in to comment.