Skip to content

Commit

Permalink
publish src as ace-code
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwing committed Aug 4, 2022
1 parent 23208f2 commit 64ff68d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Publish to NPM
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm run test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "ace",
"name": "ace-code",
"description": "Ajax.org Code Editor is a full featured source code highlighting editor that powers the Cloud9 IDE",
"version": "1.8.1",
"homepage": "http://github.com/ajaxorg/ace",
"engines": {
"node": ">= 0.6.0"
},
"author": "Fabian Jakobs <fabian@c9.io>",
"main": "lib/ace",
"main": "src/ace.js",
"typings": "ace.d.ts",
"repository": {
"type": "git",
Expand All @@ -32,9 +32,7 @@
"url": "http://opensource.org/licenses/BSD-3-Clause"
}
],
"directories": {
"lib": "lib/ace"
},
"files": ["src", "ace.d.ts", "!**/*_test.js", "!_test"],
"scripts": {
"start": "node static.js",
"test": "node src/test/all.js",
Expand Down

0 comments on commit 64ff68d

Please sign in to comment.