Skip to content

Commit 45d4035

Browse files
authored
Merge pull request #10 from hotwired/update-package
Update package for publishing
2 parents c621d4b + afa73f4 commit 45d4035

File tree

5 files changed

+30
-215
lines changed

5 files changed

+30
-215
lines changed

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
build
2-
node_modules
1+
/build
2+
/dist
3+
/node_modules
34
*.log
5+
package-lock.json

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2022 37signals, LLC
1+
Copyright (c) 2023 37signals LLC
22

33
Permission is hereby granted, free of charge, to any person obtaining
44
a copy of this software and associated documentation files (the

bin/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const esbuild = require("esbuild")
44
const package = require("../package.json")
55
const year = new Date().getFullYear()
6-
const banner = `/*\nStrada ${package.version}\nCopyright © ${year} 37signals, LLC\n*/`
6+
const banner = `/*\nStrada ${package.version}\nCopyright © ${year} 37signals LLC\n*/`
77

88
const options = {
99
entryPoints: ["src/index.js"],

dist/strada.js

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

package.json

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,35 @@
11
{
22
"name": "@hotwired/strada",
3-
"version": "0.9.3",
3+
"version": "1.0.0-beta1",
4+
"description": "Create fully native controls, driven by your web app.",
45
"main": "dist/strada.js",
56
"files": [
6-
"dist"
7+
"dist/*.js"
8+
],
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/hotwired/strada-web.git"
12+
},
13+
"keywords": [
14+
"hotwire",
15+
"strada"
16+
],
17+
"author": "37signals LLC",
18+
"contributors": [
19+
"Jay Ohms <jay@37signals.com>"
720
],
8-
"repository": "git://github.com/hotwired/strada-web.git",
9-
"author": "37signals, LLC",
1021
"license": "MIT",
22+
"bugs": {
23+
"url": "https://github.com/hotwired/strada-web/issues"
24+
},
25+
"homepage": "https://strada.hotwired.dev",
26+
"publishConfig": {
27+
"access": "public"
28+
},
1129
"scripts": {
1230
"clean": "rm -rf build/* dist/*",
13-
"prebuild": "npm run clean",
14-
"build": "bin/build.js"
31+
"build": "bin/build.js",
32+
"release": "yarn build && npm publish"
1533
},
1634
"devDependencies": {
1735
"esbuild": "^0.17.16"

0 commit comments

Comments
 (0)