Skip to content

Commit 5722fd9

Browse files
authored
feat!: bump dependencies, drop Node `<16.9.0 (#14)
1 parent e8f0456 commit 5722fd9

25 files changed

+15871
-3680
lines changed

.babelrc

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

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config/schema.json",
3+
"changelog": [
4+
"@changesets/changelog-github",
5+
{
6+
"repo": "un-es/react-style-loader"
7+
}
8+
],
9+
"commit": false,
10+
"linked": [],
11+
"access": "public",
12+
"baseBranch": "main",
13+
"updateInternalDependencies": "patch",
14+
"ignore": []
15+
}

.changeset/thin-sheep-play.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-style-loader": major
3+
---
4+
5+
feat!: bump dependencies, drop Node `<16.9.0`

.codesandbox/ci.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"node": "18",
3+
"buildCommand": false,
4+
"sandboxes": []
5+
}

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ jobs:
1010
strategy:
1111
matrix:
1212
node:
13-
- 16
1413
- 18
1514
- 20
1615
os:
@@ -20,14 +19,17 @@ jobs:
2019
- name: Checkout Repo
2120
uses: actions/checkout@v4
2221

22+
- name: Enable Corepack
23+
run: corepack enable
24+
2325
- name: Setup Node.js ${{ matrix.node }}
2426
uses: actions/setup-node@v4
2527
with:
2628
node-version: ${{ matrix.node }}
2729
cache: yarn
2830

2931
- name: Install Dependencies
30-
run: yarn --lock-file
32+
run: yarn --immutable
3133

3234
- name: Test
3335
run: yarn test

.github/workflows/codeql.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
schedule:
11+
- cron: '3 1 * * 6'
12+
13+
jobs:
14+
analyze:
15+
name: Analyze
16+
runs-on: ubuntu-latest
17+
permissions:
18+
actions: read
19+
contents: read
20+
security-events: write
21+
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
language:
26+
- javascript
27+
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v4
31+
32+
- name: Initialize CodeQL
33+
uses: github/codeql-action/init@v3
34+
with:
35+
languages: ${{ matrix.language }}
36+
queries: +security-and-quality
37+
38+
- name: Autobuild
39+
uses: github/codeql-action/autobuild@v3
40+
41+
- name: Perform CodeQL Analysis
42+
uses: github/codeql-action/analyze@v3
43+
with:
44+
category: '/language:${{ matrix.language }}'

.github/workflows/release.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release:
10+
name: Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Repo
14+
uses: actions/checkout@v4
15+
with:
16+
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
17+
fetch-depth: 0
18+
19+
- name: Enable Corepack
20+
run: corepack enable
21+
22+
- name: Setup Node.js LTS
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: lts/*
26+
cache: yarn
27+
28+
- name: Install Dependencies
29+
run: yarn --immutable
30+
31+
- name: Create Release Pull Request or Publish to npm
32+
id: changesets
33+
uses: changesets/action@v1
34+
with:
35+
commit: 'chore: release synckit'
36+
title: 'chore: release synckit'
37+
publish: yarn release
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
40+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.DS_Store
22
coverage
3-
/node_modules
3+
node_modules
4+
.*cache
5+
!/.*.cjs

.lintstagedrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('@1stg/lint-staged')

0 commit comments

Comments
 (0)