Skip to content

Commit 6aa065f

Browse files
committed
change working directory in publish workflow [skip ci]
1 parent 6914d80 commit 6aa065f

6 files changed

Lines changed: 6 additions & 78 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Publish to NPM
44
on:
55
push:
66
branches: [main]
7-
paths: "lib/fork-me/package.json"
7+
paths: "lib/esbuild-plugin-react18-css/package.json"
88

99
jobs:
1010
publish:
@@ -18,7 +18,7 @@ jobs:
1818

1919
defaults:
2020
run:
21-
working-directory: ./lib/fork-me
21+
working-directory: ./lib/esbuild-plugin-react18-css
2222

2323
steps:
2424
- uses: actions/checkout@v4

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
- cron: "5 */8 * * *"
88
jobs:
99
test:
10-
if: github.run_number != 1
1110
runs-on: ubuntu-latest
1211
permissions:
1312
contents: write
@@ -24,12 +23,12 @@ jobs:
2423
continue-on-error: true
2524
uses: codecov/codecov-action@v4
2625
with:
27-
directory: ./lib/fork-me
26+
directory: ./lib/esbuild-plugin-react18-css
2827
token: ${{ secrets.CODECOV_TOKEN }}
29-
flags: fork-me
28+
flags: esbuild-plugin-react18-css
3029
- uses: paambaati/codeclimate-action@v5.0.0
3130
continue-on-error: true
3231
env:
3332
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
3433
with:
35-
coverageLocations: ./lib/fork-me/coverage/*.xml:clover
34+
coverageLocations: ./lib/esbuild-plugin-react18-css/coverage/*.xml:clover

README.md

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,6 @@
66
77
## Features
88

9-
This template offers following pre-configured features. Additionally, your repo will automatically be rebranded with help of workflow and post install scripts.
10-
11-
✅ Monorepo powered by turbo repo to build, test and deploy your library
12-
13-
✅ Next.js, Vite and Remix examples to demonstrate how your library can be used (Feel free to remove Remix as it is still unstable when it comes to monorepo setup and importing from folders)
14-
15-
✅ Examples pre-configured to use Light/Dark theme according to user preference
16-
17-
✅ The examples provided are ready to be deployed to Vercel
18-
19-
✅ Typedoc setup to automatically create documentation for your library based on tsdoc comments
20-
21-
✅ Code of Conduct and contributing files that you can always update
22-
23-
✅ Prettier and linter configured as per the modern best practices (Feel free to add your flavour)
24-
25-
✅ Recommended VSCode extensions - Prettier and [Kanban board](https://github.com/mayank1513/vscode-extension-trello-kanban-board) to auto-format your code and manage your project priorities right within your IDE
26-
27-
✅ Powerful code generators - try yarn turbo gen
28-
29-
✅ Test setup with Vitest - A modern and fast testing framework supporting Jest like APIs
30-
31-
✅ Workflows to automate running tests on every pull-request or code push events
32-
33-
✅ Workflow to automatically publish and create a GitHub release when you update your librari's `package.json` file.
34-
35-
✅ Workflow to automatically rebrand entire template based on the name of the repo you create from this template. (As soon as you create a repo from this template, setup workflow is triggered which renames esbuild-plugin-react18-css to your repo name and does lots of other fixes to set you up and running.)
36-
37-
✅ With all these features, this readme file contains a quick checklist for you to configure Codecov and other badges, setup your docs website on GitHub pages, etc. See [Checklist](#step-by-step-instructions-and-checklist).
38-
39-
#### Create a library that is
40-
419
✅ Fully Treeshakable (import from esbuild-plugin-react18-css/client/component)
4210

4311
✅ Full TypeScript Support

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"test": "turbo run test",
77
"doc": "turbo run doc",
88
"lint": "turbo run lint",
9-
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,md,css,scss}\"",
10-
"preinstall": "node preinstall.js"
9+
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,md,css,scss}\""
1110
},
1211
"devDependencies": {
1312
"@changesets/cli": "^2.27.1",

preinstall.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

preinstall.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)