Skip to content
Draft
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
6 changes: 6 additions & 0 deletions .changeset/itchy-guests-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@kunalnagarco/eslint-config": minor
"@kunalnagarco/ui.rest-client": minor
---

Add support for prereleases
10 changes: 10 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"mode": "exit",
"tag": "beta",
"initialVersions": {
"@kunalnagarco/eslint-config": "2.2.0",
"@kunalnagarco/ui.rest-client": "0.13.0",
"@kunalnagarco/ui.tsconfig": "0.13.0"
},
"changesets": ["itchy-guests-pretend"]
}
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -24,3 +27,15 @@ jobs:
run: yarn --immutable
- name: Build
run: yarn build:all
- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Release
run: yarn changeset publish --tag beta
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Binary file modified .yarn/install-state.gz
Binary file not shown.
Empty file removed packages/.gitkeep
Empty file.
8 changes: 2 additions & 6 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"name": "@kunalnagarco/eslint-config",
"version": "2.2.0",
"version": "2.3.0-beta.2",
"description": "An ESLint configuration for use across javascript projects",
"files": [
"dist"
],
"repository": {
"url": "git+https://github.com/kunalnagarco/ui.git"
},
"main": "dist/index.js",
"main": "src/index.js",
"keywords": [
"eslint",
"eslint-config",
Expand Down Expand Up @@ -36,7 +33,6 @@
"provenance": true
},
"scripts": {
"build": "rimraf dist && tsc",
"pack:run": "yarn pack"
},
"devDependencies": {
Expand Down
36 changes: 36 additions & 0 deletions packages/eslint-config/src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
const airbnbConfig = require('eslint-config-airbnb');
const airbnbTypescriptConfig = require('eslint-config-airbnb-typescript');
const prettierConfig = require('eslint-config-prettier');
const importPlugin = require('eslint-plugin-import');
const typescriptEslintPlugin = require('@typescript-eslint/eslint-plugin');

module.exports = {
airbnbConfig,
airbnbTypescriptConfig,
prettierConfig,
plugins: {
importPlugin,
typescriptEslintPlugin,
},
env: {
browser: true,
es6: true,
jest: true,
},
parser: '@typescript-eslint/parser',
rules: {
'import/order': [
'error',
{
pathGroupsExcludedImportTypes: ['builtin'],
groups: [
'builtin',
['external', 'internal'],
'parent',
['sibling', 'index'],
],
'newlines-between': 'always',
},
],
},
};
25 changes: 0 additions & 25 deletions packages/eslint-config/src/index.ts

This file was deleted.

10 changes: 0 additions & 10 deletions packages/eslint-config/tsconfig.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/rest-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kunalnagarco/ui.rest-client",
"version": "0.13.0",
"version": "0.14.0-beta.1",
"publishConfig": {
"access": "public",
"provenance": true
Expand Down
1 change: 0 additions & 1 deletion packages/rest-client/src/client.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Temp
/**
* Options when initializing the constructor
*/
Expand Down