Skip to content

Commit

Permalink
Merge pull request #9 from atlassian-forks/v24-sync
Browse files Browse the repository at this point in the history
Upgrade from 0.19.1 to 0.21.4
  • Loading branch information
ReDrUm authored Sep 24, 2024
2 parents 19c91de + 6896d76 commit 2034c99
Show file tree
Hide file tree
Showing 74 changed files with 5,772 additions and 4,005 deletions.
2 changes: 1 addition & 1 deletion .changeset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works with mono-repos or single package repos to help you verion and release your code. You can find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in [our documentation](https://github.com/changesets/changesets/blob/master/docs/common-questions.md)
We have a quick list of common questions to get you started engaging with this project in [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
5 changes: 3 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@0.2.1/schema.json",
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "Thinkmill/manypkg" }
],
"commit": false,
"linked": [],
"access": "public"
"access": "public",
"baseBranch": "main"
}
91 changes: 91 additions & 0 deletions .github/assets/manypkg-banner.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions .github/workflows/changeset-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ name: Release
on:
push:
branches:
- master
- main

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Node.js 10.x
uses: actions/setup-node@master
- name: Setup Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 10.x
node-version: 16.x

- name: Install Yarn
run: npm install --global yarn
Expand All @@ -28,9 +28,9 @@ jobs:
- run: git branch -a

- name: "Create Pull Request or Publish to npm"
uses: changesets/action@master
uses: changesets/action@v1
with:
publish: yarn release --otp=1
publish: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
35 changes: 26 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ name: CI
on:
push:
branches:
- master
- main
pull_request:

jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3

- name: Set Node.js 10.x
uses: actions/setup-node@master
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 10.x
node-version: 16.x

- name: Install Dependencies
run: yarn
Expand All @@ -28,15 +28,32 @@ jobs:
name: TypeScript
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3

- name: Set Node.js 10.x
uses: actions/setup-node@master
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 10.x
node-version: 16.x

- name: Install Dependencies
run: yarn

- name: Check Types
run: yarn tsc

formatting:
name: Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x

- name: Install Dependencies
run: yarn

- name: Check Formatting
run: yarn format:check
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dist
node_modules
__fixtures__
14 changes: 14 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Documentation for this file: https://prettier.io/docs/en/configuration.html

/** @type {import('prettier').Options} */
module.exports = {
// Use .gitattributes to manage newlines
endOfLine: "auto",

// Avoid line breaks in markdown
proseWrap: "never",

// Disabling search dirs and pointing directly at plugins to keep configuration explicit
pluginSearchDirs: [],
plugins: [require("prettier-plugin-packagejson")],
};
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Thinkmill Labs Pty Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit 2034c99

Please sign in to comment.