ultracite 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitattributes +2 -0
- package/.github/FUNDING.yml +1 -0
- package/.github/workflows/push.yaml +45 -0
- package/.vscode/settings.json +19 -0
- package/CHANGELOG.md +1352 -0
- package/README.md +152 -0
- package/SECURITY.md +9 -0
- package/eslint.config.mjs +173 -0
- package/license.md +7 -0
- package/logo.svg +1 -0
- package/package.json +78 -0
- package/prettier.js +13 -0
- package/rules/cypress.mjs +17 -0
- package/rules/eslint-typescript.mjs +43 -0
- package/rules/eslint.mjs +189 -0
- package/rules/import.mjs +44 -0
- package/rules/jest.mjs +17 -0
- package/rules/jsx-a11y.mjs +27 -0
- package/rules/n.mjs +24 -0
- package/rules/next.mjs +17 -0
- package/rules/prettier.mjs +5 -0
- package/rules/promise.mjs +20 -0
- package/rules/react.mjs +46 -0
- package/rules/reactHooks.mjs +23 -0
- package/rules/storybook.mjs +17 -0
- package/rules/tailwindcss.mjs +22 -0
- package/rules/typescript.mjs +62 -0
- package/rules/unused-imports.mjs +17 -0
- package/stylelint.js +35 -0
- package/test.css +7 -0
- package/test.tsx +11 -0
- package/tsconfig.json +10 -0
package/.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
github: [haydenbleasel]
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Name of our action
|
|
2
|
+
name: Release
|
|
3
|
+
|
|
4
|
+
# The event that will trigger the action
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
branches: [main]
|
|
8
|
+
|
|
9
|
+
# what the action will do
|
|
10
|
+
jobs:
|
|
11
|
+
release:
|
|
12
|
+
# The operating system it will run on
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
# This check needs to be in place to prevent a publish loop with auto and github actions
|
|
15
|
+
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
|
|
16
|
+
# The list of steps that the action will go through
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v3
|
|
19
|
+
- uses: pnpm/action-setup@v2
|
|
20
|
+
with:
|
|
21
|
+
version: 8
|
|
22
|
+
|
|
23
|
+
- name: Prepare repository
|
|
24
|
+
run: git fetch --unshallow --tags
|
|
25
|
+
|
|
26
|
+
- name: Use Node.js
|
|
27
|
+
uses: actions/setup-node@v3
|
|
28
|
+
with:
|
|
29
|
+
node-version: 18
|
|
30
|
+
|
|
31
|
+
- name: Cache node modules
|
|
32
|
+
uses: actions/cache@v3
|
|
33
|
+
with:
|
|
34
|
+
path: node_modules
|
|
35
|
+
key: pnpm-deps-${{ hashFiles('pnpm-lock.yaml') }}
|
|
36
|
+
restore-keys: |
|
|
37
|
+
pnpm-deps-${{ hashFiles('pnpm-lock.yaml') }}
|
|
38
|
+
|
|
39
|
+
- name: Create Release
|
|
40
|
+
env:
|
|
41
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
42
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
43
|
+
run: |
|
|
44
|
+
pnpm install
|
|
45
|
+
npx auto shipit
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"typescript.tsdk": "node_modules/typescript/lib",
|
|
3
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
4
|
+
"editor.formatOnSave": true,
|
|
5
|
+
"editor.formatOnPaste": true,
|
|
6
|
+
"emmet.showExpandedAbbreviation": "never",
|
|
7
|
+
"editor.codeActionsOnSave": {
|
|
8
|
+
"source.fixAll.esbenp.prettier-vscode": "explicit",
|
|
9
|
+
"source.fixAll.eslint": "explicit",
|
|
10
|
+
"source.fixAll.stylelint": "explicit"
|
|
11
|
+
},
|
|
12
|
+
"[typescriptreact]": {
|
|
13
|
+
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
14
|
+
},
|
|
15
|
+
"eslint.experimental.useFlatConfig": true,
|
|
16
|
+
"eslint.options": {
|
|
17
|
+
"overrideConfigFile": "eslint.config.mjs"
|
|
18
|
+
}
|
|
19
|
+
}
|