Skip to content

Commit

Permalink
1.0.0-rc.1 (#704)
Browse files Browse the repository at this point in the history
* 1.0.0-rc.1

* remove yarn.lock from examples
  • Loading branch information
mbostock authored Feb 7, 2024
1 parent 7366a0e commit 0af7111
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 8,986 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://npm.pkg.github.com'
registry-url: 'https://registry.npmjs.org'
cache: 'yarn'
- run: yarn --frozen-lockfile
- run: yarn test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Observable Framework

- [Documentation](https://observablehq.com/framework/)
- [Changelog](https://github.com/observablehq/framework/releases)
- [Issues](https://github.com/observablehq/framework/issues)
4 changes: 2 additions & 2 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ To release a new version, first update the [package.json](https://github.com/obs
Once the above is done, you can publish the release via GitHub:

1. Go to [**Draft a new release**](https://github.com/observablehq/framework/releases/new).
2. Under **Choose a tag**, enter the new version with a `v` *e.g.* `v0.0.5`.
3. Click **Create new tag: v0.0.5**.
2. Under **Choose a tag**, enter the new version with a `v` *e.g.* `v1.2.3`.
3. Click **Create new tag: v1.2.3**.
4. Leave the **Target** as `main`.
5. Click **Publish release**.

Expand Down
4 changes: 0 additions & 4 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ If you prefer Yarn, run:

<pre data-copy>yarn create @observablehq</pre>

<div class="warning" label="Note to early access participants">The commands above will not work until Framework is published to npm and made publicly available. Until then, you’ll need to install <a href="https://classic.yarnpkg.com/en/docs/install">Yarn 1.x</a> and run this instead:
<pre data-copy><code class="language-sh">yarn global add https://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@github.com/observablehq/framework</code></pre>
<pre data-copy><code class="language-sh">$(yarn global bin)/observable create</code></pre></div>

You can run the above command anywhere, but you may want to `cd` to your `~/Development` directory first (or wherever you do local development).

The first prompt asks where to create your new project. Enter `./hello-framework` to create a directory named `hello-framework` within the current directory. Or just hit Enter, as this is conveniently the default. (The `./` is implied, so `./hello-framework` is equivalent to `hello-framework`. You can create a project in a different directory by entering a path that starts with `../` or `~/` or `/`.)
Expand Down
2 changes: 2 additions & 0 deletions examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
package-lock.json
yarn.lock
1,434 changes: 0 additions & 1,434 deletions examples/chess/yarn.lock

This file was deleted.

1,960 changes: 0 additions & 1,960 deletions examples/google-analytics/yarn.lock

This file was deleted.

1,376 changes: 0 additions & 1,376 deletions examples/hello-world/yarn.lock

This file was deleted.

1,414 changes: 0 additions & 1,414 deletions examples/plot/yarn.lock

This file was deleted.

1,397 changes: 0 additions & 1,397 deletions examples/pmms/yarn.lock

This file was deleted.

1,394 changes: 0 additions & 1,394 deletions examples/python/yarn.lock

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@observablehq/framework",
"license": "ISC",
"version": "0.0.50",
"version": "1.0.0-rc.1",
"type": "module",
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"access": "public"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion templates/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"observable": "observable"
},
"dependencies": {
"@observablehq/framework": "https://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@github.com/observablehq/framework#main",
"@observablehq/framework": "*",
"d3-dsv": "^3.0.1",
"d3-time-format": "^4.1.0"
}
Expand Down

0 comments on commit 0af7111

Please sign in to comment.