Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add changesets #335

Merged
merged 5 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from 4 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
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish 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/main/docs/common-questions.md)
29 changes: 29 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{"repo": "atlassian-labs/atlaspack"}
],
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [
"caniuse-database",
"lmdb-js-lite",
"fuzzer",
"@atlaspack/repl",
"@atlaspack/conditional-bundling-example",
"@atlaspack/eslint-example",
"@atlaspack/html-example",
"@atlaspack/kitchen-sink-example",
"@atlaspack/react-hmr-example",
"@atlaspack/react-refresh-example",
"@atlaspack/simple-example",
"@atlaspack/typechecking-example",
"@atlaspack/typescript-example",
"atlaspack-for-vscode"
]
}
4 changes: 3 additions & 1 deletion .github/workflows/canary-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ jobs:
secrets: inherit
with:
profile: canary
release-command: yarn canary:release
release-command: |
yarn canary:release
yarn changeset publish
type: canary
23 changes: 23 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,26 @@ Then you can try out some of the examples:
cd packages/examples/kitchen-sink/
yarn start
```

## Releasing new versions

You will need to set-up a Github personal access token with `read:user` and
`read:repo` permissions and set it to the `GITHUB_TOKEN` environment variable.

### Create a changeset with

```
yarn changeset
```

### Update package versions to bump pending changesets

```
yarn changeset version
```

### Publishing to NPM (CI should do this automatically)

```
yarn changeset publish
```
15 changes: 15 additions & 0 deletions benchmarks/three-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# @atlaspack/benchmark-three-js

## 0.1.0

### Minor Changes

- [#335](https://github.com/atlassian-labs/atlaspack/pull/335) [`b4dbd4d`](https://github.com/atlassian-labs/atlaspack/commit/b4dbd4d5b23d1b7aa3fcdf59cc7bc8bedd3a59cf) Thanks [@yamadapc](https://github.com/yamadapc)! - Initial changeset release

### Patch Changes

- Updated dependencies [[`b4dbd4d`](https://github.com/atlassian-labs/atlaspack/commit/b4dbd4d5b23d1b7aa3fcdf59cc7bc8bedd3a59cf)]:
- @atlaspack/[email protected]
- @atlaspack/[email protected]
- @atlaspack/[email protected]
- @atlaspack/[email protected]
2 changes: 1 addition & 1 deletion benchmarks/three-js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@atlaspack/benchmark-three-js",
"private": true,
"version": "0.0.0",
"version": "0.1.0",
"scripts": {
"start": "node ./scripts/build.js",
"start:v2": "env ATLASPACK_BENCH_MODE=V2 ATLASPACK_BENCH_PLUGINS=0 node ./scripts/build.mjs",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@
"postinstall": "patch-package"
},
"devDependencies": {
"@atlaspack/babel-register": "*",
"@babel/core": "^7.22.11",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@changesets/cli": "^2.27.9",
"@changesets/changelog-github": "^0.5.0",
"@khanacademy/flow-to-ts": "^0.5.2",
"@napi-rs/cli": "^2.18.3",
"@types/node": ">= 18",
Expand Down
106 changes: 106 additions & 0 deletions package.json.orig
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"name": "@atlaspack/monorepo",
"description": "Blazing fast, zero configuration web application bundler",
"license": "(MIT OR Apache-2.0)",
"repository": {
"type": "git",
"url": "https://github.com/atlassian-labs/atlaspack.git"
},
"private": true,
"workspaces": [
"benchmarks/*",
"crates/atlaspack_contextual_imports_swc_plugin",
"crates/caniuse_database",
"crates/lmdb-js-lite",
"packages/*/*"
],
"scripts": {
"build": "yarn build-bundles && cross-env NODE_ENV=production ATLASPACK_BUILD_ENV=production gulp",
"build-bundles": "rimraf --glob packages/*/*/lib && lerna run dev:prepare && cross-env NODE_ENV=production ATLASPACK_BUILD_ENV=production ATLASPACK_SELF_BUILD=true atlaspack build --no-cache packages/core/{fs,codeframe,package-manager,utils} packages/reporters/{cli,dev-server} packages/utils/{atlaspack-lsp,atlaspack-lsp-protocol,atlaspack-watcher-watchman-js,babel-plugin-transform-contextual-imports}",
"build-ts": "lerna run build-ts && lerna run check-ts",
"build-native": "node scripts/build-native.js",
"build-native-release": "node scripts/build-native.js --release",
"build-native-canary": "node scripts/build-native.js --canary",
"build-native-wasm": "node scripts/build-native.js --release --wasm",
"build-repl": "yarn build-native-release && yarn build-native-wasm && yarn workspace @atlaspack/repl build",
"clean-test": "rimraf packages/core/integration-tests/.parcel-cache && rimraf packages/core/integration-tests/dist",
"clean": "yarn clean-test && lerna clean --yes && lerna exec -- rimraf ./lib && yarn",
"format": "prettier --write \"./packages/*/*/{src,bin,test}/**/*.{js,json,md}\" && cargo +nightly fmt --all",
"link-all": "node scripts/link-all.js packages",
"unlink-all": "node scripts/unlink-all.js packages",
"check": "flow check",
"lint": "node ./scripts/lint-all.mjs",
"prepublishOnly": "yarn adjust-versions && yarn build && yarn build-ts",
"test": "yarn test:unit && yarn test:integration",
"test:e2e": "yarn workspace @atlaspack/e2e-tests test",
"test:e2e:ci": "yarn workspace @atlaspack/e2e-tests test-ci",
"test:integration": "yarn workspace @atlaspack/integration-tests test",
"test:integration:v3": "ATLASPACK_V3=true yarn workspace @atlaspack/integration-tests test",
"test:integration-ci": "yarn workspace @atlaspack/integration-tests test-ci",
"test:js": "yarn test:js:unit && yarn test:integration",
"test:js:coverage": "yarn nyc yarn test:js:unit",
"test:js:coverage:report": "yarn nyc report --reporter=html-spa",
"test:js:unit": "cross-env NODE_ENV=test mocha --conditions=\"@atlaspack::sources\" --timeout 5000",
"test:unit": "yarn test:js:unit && cargo test",
"dev:release": "SKIP_PLUGIN_COMPATIBILITY_CHECK=true lerna publish -y --canary --preid dev --dist-tag=dev --exact --force-publish=* --no-git-tag-version --no-push",
"canary:release": "SKIP_PLUGIN_COMPATIBILITY_CHECK=true lerna publish -y --canary --preid canary --dist-tag=canary --exact --force-publish=* --no-git-tag-version --no-push",
"tag:prerelease": "lerna version --exact --force-publish=* --no-git-tag-version --no-push && yarn adjust-versions --exact",
"tag:release": "lerna version --exact --force-publish=* --no-git-tag-version --no-push && yarn adjust-versions",
"adjust-versions": "node scripts/update-config-dependencies.js && node scripts/update-engines-peerdeps.js",
"release": "lerna publish -y from-package --pre-dist-tag=next --no-git-tag-version --no-push",
"prepare": "husky install",
"postinstall": "patch-package"
},
"devDependencies": {
"@atlaspack/babel-register": "*",
"@babel/core": "^7.22.11",
<<<<<<< HEAD
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
=======
"@changesets/cli": "^2.27.9",
>>>>>>> e77949736 (Add changesets to the repository)
"@khanacademy/flow-to-ts": "^0.5.2",
"@napi-rs/cli": "^2.18.3",
"@types/node": ">= 18",
"buffer": "mischnic/buffer#b8a4fa94",
"cross-env": "^7.0.0",
"eslint": "^8.41.0",
"flow-bin": "0.184.0",
"glob": "^7.1.6",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"husky": "^6.0.0",
"lerna": "^8.1.9",
"lint-staged": "^10.2.11",
"mocha": "^8.3.0",
"nyc": "^17.1.0",
"prettier": "2.4.1",
"punycode": "^1.4.1",
"rfdc": "^1.4.1",
"rimraf": "^5.0.5",
"semver": "^7.5.2",
"sinon": "^7.3.1",
"typescript": "^5.6.2",
"zx": "^8.1.9"
},
"engines": {
"node": ">= 16.0.0"
},
"lint-staged": {
"*.{js,json,md,ts}": "prettier --write",
"*.rs": "rustfmt"
},
"packageManager": "[email protected]",
"browser": {
"react-dom": "preact/compat",
"react": "preact/compat",
"scheduler": false
},
"dependencies": {
"patch-package": "^8.0.0"
},
"_": "The watcher complains about non-existing dirs in the integration tests on >=2.3.0",
"resolutions": {
"@parcel/watcher": "~2.2.0"
}
}
20 changes: 20 additions & 0 deletions packages/bundlers/bundler-experimental/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# @atlaspack/bundler-experimental

## 2.13.0

### Minor Changes

- [#335](https://github.com/atlassian-labs/atlaspack/pull/335) [`b4dbd4d`](https://github.com/atlassian-labs/atlaspack/commit/b4dbd4d5b23d1b7aa3fcdf59cc7bc8bedd3a59cf) Thanks [@yamadapc](https://github.com/yamadapc)! - Initial changeset release

### Patch Changes

- Updated dependencies [[`b4dbd4d`](https://github.com/atlassian-labs/atlaspack/commit/b4dbd4d5b23d1b7aa3fcdf59cc7bc8bedd3a59cf)]:
- @atlaspack/[email protected]
- @atlaspack/[email protected]
- @atlaspack/[email protected]
- @atlaspack/[email protected]
- @atlaspack/[email protected]
- @atlaspack/[email protected]
- @atlaspack/[email protected]
- @atlaspack/[email protected]
- @atlaspack/[email protected]
22 changes: 11 additions & 11 deletions packages/bundlers/bundler-experimental/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atlaspack/bundler-experimental",
"version": "2.12.0",
"version": "2.13.0",
"license": "(MIT OR Apache-2.0)",
"publishConfig": {
"access": "public"
Expand All @@ -16,18 +16,18 @@
"parcel": "^2.12.0"
},
"dependencies": {
"@atlaspack/core": "2.12.0",
"@atlaspack/diagnostic": "2.12.0",
"@atlaspack/feature-flags": "2.12.0",
"@atlaspack/graph": "3.2.0",
"@atlaspack/logger": "2.12.0",
"@atlaspack/plugin": "2.12.0",
"@atlaspack/rust": "2.12.0",
"@atlaspack/types": "2.12.0",
"@atlaspack/utils": "2.12.0",
"@atlaspack/core": "2.13.0",
"@atlaspack/diagnostic": "2.13.0",
"@atlaspack/feature-flags": "2.13.0",
"@atlaspack/graph": "3.3.0",
"@atlaspack/logger": "2.13.0",
"@atlaspack/plugin": "2.13.0",
"@atlaspack/rust": "2.13.0",
"@atlaspack/types": "2.13.0",
"@atlaspack/utils": "2.13.0",
"nullthrows": "^1.1.1"
},
"devDependencies": {
"@atlaspack/fs": "2.12.0"
"@atlaspack/fs": "2.13.0"
}
}
17 changes: 17 additions & 0 deletions packages/bundlers/default/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# @atlaspack/bundler-default

## 2.13.0

### Minor Changes

- [#335](https://github.com/atlassian-labs/atlaspack/pull/335) [`b4dbd4d`](https://github.com/atlassian-labs/atlaspack/commit/b4dbd4d5b23d1b7aa3fcdf59cc7bc8bedd3a59cf) Thanks [@yamadapc](https://github.com/yamadapc)! - Initial changeset release

### Patch Changes

- Updated dependencies [[`b4dbd4d`](https://github.com/atlassian-labs/atlaspack/commit/b4dbd4d5b23d1b7aa3fcdf59cc7bc8bedd3a59cf)]:
- @atlaspack/[email protected]
- @atlaspack/[email protected]
- @atlaspack/[email protected]
- @atlaspack/[email protected]
- @atlaspack/[email protected]
- @atlaspack/[email protected]
14 changes: 7 additions & 7 deletions packages/bundlers/default/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atlaspack/bundler-default",
"version": "2.12.0",
"version": "2.13.0",
"license": "(MIT OR Apache-2.0)",
"publishConfig": {
"access": "public"
Expand All @@ -16,12 +16,12 @@
"node": ">= 16.0.0"
},
"dependencies": {
"@atlaspack/diagnostic": "2.12.0",
"@atlaspack/feature-flags": "2.12.0",
"@atlaspack/graph": "3.2.0",
"@atlaspack/plugin": "2.12.0",
"@atlaspack/rust": "2.12.0",
"@atlaspack/utils": "2.12.0",
"@atlaspack/diagnostic": "2.13.0",
"@atlaspack/feature-flags": "2.13.0",
"@atlaspack/graph": "3.3.0",
"@atlaspack/plugin": "2.13.0",
"@atlaspack/rust": "2.13.0",
"@atlaspack/utils": "2.13.0",
"nullthrows": "^1.1.1"
}
}
12 changes: 12 additions & 0 deletions packages/bundlers/library/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# @atlaspack/bundler-library

## 2.12.0

### Minor Changes

- [#335](https://github.com/atlassian-labs/atlaspack/pull/335) [`b4dbd4d`](https://github.com/atlassian-labs/atlaspack/commit/b4dbd4d5b23d1b7aa3fcdf59cc7bc8bedd3a59cf) Thanks [@yamadapc](https://github.com/yamadapc)! - Initial changeset release

### Patch Changes

- Updated dependencies [[`b4dbd4d`](https://github.com/atlassian-labs/atlaspack/commit/b4dbd4d5b23d1b7aa3fcdf59cc7bc8bedd3a59cf)]:
- @atlaspack/[email protected]
4 changes: 2 additions & 2 deletions packages/bundlers/library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atlaspack/bundler-library",
"version": "2.11.0",
"version": "2.12.0",
"license": "(MIT OR Apache-2.0)",
"publishConfig": {
"access": "public"
Expand All @@ -16,7 +16,7 @@
"node": ">= 16.0.0"
},
"dependencies": {
"@atlaspack/plugin": "2.12.0",
"@atlaspack/plugin": "2.13.0",
"nullthrows": "^1.1.1"
}
}
12 changes: 12 additions & 0 deletions packages/compressors/brotli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# @atlaspack/compressor-brotli

## 2.13.0

### Minor Changes

- [#335](https://github.com/atlassian-labs/atlaspack/pull/335) [`b4dbd4d`](https://github.com/atlassian-labs/atlaspack/commit/b4dbd4d5b23d1b7aa3fcdf59cc7bc8bedd3a59cf) Thanks [@yamadapc](https://github.com/yamadapc)! - Initial changeset release

### Patch Changes

- Updated dependencies [[`b4dbd4d`](https://github.com/atlassian-labs/atlaspack/commit/b4dbd4d5b23d1b7aa3fcdf59cc7bc8bedd3a59cf)]:
- @atlaspack/[email protected]
4 changes: 2 additions & 2 deletions packages/compressors/brotli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atlaspack/compressor-brotli",
"version": "2.12.0",
"version": "2.13.0",
"license": "(MIT OR Apache-2.0)",
"publishConfig": {
"access": "public"
Expand All @@ -16,6 +16,6 @@
"node": ">= 16.0.0"
},
"dependencies": {
"@atlaspack/plugin": "2.12.0"
"@atlaspack/plugin": "2.13.0"
}
}
12 changes: 12 additions & 0 deletions packages/compressors/gzip/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# @atlaspack/compressor-gzip

## 2.13.0

### Minor Changes

- [#335](https://github.com/atlassian-labs/atlaspack/pull/335) [`b4dbd4d`](https://github.com/atlassian-labs/atlaspack/commit/b4dbd4d5b23d1b7aa3fcdf59cc7bc8bedd3a59cf) Thanks [@yamadapc](https://github.com/yamadapc)! - Initial changeset release

### Patch Changes

- Updated dependencies [[`b4dbd4d`](https://github.com/atlassian-labs/atlaspack/commit/b4dbd4d5b23d1b7aa3fcdf59cc7bc8bedd3a59cf)]:
- @atlaspack/[email protected]
Loading
Loading