@daiyam/artifact-npm 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ update:
package/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2021-present Baptiste Augrain
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ [@daiyam/artifact-npm](https://github.com/daiyam/artifact-configs/tree/master/packages/npm)
2
+ =================================================================================================
3
+
4
+ [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
5
+ [![NPM Version](https://img.shields.io/npm/v/@daiyam/artifact-npm.svg?colorB=green)](https://www.npmjs.com/package/@daiyam/artifact-npm)
6
+
7
+ The configuration to create node modules and publish them on [npm](https://www.npmjs.com/).
8
+
9
+ Getting Started
10
+ ---------------
11
+
12
+ ```sh
13
+ mkdir myproject
14
+ cd myproject
15
+ npm init -y
16
+ artifact add @daiyam/lang-js @daiyam/npm
17
+ ```
18
+
19
+ License
20
+ -------
21
+
22
+ Copyright © 2021-present Baptiste Augrain
23
+
24
+ Licensed under the [MIT license](https://opensource.org/licenses/MIT).
@@ -0,0 +1,7 @@
1
+ version: 2
2
+ updates:
3
+ # Maintain dependencies for GitHub Actions
4
+ - package-ecosystem: "github-actions"
5
+ directory: "/"
6
+ schedule:
7
+ interval: "weekly"
@@ -0,0 +1,19 @@
1
+ name: Publish Package
2
+ on:
3
+ workflow_dispatch:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+ permissions:
8
+ id-token: write
9
+ jobs:
10
+ publish:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - uses: actions/setup-node@v4
15
+ with:
16
+ node-version: '24'
17
+ registry-url: https://registry.npmjs.org
18
+ - run: npm ci
19
+ - run: npm publish --access=public
@@ -0,0 +1,7 @@
1
+ git:
2
+ commitMessage: v${version}
3
+ tagName: v${version}
4
+ tagAnnotation: Release version ${version}
5
+ npm:
6
+ publish: false
7
+ disable-metrics: true
@@ -0,0 +1,6 @@
1
+ *
2
+ */**
3
+ **/.DS_Store
4
+ !package.json
5
+ !LICENSE
6
+ !README.md
@@ -0,0 +1,8 @@
1
+ {
2
+ "scripts": {
3
+ "release": "release-it"
4
+ },
5
+ "devDependencies": {
6
+ "release-it": "^18.1.2"
7
+ }
8
+ }
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@daiyam/artifact-npm",
3
+ "version": "0.4.0",
4
+ "description": "The configuration to create node modules and publish them on npm.",
5
+ "author": {
6
+ "name": "Baptiste Augrain",
7
+ "email": "daiyam@zokugun.org"
8
+ },
9
+ "license": "MIT",
10
+ "homepage": "https://github.com/daiyam/artifact-configs/tree/master/packages/npm",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/daiyam/artifact-configs.git"
14
+ },
15
+ "bugs": {
16
+ "url": "https://github.com/daiyam/artifact-configs/issues"
17
+ },
18
+ "keywords": [
19
+ "artifact",
20
+ "boilerplate",
21
+ "boilerplates",
22
+ "codegeneration",
23
+ "codemod",
24
+ "codemods",
25
+ "configuration",
26
+ "configurations",
27
+ "generate",
28
+ "generator",
29
+ "project-generator",
30
+ "project-starter",
31
+ "project-template",
32
+ "scaffold"
33
+ ],
34
+ "gitHead": "5fff6c16ace6953d55a3daee53ac9896ebf53914"
35
+ }